If this is all the code for the player, then nothing here should be causing another player to be spawned.
My hunch is that you have two players in the scene, and when one player collides with something the other player pops out from the first player. Do you mind posting the scene tree for the scene that spawns two players?
Also, is there any scripts that look something like the code below? If so, then maybe it is spawning two players.
var clone = preload("res://player.tscn").instance()
add_child(clone)