Timer in script
-
How would I make a timer in my script like this?
private Timer timer = new Timer(); if(timer.hasTimeElapsed(1000, false)) //do something
-
@Aknee-Jahe
You can use the MSTimer in LiquidBouncevar MSTimer = Java.type("net.ccbluex.liquidbounce.utils.timer.MSTimer"); var timer = new MSTimer(); if (timer.hashTimePassed(1000)) // do something // Use reset() to reset the timer timer.reset();
-
@CookieChinese thank you