if its already available via the preload as ModelSpawner why would you need to import it again as modelSpawner? both are esentially doing the same thing.you could just add class_name ModelSpawner to the top of your script and you should be able to access it directly from any script in the project via ModelSpawner.yourmethod() or ModelSpawner.yourvariable syntax