Answers for "break wait loop lua"

Lua
6

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
-1

Wait function lua

local function Wait(s)
  local c = os.time()
  
  repeat until c >= c + s
 end
Posted by: Guest on September-05-2021

Browse Popular Code Answers by Language