local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Character

script.Parent.Activated:Connect(function()
    Character = Player.Character or Player.CharacterAdded:Wait()
    Character.Humanoid:LoadAnimation("rbxassetid://5585578451")
    Player:WaitForChild("leaderstats")
    Player.leaderstats:WaitForChild("Boogies").Value = 1 * Player.PlayerGUI.Multiplier.Multiplier.Value
end)

The Animation is on line 2, an animation id i made, the error is that its unable to cast value to an object, it will not play animation, How would I get the player to do the animation?

1 comment

0

Pass an animation