Anukun_Lucifer

MainScript(EP.01)

Apr 5th, 2024
1,893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. local mob = require(script.MobScript)
  2. local map = workspace.Grassland
  3.  
  4. for wave = 1,5 do
  5.     if wave < 5 then
  6.         mob.Spawn("Zombie", 3 * wave, map)
  7.     elseif wave == 5 then
  8.         mob.Spawn("Zombie", 100,map)
  9.     end
  10.    
  11.     repeat
  12.         task.wait(1)
  13.     until #map.Mob:GetChildren() == 0
  14.     task.wait(1)
  15. end
Tags: Roblox
Add Comment
Please, Sign In to add comment