print("doo")
game.Players.PlayerAdded:Connect(function(player)
player:WaitForChild("PlayerGui")
player:WaitForChild("GymRules")
player.PlayerGui.GymRules.Frame.Visible = true
end)
When I run the game, theres no output to this but the gui doesn't show up. I did run the game and check in my inventory if both PlayerGui and GymRules was in there, and it was. Why won't this gui popup when a player joins the game? This script is in ServerScriptService, and the gui is in StarterGui with the visibility set on 0. I've tried putting it in Workspace, but that didn't work either.

4 comments
I tried deleted 4 and 5, and I made sure it was enabled and the visibility was set to false, not the background transparency. The script in ServerScriptService is a script, so that's not the issue either. It's still not working.
Would you mind joining the scriptinghelpers discord so i can help there?
I don't mind. I just joined.
Post a screenshot of your explorer with the gui and things expanded