for i, player in pairs(game.Players:GetPlayers()) do local gui = game.Lighting.UI:Clone() gui.Parent = player.PlayerGui end
I'm using this script but it isn't working. I have a gui in lighting.
for i, player in pairs(game.Players:GetPlayers()) do local gui = game.Lighting.UI:Clone() gui.Parent = player.PlayerGui end
I'm using this script but it isn't working. I have a gui in lighting.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I would use serverstorage instead of lighting because lighting isn't supposed to be intended for storing stuff like guis.
do you want it to be cloned on a event or when a player spawns