Answers for "how to wait lua"

Lua
5

wait function lua

function wait(seconds)
    local start = os.time()
    repeat until os.time() > start + seconds
end
--Exactly the same as the roblox one!
Posted by: Guest on November-07-2020
2

wait() in lua

wait(5)  -- Waits 5 seconds then prints "Hello world!"
print("Hello world!")
Posted by: Guest on March-08-2021
0

how to wait lua

wait(1)
Posted by: Guest on April-18-2020

Browse Popular Code Answers by Language