This script would continue to be very long but I decided to make it shorter for the sake of reading. I would appreciate it if somebody could give me a way to shorten it.
while wait() do
if script.Parent.Visible == true then
wait(10)
script.Parent.Visible = false
game.Workspace.ZombiesTotal.Value = 5
while wait() do
if game.Workspace.ZombiesRemaining == 0 then
game.Workspace.ZombiesTotal.Value = 10
while wait() do
if game.Workspace.ZombiesRemaining == 0 then
game.Workspace.ZombiesTotal.Value = 15
end
end
end
end
else
end
end
Thanks in advance for any help you may provide!
