This Script put a local script into the players character when the character is added but I need the local script to work when the player resets also.
Script
player.CharacterAdded:connect(function(Character)
script.LocalScript:clone().Parent = Character
end)
