Place the script into your resources folder:
resources/[local]/hsSpawnSelector
ensure hsSpawnSelector
ox_lib (required for UI and animations)