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
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
Use a RemoteFunction for that, it will yield until return is called. (Another reference: Bindable Events and Functions | Documentation - Roblox Creator Hub)
ohh i didnt know they wait till a return is called, thanks!
i’ll mark as solution if it works