Advertisement
Rawoas13

idozito test

May 3rd, 2020
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. tfm.exec.bindKeyboard("Villaaam#0000",32, true, true)
  2. tfm.exec.movePlayer("Villaaam#0000", 10, 20, true, 0, -300, false)
  3. eventKeyboard = function(playerName,keyCode,down,x,y)
  4. if (keyCode == 32) then
  5.  tfm.exec.movePlayer(playerName, 15, 20, true, 5, -50, false)
  6.  end
  7. end
  8. idozito = nil
  9. eventLoop = function()
  10. if (idozito ~= nil) then
  11.  idozito = idozito +0.5
  12.    end
  13.  end
  14. if (idozito == 3) then
  15. idozito = nil
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement