Advertisement
Skittlesuni

#Spiritraised

Apr 16th, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. tfm.exec.disableAutoShaman(true)
  2.  
  3. tfm.exec.disableAutoNewGame(true)
  4. maps={6631445,6631451,6631472,5047555,5177183,3830495,4744049,4842237,1996354,1872758,5137895,4011184,5093950,4292218,4220331}
  5.  
  6. function eventLoop(time,remaining)
  7. if remaining<=0 then
  8. tfm.exec.newGame(maps[math.random(#maps)])
  9. end
  10. end
  11.  
  12. function eventPlayerDied()
  13. local i=0
  14. for n,player in pairs(tfm.get.room.playerList) do
  15. if not player.isDead then
  16. i=i+1
  17. end
  18. end
  19. if i==0 then
  20. tfm.exec.newGame(maps[math.random(#maps)])
  21. end
  22. end
  23.  
  24. function eventNewPlayer(name)
  25. tfm.exec.bindKeyboard(name,32,true,true)
  26. end
  27.  
  28. for name,player in pairs(tfm.get.room.playerList) do
  29. eventNewPlayer(name)
  30. end
  31.  
  32. function eventKeyboard(name,key,down,x,y)
  33. if key==32 then
  34. tfm.exec.addShamanObject(24,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+30)
  35. end
  36. end
  37.  
  38. tfm.exec.setUIMapName("<j> #Module")
  39.  
  40. ui.addPopup(0, 0, "<p align='center'><font color='#babd2f' size='24' face='Skittlesuni'>Help</font></p><br> Hey, <u>this</u> is a help popup! Welcome to #Spiritraised! Developed by Skittlesuni! You need to take the cheese, but you aren't enough pro to do it yourself. But you received a <b><i>help hand!</b></i> You're rised by the spirits! Take care of this magic , powerful , fantastic opportunity! Good luck!", nil, 4, 30, 200, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement