Good afternoon Please tell me how I can get the PlayerGui of all players. I use this:
for i, Player in pairs(game.Players:GetPlayers()) do
end
But it is collected by PlayerGuis partially.
Good afternoon Please tell me how I can get the PlayerGui of all players. I use this:
for i, Player in pairs(game.Players:GetPlayers()) do
end
But it is collected by PlayerGuis partially.
local Guis = {}
for i, Player in pairs(game.Players:GetPlayers()) do
Guis[Player.Name] = Player.PlayerGui
end
local Players = game:GetService("Players")
for i, Player in pairs(Players:GetPlayers()) do
local PlayerGui = Player.PlayerGui
end