Alright so, I have a chatcommand-loaded GUI, which is stored in Server Storage.
How do I move the GUI to show in everybodys screens.
I've tried everything from;
local GUICLONE = game.ServerStorage.AerisLoadGui:Clone() for _,v in pairs(game.Players:GetChildren()) do GUICLONE.Parent = v.PlayerGui end
I also tried
local GUICLONE = game.ServerStorage.AerisLoadGui:Clone() for ply in pairs(game.Players:GetPlayers()) do GUICLONE.Parent = ply.PlayerGui end
you could either :FireAllClients()
with a remoteevent or fix your for
-loop up.
this has to be in a regular server script because you're accessing ServerStorage and you're
looping through all the players and modifying their PlayerGui
for _,player in pairs(game.Players:GetPlayers()) do -- use GetPlayers() local GUICLONE = game.ServerStorage.AerisLoadGui:Clone() -- you want to clone it for every player GUICLONE.Parent = player.PlayerGui end