I want only the y axis to move so that whnever i move the x and z axis it automatically goes up from there instead of being fixed
bodyPos = script.Parent Part = script.Parent.Parent while wait() do bodyPos.Position = Vector3.new(Part.Position,math.random(0,100),Part.Position) end
bodyPos = script.Parent Part = script.Parent.Parent while wait() do bodyPos.Position = Vector3.new(Part.Position.X,math.random(0,100),Part.Position.Z) end
You forgot to add the X/Z values