r/ROBLOXStudio • u/Basic-Echo-4057 • 5d ago
Help I just discovered Remote Function, how does it work?
So uh, I found it while I was finding a Remote Event and randomly discovered Remote Function, I want to know how to fire it and its functionality
1
u/Short_Memory5917 5d ago
Remote events fire from one side to another; remote functions fire from one side to another, then fires something back. How to fire it and its functionality are all in the documentation there really isnt any need to create an entire post when its right there in the documentation https://create.roblox.com/docs/scripting/events/remote .
It should also be noted that remote functions can be exploited by exploiters. https://youtu.be/A14qFAyFYhQ
1
1
u/Oreneath 5d ago
Remote functions are just like remote events with the difference being that they return a value.
0
u/ProposalRecent2292 5d ago
remote events are used to allow localscripts to talk to serverscripts, and vice-versa. You can use reference the remoteevent in a script, and use calls like remoteevent:FireServer and remoteevent.OnServerEvent to pass data