It would be pretty broken if one hitbox inflicts multiple damage if it registers one part multiple times, whats the solution to this?
COMMUNITY QUESTION
How to make touched event run once for each specific part?
1 answer
You would have to get a table of all objects in the workspace and remove them from the table when they activate the Touched function, then make sure one of the conditions for damage to be taken is that the touched object must be present in the table.
This discussion is preserved as it was. New answers, comments, and votes are closed.
