Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why are the tools in my inventory that animate players not working?

Asked by 5 years ago
Edited 5 years ago

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.

0
Put it inside codeblock please. Zafirua 1348 — 5y
0
Roblox basically got rid of hopperbin tools (what dance studios and other games that use animation tools use). You have to transfer all of the animations over to the new Tools (they dont look much different, except old tools have a little paper icon next to them). Then in the tool options disable the RequiresHandle bit. I haven't got the script figured out yet in my game either though. alfredo_linguini 24 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

I've got it working now. Here is how I fixed it:

  1. Make a new tool in StarterPack. You will notice when you go to the tools properties now there is a lot of other options.

  2. Disable "RequiresHandle". You may also want to disable "CanBeDropped"

  3. 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.

  4. 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.

Ad

Answer this question