Was following the Roblox Documentation on playing animations, but it’s broken. I followed every step too.
local Players = game:GetService("Players")
local function ReplaceAnimations(Character)
local Humanoid = Character:WaitForChild("Humanoid")
local Animator = Humanoid:WaitForChild("Animator")
for _, AnimationTrack in pairs(Animator:GetPlayingAnimationTracks()) do
AnimationTrack:Stop(0)
local AnimateScript = Character:WaitForChild("Animate")
AnimateScript.run.RunAnim.AnimationId = "rbxassetid://15144986248"
end
end
Players.PlayerAdded:Connect(function(Player)
Player.CharacterAppearanceLoaded:Connect(ReplaceAnimations)
end)
Output keeps returning Failed to load animation - sanitized ID: rbxassetid://15144986248 (x2), I checked other posts, and I couldn’t find something that works.