Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local AliensFolder = game.ReplicatedStorage.AliensFolder:Clone()
- AliensFolder.Parent = workspace
- local Aliens = 0
- local MaxAliens = 4
- for i,v in pairs(AliensFolder:GetChildren()) do
- if v.Zombie.Health > 0 then
- Aliens = Aliens + 1
- v:Destroy()
- end
- end
- repeat wait() until Aliens >= MaxAliens
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement