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

What is the best way to use Remote Event ?

Asked by 4 years ago

So i'm making a tool that fireserver a remote event but i have a question wat is the between 1 remote event that use 1 script or 1 remote and 1 script in each tool .. If i ask that its because i tried with 1 remote for all tool but when one of them make an error the tool doesnt work anymore for everybody so its pretty anoying and i think if put a remote in each tool it will fix thsi prob but idk its not laggy or something like that .. So if u have some advice

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

You did not explain your question nor show any signs of what you're trying to use RemoteEvents for. I will however explain what a RemoteEvent is, it is so a local script can make changes to a Server instead of just the Client.So for instance, lets say you have a button in a GUI that's suppose to change the Ambient, for that to work across the Server, it would need an event to fire correctly but if you were to make a button that just teleports the local player to a certain location, you'd only need the local script as the script is searching for the person who is clicking it and isn't trying to make a change to the workspace or the server, only to the client.

For tools.

You need to have a RemoteEvent inside of the tool and reference that for one tool. You have to do that for each tool. That's at least what I do.

Ad

Answer this question