Advertisement
Rawoas13

idozito with os.time()

May 3rd, 2020
625
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. tfm.exec.bindKeyboard("Aaa_bbb_ccc_ddd#2783",32,true,true)
  2. local jumpcd = os.time()
  3.  
  4. eventKeyboard = function(playerName,keyCode,downx,y)
  5.  
  6.     if keyCode == 32 and jumpcd+3000 < os.time() then
  7.  
  8.         tfm.exec.movePlayer(playerName,15,20,true,0,-100,false)
  9.         jumpcd = os.time()
  10.        
  11.     end
  12.  
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement