Dude moving from Roblox here, is there a similar function to wait()? Never coded in actual Lua, only the Roblox version of Lua, LuaU.
Also, probably a dumb question, but how do I use a while true loop without it freezing the game? You could just put a wait() in the while loop in Roblox to stop it from crashing, but is there a way to do it here?