I've been starting to script in FE but I don't know how to get every player's playergui. It's for a function that closes a Gui using a remote (so it works with FE)
script:
function exit(visible)
game.ReplicatedStorage.HideShop1GUI:FireClient(visible)
end
game.Players:GetPlayers():WaitForChild("TryItStoreGUI").Exit.MouseButton1Down:connect(exit)
^^^^^ I've tried it but it was just a guess I really don't know.
I'm new to this website so Idk how to format my stuff.
