I’m working with the acs 2.0.1 engine but I’ve run into an issue with surface GUI. I’ve made it so that when you toggle your flashlight it also makes a surface GUI visible. However, I want the surface GUI to be visible to everyone but the local player. So I tried this code inside of the ACS_Server located in serverscriptservice:

but this didn’t end up working. I want to use the PlayerToHideFrom Option SurfaceGui’s Offer unless there’s another way I can hide it from the LocalPlayer.
So then I tried putting a script inside of the surface GUI with this code:
![]()
and it still didn’t work.
For those wondering this is what the surface GUI with the scripts inside looks like

and despite me trying both of these options this is still the outcome:
The Gui is still visible to the LocalPlayer And not hidden.