Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getAutoAttachList().add("trove.exe") --attach to trove
- function createTRadioButton(Parent)
- local box = createComponentClass('TRadioButton', Parent)
- box.Parent = Parent
- return box
- end
- function skip() --performs the skip
- local xcoord=readFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+60") --Loading in the current xyz coords
- local ycoord=readFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+64")
- local zcoord=readFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+68")
- local xper=readFloat("[[[[[trove.exe+00ECEEF0]+4]+24]+84]+0]+100")
- local yper=readFloat("[[[[[trove.exe+00ECEEF0]+4]+24]+84]+0]+104")
- local zper=readFloat("[[[[[trove.exe+00ECEEF0]+4]+24]+84]+0]+108")
- local xadd=xper*3 --calculating distance to be traveled in each direction/currently this travels 3 blocks whichever direction you point, the 3 could be replaced with a differnt number or a variable
- local yadd=yper*3
- local zadd=zper*3
- local xdest=xcoord+xadd --calculating the new xyz coords
- local ydest=ycoord+yadd
- local zdest=zcoord+zadd
- writeFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+60",xdest) --Writes speed values
- writeFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+64",ydest)
- writeFloat("[[[[[trove.exe+00ECEEF0]+0]+28]+C4]+4]+68",zdest)
- end
- function speedenableChange() --turns on and off speedhack
- if main.speedenable.checked==true then
- if main.stogs.checked==true then
- speedhack_setSpeed(main.speeds.text)
- else
- speedhack_setSpeed(main.speedf.text)
- end
- else
- speedhack_setSpeed'1'
- end
- end
- function togglespeed() --speedhack toggle for hotkey
- if main.speedenable.checked==true then
- main.speedenable.checked=false
- else
- main.speedenable.checked=true
- end
- end
- function jump() --boosts jumps for superjump
- if main.superjump.checked==true then
- writeFloat("[[[[[trove.exe+00FFB014]+0]+28]+C4]+4]+94",15)
- end
- end
- function switchspeed() --toggles between speeds for speedhack
- if main.stogs.checked==true then
- main.stogs.checked=false
- main.stogf.checked=true
- else
- main.stogs.checked=true
- main.stogf.checked=false
- end
- speedenableChange()
- end
- function elockChange() --turns on and off energy lock script
- if main.elock.checked==false then
- etimer.Enabled = false
- else
- efreezeval = readFloat("[[[[[trove.exe+00ED3954]+0]+28]+18C]+610]+70")
- etimers()
- end
- end
- function etimers() --energy lock timer
- etimer = createTimer(getMainForm(),true)
- timer_setInterval(etimer,100)
- timer_onTimer(etimer, setener)
- end
- function setener(sender) --sets energy value when energy lock timer ticks
- writeFloat("[[[[[trove.exe+00EB7D78]+0]+28]+C4]+170]+70",efreezeval)
- end
- jumpkey = createHotkey("jump",VK_SPACE) --superjump hotkey
- speedokey = createHotkey("togglespeed",VK_5) --speedhack on/off hotkey
- speedtkey = createHotkey("switchspeed",VK_4) --speedhack toggle hotkey
- skipkey = createHotkey("skip",VK_3) --skip hotkey
- function close() --on close for form
- if etimer ~= nil then
- etimer.destroy()
- end
- closeCE()
- return caFree
- end
- function showhelp() --creates help form
- help=createForm(true)
- help.borderstyle=bsToolWindow
- help.height=400
- help.width=520
- help.caption="Help"
- help.title=createLabel(help)
- help.title.caption="TRMrecmrec"
- help.title.left=236
- help.title.top=15
- help.structbox=createGroupBox(help)
- help.structbox.height=350
- help.structbox.caption=""
- help.structbox.left=10
- help.structbox.top=40
- help.structbox.width=500
- help.structbox.speedtext=createLabel(help.structbox)
- help.structbox.speedtext.caption=[[Speedhack:
- This accellerates the game speed.
- Attacks seem faster, but damage is dealt on the server side, so no extra damage is done.
- You can set 2 speeds to toggle between them.
- Lower speeds are harder to detect by other players.
- This feature can also be controlled with hotkeys 5 (on/off) and 3 (toggle speed)]]
- help.structbox.speedtext.left=15
- help.structbox.speedtext.top=215
- help.structbox.jumptext=createLabel(help.structbox)
- help.structbox.jumptext.caption=[[Superjump:
- Superjump gives your jump more umpf.
- With superjump you can also hold the space key and it allows you to fly up.]]
- help.structbox.jumptext.left=15
- help.structbox.jumptext.top=155
- help.structbox.energytext=createLabel(help.structbox)
- help.structbox.energytext.caption=[[Energy Lock:
- This freezes the client side value for the energy.
- This feature is only useful for back rolling with the Neon Ninja.]]
- help.structbox.energytext.left=15
- help.structbox.energytext.top=95
- help.structbox.skiptext=createLabel(help.structbox)
- help.structbox.skiptext.caption=[[Skipping:
- To skip (teleport) press 3.
- The skip distance is the distance you will travel when you skip.
- Setting a skip distance too low will not teleport you far enough to pass through a wall.
- Setting a skip distance too high will get corrected with the server value.]]
- help.structbox.skiptext.left=15
- help.structbox.skiptext.top=5
- help.centerScreen()
- help.OnClose = hidehelp
- end
- function hidehelp() --closes help form
- help.destroy()
- end
- main=createForm(true)
- main.borderstyle=bsToolWindow
- main.height=205
- main.width=142
- main.caption="TRM"
- main.top=115
- main.left=342
- main.skiptext=createLabel(main)
- main.skiptext.caption="Skip Distance"
- main.skiptext.left=16
- main.skiptext.top=10
- main.skipdist=createEdit(main)
- main.skipdist.text="3"
- main.skipdist.left=103
- main.skipdist.top=8
- main.skipdist.width=24
- main.speedtext=createLabel(main)
- main.speedtext.caption="Speedhack"
- main.speedtext.left=29
- main.speedtext.top=100
- main.speedenable=createCheckBox(main)
- main.speedenable.caption=nil
- main.speedenable.checked=false
- main.speedenable.left=108
- main.speedenable.top=100
- main.speedenable.OnChange=speedenableChange
- main.elocktext=createLabel(main)
- main.elocktext.caption="Energy Lock"
- main.elocktext.left=22
- main.elocktext.top=40
- main.elock=createCheckBox(main)
- main.elock.caption=nil
- main.elock.checked=false
- main.elock.left=108
- main.elock.top=40
- main.elock.OnChange=elockChange
- main.jumptext=createLabel(main)
- main.jumptext.caption="Superjump"
- main.jumptext.left=28
- main.jumptext.top=70
- main.superjump=createCheckBox(main)
- main.superjump.caption=nil
- main.superjump.checked=false
- main.superjump.left=108
- main.superjump.top=70
- main.stogs=createTRadioButton(main)
- main.stogs.caption=nil
- main.stogs.checked=false
- main.stogs.left=20
- main.stogs.top=130
- main.stogs.OnChange=speedenableChange
- main.stogf=createTRadioButton(main)
- main.stogf.caption=nil
- main.stogf.checked=false
- main.stogf.left=80
- main.stogf.top=130
- main.stogf.OnChange=speedenableChange
- main.speedf=createEdit(main)
- main.speedf.text="2"
- main.speedf.left=95
- main.speedf.top=128
- main.speedf.width=28
- main.speeds=createEdit(main)
- main.speeds.text="1.5"
- main.speeds.left=35
- main.speeds.top=128
- main.speeds.width=28
- main.helpbutton=createButton(main)
- main.helpbutton.caption="Help"
- main.helpbutton.top=170
- main.helpbutton.left=53
- main.helpbutton.height=24
- main.helpbutton.width=40
- main.helpbutton.OnClick=showhelp
- main.OnClose = close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement