I'm tryigng to play an animation on clicked, But the output shows nothing and my animation does not play. Any help?
Script:
function Clicked()
local animation = script.Parent.Parent.Humanoid:LoadAnimation(script.Animation)
animation:Play()
end
script.Parent.Activated:Connect(Clicked)

5 comments
Did you put an "end" at the end of your function? Also, did you invoke your function?
Everything in the script is shown, It is in a script in the tool.
Very sorry it was the priortiy
its a local script right?
oh