Everything is said in the title, I just want to know if there is an event similar to FireServer()?
Thanks You.
Everything is said in the title, I just want to know if there is an event similar to FireServer()?
Thanks You.
RemoteFunctions have a InvokeServer() function.
It depends a lot on what you are trying to achieve.
InvokeServer
YIELDS
A client invoking the server is necessary when the server either has access to information the client does not, or the client requests an action that only the server can perform. Used in a LocalScript, RemoteFunction:InvokeServer() calls the function bound to the RemoteFunction by RemoteFunction.OnServerInvoke and returns what that function returns.
If a returned result is not needed, it’s recommended to use RemoteEvent:FireServer() instead, as its call is asynchronous and doesn’t need to wait for a response to continue execution.
See also RemoteFunction:InvokeClient() and RemoteFunction.OnClientInvoke for invoking a particular client from the server.
For more information, see Remote Events and Functions.
RemoteFunction – InvokeServer | Roblox Creator Documentation
Thank you very much for the help provided.
Thank you very much for the help.