Scripts for spawner and enemy behavior