local Handle = script.Parent.Handle local Char = game.Players.LocalPlayer:WaitForChild("Character") local SwingAnimation = workspace.Swing script.Parent.Activated:Connect(function() Char.Humanoid:LoadAniamtion(SwingAnimation) print("Hello World!") end)
First, you got a typo. And although that's the way to load an animation into an Humanoid, you are not playing it.
Fix:
local anim = Char.Humanoid:LoadAnimation(SwingAnimation) anim:Play()
Remember to accept the answer if is it helpful for you! I'm glad to help :)