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
alr thx ill check it out!!!
your animation is R6, but your game’s character is R15? isn’t that the cause?
bro omg I think thats it man with the one million iq
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 !
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!
You need to do this :
- Go into your animation and publish it !
- Get the ID animation
- Create an animation in your script :
- 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)
- 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 !
EDIT : I didn’t view there was a solution sorry !