#help on this script
5 messages · Page 1 of 1 (latest)
local RS = game:GetService("ReplicatedStorage")
local p = game.Players.LocalPlayer
repeat wait() until p.Character
local Cooldown = 5
local db = true
script.Parent.Activated:Connect(function()
local p = game.Players.LocalPlayer
local char = p.Character
if db == true and char.Debounce.Value == true and game.Workspace.DomainValue.Value == false and p.Character.Air.Value == false then
db = false
RS.Events["UnlimitedVoid0.2"]:FireServer()
while true do
task.wait()
local function unequipTool()
if p then
p:UnequipTools()
end
end
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
unequipTool()
end
task.wait(Cooldown)
db = true
while true do
task.wait()
local function equipTool()
if p then
p:equipTool()
end
end
game:GetService('StarterGui'):SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
equipTool()
end
end
end)
oh wait i just fixed it
what's with the nested loops th
** You are now Level 13! **