Ok, here is my speedhack that I use in geode - The if statement is very neccisarry on this one as it prevents you from getting reported by other players for zooming across the map. This speedhack works in adventure worlds, but I wrote it specifically for geode
Code:
function sprint() --OP speedhack
if main.speedenable.checked == true then --verifies that the speedhack is turned on
local xper=(readFloat("trove.exe+CF30B8"))*-1 --Checks where you are looking
local yper=readFloat("trove.exe+CF30BC")
local zper=readFloat("trove.exe+CF30C0")
local xaccel=xper * 15 --Calculates xyz speed values for a speed of 15
local yaccel=yper * 15
local zaccel=zper * 15
writeFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+90",xaccel) --Writes speed values
writeFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+94",yaccel)
writeFloat("[[[[[trove.exe+00E629C4]+0]+28]+BC]+4]+98",zaccel)
end
end
speedkey = createHotkey("sprint",VK_W) --sprint hotkey set to W