How to tween Vector3Value?

I would Like to tween a Vector3Value, but I keep getting “unable to cast value to object” errors.

I have seen nothing on the DevFourm on this topic.

If anyone is able to help, the script is below, try and help me fix it if possible, thanks.

local Vector3Value = Instance.new("Vector3Value", script) 
local tween = ts:Create(Vector3Value, TweenInfo.new(3, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {Value = Vector3.new(0,90,0)})
tween:Play()

I pasted your code into a script and defined “ts” and it’s working fine for me. Are you sure you don’t have anything affecting it?