How would you execute a local script during a function in a different and nonlocal script?
Put the script into StarterPlayerScripts or into a Gui and turn ResetPlayerGuiOnSpawn off and then use the following:
player=game.Players.LocalPlayer hum=player.Character:WaitForChild("Huminoid") hum.Died:connect(function() --Stuff to do when they die end)