An error occurred
Fix was to make a FungusScript prefab and spawn it the same way as all other prefabs.