SHARE
TWEET

Untitled

a guest Dec 27th, 2011 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. x=0
  2. y=160
  3.  
  4. lagcount = 0
  5. table={}
  6.  
  7. -----
  8.  
  9. function Stuff()
  10. gui.opacity(0.2)
  11. gui.drawbox(148+x,9+y,258+x,42+y, "black")
  12. gui.opacity(0.95)
  13.  
  14. lag = memory.readbyte(0x01a5)
  15. xspeed = memory.readbyte(0x05B9)+memory.readbytesigned(0x05Ba)*256
  16. yspeed = memory.readbyte(0x05Bd)+memory.readbytesigned(0x05Be)*256
  17. xpos = memory.readbyte(0x0083)+memory.readbytesigned(0x0095)*256+memory.readbyte(0x0071)/256
  18. ypos = memory.readbyte(0x00b9)+memory.readbytesigned(0x00cb)*256+memory.readbyte(0x00a7)/256
  19.  
  20. gui.text(150+x,9+y,"                         \n                         \n                         \n                         ")
  21. gui.text(150+x,9+y,"    pos     speed\n(X):\n(Y):\nlag:", "green")
  22. gui.text(172+x,17+y, math.floor(xpos*1000)/1000)
  23. gui.text(224+x,17+y, xspeed)
  24. gui.text(172+x,25+y, math.floor(ypos*1000)/1000)
  25. gui.text(224+x,25+y, yspeed)
  26.  
  27. gui.text(176+x, 33+y, lagcount, "#fd7979")
  28. if lag == 1 then gui.text(200+x, 33+y, "*********" , "red") end
  29.  
  30. table=input.get(1)
  31. if table.F1 then lagcount = lagcount - lagcount
  32. elseif table.F2 then lagcount = lagcount - lagcount
  33. elseif table.F3 then lagcount = lagcount - lagcount
  34. elseif table.F4 then lagcount = lagcount - lagcount
  35. elseif table.F5 then lagcount = lagcount - lagcount
  36. elseif table.F6 then lagcount = lagcount - lagcount
  37. elseif table.F7 then lagcount = lagcount - lagcount
  38. elseif table.F8 then lagcount = lagcount - lagcount
  39. elseif table.F9 then lagcount = lagcount - lagcount
  40. elseif table.F10 then lagcount = lagcount - lagcount
  41. end
  42.  
  43. end
  44.    gui.register(Stuff)
  45.  
  46. -----
  47.  
  48. while true do
  49.  
  50. if lag == 1 then lagcount = lagcount + 1 end
  51.  
  52. emu.frameadvance()
  53. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top