Advertisement
Guest User

Untitled

a guest
Aug 13th, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. while true do
  2.  
  3. --Modify this to move around box
  4. z = 32
  5. p = 0
  6.  
  7. --HUD
  8. gui.opacity(0.65)
  9. gui.drawbox(110+z,17+p,240+z,40+p, "black")
  10. gui.opacity(0.85)
  11. gui.text(130+z,18+p,"Pos   Speed", "Yellow")
  12. gui.text(116+z,25+p,"X")
  13. gui.text(116+z,32+p,"Y")
  14.  
  15. ----Addresses
  16. --xpos
  17. gui.text(130+z,25+p, memory.readword(0x03003fd0))
  18. --ypos
  19. gui.text(130+z,32+p, memory.readword(0x03003fd4))
  20. --xspd
  21. gui.text(156+z,25+p, memory.readbytesigned(0x03003fa9))
  22. --yspd
  23. gui.text(156+z,32+p, memory.readbytesigned(0x03003fad))
  24.  
  25. vba.frameadvance()
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement