Is there a better way to wait?

Is there a better way to going about this situation below?

local waitTimes = {0,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1}
task.wait(waitTimes[math.random(1,#waitTimes)])
task.wait(math.random(0,11)/10)

Randomizing the numbers without having a table. Is this what you’re trying to achieve? By the way, is the 0.1 missing intended?

No I just didn’t realize that I was missing it so thanks.

2 Likes