Thanks for looking at my question, I'll dive right into it.
So Basically...
I want a ScreenGui to be removed forever and ever once a player clicks a certain button. I've tried using function HasPressedPlay() and if they pressed play, then script.Parent.Parent.Parent.Parent = nilbut whenever I die AKA reset, The ScreenGui would still appear. I would suggest try using onDied Event() but I wouldn't know how to. So I think checking and keeping a record on a player if they pressed play, and if they leave the game, the record will be deleted and will be kept anew. I know this is confusing, which is completely my fault, but there's some theorems to help you guys solve my problem. So, can you help me? Thank you!
GreekGodOfMLG

2 comments
There was an error with your code, StarterGui should've been PlayerGui, but when I changed it, it worked! Thank you ObscureEntity, I'll be sure to Accept your Answer and upvote you as well!
Sorry about that, I should know better. I typed it in the box instead of in studio to test it. I've been doing complex formulas all day and am tired lol. If you need more help, I'm usually doing nothing too important, so feel free to ask.