📜  如何在 roblox 中创建一个永远循环 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:01.202000             🧑  作者: Mango

代码示例2
local timeRemaining = 10
 
while timeRemaining > 10 do
    print("Seconds remaining: " .. timeRemaining)
    wait(1)
    timeRemaining = timeRemaining - 1    
end
 
print("Timer reached zero!")