/marked as solvedCode:isMoving() { startOrigin = self.origin; wait 0.01; return startOrigin != self.origin; } //Example usage: while(self isMoving()) //Do something
hello, I need a script to do an action while a player is moving.
heres an example:
I just don't know how to find out when a player is moving,Code:while(????) { self thread dotime(); } else { self thread dopassword(); )
any help would be much appreciated. It can be in any form you want, you don't necessarily need to use any of the commands i put up there, It just needs to be able to do an action when a player is moving, and to stop when hes not. thanks for reading, I hope you can help!
/marked as solvedCode:isMoving() { startOrigin = self.origin; wait 0.01; return startOrigin != self.origin; } //Example usage: while(self isMoving()) //Do something
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
thank you very much, ill try it now and see if it works.