Advertisement
Dudugz-Contistente

Untitled

Mar 26th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. tfm.exec.disableAfkDeath()
  2. function eventLoop()
  3. for i,v in pairs(tfm.get.room.playerList) do
  4. tfm.exec.respawnPlayer(i)
  5. move=math.random(1,4)
  6. if move == 1 then
  7. tfm.exec.movePlayer(i,0,0,false,200,0,true)
  8. elseif move == 2 then
  9. tfm.exec.movePlayer(i,0,0,false,-200,0,true)
  10. elseif move == 3 then
  11. tfm.exec.movePlayer(i,0,0,false,0,100,true)
  12. elseif move == 4 then
  13. tfm.exec.movePlayer(i,0,0,false,0,-100,true)
  14. end
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement