Wait function lua

This article is tagged with: Wait function lua and lua

wait function lua

function wait(seconds)
local start = os.time()
repeat until os.time() > start + seconds
end
--Exactly the same as the roblox one!

This article is tagged with: Wait function lua and lua