So several game have recently been experiencing the issue where tools in their inventory that animate a player to make them do let's say a dance stopped working and long even show up in the inventory. This problem has occured within the past few days and multiple groups have been having the same issue. Note this problem doesn't occur with mobile users only ones on pc's.
anime = script.Parent.name.Value
script.Parent.Selected:connect(function(m) m.Button1Down:connect(function() hum = game.Players.LocalPlayer.Character.Humanoid anim_feet = hum:LoadAnimation(script.Parent.Animation) current = anim_feet current:Play() end) end)
That was the script that we have been using for the past few months that has been working fine up until recently.
I've got it working now. Here is how I fixed it:
Make a new tool in StarterPack. You will notice when you go to the tools properties now there is a lot of other options.
Disable "RequiresHandle". You may also want to disable "CanBeDropped"
Within this tool, make an Animation and a LocalScript. You probably already know how to configure the Animation part; paste the ID of the animation from the catalog and make sure it's a group animation if it's a group game.
Use this code in the LocalScript:
script.Parent.Equipped:connect(function(m) m.Button1Down:connect(function() hum = game.Players.LocalPlayer.Character.Humanoid anim_feet = hum:LoadAnimation(script.Parent.Animation) current = anim_feet current:Play() end) end)
AKA the same code you used before. And in my game I now have my animations working! As I said before in my comment, Roblox has essentially stopped using HopperBin tools entirely. If you have ANY HopperBin tools in your StarterPack, it makes your other tools break from what I understand through the testing I have done. The easy way to tell that you have a HopperBin tool is that the Tool icon has a little piece of paper next to it. New Tools use the same tool icon as before, but doesn't have the bit of paper on it and there's now an expanded list of properties you can give to StarterPack tools.