[UNET] Spawn Player GO just for clients

Hey guys,
I tried to just spawn an Player for all Clients but I dont get it working.

I want to be the Server just the Server without possibility to play on his own. So let the Server work as a Dedicated Server.

Someone has any clue how to manage this.

Tried it on diffrent ways but none of them worked yet .-.

Found a Dirt Solution:

	void Start () {
        if (isServer && isLocalPlayer)
        {
            Debug.Log("Server detected. Delete Player for Server!");
            Destroy(this.gameObject);
            return;
        }
        if (isLocalPlayer)
        {
            Debug.Log("Found a Player");
            gameObject.AddComponent<PlayerInput>();
          
        }
	}