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

What should I do with a RemoteEvent?

Asked by 7 years ago

So I'm very new to FilteringEnabled and have decided to convert all of my work into it. Let's say I'm making swords and the server has to manage whenever the sword is swinging. This is all managed when the RemoteEvent is fired, do I put one script that controls the event in the workspace or do I put the the script in a tool that is held by each player?

0
You can handle sword swings in a local script under the tool. Unless a script in workspace needs to know any information about what the sword hit or whatnot, remote evets aren't necessary here. For a system that displays who killed who, you will need remote events to figure out what character the sword hit. dragonkeeper467 453 — 7y
0
you'll want to use a server script to deal damage however. Disillusions 61 — 7y
0
If it can be exploited, do not let the client handle it. Let the server handle damage, but you can use the client for the animation and whatnot. waifuSZN 123 — 7y

Answer this question