---------------------waypointsgenerator--------------------	

	for i, waypoint in pairs(waypoints)do
	if
	 CreateWaypoints == true
	then
	local WayBall = Instance.new("Part",Fol)
	WayBall.Shape = "Ball"
	WayBall.Material = "Neon"
	WayBall.Size = Vector3.new(0.6,0.6,0.6)
	WayBall.Position = waypoint.Position + Vector3.new(0,2,0)
	WayBall.Anchored = true
	WayBall.CanCollide = false
	end