so i want the part to go to the right for a bit of time and then up (i cant find any waay to do it)
local MovingPart = script.Parent
local direction1 = Vector3.new (0, 0, 1)
local direction2 = Vector3.new (0, 1, 0)
local direction3 = Vector3.new (0, 0, -1)
local direction4 = Vector3.new (0, -1, 0)
local speed = 5
function Move ()
local newPosition = direction1 * speed * 0.01
MovingPart.Position = MovingPart.Position + newPosition
local newPosition = direction2 * speed * 0.01
MovingPart.Position = MovingPart.Position + newPosition
end
while true do
Move ()
wait (0.01)
end
** You are now Level 2! **