Playing Character Animation

Good day,

I am having issues with playing an animation, I have the code below which plays an animation when the user presses the Shift key but when the animation plays the player turns to face the same direction to play the animation. I thought the animation would play in the same direction as the player?

Is there something wrong with my custom animation or do I have to code something?

local gameProcessed = false
local plr = game.Players.LocalPlayer
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://8730966990'
local PlayAnim = plr.Character.Humanoid:LoadAnimation(Anim)


UIS.InputBegan:connect(function(key, gameProcessed)
	if key.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
		PlayAnim:Play()
		--Rest of code
	end
end)

UIS.InputEnded:connect(function(key, gameProcessed)
	if key.KeyCode == Enum.KeyCode.LeftShift and gameProcessed == false then
		PlayAnim:Stop()
		--Rest of code
	end
end)

I figured it out, I have to rotate the Player Block Rig 180 degrees