The click detector is not working properly when I use this different body, if the player spawns within the maximum distance limit, the ClickDetector will work, but if they spawn outside the limit, it does not work. In summary, the ClickDetector is not updating the distance between the player’s body and the part.
First, make sure your custom rig is set up correctly. The ClickDetector checks distance from the HumanoidRootPart, so if that’s not properly positioned or isn’t the actual root, it can cause issues. If everything seems fine and it’s still not working, try creating an invisible part, weld it to the character, set its CanCollide to false, and move the ClickDetector onto that part. That usually helps when the rig setup is a bit non-standard.