Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Creator: Bolodefchoco
- --Made in: 20/07/2015
- --Last update: 15/05/2016
- --[[ Notes:
- Does:
- Hack Speed.
- Keys:
- Espaço --<-- Utiliza o Speed. (Editável em #*)
- ]]--
- velocity = 35 -- Velocidade do rato
- key = 32 -- #*
- mice={}
- eventNewPlayer=function(n) mice[n]={right=true}
- for _,k in next,{0,2,key} do
- system.bindKeyboard(n,k,true,true)
- end
- end
- table.foreach(tfm.get.room.playerList,eventNewPlayer)
- eventNewGame=function() table.foreach(tfm.get.room.playerList,function(n) mice[n]={right=true} end) end
- eventKeyboard=function(n,k)
- if k==key then
- tfm.exec.movePlayer(n,0,0,false,(mice[n].right and velocity or -velocity),0,true)
- end
- if k==0 then mice[n].right=false elseif k==2 then mice[n].right=true end
- end
Advertisement
Add Comment
Please, Sign In to add comment