Overlay help - What's wrong with my script?

When I put overlays I was only able to put five before getting an error, but maybe that’s just me.