Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Minecraft Code Fly Speed: made by.testhk
- 01 00 01 01 00 00 01 00 00 00 00 00 01 00 01 00
- 01 00 01 01
- speed = 1.0
- function IncSpeed(hotkey)
- speed = speed + 1
- speedhack_setSpeed(speed)
- end
- function DecSpeed(hotkey)
- speed = speed - 1
- speedhack_setSpeed(speed)
- end
- function ResetSpeed(hotkey)
- speed = 1.0
- speedhack_setSpeed(1.0)
- end
- function SetHotKey(func, hotkey)
- local objectHotKey = createHotkey(func, hotkey)
- generichotkey_setKeys(objectHotKey, hotkey)
- generichotkey_onHotkey(objectHotKey, func)
- end
- function onOpenProcess(processid)
- SetHotKey(IncSpeed, VK_F2)
- SetHotKey(DecSpeed, VK_F3)
- SetHotKey(ResetSpeed, VK_F4)
- end
- local aalist = getAutoAttachList()
- stringlist_add(aalist, "javaw.exe")
- lastSpeed=1;
- function checkKeys(timer)
- if (isKeyPressed(VK_Shift)) then
- if lastspeed ~= 10 then
- speedhack_setSpeed(10)
- lastSpeed=10
- end
- else
- if lastspeed ~= 1 then
- speedhack_setSpeed(1)
- lastSpeed=1
- end
- end
- end
- t=createTimer(nil)
- timer_setInterval(t, 100)
- timer_onTimer(t, checkKeys)
- timer_setEnabled(t, true)
- SpeedHackAmount=5;
- KeyForSpeedhack = VK_Q;
- lastSpeed=0;
- function checkKeys(timer)
- if (isKeyPressed(KeyForSpeedhack)) then
- if lastspeed ~= 1 then
- speedhack_setSpeed(SpeedHackAmount)
- lastSpeed=1
- end
- else
- if lastspeed ~= 0 then
- speedhack_setSpeed(1)
- lastSpeed=0
- end
- end
- end
- t=createTimer(nil)
- timer_setInterval(t, 900)
- timer_onTimer(t, checkKeys)
- timer_setEnabled(t, true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement