I have a long local script, for a tool in a game. But whenever the player dies this line fires an error Animator:LoadAnimation(script.Animations.Equip):Play()
With this error Code
Cannot load the AnimationClipProvider Service. - Client - ToolHandler:79
How would i fix this, because it ruins the whole script
Well, it looks like there’s no check to make sure the player is actually alive. Also, I suggest you load the animation once, if you load it too many times it could end up breaking.
This doesn’t really work, There seems to be something wrong with my sword. It equips the sword when the player spawns in
But after they die
this happens
I connect the sword to the player with a Motor6d when it is equipped, Require Handle is turned off
My Motor6d doesn’t appear for some reason after they die
add this script to ServerScriptService and place all of your starter pack tools inside it
game.Players.PlayerAdded:Connect(function(p)
p.CharacterAdded:Connect(function(c)
wait()
for i, tool in pairs(script:GetChildren()) do
tool:Clone().Parent = p.Backpack
end
end)
end)
Looks like a Roblox bug! For some reason I can’t file the Report Bug on DevForum but sent an email via Support on the Roblox main page. I’ll update as soon as I get a response.