# GuiService

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Tags: Not creatable, Not replicated, Service
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/GuiService/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/GuiService

Offers numerous properties and methods for working with `GuiObjects`, player preferences, and other UI‑related tasks.

## Properties

### AutoSelectGuiEnabled

```luau
GuiService.AutoSelectGuiEnabled: boolean
```

- Tags: Capabilities: Input + UI

If activated, the `Select` button on a gamepad or `Backslash` will automatically set a GUI as the selected object.

### CoreEffectFolder

```luau
GuiService.CoreEffectFolder: Folder
```

- Tags: Hidden, Not replicated, Roblox script security, Read capabilities: UI

### CoreGuiFolder

```luau
GuiService.CoreGuiFolder: Folder
```

- Tags: Hidden, Not replicated, Roblox script security, Read capabilities: UI

### CoreGuiNavigationEnabled

```luau
GuiService.CoreGuiNavigationEnabled: boolean
```

- Tags: Hidden, Not replicated, Capabilities: Input + UI

Toggles whether or not objects in the [`CoreGui`](https://rapi.sleaze.dev/classes/CoreGui.md) can be navigated using a gamepad.

### CoreUISafeAreaInsetBottomRight

```luau
GuiService.CoreUISafeAreaInsetBottomRight: Vector2
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### CoreUISafeAreaInsetTopLeft

```luau
GuiService.CoreUISafeAreaInsetTopLeft: Vector2
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### DisplayScalingMode

```luau
GuiService.DisplayScalingMode: Enum.DisplayScalingMode
```

- Tags: Hidden, Roblox script security, Read capabilities: UI

### FullscreenViewport

```luau
GuiService.FullscreenViewport: Rect
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### GuiNavigationEnabled

```luau
GuiService.GuiNavigationEnabled: boolean
```

- Tags: Capabilities: Input + UI

Used to enable and disable the default controller GUI navigation.

### HardwareSafeAreaInsetBottomRight

```luau
GuiService.HardwareSafeAreaInsetBottomRight: Vector2
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### HardwareSafeAreaInsetTopLeft

```luau
GuiService.HardwareSafeAreaInsetTopLeft: Vector2
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### MenuIsOpen

```luau
GuiService.MenuIsOpen: boolean
```

- Tags: Read only, Read capabilities: UI, Save only

Returns `true` if any menu of [`CoreGui`](https://rapi.sleaze.dev/classes/CoreGui.md) is open.

### PreferredTextSize

```luau
GuiService.PreferredTextSize: Enum.PreferredTextSize
```

- Tags: Read only, Read capabilities: UI

Gets the player's preferred text size as an [`PreferredTextSize`](https://rapi.sleaze.dev/classes/GuiService.md) value.

### PreferredTransparency

```luau
GuiService.PreferredTransparency: number
```

- Tags: Hidden, Read only, Read capabilities: UI

Gets the player's preferred transparency as a number between `0` and `1`.

### ReducedMotionEnabled

```luau
GuiService.ReducedMotionEnabled: boolean
```

- Tags: Hidden, Read only, Read capabilities: UI

Returns `true` if the player has enabled reduced motion.

### ScreenContextRawScreenScale

```luau
GuiService.ScreenContextRawScreenScale: number
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### ScreenContextTopbarInset

```luau
GuiService.ScreenContextTopbarInset: Rect
```

- Tags: Hidden, Not scriptable, Read only, Roblox engine security, Read capabilities: UI

### SelectedCoreObject

```luau
GuiService.SelectedCoreObject: GuiObject
```

- Tags: Hidden, Not replicated, Roblox script security, Read capabilities: UI

### SelectedObject

```luau
GuiService.SelectedObject: GuiObject
```

- Tags: Capabilities: Input + UI

Sets the [`GuiObject`](https://rapi.sleaze.dev/classes/GuiObject.md) currently being focused on by the GUI navigator.

### TopbarInset

```luau
GuiService.TopbarInset: Rect
```

- Tags: Read only, Read capabilities: UI

Used to determine the absolute size and position of unobstructed area within top bar space.

### TouchControlsEnabled

```luau
GuiService.TouchControlsEnabled: boolean
```

- Tags: Capabilities: Input + UI

Used to enable and disable touch controls and touch control display UI. Defaults to `true`.

### ViewportDisplaySize

```luau
GuiService.ViewportDisplaySize: Enum.DisplaySize
```

- Tags: Read only, Read capabilities: UI

Read-only property which represents the physical rendering size of the viewport.

### ViewportSizeInMM

```luau
GuiService.ViewportSizeInMM: Vector2
```

- Tags: Read only, Roblox script security, Read capabilities: UI

### IsModalDialog

```luau
GuiService.IsModalDialog: boolean
```

- Tags: Deprecated, Read only, Read capabilities: UI

**Deprecated:** This item is deprecated. Do not use it for new work.

Indicates whether a modal dialog is visible.

### IsWindows

```luau
GuiService.IsWindows: boolean
```

- Tags: Deprecated, Read only, Read capabilities: UI

**Deprecated:** This item is deprecated. Do not use it for new work.

Indicates whether the user is playing on a computer running Windows.

## Methods

### AddCenterDialog

```luau
GuiService:AddCenterDialog(dialog: Instance, centerDialogType: Enum.CenterDialogType, showFunction: (...any) -> ...any, hideFunction: (...any) -> ...any)
```

- Tags: Roblox script security, Capabilities: UI

### AddKey

```luau
GuiService:AddKey(key: string)
```

- Tags: Roblox script security, Capabilities: UI

### AddSpecialKey

```luau
GuiService:AddSpecialKey(key: Enum.SpecialKey)
```

- Tags: Roblox script security, Capabilities: UI

### BroadcastNotification

```luau
GuiService:BroadcastNotification(data: string, notificationType: number)
```

- Tags: Roblox script security, Capabilities: UI

### ClearError

```luau
GuiService:ClearError()
```

- Tags: Roblox script security, Capabilities: UI

### CloseInspectMenu

```luau
GuiService:CloseInspectMenu()
```

- Tags: Capabilities: UI

Closes the avatar inspection menu, if open.

### CloseStatsBasedOnInputString

```luau
GuiService:CloseStatsBasedOnInputString(input: string): boolean
```

- Tags: Roblox script security, Capabilities: UI

### DismissNotification

```luau
GuiService:DismissNotification(notificationId: string): boolean
```

- Tags: Capabilities: UI

Dismisses a notification previously shown by [`SendNotification()`](https://rapi.sleaze.dev/classes/GuiService.md).

Parameters:

- `notificationId`: The identifier returned by [`SendNotification()`](https://rapi.sleaze.dev/classes/GuiService.md) for the notification to dismiss.

Returns: `true` if a matching notification was found and dismissed; `false` if no active notification has the given `notificationId`.

### ForceTenFootInterface

```luau
GuiService:ForceTenFootInterface(isForced: boolean)
```

- Tags: Roblox script security, Capabilities: UI

### GetAutoUIScaleHundredths

```luau
GuiService:GetAutoUIScaleHundredths(): number
```

- Tags: Roblox script security, Capabilities: UI

### GetBrickCount

```luau
GuiService:GetBrickCount(): number
```

- Tags: Roblox script security, Capabilities: UI

### GetClosestDialogToPosition

```luau
GuiService:GetClosestDialogToPosition(position: Vector3): Instance
```

- Tags: Roblox script security, Capabilities: UI

### GetClosestVisibleDialogToPosition

```luau
GuiService:GetClosestVisibleDialogToPosition(position: Vector3): Dialog
```

- Tags: Roblox script security, Capabilities: UI

### GetEffectiveUIScaleHundredths

```luau
GuiService:GetEffectiveUIScaleHundredths(): number
```

- Tags: Roblox script security, Capabilities: UI

### GetEmotesMenuOpen

```luau
GuiService:GetEmotesMenuOpen(): boolean
```

- Tags: Capabilities: UI

Checks if the player emotes menu is open.

Returns: Whether the emotes menu is open.

### GetErrorCode

```luau
GuiService:GetErrorCode(): Enum.ConnectionError
```

- Tags: Roblox script security, Capabilities: UI

### GetErrorDetails

```luau
GuiService:GetErrorDetails(): { [string]: any }
```

- Tags: Roblox script security, Capabilities: UI

### GetErrorType

```luau
GuiService:GetErrorType(): Enum.ConnectionError
```

- Tags: Roblox script security, Capabilities: UI

### GetGameplayPausedNotificationEnabled

```luau
GuiService:GetGameplayPausedNotificationEnabled(): boolean
```

- Tags: Capabilities: UI

Returns whether or not the [`Player.GameplayPaused`](https://rapi.sleaze.dev/classes/Player.md) notification has been disabled.

Returns: Whether or not the [`Player.GameplayPaused`](https://rapi.sleaze.dev/classes/Player.md) notification has been disabled.

### GetGuiInset

```luau
GuiService:GetGuiInset(): ...any
```

- Tags: Capabilities: UI

Returns two [`Vector2`](https://rapi.sleaze.dev/index/types/Vector2.md) values representing the inset of user GUIs in pixels, from the top‑left corner of the screen and the bottom‑right corner of the screen respectively.

Returns: A tuple of two [`Vector2`](https://rapi.sleaze.dev/index/types/Vector2.md) values describing the current specified GUI inset.

### GetGuiIsVisible

```luau
GuiService:GetGuiIsVisible(guiType: Enum.GuiType): boolean
```

- Tags: Roblox script security, Capabilities: UI

### GetHardwareSafeViewport

```luau
GuiService:GetHardwareSafeViewport(): Vector2
```

- Tags: Roblox script security, Capabilities: UI

### GetInsetArea

```luau
GuiService:GetInsetArea(screenInsets: Enum.ScreenInsets): Rect
```

- Tags: Capabilities: UI

Takes an `ScreenInsets` value and returns a [`Rect`](https://rapi.sleaze.dev/index/types/Rect.md) describing the inset region, relative to the `CoreUISafeInsets` area.

Parameters:

- `screenInsets`: The `ScreenInsets` value indicating which inset area to query.

Returns: A [`Rect`](https://rapi.sleaze.dev/index/types/Rect.md) of the usable region for the specified `ScreenInsets` area.

### GetInspectMenuEnabled

```luau
GuiService:GetInspectMenuEnabled(): boolean
```

- Tags: Capabilities: UI

Returns whether the avatar inspection menu is enabled.

Returns: Whether the avatar inspection menu is enabled.

### GetNotificationTypeList

```luau
GuiService:GetNotificationTypeList(): { [string]: any }
```

- Tags: Roblox script security, Capabilities: UI

### GetRawScreenScale

```luau
GuiService:GetRawScreenScale(): number
```

- Tags: Roblox script security, Capabilities: UI

### GetResolutionScale

```luau
GuiService:GetResolutionScale(): number
```

- Tags: Roblox script security, Capabilities: UI

### GetSafeZoneOffsets

```luau
GuiService:GetSafeZoneOffsets(): { [string]: any }
```

- Tags: Roblox script security, Capabilities: UI

### GetScreenResolution

```luau
GuiService:GetScreenResolution(): Vector2
```

- Tags: Yields, Roblox script security, Capabilities: UI

### GetUiMessage

```luau
GuiService:GetUiMessage(): string
```

- Tags: Roblox script security, Capabilities: UI

### InspectPlayerFromHumanoidDescription

```luau
GuiService:InspectPlayerFromHumanoidDescription(humanoidDescription: Instance, name: string)
```

- Tags: Capabilities: AvatarAppearance + UI

Allows the avatar inspection menu to appear showing the assets listed in a [`HumanoidDescription`](https://rapi.sleaze.dev/classes/HumanoidDescription.md) object.

Parameters:

- `humanoidDescription`: A [`HumanoidDescription`](https://rapi.sleaze.dev/classes/HumanoidDescription.md) object that contains the assets to show in the inspection menu.
- `name`: The name of the player being inspected to show in the menu.

### InspectPlayerFromUserId

```luau
GuiService:InspectPlayerFromUserId(userId: User)
```

- Tags: Capabilities: AvatarAppearance + UI

Allows the avatar inspection menu to appear showing the user that has the given `UserId`.

Parameters:

- `userId`: The `UserId` of the player to inspect.

### InspectPlayerFromUserIdWithCtx

```luau
GuiService:InspectPlayerFromUserIdWithCtx(userId: User, ctx: string)
```

- Tags: Roblox script security, Capabilities: UI

### IsMemoryTrackerEnabled

```luau
GuiService:IsMemoryTrackerEnabled(): boolean
```

- Tags: Roblox script security, Capabilities: UI

### IsTenFootInterface

```luau
GuiService:IsTenFootInterface(): boolean
```

- Tags: Capabilities: UI

Returns `true` if the client is using the ten foot interface, a special version of Roblox's UI exclusive to consoles.

Returns: `true` if the client is using the ten foot interface (console UI mode); `false` otherwise.

### OnNotificationDisplayed

```luau
GuiService:OnNotificationDisplayed(notificationId: string)
```

- Tags: Roblox script security, Capabilities: UI

### OnNotificationInteraction

```luau
GuiService:OnNotificationInteraction(notificationId: string, buttonIndex: number)
```

- Tags: Roblox script security, Capabilities: UI

### RemoveCenterDialog

```luau
GuiService:RemoveCenterDialog(dialog: Instance)
```

- Tags: Roblox script security, Capabilities: UI

### RemoveKey

```luau
GuiService:RemoveKey(key: string)
```

- Tags: Roblox script security, Capabilities: UI

### RemoveSpecialKey

```luau
GuiService:RemoveSpecialKey(key: Enum.SpecialKey)
```

- Tags: Roblox script security, Capabilities: UI

### Select

```luau
GuiService:Select(selectionParent: Instance)
```

- Tags: Capabilities: UI

Sets [`GuiService.SelectedObject`](https://rapi.sleaze.dev/classes/GuiService.md) to a child of a provided instance that is the [`PlayerGui`](https://rapi.sleaze.dev/classes/PlayerGui.md) or its descendants.

Parameters:

- `selectionParent`: The parent of selection whose descendants are searched.

### SendNotification

```luau
GuiService:SendNotification(notificationInfo: { [string]: any }): string
```

- Tags: Capabilities: UI

Displays a notification described by `notificationInfo` and returns a unique identifier for it.

Parameters:

- `notificationInfo`: A dictionary describing the notification. Recognized fields are `Title` (string), `Text` (string), `Icon` (string), `Buttons` (an array of button tables, each with a `Text` string, a `ButtonType` `NotificationButtonType` value, and an `OnActivated` callback), and `OnDisplay`/`OnDismiss` callback functions.

Returns: A unique identifier string for the notification, which can be passed to [`DismissNotification()`](https://rapi.sleaze.dev/classes/GuiService.md). Returns an empty string if the notification could not be queued.

### SendUIOcclusionMetricsForQueryRegion

```luau
GuiService:SendUIOcclusionMetricsForQueryRegion(position: UDim2, size: UDim2, regionName: string)
```

- Tags: Roblox script security, Capabilities: UI

### SetEmotesMenuOpen

```luau
GuiService:SetEmotesMenuOpen(isOpen: boolean)
```

- Tags: Capabilities: UI

Opens or closes the player emotes menu.

Parameters:

- `isOpen`: Whether to open (`true`) or close (`false`) the emotes menu.

### SetGameplayPausedNotificationEnabled

```luau
GuiService:SetGameplayPausedNotificationEnabled(enabled: boolean)
```

- Tags: Capabilities: UI

Lets you disable the built-in notification when a player's gameplay is paused.

Parameters:

- `enabled`: Whether or not the built-in notification GUI is disabled.

### SetGlobalGuiInset

```luau
GuiService:SetGlobalGuiInset(x1: number, y1: number, x2: number, y2: number)
```

- Tags: Roblox script security, Capabilities: UI

### SetHardwareSafeAreaInsets

```luau
GuiService:SetHardwareSafeAreaInsets(left: number, top: number, right: number, bottom: number)
```

- Tags: Roblox script security, Capabilities: UI

### SetInspectMenuEnabled

```luau
GuiService:SetInspectMenuEnabled(enabled: boolean)
```

- Tags: Capabilities: UI

Allows you to enable or disable the avatar inspection menu.

Parameters:

- `enabled`: A boolean indicating whether to enable or disable the menu.

### SetMenuIsOpen

```luau
GuiService:SetMenuIsOpen(open: boolean, menuName: string? = "default")
```

- Tags: Roblox script security, Capabilities: UI

### SetPurchasePromptIsShown

```luau
GuiService:SetPurchasePromptIsShown(isShown: boolean)
```

- Tags: Roblox script security, Capabilities: UI

### SetSafeZoneOffsets

```luau
GuiService:SetSafeZoneOffsets(top: number, bottom: number, left: number, right: number)
```

- Tags: Roblox script security, Capabilities: UI

### SetTopbarInset

```luau
GuiService:SetTopbarInset(topbarInset: Rect)
```

- Tags: Roblox script security, Capabilities: UI

### SetUiMessage

```luau
GuiService:SetUiMessage(msgType: Enum.UiMessageType, uiMessage: string? = "errorCode")
```

- Tags: Local user security, Capabilities: UI

### SetUIScaleMultiplier

```luau
GuiService:SetUIScaleMultiplier(multiplierHundredths: number)
```

- Tags: Roblox script security, Capabilities: UI

### ShowStatsBasedOnInputString

```luau
GuiService:ShowStatsBasedOnInputString(input: string): boolean
```

- Tags: Roblox script security, Capabilities: UI

### ToggleFullscreen

```luau
GuiService:ToggleFullscreen()
```

- Tags: Roblox script security, Capabilities: UI

### ToggleGuiIsVisibleForCaptures

```luau
GuiService:ToggleGuiIsVisibleForCaptures(guiType: Enum.GuiType)
```

- Tags: Roblox script security, Capabilities: UI

### ToggleGuiIsVisibleIfAllowed

```luau
GuiService:ToggleGuiIsVisibleIfAllowed(guiType: Enum.GuiType)
```

- Tags: Roblox script security, Capabilities: UI

### AddSelectionParent

```luau
GuiService:AddSelectionParent(selectionName: string, selectionParent: Instance)
```

- Tags: Deprecated, Capabilities: UI

**Deprecated:**

Creates a selection group where gamepad GUI navigation will only consider selectable objects that are within the group.

Parameters:

- `selectionName`: A unique name identifying this selection group.
- `selectionParent`: The [`GuiObject`](https://rapi.sleaze.dev/classes/GuiObject.md) whose selectable descendants form the navigation group.

### AddSelectionTuple

```luau
GuiService:AddSelectionTuple(selectionName: string, ...: any)
```

- Tags: Deprecated, Capabilities: UI

**Deprecated:**

**AddSelectionTuple** works similarly to [`GuiService:AddSelectionParent()`](https://rapi.sleaze.dev/classes/GuiService.md), but you can give it a tuple of [`GuiObject`](https://rapi.sleaze.dev/classes/GuiObject.md) that you want to be contained in the group. Beware that the second argument is *not* a table, but rather the first of several [`GuiObject`](https://rapi.sleaze.dev/classes/GuiObject.md) in the tuple. To pass the contents of a table, use `unpack`/`unpack`:

```luau
local frame = script.Parent -- Passing various GuiObject individually GuiService:AddSelectionTuple("InventoryButtons", frame.Sort, frame.Trash, frame.Drop) -- Unpacking a table of GuiObject (unpack/table.unpack are equivalent) local inventoryButtons = { frame.Sort, frame.Trash, frame.Drop } GuiService:AddSelectionTuple("InventoryButtons", unpack(inventoryButtons))
```

Parameters:

- `selectionName`: The name of the added selection.
- `selections`: The selection(s) added.

### GetErrorMessage

```luau
GuiService:GetErrorMessage(): string
```

- Tags: Deprecated, Roblox script security, Capabilities: UI
- Use instead: [`GuiService.GetUiMessage`](https://rapi.sleaze.dev/classes/GuiService.md)

### OpenBrowserWindow

```luau
GuiService:OpenBrowserWindow(url: string)
```

- Tags: Deprecated, Roblox script security, Capabilities: UI

### OpenNativeOverlay

```luau
GuiService:OpenNativeOverlay(title: string, url: string)
```

- Tags: Deprecated, Roblox script security, Capabilities: UI

### RemoveSelectionGroup

```luau
GuiService:RemoveSelectionGroup(selectionName: string)
```

- Tags: Deprecated, Capabilities: UI

**Deprecated:**

Removes a group that was created with [`AddSelectionParent()`](https://rapi.sleaze.dev/classes/GuiService.md) or [`AddSelectionTuple()`](https://rapi.sleaze.dev/classes/GuiService.md).

Parameters:

- `selectionName`: The name of the selection group to remove.

## Events

### CloseInspectMenuRequest

```luau
GuiService.CloseInspectMenuRequest: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### CoreGuiRenderOverflowed

```luau
GuiService.CoreGuiRenderOverflowed: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### EmotesMenuOpenChanged

```luau
GuiService.EmotesMenuOpenChanged: RBXScriptSignal<(isOpen: boolean)>
```

- Tags: Roblox script security, Capabilities: UI

### GuiVisibilityChangedSignal

```luau
GuiService.GuiVisibilityChangedSignal: RBXScriptSignal<(guiType: Enum.GuiType, visible: boolean)>
```

- Tags: Roblox script security, Capabilities: UI

### InspectMenuEnabledChangedSignal

```luau
GuiService.InspectMenuEnabledChangedSignal: RBXScriptSignal<(enabled: boolean)>
```

- Tags: Roblox script security, Capabilities: UI

### InspectPlayerFromHumanoidDescriptionRequest

```luau
GuiService.InspectPlayerFromHumanoidDescriptionRequest: RBXScriptSignal<(humanoidDescription: Instance, name: string)>
```

- Tags: Roblox script security, Capabilities: UI

### InspectPlayerFromUserIdWithCtxRequest

```luau
GuiService.InspectPlayerFromUserIdWithCtxRequest: RBXScriptSignal<(userId: number, ctx: string)>
```

- Tags: Roblox script security, Capabilities: UI

### KeyPressed

```luau
GuiService.KeyPressed: RBXScriptSignal<(key: string, modifiers: string)>
```

- Tags: Roblox script security, Capabilities: UI

### MenuClosed

```luau
GuiService.MenuClosed: RBXScriptSignal<()>
```

- Tags: Capabilities: UI

Fires when the user **closes** the Roblox [`CoreGui`](https://rapi.sleaze.dev/classes/CoreGui.md) escape menu.

### MenuOpened

```luau
GuiService.MenuOpened: RBXScriptSignal<()>
```

- Tags: Capabilities: UI

Fires when the user **opens** the Roblox [`CoreGui`](https://rapi.sleaze.dev/classes/CoreGui.md) escape menu.

### NativeClose

```luau
GuiService.NativeClose: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### NetworkPausedEnabledChanged

```luau
GuiService.NetworkPausedEnabledChanged: RBXScriptSignal<(enabled: boolean)>
```

- Tags: Roblox script security, Capabilities: UI

### Open9SliceEditor

```luau
GuiService.Open9SliceEditor: RBXScriptSignal<(selectedImageObject: Instance)>
```

- Tags: Roblox script security, Capabilities: UI

### OpenStyleEditor

```luau
GuiService.OpenStyleEditor: RBXScriptSignal<(styleBase: Instance)>
```

- Tags: Roblox script security, Capabilities: UI

### PurchasePromptShown

```luau
GuiService.PurchasePromptShown: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### SafeZoneOffsetsChanged

```luau
GuiService.SafeZoneOffsetsChanged: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### ScrollStateChanged

```luau
GuiService.ScrollStateChanged: RBXScriptSignal<(scrollingFrame: Instance, newState: Enum.ScrollState)>
```

- Tags: Roblox script security, Capabilities: UI

### ShowLeaveConfirmation

```luau
GuiService.ShowLeaveConfirmation: RBXScriptSignal<()>
```

- Tags: Roblox script security, Capabilities: UI

### SpecialKeyPressed

```luau
GuiService.SpecialKeyPressed: RBXScriptSignal<(key: Enum.SpecialKey, modifiers: string)>
```

- Tags: Roblox script security, Capabilities: UI

### UiMessageChanged

```luau
GuiService.UiMessageChanged: RBXScriptSignal<(msgType: Enum.UiMessageType, newUiMessage: string)>
```

- Tags: Roblox script security, Capabilities: UI

### BrowserWindowClosed

```luau
GuiService.BrowserWindowClosed: RBXScriptSignal<()>
```

- Tags: Deprecated, Roblox script security, Capabilities: UI

### ErrorMessageChanged

```luau
GuiService.ErrorMessageChanged: RBXScriptSignal<(newErrorMessage: string)>
```

- Tags: Deprecated, Roblox script security, Capabilities: UI
- Use instead: [`GuiService.UiMessageChanged`](https://rapi.sleaze.dev/classes/GuiService.md)

## Callbacks

### SendCoreUiNotification

```luau
GuiService.SendCoreUiNotification: (title: string, text: string) -> ()
```

- Tags: Roblox script security, Capabilities: UI

## Inherited members

- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
