Advertisement
poxipox

Untitled

Nov 6th, 2023
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.42 KB | None | 0 0
  1. local function createMonsterCreat(bossName, pos, times)
  2.     if times <= 0 then
  3.         local monsterCreats = doCreateMonster(bossName, pos)
  4.         if monsterCreats and tonumber(monsterCreats) then
  5.             doSendMagicEffect(pos, 101)
  6.         else
  7.             doSendAnimatedText(pos, times, colorCountDown_whiteTored(times))
  8.             addEvent(createMonsterCreat, 1000, bossName, pos, times-1)
  9.  
  10.             doSendMagicEffect(pos, 100)
  11.         end
  12.     end
  13.    
  14.     return true
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement