Hello. So, this script is supposed to fire when it's player dies. It is stored in StarterGui, under a textbutton, which is in a screengui. In case that confused you, the hierarchy is: StarterGui > ScreenGui > TextButton > LocalScript The localscript should Delete a child of Player called MatchTag. It then needs to make a Gui visible for 5 seconds. Here's the script.
game.Players.LocalPlayer:WaitForChild("Humanoid").Died:connect(function()
game.Players.LocalPlayer:FindFirstChild("MatchTag"):Destroy()
script.Parent.Visible = true
wait(5)
script.Parent.Visible = false
end)
Thanks for the help!

1 comment
Thanks!