I have a part with child BodyVelocity. Here is the code I have to make it move:

while true do
	wait(0.1)
	part.BodyVelocity.Velocity = part.CFrame.lookVector * 25
end

The code runs smoothly in Studio. However, when I run it on a server the movement is all jerky and laggy. How do I make it run smoothly?