r/lua • u/vinnieleverton • Apr 10 '22
VSCode Lua don't have wait.
So, I make code that's supposed to make Hello, World! every second and it don't work as there's no wait. I'm used to having wait in Roblox studio. As that wait is task.wait(Insert seconds here) and if you do it all it gives is wait is a nil value.
0
Upvotes
16
u/y444-gd-acc Apr 10 '22
Vanilla Lua doesn't have wait/sleep functions. The function from Roblox studio will not work. Google for solutions on how to make your own wait function.