Assign key to player