Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why doesn't player GUI enable when game is published?

I have been trying to fix this problem all day now!

I tried disabling filtering and it didn't work! I tried changing the player joined script and it didn't work as well!

This is the script

game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function()
local gui = player:WaitForChild('PlayerGui',1)
 local open = gui:WaitForChild("open",1)
open.Enabled = true
		end
	end)
end)

no matter what I try nothing works.

What I am trying to do: I am trying to make a script that enabled the "open" gui when the player joins.

2 comments

0

Is it a LocalScript? And what is "player" defined as? Post the full script.

0

ok posted the whole script

1 answer

✓ Accepted answer

PlayerGui shouldn't be accessed from the server. Experimental Mode was removed, So filtering enabled is a forced requirement. If you're looking to modify the PlayerGui, I recommend using RemoteEvents to do so. This will let the server tell the Client what to do and vice versa.

This discussion is preserved as it was. New answers, comments, and votes are closed.