Hello, I’m working on a moving steering wheel for my physical car. My plan is to tween it by using the C0 of one of the welds. This already works on the doors, but I think I am formatting it wrong here. Any help?

Hello, I’m working on a moving steering wheel for my physical car. My plan is to tween it by using the C0 of one of the welds. This already works on the doors, but I think I am formatting it wrong here. Any help?
tweens dont work like that, you have to do
local goal = {C0 = valuehere}
you do the property name, not the property itself.
alright, is this how it should look?
i still got an error yet a different one:
how would i fix this?
you forgot to put the “=” so just add the = before the *
what like this? i’m not sure this is how it’s supposed to work
local Goal = {C0 * CFrame.Angles(math.rad(70),0,0)}
do this
local Goal = {C0 = steerhinge.BTWeld.C0 * CFrame.Angles(math.rad(70),0,0)}
thank you, this actually moved the wheel but i think the tween is being looped because the script itself is looping to check if a property changed. by looped i mean the wheel turns but it doesn’t stop
local Car = script.Parent.Parent.Parent
local Light = Car.body.brakelight
local otherlight = Light.PointLight
local Seat = Car.body.Drive
local RunService = game:GetService(“RunService”)
local TweenService = game:GetService(“TweenService”)
local steerhinge = script.Parent.Parent.Parent.Parent.SteeringWheel.DoorHinge
while true do
RunService.Heartbeat:Wait()
if
Seat.SteerFloat==-1
then
local tweenInfo1 = TweenInfo.new(
.1, -- Time
Enum.EasingStyle.Sine, -- EasingStyle
Enum.EasingDirection.InOut, -- EasingDirection
0, -- RepeatCount (when less than zero the tween will loop indefinitely)
false, -- Reverses (tween will reverse once reaching itD's goal)
0 -- DelayTime
)
local Goal = {C0 = steerhinge.BTWeld.C0 == CFrame.Angles((30),0,0)}
local steertween = TweenService:Create( steerhinge.BTWeld, tweenInfo1, Goal)
steertween:Play()
elseif
Seat.SteerFloat==1 then
local tweenInfo2 = TweenInfo.new(
.1, -- Time
Enum.EasingStyle.Sine, -- EasingStyle
Enum.EasingDirection.InOut, -- EasingDirection
0, -- RepeatCount (when less than zero the tween will loop indefinitely)
false, -- Reverses (tween will reverse once reaching itD's goal)
0 -- DelayTime
)
local Goal = {C0 = steerhinge.BTWeld.C0 == CFrame.Angles((-30),0,0)}
local steertween = TweenService:Create( steerhinge.BTWeld, tweenInfo2, Goal)
steertween:Play()
end
end
is there a different way to check?