For tweens, you don’t need to specify Camera.CFrame in the tween list (the {Camera.CFrame == player.Character.Head.CFrame} thing). Change it to CFrame instead
Also, == is for comparisons, = is for modifying. Use = for modifying dictionary items
This will need to be [CFrame] otherwise the script will confuse the reference to CFrame as a class reference as opposed to a key/field of the goals table (property) of the tweened instance.
TweenService uses strings to figure out which properties to tween, so when it tries to convert the table to a string and find the property, the Part doesn’t have a property named <Table> (table: 0xa8d33f552f40617c)
I’m aware of this convention, this might have been recently changed with Luau, I’m trying to find some of my earlier posts where users where having issues for attempting to tween the “CFrame” property of an instance without wrapping the property name inside a pair of square braces.
Perhaps I’m misremembering, these posts were made quite some time back (1-2 years+), at the very least they silence the purple class-name marker which appears (aesthetic preference).