Still have questions? Join our Discord server and get real time help.
0

# How do I open a Frame only ONCE when the player joins my game?

I am trying to make a FrameGUI that will display the current news. When a player joins the game, I would like it to display on his/her screen (not on other people's screens, so I used a localscript) I made a textbutton to close the Frame. Inside it I made a localscript, and I scripted:

script.Parent.Parent.Visible = true

script.Parent.MouseButton1Click:Connect(function()
script.Parent.Parent.Visible = false
end)


This may seem just fine. When a player joins the game, it pops up, and you can close it. However, when they die (My game is called Death Simulator), it pops up AGAIN when they respawn. This is because the script runs once again. I do not think that players will appreciate that. How may I fix it? Thanks for your help!

0
Pupppy44 423
3 days ago

Turn off ResetOnSpawn for the GUI.

0
Ok, I will try it out. Thank you! StockBAMBAM 2 — 2d
0
You are a genius! It worked!!! StockBAMBAM 2 — 2d