I am trying to make this "MapChooserGui" from Lighting clone into every player's PlayerGui, what I did was:
local mapChooserGui = game.Lighting:FindFirstChild("MapChooserGui"):Clone()
for i,v in pairs(game.Players:GetPlayers()) do
mapChooserGui.Parent = v.PlayerGui
end
This only works once somehow then when the game script repeats gives me this error in the output
The Parent property of MapChooserGui is locked, current parent: NULL, new parent PlayerGui
Someone help me please!

1 comment
You are only cloning the GUI once, you need to clone it once per player, not once per server. Also, I recommend putting it in ServerStorage, so the players can't access it.