local CoreGui = game:GetService("CoreGui") local TargetNames = { "AvatarEditorPromptsApp", "InExperienceDetailsPromptApp", } local function NukeExisting(Container) for _, Descendant in Container:GetDescendants() do if Descendant:IsA("ScreenGui") then Descendant.Enabled = false end end for _, Descendant in Container:GetDescendants() do if Descendant.Name == "PromptFrame" or Descendant.Name == "Prompt" then Descendant:Destroy() end end end local function WatchContainer(Container) NukeExisting(Container) Container.ChildAdded:Connect(function(Child) if Child:IsA("ScreenGui") then Child.Enabled = false end end) Container.DescendantAdded:Connect(function(Descendant) if Descendant:IsA("ScreenGui") then Descendant.Enabled = false end if Descendant.Name == "PromptFrame" or Descendant.Name == "Prompt" then task.defer(Descendant.Destroy, Descendant) end end) end local function BlockTarget(Name) local Existing = CoreGui:FindFirstChild(Name) if Existing then WatchContainer(Existing) end end for _, Name in TargetNames do BlockTarget(Name) end CoreGui.DescendantAdded:Connect(function(Descendant) if Descendant.Parent == CoreGui then for _, Name in TargetNames do if Descendant.Name == Name then WatchContainer(Descendant) end end end end) CoreGui.ChildAdded:Connect(function(Child) for _, Name in TargetNames do if Child.Name == Name then WatchContainer(Child) end end end)