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

Is there anyway to disable roblox default tool animations?

Asked by 4 years ago

I'm animating a tool so that the player holds it with both hands. I use motor6ds to animate the tool itself. This won't work though, because roblox places it's own grip in the right arm every time you equip a tool. Is there anyway to make it not instance a grip?

3 answers

Log in to vote
0
Answered by
moo1210 587 Moderation Voter
4 years ago

You can disable the animation its self on the animate script on the player's character thecharcter.Animate.toolnone.ToolNoneAnim.AnimationId = "http://www.roblox.com/asset/?id=0), just remember to set it back to the default, make sure to give R6 players the R6 default animation and R15 players the R15 default animation

Ad
Log in to vote
0
Answered by 4 years ago

Make sure the priority is set above the ROBLOX default animation - https://developer.roblox.com/en-us/api-reference/property/AnimationTrack/Priority

Log in to vote
0
Answered by 4 years ago

Ok, so moo1210's answer is correct, but I also found my own. Since roblox uses it's own grip, I simply used the ChildAdded event on the right arm, then deleted it once it was added, and it worked fine.

Answer this question