-- Basic usage (instant show) local function clickblock(event) local playerid = event.eventobjid local uiid = "6986982063319417057" -- Replace with your UI ID local elementid = "6986982063319417057_1" -- Replace with component ID -- Show component immediately Customui:showElement(playerid, uiid, elementid) end -- Advanced usage (with fade animation) local function showWithFade(event) local playerid = event.eventobjid Customui:showElement(playerid, "6986982063319417057", "6986982063319417057_1", 1, 500) -- 500ms fade end ScriptSupportEvent:registerEvent([=[Player.ClickBlock]=], clickblock)