how do i do a wait lin lua replit

Code to Use "wait" in Lua Replit

-- Using the "wait" function in Lua Replit
wait(5) -- This will pause the script for 5 seconds
print("Hello, after waiting for 5 seconds!") -- This will be executed after the 5-second wait