Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is it possible to see if a child was added to core gui?

Local Script:

game:GetService("CoreGui").ChildAdded:connect(function(instance)
    game.ReplicatedStorage.remote.CheckEvent:FireServer(instance.Name)
end)

I'm using an exploit I bought to make an anti exploit in my game. This will fire an event in the server which checks the name of the child added to core gui which is where most exploit guis go to hide.

Server Script:

game.ReplicatedStorage.remote.CheckEvent.OnServerEvent:Connect(function(player, name)
	if name ~= "Chat" or name ~= "BubbleChat" or name ~= "ControlGui" or name ~= "FreeCamera" or name ~= "ServerLogs" then
		player:Kick("Better luck next time! (not)")
	end
end)

When I test it, it does not work and the developer console shows no error.

1 answer

Nope. Although it is sad that they can't let us even read the CoreGui. Also most exploiters aren't going to use the Core Gui. Instead they would use an external UI. Also if you do want to prevent exploiters you should be using a better use of Remote Events/Functions (can't say I do that though).

2 comments

0

What I meant is I want to delete any GUI's they use such as Dex explorer, Rocky2u or any other GUI's

0

oh well you also can't

This discussion is preserved as it was. New answers, comments, and votes are closed.