for some reason the code skips over this i put a comment next to the skip. I want to know how to fix this. Thanks :)
while wait(10) do local rand = math.random(1,2) if game.Workspace.MainGame.ZombieAmount.Value > 0 then if rand == 1 then if game.Workspace.MainGame.Barrier1.Value == true then game.Workspace.MainGame.ZombieAmount.Value = game.Workspace.MainGame.ZombieAmount.Value - 1--SKIPS HERE zombie = game.ReplicatedStorage.Zombie:Clone() zombie.Parent = game.Workspace.ZombieSpace zombie:MakeJoints() end end end end
Try restarting your computer or re downloading Studio because that is not possible. It might be a glitch in roblox studio tho