wait function lua
function wait(seconds)
local start = os.time()
repeat until os.time() > start + seconds
end
--Exactly the same as the roblox one!
wait function lua
function wait(seconds)
local start = os.time()
repeat until os.time() > start + seconds
end
--Exactly the same as the roblox one!
wait() in lua
wait(5) -- Waits 5 seconds then prints "Hello world!"
print("Hello world!")
Wait function lua
local function Wait(s)
local c = os.time()
repeat until c >= c + s
end
wait function rebuilt in lua
function wait(seconds)
local start = os.time()
repeat until os.time() > start + seconds
end
-- This is the wait function (mostly known from roblox)
-- It works exactly like the roblox version
-- It's used like this: wait(how many seconds)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us