ViewModel Sword Animation Not Playing

Hello, I’m working on a sword animation for my game and while it equips fine, none of the animations play.

Image:
image
This is not what I want.

Image of explorer:
image

LocalScript:

plrs = game:GetService("Players")
plrs.LocalPlayer.CharacterAdded:Wait()
chr = plrs.LocalPlayer.Character
task.wait(0.1)
a1 = script.Parent.AnimationController.Animator:LoadAnimation(script.Parent.s1)
a2 = script.Parent.AnimationController.Animator:LoadAnimation(script.Parent.s2)
idle = script.Parent.AnimationController.Animator:LoadAnimation(script.Parent.idle)
script.Parent.Equipped:Connect(function()
	chr = script.Parent.Parent
	chr["Left Arm"].Transparency = 1
	chr["Right Arm"].Transparency = 1
	idle:Play()
end)
script.Parent.Unequipped:Connect(function()
	chr["Left Arm"].Transparency = 0
	chr["Right Arm"].Transparency = 0
	idle:Stop()
end)
1 Like

The sword itself moves. Not the ViewModel arms.

Fixed it. I didn’t make the animations under a rig, which I thought wouldn’t matter but apparently it did. For anybody with this issue and this setup, make sure you move the tool into a rig and upload the animations from the tool under the rig.

Here’s what the animations look like!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.