Hello, I’m working on a sword animation for my game and while it equips fine, none of the animations play.
Image:
This is not what I want.
Image of explorer:
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)