Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- maps={6631445,6631451,6631472,5047555,5177183,3830495,4744049,4842237,1996354,1872758,5137895,4011184,5093950,4292218,4220331}
- function eventLoop(time,remaining)
- if remaining<=0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventPlayerDied()
- local i=0
- for n,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- i=i+1
- end
- end
- if i==0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventNewPlayer(name)
- tfm.exec.bindKeyboard(name,32,true,true)
- end
- for name,player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(name)
- end
- function eventKeyboard(name,key,down,x,y)
- if key==32 then
- tfm.exec.addShamanObject(24,tfm.get.room.playerList[name].x,tfm.get.room.playerList[name].y+30)
- end
- end
- tfm.exec.setUIMapName("<j> #Module")
- 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