Instead of having a brick move like
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
wait(.1)
part.Position = Vector3.new(x, x, x)
and so on. How would I shorten this and make it do with math. Like change the x value by .1 using math? So like "while true do wait(.01) part.Position = Vector3.new(x[+1], x, x) wait(.01) or something like that. Please help.
