I was goofing around Roblox Studio, and I made a Unusual UI Finder. A simple script, I want to know if this is useful or not.
-- List of okay instances
local safeUIs = {}
-- Wait until Roblox loads the important stuff
wait(1)
-- Gets everything, and puts in the safe UI table
for i, v:GuiObject in pairs(script.Parent:GetDescendants()) do
table.insert(safeUIs, v)
end
-- Always checking if a unusual UI was detected.
game:GetService("RunService").Heartbeat:Connect(function()
for i, v:GuiObject in pairs(script.Parent:GetDescendants()) do
if not table.find(safeUIs, v) then
-- Script if something detected unusual UI
end
end
end)
TLDR; Grabs all the UI in PlayerGui, and checks if there was a newly created one
Well since exploits modify the program, it is possible to do this. This is why admin panels and dex easily go unnoticed. It us developers do this, it’s considered exploiting.
Wait but weren’t people able to get INTO the core gui? If yes then why don’t we Devs ask Roblox to allow us to get into the coregui to stop exploiters from doing that? Why did nobody thought of taht?
This wasn’t intended. CoreGui is protected by Roblox for many important reasons. You would have to ask them to add a core script which removes all guis except their own and studio plugins.
There’s no point because they would most likely screw up their client to bypass these checks anyway. It wouldnt even matter if you could still run snippets of code in executors.