Hey! So im tryign to animate the chest lid opening with Tween!

So i did this lil chest mode, lid is separate from the main part, and its pivot point is positioned well, so it actually opens normally when you rotate it. I want to use tweens to animate it, but it just doesnt work!
obraz_2024-01-18_215212952

local prompt = script.Parent
local box = script.Parent.Parent
local lid = box.Lid
local TweenService = game:GetService("TweenService")
prompt.Triggered:Connect(function(plr)
	local goal={CFrame = lid.CFrame * CFrame.Angles(0,0,math.rad(-77))}
	
	local tweeninfo = TweenInfo.new(0.2)
	local Anim = TweenService:Create(lid,tweeninfo,goal)
	Anim:Play()
	print("DONE")
end)

“DOne” is being printed, but lid isnt moving at all. Its not anchored, not even welded. Thanks!

Like to have that chest to test with … here is my guess. Cleaned it up a bit and made it more direct.
Also removed the unnecessary …

local prompt = script.Parent
local box = script.Parent.Parent
local lid = box.Lid
local TweenService = game:GetService("TweenService")

prompt.Triggered:Connect(function()
    local goal = {
        CFrame = lid.CFrame * CFrame.Angles(0, 0, math.rad(-77))
    }

    local tweenInfo = TweenInfo.new(0.2)
    local anim = TweenService:Create(lid, tweenInfo, goal)
    anim:Play()
end)