I do have a mini-function I made that fires when the player dies, but it only runs once and stops after that.
game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() print("You have died!") end)
Is there a way to make something like this continue?
Yeah.
Put the following LocalScript into StarterPlayerScripts:
game.Players.LocalPlayer.CharacterAdded:Connect(function(char) char:WaitForChild("Humanoid").Died:Wait() print'You have died!' end)
The issue with your script is that the Character your script is referring to gets removed when the player dies.