Safwanrockz

Cannoning

Dec 1st, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tfm.exec.newGame("@4556172")
  2. for name,player in pairs(tfm.get.room.playerList) do
  3.     system.bindMouse(name, true)
  4. end
  5.  
  6. function eventMouse(name, x, y)
  7.    if tfm.get.room.playerList[name].isShaman then
  8.     if tfm.get.room.playerList[name].isFacingRight then
  9.     tfm.exec.addShamanObject(19, x, y, 0, 0, 0, false)
  10.     else
  11.     tfm.exec.addShamanObject(20, x, y, 0, 0, 0, false)
  12.     end
  13.    end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment