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

How can I animate the character and the tool to reproduce them together?

Asked by 5 years ago

I did the animation of the character recharging a weapon, but I also want to animate the weapon I do not need a code I just need to know if there is a way to animate it in the animation editor or if I need to manually edit the CFrames

local plr = game.Players.LocalPlayer
local RechargeAnimation = Instance.new("Animation")
RechargeAnimation.AnimationId = "rbxassetid://XXXXXXXXXX"
local RechargeAnimationTrack=plr.Character:WaitForChild("Humanoid"):LoadAnimation(RechargeAnimation)

function Recharge()
    RechargeAnimationTrack:Play()
end

1 answer

Log in to vote
0
Answered by
Alphexus 498 Moderation Voter
5 years ago

There is a way to animate it in animation editor. I get asked this question sometimes too. You have to PRETEND you have the tool in your hand when you are animating it in the plugin. I don't think theres anyway to get the tool with the animation editor. If there is a way then please someone who is reading this, comment how to. But other than that. I don't think there is. So just pretend there is and the animation works just as good with the tool.

Ad

Answer this question