Is it possible to detect when a user interacts with a gui that cannot be called?

Hey, Im trying to look into how I can detect when a user interacts with a gui but the actual location of the script cant be accessed.

For example:

An exploiter places an exploit into CoreGui. Is it possible to detect that the gui has been clicked? Like is there a client event that fires? and if there isnt what other ways could I detect this?

Thanks.

no, regular roblox clients cant access coregui

You could try BasePlayerGui:GetGuiObjectsAtPosition when the player clicks (using UserInputService.InputBegan).

The function probably has some code to ignore stuff in CoreGui, but it’s possible it doesn’t.

Edit:

Yeah I didn’t relize it was meant to be used by the things that inherited BasePlayerGui, so it can only be used on PlayerGui, StarterGui, and CoreGui. I bet if you try to call it on CoreGui it will give an error.

interesting. Ill try it out and let you know how it goes.

It doesnt wok unfortunately. Return an error talking about the security level.

1 Like

I was trying to call it on the core when I first tried it and thats why i got the security error.

1 Like