Trying to play animations on my tool however I sometimes get “Failed to load AnimationClipProviderService” after respawning, causing my tools animations to not work.
This usually happens when you try loading an animation onto a character/model thats parent is nil. Make sure to load the animations when the characters parent isnt nil.
local player = Players.LocalPlayer
local character = player.Character
if not character or not character.Parent then
character = player.CharacterAdded:Wait()
end