12Shigeru How do I cheat? Reputation: 0
Joined: 08 May 2020 Posts: 2
|
Posted: Thu Jun 11, 2020 4:52 am Post subject: not allow a value to go to a specific value?? |
|
|
1st question:
basically put:
your player position X = 100 --free to move
your friend's player position X = 200 -- but cant move here
2nd question:
i want to make my player move to the last clicked mouse value, basically speaking, cursor tp. but, when i click it takes me to the mouse value and takes me over and over again! how can i make it only take me when the mouse value changes? and dont let it go below 32 since ill get stuck at the end of the world ;-;
Code: |
{$lua}
[ENABLE]
if syntaxCheck then return end
ppx = createThread(function(Thread)
while true do
if Thread.Terminated then break end -- breaks loops and allows function to end
sleep(100) -- interval
memrec = getAddressList().getMemoryRecordByDescription
saveppx = memrec("punch position x").Value
saveppy = memrec("punch position y").Value
memrec = getAddressList().getMemoryRecordByDescription
memrec("posx").Value = saveppx - 14
memrec("posy").Value = saveppy - 14
end
end)
[DISABLE]
ppx.terminate()
|
that's my code. some of you might say that that's the wrong code to use, but what could i say? i dont know how to use timer :/
question 3:
take player 2's value and draw a box around it on the screen (ESP)
question 4:
split values
for example:
my value = 1254
12 = X + 4
54 = X + 4
with memrec in autoassembly in lua, something like that
|
|