I have a clickdetector, an animation, and a localscript inside the part, this is the script that won't work. Its very simple but any help would be appreciated.
local anim = script.Parent.Animation
script.Parent.ClickDetector.MouseClick:Connect(function()
anim:Play()
end)

1 comment
I have a seatbelt and I want an animation to play when they click the belt on it.