Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lagcount = 0
- table={}
- -----
- function Stuff()
- gui.opacity(0.2)
- gui.drawbox(148,9,258,42, "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,9," \n \n \n ")
- gui.text(150,9," pos speed\n(X):\n(Y):\nlag:", "green")
- gui.text(172,17, math.floor(xpos*1000)/1000)
- gui.text(224,17, xspeed)
- gui.text(172,25, math.floor(ypos*1000)/1000)
- gui.text(224,25, yspeed)
- gui.text(176, 33, lagcount, "#fd7979")
- if lag == 1 then gui.text(200, 33, "*********" , "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