i dont know how i can put in this script into the while true do loop?? when i copy and paste it in it just goes below not in that loop

wait(0.1)
	if model.PointF ~= nil then
		f = model.PointF
		hum:MoveTo(f.Position, f)
		repeat
			wait(0.1)
		until (f.Position - torso.Position).magnitude <= 5
	else
		print("No Point F.")
	end
model = script.Parent.Parent
hum = script.Parent.Humanoid
torso = script.Parent.Torso
while true do
	if model.PointA ~= nil then
		a = model.PointA
		hum:MoveTo(a.Position, a)
		repeat
			wait(0.1)
		until (a.Position - torso.Position).magnitude <= 5
	else
		print("No Point A.")
	end
wait(0.1)
	if model.PointB ~= nil then
		b = model.PointB
		hum:MoveTo(b.Position, b)
		repeat
			wait(0.1)
		until (b.Position - torso.Position).magnitude <= 5
	else
		print("No Point B.")
	end
wait(0.1)
	if model.PointC ~= nil then
		c = model.PointC
		hum:MoveTo(c.Position, c)
		repeat
			wait(0.1)
		until (c.Position - torso.Position).magnitude <= 5
	else
		print("No Point C.")
	end
wait(0.1)
	if model.PointD ~= nil then
		d = model.PointD
		hum:MoveTo(d.Position, d)
		repeat
			wait(0.1)
		until (d.Position - torso.Position).magnitude <= 5
	else
		print("No Point D.")
	end
wait(0.1)
	if model.PointE ~= nil then
		e = model.PointE
		hum:MoveTo(e.Position, e)
		repeat
			wait(0.1)
		until (e.Position - torso.Position).magnitude <= 5
	else
		print("No Point E.")
	end
wait(0.1)
end