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)
COMMUNITY QUESTION
How do i fix my animation not loading (no errors in output)?
1 answer
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 :)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
ok it still doesnt work can you maybe provide me a full working script?