Nothing moves even though the tween is apparantly playing

I made this tween function to open an oven door, its not working, the output says the tween is playing however the oven door never moves. please help.

Here is everything to do with the tween:

--Lid
local hinge = script.Parent.OvenInside.Hinge
local ovenLid = script.Parent.OvenInside.OvenLid
local open = false

local function openOvenLid()
	print("clicked")
	if open == false then
		print("closed")
		lidGoal.CFrame = hinge.CFrame * CFrame.Angles(math.rad(-90),0,0)
		print("goal gotten")
		tween = tweenService:Create(hinge, TweenInfo.new(1, Enum.EasingStyle.Exponential), lidGoal)
		print("tween found")
		tween:Play()
		print("tween played")
		
	else
		
		lidGoal.CFrame = hinge.CFrame * CFrame.Angles(0,0,0)
		tween = tweenService:Create(hinge, TweenInfo.new(1, Enum.EasingStyle.Exponential), lidGoal)
		tween:Play()
		
	end
	
end

ovenLid.ClickDetector.MouseClick:Connect(openOvenLid)

The output says that all the prints are printing so the tween had to of played but nothing moves when I run the function.

thanks in advance.

Theese are the tween variables:

--Services
local tweenService = game:GetService("TweenService")
local lidGoal = {}
local tween

is it welded correctly?

char char char

yh if i dont do the whole tween part and jst run it through the command line it works fine its when i try tweening it this happened

Is the door anchored (if the door is a model, make sure the PrimaryPart is set and apply the movement to the PrimaryPart)? And are you using any constraints (you have a hinge variable, is that a HingeConstraint)?

omds ur right, I was using a hinge part to move it and I had that un-anchored not the door, tysm

2 Likes