Scripting a death screen!

I am working on a game and want to make a deathscreen to either revive and it prompts it using marketplace service and a dev product to revive, or to respawn/close the gui and restart the game.

Can anyone help ive been stuck on this for a while, im really new to this scripting stuff!

2 Likes

Hey, I just looked over your script, It’s all good except for a teeny mistake you made in the humanoid.Died section.
You put:

Humanoid.Died:Connect(function(Prompt)

it should actually be
Humanoid.Died:Connect(Prompt)

Correct me if i’m wrong

Oh yeah, you should get rid of that end) right after you make that change

2 Likes