I’m trying to Detect when an outside source is adding Non-Roblox Guis to CoreGui folder, but I get a “Do not have permission” text.
local CoreGui = game.CoreGui
CoreGui.ChildAdded:Connect(function(Child)
print(Child,"Added Into CoreGui")
game.Players.LocalPlayer:Kick("Hack Client")
end)
I believe there was a similar post made about this subject, you can find the answer to your question here:
2 Likes
Jrelvas
(Jrelvas)
#3
CoreGui isn’t accessible to developers. That means you CANNOT get it’s descendants or properties.
CoreGui documentation.
2 Likes