while true do
wait(1)
if (script.Parent.Active.Value == true) then
script.Parent.OnNum.Value = script.Parent.OnNum.Value + 1
if (script.Parent.OnNum.Value == 60) then
randombox = game.Lighting:FindFirstChild("RandomBox"):clone()
randombox.Script.Disabled = false
randombox.SystemScript.Disabled = false
randombox.Parent = game.Workspace
script.Parent:Remove()
end
end

if (script.Parent.Active.Value == false) then
script.Parent.OnNum.Value = 0
script.Parent.Regen.Value = script.Parent.Regen.Value + 1
if (script.Parent.Regen.Value == 60) then
randombox = game.Lighting:FindFirstChild("RandomBox"):clone()
randombox.Script.Disabled = false
randombox.SystemScript.Disabled = false

3 comments

0

Plz use code bloc, Press edit then press the blue circle with the word lua inside it. The paste your code inside. I can't read it

0

I can't read this code at all...

0

Tell us what you mean you just pated a code