local random_number = Math.random(10, 100) local cando = True local count = 0 while cando == True do print(random_number) count = count + 1 wait(0.1) if count == 10 then cando = False