Why can exploiters access CoreGui, but developers can’t?
What do I want?
Roblox should allow read-only access to CoreGui
(something like GetCoreGui()
or FindFirstChild("CoreGui")
). This way, we could detect exploit menus like Dex, Infinity Yield, AimBots, and RemoteSpy.
The problem
Exploiters can read, create, modify, and delete things in CoreGui, but developers can’t even search for them. This makes no sense! If it’s about “security,” then exploiters shouldn’t have access either!
Code examples
If we had read-only access, we could easily identify suspicious menus in CoreGui
:
-- Searching for a specific exploit menu
local exploitMenu = game.CoreGui:FindFirstChild("MenuExploit")
if exploitMenu then
print("Exploit detected! Name: " .. exploitMenu.Name)
end
Or we could list all the GUI elements inside CoreGui
and look for something unusual:
-- Listing all GUIs in CoreGui
for _, gui in pairs(game.CoreGui:GetChildren()) do
print("Detected GUI: " .. gui.Name)
end
If a function like GetCoreGui()
existed, detection would be even easier:
-- Example of a fictional function that could exist
local coreGui = GetCoreGui()
if coreGui then
for _, gui in pairs(coreGui:GetChildren()) do
print("Detected GUI: " .. gui.Name)
end
end
This would GREATLY help in combating exploiters without affecting security!
We wouldn’t even need direct access… Roblox itself could create a script that automatically checks for any out-of-place GUI inside CoreGui
.