This line of code is erroring, I can’t find out why
TS:Create(humanoid,TweenInfo(0.4),{CameraOffset = Vector3.new(0,-3.8,0)}):Play()
This line of code is erroring, I can’t find out why
TS:Create(humanoid,TweenInfo(0.4),{CameraOffset = Vector3.new(0,-3.8,0)}):Play()
You need to do TweenInfo.new(0.4) not TweenInfo(0.4) otherwise you’re calling the table itself.
TweenInfo isn’t a table value (it’s a class/value type) but yes, this is correct.
TS:Create(humanoid, TweenInfo.new(0.4), {CameraOffset = Vector3.new(0,-3.8,0)}):Play()