
436 Views
56 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
this script blocks every coregui popups such as annoying favorite item, and join community notif popups Note: This script property can be used and contributed to any community you choose.
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
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!
SOURCE | Block Popups







