It make both unresponsive it's not good for long time sleep
local clock = os.clockfunction sleep(n) -- seconds local t0 = clock() while clock() - t0 <= n do endendfunction dobet()sleep(5) -- use whole 5 seconds or any
Also, why do you want to the bot to sleep? Time or time between bets has no effect on the outcome of your rolls.
the programmer mode has a built in sleep function. You don't need to define your own.