Hello everyone!
I make a game and I realized that I need the wait() function. And I found this:
function wait(t)
local start = os.time()
repeat until os.time() > start + t
end
But that function freezing my program. I don’t know why.
Please, help me.