My bandage animation stopped working after you die, as well as giving an error. it only occurs to my bandage animation somehow, did I do something wrong?
local character = player.Character or player.CharacterAppearanceLoaded:Wait()
local hum = character:WaitForChild("Humanoid")
local equip = hum:LoadAnimation(script:WaitForChild("Equip"))
local idle = hum:LoadAnimation(script:WaitForChild("Idle"))
local character = player.Character or player.CharacterAppearanceLoaded:Wait()
Should be changed to:
local character = player.Character or player.CharacterAdded:Wait()
If that doesn’t work, then try adding
repeat task.wait() until player.Character
the line after you define the character. I know, it seems unnecessary, but LocalScripts tend to act strange when loading the character and humanoid in the StarterPack, which is why I just set up a CharacterAdded event on the server to add the starter tools instead of using StarterPack.
Since the task.wait(1) worked, then your problem was that the AnimationClipProvider was loading slower than your LocalScript. You can probably decrease the task.wait(1) to a task.wait() or a task.wait(0.1) so there is no noticeable delay for the user.