For about 45 minutes now, I’ve been trying to make a script that when the timer ends, it will clone a GUI and insert it into everyone’s startergui, being there if you joined after the script worked. So if you were to join after the script inserts it, it’ll be there still. I don’t know how to do this after searching on the web and looking at the devfourm.
Some reason didn’t work. Or that I messed something up, *"I changed the (local Gui = Gui:Clone() to local Gui = game.Lighting.Gui:Clone() ) Did I mess this up?
My apologies, just if I did, where would I put my GUI to be cloned into every elses GUI.
That wouldn’t work he said he wants to insert the gui into all the players after the timer ends.
if you meant cloning the gui to starter gui then it wouldn’t work because it only clones from startergui to playergui when the game starts.
local players = game:GetService("Players")
for _, Player in pairs(players:GetPlayers()) do
local gui = YourGuiLocation
gui:Clone()
gui.Parent = Player.PlayerGui
end