Using this "gameplay paused" mechanic in my game

Hello, i want to know how to use this feature.
How i would like to use it is by unloading and then reloading a different map. (for example, when a round starts in an item asylum type game, instead of teleporting them, you just unload the intermission map, and load the real map)

Is this possible? thanks.
this seems pretty complicated so im not exactly sure if its possible
edit: pictures

3 Likes

Im pretty sure players or the player service (cant remember what it is) has a boolean called “GameplayPaused” or something like that, When you want to use it, you can use an Ipairs loop, and make every player’s gameplay paused.

randomizer game? or a game that has rounds?

yea like a round based system

(charrrrrr)

1 Like

image
Here it is. Its in a player object.

Ok so its on the player class itself but trying to use it with the command bar throws this error


(this is both on the client and server)

Oh, Well in that case i think it’s read-only, or can only be toggled via explorer.

I think what you can do is just recreate the GUI then, Also, May i ask why you need this to happen while loading? Wouldnt it be better to display a loading screen over everything like Item asylum does?

to be honest, i just saw this and wanted an excuse to use it, i guess i could try remaking it?
it would be helpful to know where you can find the coreguis

I think you can enable CoreGui being visible like so:
image
When you run the game, Check in CoreGui, It has a bunch of GUIs and stuff.
You might find a GUI similar to it
I found this thing in it too
image
kinda cool

I’m pretty sure this is not a toggleable thing, this happens when stuff is being loaded in and the game needs to pause to load things in.

Were those GUIs ever used at any point in Roblox’s history? I can’t find any evidence of Roblox officially using that.

Judging by the way the buttons look, I’d say its probably very old, and they just forgot to remove it from CoreGui, or something.

Not sure, I dont reseach much about Roblox history. It was in CoreGui though

i cant seem to find the coregui for the gameplay paused thing. Any suggestions?

It’s completely automatic and is used by streaming. Enable streaming.

No, it is not possible to recreate this GUI. The reason for this is that it blurs the background, and this includes other GUI. Unless you’d want to remove ALL GUI from your game, it wouldn’t be correct.

The feature also is not intended to be used like this. It is meant for content streaming, not for developers to enable or disable by hand. You could very well make your own loading GUI.

Players who actually somewhat know what the streaming loading GUI is might leave your game if they see it since typically it should not be showing for more than a few seconds. You would not confuse as many players if you made your own.

2 Likes

It’s called RobloxNetworkPauseNotification under CoreGui.

You’ll have to playtest the game then set the GameplayPaused value to true before having it actually visible. Pretty hideous (literally).

螢幕截圖 2023-11-06 下午12.42.08

You’ll have to recreate the effect of the icon, though.
For the blur effect, you can add a BlurEffect under lighting.
You may want to disable other GUIs when this is visible using for loops.

Thanks! I thought it might be that but I hadnt actually checked with gameplaypasued enabled. I will get started working immediately

I’ll probably change it up a bit.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.