This code isn’t loading my animation to my character when I join the game and my character is loaded!
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
local Humanoid = char:WaitForChild("Humanoid")
local Animation = Humanoid.Animator:LoadAnimation(script.Animation)
Animation:Play()
end)
end)
Error: