Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My remote event is shooting everyones weapon?

I just starting learning about remote events (i've been using experimental mode) and i made a raycasting weapon that shoot lasers.

The problem is, When i shoot a laser and another player has the same weapon out they both shoot at the same spot even if the other player didn't want to shoot.

My remote event is in replicated storage. Should i have it somewhere else? because i believe i can firing that remote event which then shoots every single weapon in the workspace that is connected to that.

1 answer

Handle the remote event on only one client.

7 comments

0

Would you care to elaborate how?

0

Can you elaborate as well? No script provided?

0

is that necessary? i just want to know if there is a basic idea, also, the basics of handling a remote event client side only. I didn't know that was a thing.

0

Yes, so we can see how it's firing , and from where.

0

Yes, so we can see how it's firing , and from where.

0

there is a local script inside of the weapon that fires the remoteevent, then there is a normal script inside the weapon also that catches that event and does all the shooting stuff.

0

Then you fired it correctly, the events. I don't know why. Just send the script. So we can help.

This discussion is preserved as it was. New answers, comments, and votes are closed.