Forums > lua >

Toggles for a pl script


New Reply

lesaurora

Enty

Posts: 70

Threads: 6

Joined: Mar, 2021

Reputation: 1

Posted

I recently started using a script I released

game:GetService("Players").LocalPlayer.PlayerGui.Home.fadeFrame.Visible = false
local Remote = game.Workspace.Remote['ItemHandler']
function onSpawn(char) char:WaitForChild("Humanoid", 2)
    game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["M4A1"].ITEMPICKUP)
    game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
Remote:InvokeServer(game.Workspace.Prison_ITEMS.single:WaitForChild("Key card").ITEMPICKUP)
end

game:GetService("Players").LocalPlayer.CharacterAdded:Connect(onSpawn)

I wanted to know how I could make it toggleable like the scripts with;
_G.smth = true;
or
getgenv().smth = true;

Haylo/Enty

Posts: 141

Threads: 2

Joined: Nov, 2020

Reputation: -7

Replied

add me on discord kelek#9447

christmas

Posts: 585

Threads: 28

Joined: Jan, 2021

Reputation: 4

Replied

@ribethings hes a pedo dont add him

 

They are here.

Posts: 141

Threads: 2

Joined: Nov, 2020

Reputation: -7

Replied

@MINISHXPat least i helped him

christmas


New Reply