Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can I access CoreGui through a script?

Asked by
trecept 367 Moderation Voter
6 years ago

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

Log in to vote
0
Answered by 6 years ago

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.

0
Dang, that sucks. Well, thanks for the information, guess I'll have to find a way around it. trecept 367 — 6y
Ad

Answer this question