I know sleep($timeInSeconds); does that but it stops all the server tasks. I know I have schedule a repeating task for that but I want something like wait($time); (idk if this exists). If there is no method for that, how to run a code x and wait 1 second to run a code y without using config?
20 ticks* My problem is not there. I searched and there is no wait(); I want to execute a code x, wait one second and execute a code y. You know, right?
if you are a developer you know 1 second = 20 ticks and that shouldnt need to even be mentioned if i said 2 second but the argument is tick and you know 1 second = 20 ticks you can simply multiply 20 by 2