The player object may duplicate unintentionally as a result of an issue with the spawn logic, such as a condition being met twice or a bug that causes the player object to duplicate unintentionally as a result of a bug. If there are any redundancies, check them out.