How to detect 2 players hitting each other?

I have a combat system with the same problem as this and I read someone recommending a queue system/detecting who hit the person first. I was wondering if someone could make a example on something like this to fix the problem of two player’s m1ing/fighting at the same time then both being stunned and the gameplay being awkward. (Examples help me understand/learn the most.)

1 Like

How are people being stunned? Are you firing a remote event to the server or something? Can you share the client and server code?

Why don’t you just disable anyone hit’s hitbox?

You could try using the some remoteEvents and the function “tick()” to record and figure out who punched first.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.