Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=0
- y=160
- lagcount = 0
- table={}
- -----
- function Stuff()
- gui.opacity(0.2)
- gui.drawbox(148+x,9+y,258+x,42+y, "black")
- gui.opacity(0.95)
- lag = memory.readbyte(0x01a5)
- xspeed = memory.readbyte(0x05B9)+memory.readbytesigned(0x05Ba)*256
- yspeed = memory.readbyte(0x05Bd)+memory.readbytesigned(0x05Be)*256
- xpos = memory.readbyte(0x0083)+memory.readbytesigned(0x0095)*256+memory.readbyte(0x0071)/256
- ypos = memory.readbyte(0x00b9)+memory.readbytesigned(0x00cb)*256+memory.readbyte(0x00a7)/256
- gui.text(150+x,9+y," \n \n \n ")
- gui.text(150+x,9+y," pos speed\n(X):\n(Y):\nlag:", "green")
- gui.text(172+x,17+y, math.floor(xpos*1000)/1000)
- gui.text(224+x,17+y, xspeed)
- gui.text(172+x,25+y, math.floor(ypos*1000)/1000)
- gui.text(224+x,25+y, yspeed)
- gui.text(176+x, 33+y, lagcount, "#fd7979")
- if lag == 1 then gui.text(200+x, 33+y, "*********" , "red") end
- table=input.get(1)
- if table.F1 then lagcount = lagcount - lagcount
- elseif table.F2 then lagcount = lagcount - lagcount
- elseif table.F3 then lagcount = lagcount - lagcount
- elseif table.F4 then lagcount = lagcount - lagcount
- elseif table.F5 then lagcount = lagcount - lagcount
- elseif table.F6 then lagcount = lagcount - lagcount
- elseif table.F7 then lagcount = lagcount - lagcount
- elseif table.F8 then lagcount = lagcount - lagcount
- elseif table.F9 then lagcount = lagcount - lagcount
- elseif table.F10 then lagcount = lagcount - lagcount
- end
- end
- gui.register(Stuff)
- -----
- while true do
- if lag == 1 then lagcount = lagcount + 1 end
- emu.frameadvance()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement