Script:
local Players = game:GetService("Players")
for _, player in pairs(Players:GetPlayers()) do
player.PlayerGui = game.ServerStorage.GuiFolder.Gui1:Clone()
end
Error: PlayerGui is not a valid member of Player “Players.Dquvo”
Script:
local Players = game:GetService("Players")
for _, player in pairs(Players:GetPlayers()) do
player.PlayerGui = game.ServerStorage.GuiFolder.Gui1:Clone()
end
Error: PlayerGui is not a valid member of Player “Players.Dquvo”
What are you trying to do here? From the looks of it, you’re trying to set the PlayerGui to something else? Are you trying to clone something from ServerStorage into the PlayerGui? I think you meant to do this if I’m correct
local Players = game:GetService("Players")
for _, player in pairs(Players:GetPlayers()) do
local gui = player:WaitForChild("PlayerGui")
game.ServerStorage.GuiFolder.Gui1:Clone().Parent = gui
end