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

Why can't my script find the GUI with filtering enabled?

Asked by 8 years ago

Hi guys,

I have a module script that modifies the GUI of users when they finish a round of the game.

value.PlayerGui.MainGUI.Lives.Visible = false

is the line that causes the problem. The error is that "MainGUI" is not a valid member of PlayerGui. It certainly is and works without FE. I thought that server scripts could still communicate with clients even with FE, but clients couldn't communicate with the server.

Thanks, MD

1 answer

Log in to vote
0
Answered by
Necrorave 560 Moderation Voter
8 years ago

Objects in PlayerGUI do not exist to the server. They only exist client side.

If you want to make changes to a GUI, you should do them locally if possible.

YellowTide helped me with this a little while ago

Ad

Answer this question