Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- life=3
- mice = {}
- function main()
- for player in pairs(tfm.get.room.playerList) do
- eventNewPlayer(player)
- end
- end
- function eventNewGame()
- life=3
- end
- function eventPlayerDied(name)
- mice[name] = {
- life=life-1
- }
- if life <= 1 then
- tfm.exec.respawnPlayer(name)
- end
- end
- function eventNewPlayer(name)
- life=3
- end
- function eventLoop()
- if life == 3 then
- tfm.exec.displayParticle(5,30,35,0,0, 0, 0, name)
- tfm.exec.displayParticle(5,60,35,0,0, 0, 0, name)
- tfm.exec.displayParticle(5,90,35,0,0, 0, 0, name)
- elseif life == 2 then
- tfm.exec.displayParticle(5,30,35,0,0, 0, 0, name)
- tfm.exec.displayParticle(5,60,35,0,0, 0, 0, name)
- elseif life == 1 then
- tfm.exec.displayParticle(5,30,35,0,0, 0, 0, name)
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment