How to edit another player's PlayerGui using a local script?

I want to edit another Player’s PlayerGui using a text button local script that finds the player name through a text box but it does not work. I’ve looked to no avail.

1 Like

Client’s LocalScript cannot do anything that would change the experience for other clients. However, the server can do that, because it’s the server. So you could use Remote Events/Functions to tell the server to change that other player’s GUI.

I’ve tried a remote event, but server scripts can’t edit other player’s player guis since it’s a local but local scripts can’t edit other player guis because they can only edit the main player gui but I want to edit another player’s gui.

Well of course the server can’t change a client’s GUI, so what you do is fire an event to said client and ask them to change the text, so you’ll have 2 events. Client A asking the server to change Client B’s GUI, server then asks Client B to change their GUI

How do I do that? I only know how to fire local to server.

Refer to this, and you will see this to your right:
image
And that would give you all the answers you need, it should be easy for you since you already tried from client to server.

I had 69 strokes trying to understand that, I will just switch to a player clicking a part.