Player.GameplayPaused
The GameplayPaused property indicates if the player is currently in a pause state in a place with StreamingEnabled activated. It is set on the client but replicated to the server. To determine the pause status, you can utilize this property.
See also:
- Workspace.StreamingEnabled which controls whether content streaming is enabled
- Workspace.StreamingIntegrityMode and Enum.StreamingIntegrityMode for more details on when gameplay is paused.