I was working on a Camera manipulation script and I needed to tween Camera from a Part to Player. Unfortunately, when I wanna tween CameraSubject Property, I get following error:
TweenService:Create property named 'CameraSubject' cannot be tweened due to type mismatch (property is a 'Object', but given type is 'Instance')
Here’s my code:
TweenService:Create(Camera, TweenInfo.new(0.5), {CameraSubject = game.Players.LocalPlayer.Character.Humanoid}, true):Play()
Will appreciate any help! Thanks.