I currently have a model which consists of multiple different parts. I wish for the model to trigger an event when it's clicked through the use of click detectors:
ClickDetector.MouseClick:connect()
Because the model is made up of several parts, I would rather the Mouseclick to trigger no matter which part of the block is clicked and therefore I've added a click detector to every child of the model using a for loop.
However, this is where the problem comes in, how do I phrase it so that the event would trigger when any child of the model's click detector is clicked without having to copy and paste a few hundred lines to accommodate for each part in the model

2 comments
Btw, the MouseClick event passes the player who clicked the detector in the first argument.
Ah thanks