Hey, I have been trying to make a clickDetector within a player model, but it's just not working for me. Any suggestions? Here is the code. (FYI it is stored under "StarterPlayerScripts")
local character = game:GetService("Players").LocalPlayer.Character
local clickable = Instance.new("ClickDetector",character.UpperTorso) clickable.MaxActivationDistance = 12
The Upper and Lower Torso are underneath the HumanoidRootPart. Try changing the parent of the click detector to HumanoidRootPart.
You can put the click detector under the model, rather than a specific part in the character. This will allow you to click any part of the character.