Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mob = require(script.MobScript)
- local map = workspace.Grassland
- for wave = 1,5 do
- if wave < 5 then
- mob.Spawn("Zombie", 3 * wave, map)
- elseif wave == 5 then
- mob.Spawn("Zombie", 100,map)
- end
- repeat
- task.wait(1)
- until #map.Mob:GetChildren() == 0
- task.wait(1)
- end
Add Comment
Please, Sign In to add comment