Skip to content
InstancesOverviewNew · 0.744

unprotectgui

Describe leaving the local interface-protection mode.

Aliasesunprotect_gui

Details#

Removes local protected-UI handling for the supplied object. It does not destroy the UI object; clean up that object separately when finished.

Examples#

Example

Luau
local gui = Instance.new("ScreenGui")
protectgui(gui)
unprotectgui(gui)
gui:Destroy()