How to make a script continue only if the remote has finished working?

How do i make the script continue only if a remote is finished?
i mean something like this:

remote:FireServer()
-- wait till the remote event is finished
the rest of the script
1 Like

Use a RemoteFunction for that, it will yield until return is called. (Another reference: Bindable Events and Functions | Documentation - Roblox Creator Hub)

1 Like

ohh i didnt know they wait till a return is called, thanks!
i’ll mark as solution if it works

1 Like