Problem:Hitbox kept detecting me not the dummies,and I have no idea why.
2.What I trying to do:I am trying to make a beatdown so I tried making a simple testing version but ran into this problem where the local script only detects me and still send the information to the server script.
The reason I am using local script to do hitboxes is because I want local script to pick the target then moves user’s camera(which needed local script to do it).
Note that the connected function (lines 6-12) will receive the Player who fired the event as its first parameter (player), along with any additional parameters passed from the FireServer() call.
Basically, when u fire remoteevent to server, the player who sent the remote is already passed by default, so it is not required to send the player data.
game.ReplicatedStorage["BeatDowns"].BeatDown1Remote:FireServer(hit) -- u just need to send hit variable.
-- In server script
rs.Beatdowns.Beatdown1Remote.OnServerEvent:Connect(function(player,hit)