So I’ve been trying to load an animation in my tool, It worked fine but when I respawned I got this message: “Cannot load the AnimationClipProvider Service” and the whole thing breaks!
Can anyone help a brother out?
Current script:
local player = game:GetService("Players").LocalPlayer
local char = player.Character or player.CharacterAdded:wait()
local hum = char:WaitForChild("Humanoid")
local animator = hum:FindFirstChildOfClass("Animator")
local tool = script.Parent
local IdleAnim = script.Parent.Animations:WaitForChild("Idle")
local ShoveAnim = script.Parent.Animations:WaitForChild("Shove")
local ShootingAnim = script.Parent.Animations:WaitForChild("Shoot")
local ReloadingAnim = script.Parent.Animations:WaitForChild("Reload")
local ReloadingEmptyAnim = script.Parent.Animations:WaitForChild("ReloadEmpty")
local idletrack = animator:LoadAnimation(IdleAnim)
local shootingtrack = animator:LoadAnimation(ShootingAnim)
local reloadtrack = animator:LoadAnimation(ReloadingAnim)
local reloademptytrack = animator:LoadAnimation(ReloadingEmptyAnim)
And yes, I have made sure that my Humanoid is in Workspace.