you have everything tabbed in below the custom players var you need to pull everything below that back 1 tab
The for expression needs a “:” at the end of the line. like this,
for (lSpawner : spawner) : # <-----