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

How do I set up a server Listener to a server executor?

Asked by 3 years ago
Edited 3 years ago

Hey sorry im posting about two different thing within 30 minutes but heres the problem:

I am using a server script to check for a value and then out of like 100 different values, the one with the right value will return something. This is called a listener s othere are 100 listeners and one of them - the one asked to respond will respond. But i realised doing this with a remove event wont work since it only can fire to the opposite side, server to client and client to server. Using two would work but i wont, its sloppy and unsafe, hackers could easily disable the client script listener that would send the second remove event thing. And using a value and setting it to true and checking once its true wont work, because similar to a remote event, i want this to be able to be executed multiple times and if i used a boolean value, checking two times simultaneously would cause it two only set it true once and it wouldnt work for the other.

pls halp thx

1
Use BindableEvents/Functions. RemoteEvents can also be coded to operate in both directions. Ziffixture 6913 — 3y
0
how AlexanderYar 788 — 3y

Answer this question