Tool animation not working

Is the game your animation is in owned by anyone other than you? (I.e. a group or friend/ colleague) This is the most common issue for animations not playing.

I made the animation in my baseplate in my studio by myself so yeah i think its mine

I cant even test the scripts my studio isnt working

I am unable to access studio currently to demonstrate(roblox is having some server troubles it seems) this video should show you: How to remove Tool Holding Animation - Roblox Scripting Tutorial - YouTube

1 Like

alr thx ill check it out!!!

your animation is R6, but your game’s character is R15? isn’t that the cause?

6 Likes

bro omg I think thats it man with the one million iq

1 Like
local player = game:GetService("Players").LocalPlayer
local anims = script.Parent.Hold
local loadedAnims
local tool = script.Parent
local Animator

tool.Equipped:Connect(function()
   Animator = player.Character:WaitForChild("Humanoid"):WaitForChild("Animator")
   loadedAnims = Animator:LoadAnimation(anims)
   loadedAnims.Priority = Enum.AnimationPriority.Idle
   loadedAnims:Play()
end)

tool.Unequipped:Connect(function()
   loadedAnims:Stop()
end)

I got !
You need to publish your animation and create an animation in your script and put the ID into and after remove in the animate script the animation “toolnone” !
I hope that was helpful ! :wink:

I dont really understand this could you be a little clearer

The animation needs to be owned by you to work. Even a free modeled animation cannot be used, unless re-uploaded by you!

1 Like

You need to do this :

  1. Go into your animation and publish it !
  2. Get the ID animation
  3. Create an animation in your script :
    Help
  4. Do this in your script :
local player = game:GetService("Players").LocalPlayer
local anims = script.Parent.Hold
local tool = script.Parent
local Animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script:WaitForChild("anims"))

tool.Equipped:Connect(function()
   Animation:Play()
end)

tool.Unequipped:Connect(function()
   Animation:Stop()
end)
  1. Play your game, search animate in the workspace and copy it and paste it into StarterCharacterScripts and search “toolnone” and delete his line !
    I hope that was helpful ! :smiley:
    EDIT : I didn’t view there was a solution sorry !