gethui
Returns the executor's hidden GUI container Instance.
function gethui(): InstanceSynopsis
How it works
Returns a protected GUI container InstanceInstanceThe base class for all Roblox objects (Parts, Models, Scripts, GUIs, etc.). Instances form a tree hierarchy (the DataModel). In Luau, they appear as userdata with shared metatables. that the executor creates outside the normal
CoreGui / PlayerGui hierarchy. This container is invisible to game scripts that enumerate GUI children, making it safe for hosting executor UI elements like ESP overlays, menu frames, and HUD widgets.Detection safety
Anti-cheat scripts typically check
CoreGui:GetChildren() or PlayerGui:GetChildren() for foreign ScreenGuis. gethui() returns a container that exists outside these hierarchies, so standard GUI enumeration won't find it. Use this as the Parent for any GUI you want to protect.Usage
Create protected GUI
local hui = gethui()
local frame = Instance.new("Frame")
frame.Parent = huiReturns
Instance The executor's protected hidden GUI container.