Solution 1:

/kill @e[type=Player]

Make sure to use square brackets!