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

How to get rid of the Tool-Holding animation?

Asked by 6 years ago

https://gyazo.com/a9dcc546b35b1ad7e820128ac29083c9

As demonstrated at the start of the GIF, I have a "sword hold" animation that plays when a weapon is equipped (that part works perfectly fine). The only problem is that the player's right arm becomes overridden by the default Roblox tool-wielding animation. I've tried everything to fix it.

I've:

1- Tried to play around with the priority level of my "sword hold" animation.

2- Replacing the animations at game.Players.LocalPlayer.Character.Animate.tool-----.AnimationId = ""

3- (I was impatient at this point)

game.Players.LocalPlayer.Character.Animate.toolnone:Destroy()
game.Players.LocalPlayer.Character.Animate.toollunge:Destroy()
game.Players.LocalPlayer.Character.Animate.toolslash:Destroy()

4- I decided to check the Wiki to see if I could find any info on this but I couldn't find anything.

0
Did you try changing the priority to action? ProjectJager 62 — 6y
0
I'm not that familiar with the ROBLOX animator plugin, but if priorities aren't working correctly, it could be a bug with the update they released. If nothing else is working, you could try just welding the tool to your arm. ScriptGuider 5640 — 6y
0
@ScriptGuider That's my last resort. Priority doesn't seem to be the problem -- I wrote a script to make it at the highest priority (action) to check but I still got the same result. There has to be an easier way to do this than with welding... secretboy6 68 — 6y
0
Welding is really easy. It's just about setting the CFrame of the tool to the inverse of the arm's CFrame, plus some offset. That's how ROBLOX tools function. ScriptGuider 5640 — 6y

Answer this question