In the process of trying to make a Gui shop, I've just been using .Parent to access all of the players Guis and then descending into the child that I need to access.
local plyrGUI = script.Parent.Parent.Parent.Parent
local shopGUI = plyrGUI.ShopGui
I then tried to access it using services but it ends up saying "attempt to index nil with "ShopGui" " even though I know ShopGui is properly replicated into the player's PlayerGui.
local playerGUI = game.Players:GetChildren()
local function onButtonActivated()
playerGUI.PlayerGui.ShopGui.Enabled = false
end
I want to put more ease into this method by just directly accessing a single player's PlayerGui (my game will be max player of one, so it doesn't need to include multiple players).
