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!
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!