Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

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)
 
PREVIOUS NEXT
Tagged: #wait #function #rebuilt #lua
ADD COMMENT
Topic
Name
7+4 =