Posted: Wed Jul 02, 2014 3:51 pm Post subject: Changing an address
I'm new to lua, and I want to make a trainer with buttons instead of hotkeys.
I've already made the button switch from "Off" and "On" but I would like it to change an address, but I'm not sure how to do that.
The address's type is Float: RobloxPlayerBeta.exe+C22FA4
Here's what I got so far:
Code:
function superjumpboxClick(sender)
if getProperty(UDF1_superjumpbox,"Caption") == "Off" then
setProperty(UDF1_superjumpbox,"Caption","On")
writeFloat(0xC22FA4, -1)
elseif getProperty(UDF1_superjumpbox,"Caption") == "On" then
setProperty(UDF1_superjumpbox,"Caption","Off")
writeFloat(0xC22FA4, -9)
end
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum