Advertisement
Tectoon

[TFM] Aniversário Surpresa

Oct 9th, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.61 KB | None | 0 0
  1. wait = 0
  2.  
  3. function eventLoop()
  4.     if tfm.get.room.currentMap == "0" then
  5.         wait = wait - 1
  6.         if wait <= 0 and wait >= -30 then
  7.                 tfm.exec.setUIMapName("<font color='#FF7100'>#Aniversário <n>- Parabéns :D</j>")
  8.             tfm.exec.addShamanObject(28, math.random()*800, math.random()*400)
  9.             tfm.exec.addShamanObject(28, math.random()*800, math.random()*400)
  10.             tfm.exec.addShamanObject(40, math.random()*800, math.random()*400)
  11.             print(wait)
  12.             if wait <= -5 and wait >= -7 then
  13.                 newgame = true
  14.             end
  15.         end
  16.     end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement