added spawning to players rather than previous hacks