local h={}local L={}L[1]={"\083\112\097\119\110\101\114\049";"\083\112\097\119\110\101\114\050","\083\112\097\119\110\101\114\054","\083\112\097\119\110\101\114\055"}L[2]={"\083\112\097\119\110\101\114\050";"\083\112\097\119\110\101\114\051","\083\112\097\119\110\101\114\052","\083\112\097\119\110\101\114\053"}L[3]={"\083\112\097\119\110\101\114\050","\083\112\097\119\110\101\114\053";"\083\112\097\119\110\101\114\054";"\083\112\097\119\110\101\114\055"}L[4]={"\083\112\097\119\110\101\114\050";"\083\112\097\119\110\101\114\051","\083\112\097\119\110\101\114\053","\083\112\097\119\110\101\114\054";"\083\112\097\119\110\101\114\055"}L[5]={}L[6]={"\083\112\097\119\110\101\114\056";"\083\112\097\119\110\101\114\057","\083\112\097\119\110\101\114\049\050","\083\112\097\119\110\101\114\049\055"}L[7]={"\083\112\097\119\110\101\114\049\048";"\083\112\097\119\110\101\114\049\049","\083\112\097\119\110\101\114\049\050","\083\112\097\119\110\101\114\049\055"}L[8]={"\083\112\097\119\110\101\114\049\048";"\083\112\097\119\110\101\114\049\049","\083\112\097\119\110\101\114\049\051","\083\112\097\119\110\101\114\049\052"}L[9]={"\083\112\097\119\110\101\114\056","\083\112\097\119\110\101\114\049\048","\083\112\097\119\110\101\114\049\050","\083\112\097\119\110\101\114\049\052"}L[10]={"\083\112\097\119\110\101\114\056","\083\112\097\119\110\101\114\057";"\083\112\097\119\110\101\114\049\049","\083\112\097\119\110\101\114\049\052"}L[11]={"\083\112\097\119\110\101\114\049\053";"\083\112\097\119\110\101\114\049\054";"\083\112\097\119\110\101\114\049\056","\083\112\097\119\110\101\114\049\051"}L[12]={"\083\112\097\119\110\101\114\049\053";"\083\112\097\119\110\101\114\049\054","\083\112\097\119\110\101\114\049\057";"\083\112\097\119\110\101\114\050\048"}h.waypoints=L return h
-- Determines which spawners will actively spawn enemies based off the waypoint (attachments in Workspace.TrackParts), the cart is currently at
local EnemySpawning = {}

local waypoints = {}

waypoints[1] = { "Spawner1", "Spawner2", "Spawner6", "Spawner7" }
waypoints[2] = { "Spawner2", "Spawner3", "Spawner4", "Spawner5" }
waypoints[3] = { "Spawner2", "Spawner5", "Spawner6", "Spawner7" }
waypoints[4] = { "Spawner2", "Spawner3", "Spawner5", "Spawner6", "Spawner7" }
waypoints[5] = {}
waypoints[6] = { "Spawner8", "Spawner9", "Spawner12", "Spawner17" }
waypoints[7] = { "Spawner10", "Spawner11", "Spawner12", "Spawner17" }
waypoints[8] = { "Spawner10", "Spawner11", "Spawner13", "Spawner14" }
waypoints[9] = { "Spawner8", "Spawner10", "Spawner12", "Spawner14" }
waypoints[10] = { "Spawner8", "Spawner9", "Spawner11", "Spawner14" }
waypoints[11] = { "Spawner15", "Spawner16", "Spawner18", "Spawner13" }
waypoints[12] = { "Spawner15", "Spawner16", "Spawner19", "Spawner20" }

EnemySpawning.waypoints = waypoints

return EnemySpawning
