So I was trying to make a part that moves up and down endlessly in a loop
wait()
script.Parent.BodyVelocity.Velocity.Y = 2
wait(5)
script.Parent.BodyVelocity.Velocity.Y = -2
wait(5)
return
However, when I run this script, the properties of the value Y didn't change from its inital value (0,0,0). Have I done anything wrong in this case?
I'm still learning lol.

1 comment
Ah, the classic Vector3, how could I have forgotten that, Many thanks!