My punching script only plays the right punch animation and doesn't switch to left.
if LastPunch == "LeftPunch" then
DamageScript.Parent = Character.RightHand
AnimTrack = Humanoid:LoadAnimation(Animations.RightPunch)
AnimTrack:Play()
LastPunch = "RightPunch"
elseif LastPunch == "RightPunch" then
DamageScript.Parent = Character.LeftHand
AnimTrack = Humanoid:LoadAnimation(Animations.LeftPunch)
AnimTrack:Play()
LastPunch = "LeftPunch"
end

1 comment
try adding a print to confirm that it works. Its probably the animation thats not playing