Advertisement
Rawoas13

Untitled

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