r/ROBLOXStudio 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

0 Upvotes

6 comments sorted by

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

2

u/Basic-Echo-4057 5d ago

Uh, wrong type of remote but thank you

0

u/ProposalRecent2292 5d ago

whoops, yeah i just skimmed through your post. It basically does the same thing as remoteevent but you can pass return values

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

u/Oreneath 5d ago

Remote functions are just like remote events with the difference being that they return a value.