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
Pose it is suppose to be
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)