on first join: set helmet of the player to a diamond helmet set chestplate of the player to a diamond chestplate set leggings of the player to a diamond leggings set boots of the player to a diamond boots give 1 iron sword to the player give 1 bow with infinity give 1 arrow to the player on join: set helmet of the player to a diamond helmet set chestplate of the player to a diamond chestplate set leggings of the player to a diamond leggings set boots of the player to a diamond boots give 1 iron sword to the player give 1 bow with infinity give 1 arrow to the player on death of player: wait 2 seconds set helmet of the player to a diamond helmet set chestplate of the player to a diamond chestplate set leggings of the player to a diamond leggings set boots of the player to a diamond boots give 1 iron sword to the player give 1 bow with infinity give 1 arrow to the player