This isn't really much of the actual script itself but more on the server side of the game. I put the Main GUI in StarterGui so I expect it to clone to PlayerGui on the server side and client side of the game. But for some reason it only clones to the client side and I can't figure out how to make it go to the server side. Using a script didn't work, how should I go on doing this?
I had the same problem, with a bit of research I found that the playergui is client side only, you can clone to it, but you cannot detect something inside it. So what your asking is impossible with FE enabled and even with filtering disabled it would be pretty messy. I don't really know why you need this but if you need it to be accessed I would recommend putting values inside the player wich can get detected by both server and client scripts I believe (or remote events)