Jaf078 Posted November 23, 2021 Posted November 23, 2021 Hi everyone. Is there a way to create a condition to execute between a specified time and another specified time, at random?
dark_wood Posted November 23, 2021 Posted November 23, 2021 yourfunctionName() --do something end local timeOne = 20 local timeTwo = 40 timer.scheduleFunction(yourfunctionName, {}, timer.getTime() + math.random(timeOne,timeTwo)) 1
Recommended Posts