Script API - v1.26.20.20
    Preparing search index...

    Class MessageBoxBeta

    A simple message form UI, 2 buttons and a text body.

    Index

    Constructors

    Methods

    • Returns void

      Tell the client to close the message box. Throws FormCloseError if the message box is not open.

      This function can't be called in early-execution mode.

    • Returns boolean

      Returns true if the message box is currently being shown to the player.

      This function can't be called in early-execution mode.

    • Returns Promise<MessageBoxResult>

      Show this message box to the player. Will return a result even if the client was busy (i.e. in another menu). Will throw if the user disconnects.

      This function can't be called in early-execution mode.