I want to make a GUI dissapear when I pause the game, but I don’t know how to make that happen when the game is paused.
What do you mean by “pause” the game?
There is a game paused setting in player. You can’t trigger it via code.
I mean when you press esc to pause it.
I don’t know, I’ve seen a kind of thing in a game.
Yeah it is only triggered by Streaming Enabled
I don’t think theres a method that triggers when someone pauses it, but you can make your own sort of pause system I guess. Another gui to pause the game locally depending on what type of game you’re doing.
I don’t know what streaming enabled is, Im kinda new to scripting.
Ok so Streaming Enabled is what limits the parts your client can see.
I know that it is possible because I’ve seen a game doing that. Maybe that thing is triggered when you press esc only.
Oh, ok. (charactelimitblablabla)
Can you show me the game please?
Sure, its called Troll Obby, it adds a blurry thing and slow motion music when you pause the game.
Are you not able to provide a link, searching that will show a lot of games…
Okay I see now, try this which whould detect when a user opens the gui, there’s also MenuClosed to detect when they close it. GuiService | Documentation - Roblox Creator Hub
Thank you, I’ll check it out to see if that works!