rconsolehide

Hides the console window without destroying it.

Syntax

rconsolehide() -> ()

Aliases

  • rconsoledestroy
  • consoledestroy

Returns

This function does not return a value.

Description

rconsolehide hides the existing console window. Its contents remain available when the console is shown again.

Example

-- Show console and print something
rconsoleshow()
rconsoleprint("This console will close in 5 seconds...\n")

-- Wait and then hide
task.wait(5)
rconsolehide()

Notes

  • Use rconsoleshow or rconsoletoggle to reveal it again