Legs still bent with Custom Sit Animation

I’ve made a custom sitting pose/animation but whenever I go to sit down the legs automatically go back to the original bending pose. I’m not quite sure on how to prevent this

Bent Pose
image

Pose it is suppose to be
image

The Script I’m using

local Seat = script.Parent
local Anim = script.Parent:FindFirstChildOfClass("Animation")
local LastAnim = nil

Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
	if Seat.Occupant == nil and LastAnim ~= nil then
		LastAnim:Stop()
	else
		LastAnim = Seat.Occupant.Parent:FindFirstChild("Humanoid"):LoadAnimation(Anim)
		LastAnim:Play()
	end
end)

Your animation has to move the lower legs or else it wont register in the keyframes therefore the default sitting will override those joints. just move them a little in the anim to make keyframes for them

1 Like

This worked! Thank you so much :pray: