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

Can I access CoreGui through a script?

In an attempt to deter exploiters, since usually GUIs are put in there, I tried detecting when a child was added into the CoreGui and whether it was safe or not, to realise that apparently I couldn't access the CoreGui? Is there any way I can do this or at least detect?

1 answer

✓ Accepted answer

You can check if a descendant is added using game.DescendantAdded, but unless you have correct permissions you cannot access CoreGui. To make this even more frustrating, you can't index anything in CoreGui either, so checking if it is parented to CoreGui doesn't help much either. I've found a way around this to make an anti exploit such as you have also, but I'd like to keep it private because it can be bypassed easily if exploiters know about it. I'm sure you can figure it out though.

1 comment

0

Dang, that sucks. Well, thanks for the information, guess I'll have to find a way around it.

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