Vector3 problem

im trying to do im trying to add or subtract 0.1 to rotvoelocity everytime a button is pressed, this works with

Rotation.Velocity = Rotation.RotVelocity + Vector3.new(0,-0.1,0)

but not

Rotation.Velocity = Rotation.RotVelocity + Vector3.new(0,0.1,0)

rotvelocity never go’s above 0.1 if the add button was pressed so i tried

Rotation.Velocity = Rotation.RotVelocity + Vector3.new(0,+0.1,0)
 

and its a syn error what to do?

1 Like

I see, you put a plus/+ before the 0.1 in the vector3 value. That goes against syntax