Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

What's the difference between a BindableEvent and a RemoteEvent?

Asked by 6 years ago

I've been wondering this for a long time, what's the difference between the two? The only ones I've ever used are TouchedEvents, RemoteEvents, and Events. I just want to know what they each do before I jump to a conclusion that they're both the same.

2 answers

Log in to vote
2
Answered by 6 years ago
Edited 6 years ago

The difference between the two is that Bindable event allows multiple scripts to send values to each other. Therefore, a remote event is used to allow scripts and local scripts to communicate to each other across the Server.

BindableEvent: Events defined in one script to be subscribed to by another script. However, please note that BindableEvents do not allows for communication between the server and client. If you are looking for this functionality use RemoteEvents.

RemoteEvent: Similar to BindableEvents, but allow crossing the client/server boundary. This allows a Server Script to call code in a Local Script and vice versa. This can be useful when building games with Experimental Mode turned off.

Sources: http://wiki.roblox.com/index.php?title=API:Class/BindableEvent http://wiki.roblox.com/index.php?title=API:Class/RemoteEvent

0
Thanks this was really helpful! THUNDER_WOW 203 — 3y
0
Thanks this was really helpful! THUNDER_WOW 203 — 3y
Ad
Log in to vote
1
Answered by 6 years ago

TL;DR:

BindableEvents allow for communication between 'server to server' and 'client to client' scripts, while RemoteEvents allow for communication between 'server to client' and 'client to server'.

0
Thanks this was also very helpful! THUNDER_WOW 203 — 3y

Answer this question