I have a server script that checks the name of every player that joins the game. If their name is CodyDev (me) it gives them armor. The armor is given to them by using this:
local armor = game.ServerStorage["Armor"]:Clone()
The problem I am having is that if the player dies, when they respawn it uses the same clone and therefore all the parts are broken. Instead, I want to use a new clone for every time the script runs, so it does not break. How would I go about doing this?

4 comments
You need to somehow figure out a way to identify when the character is dying and is re-spawning. Then disable the script for a period of time until the character respawns. When the character respawns, then enable the script.
I used a local script that tells the server when the player dies and then disables the script for 2 seconds. This caused the script to stop working, it didn't error but my character did not spawn with any armor again.
Have you tried just putting the armor in Server Storage or some other place and cloning from there, instead of cloning the already used one?
Can you post the code?