so most of the stuff for my hitbox is functional but unfortunately there had to be a bug, whenever one player swing their sword, the hitbox for it activates for all players, so I've been trying to fix that (it hasn't been going very well as it attempts to index the sword attack remote event (Line 12 on first image) with nil, even though I'm pretty sure it shouldn't)
#hitbox issue
1 messages · Page 1 of 1 (latest)
Those are scripts, and they are all adding a callback to the same remote event so they all get triggered when a player fires a remote, it would be better to have a script in server script service to handle that
I'm guessing you have them inside each tool
Let me check
Yeah it's just triggering all tools when a remote event is fired
should i put the events in each tool? right now the events are in a folder storing the animation and remote attack event. the folder being in the player character
Just have 1 event in rep storage and 1 script in server script service to handle the remote and add just 1 callback to it