How to wait for a client remote event to finish

I want the server script to wait for the client remote event to fully finish. I tried using Server_Client.OnClientEvent:Wait() but it gave an error. And this .OnServerEvent:Wait() is still waiting even after the remote event finishes.

What should I do?

Wait doesn’t wait for it to finish, it waits for it to be fired. It’s not what you want. You should switch to RemoteFunctions, those automatically wait until finished.

Ok!

300 char 300 char 300 char 300 char

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.