Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua wait function

function wait(n)
	os.execute("sleep "..tostring(tonumber(n)))
end


-- the reason we're doing this is because lua
-- doesn't have a built in wait function
-- unless it's roblox lua or other types,
-- but this is for vanilla lua
 
PREVIOUS NEXT
Tagged: #lua #wait #function
ADD COMMENT
Topic
Name
8+9 =