infinite loop lua
function wait(seconds) -- We need to create a wait function to slow down the loop.
local start = os.time() -- The loop will run so fast, that we need to lose it down. Otherwise, it'll crash.
repeat until os.time() > start + seconds
while true do -- Create the infinite loop
wait(1) -- The number you place here, is how many seconds it will wait until looping again.
-- Decimals will work also. simply type 0.1 for 0.1 miliseconds.