So I'm working on a project, and I have a local script in "StarterPlayerScripts". It's supposed to Clone 3 SurfaceGUIs and put them on 3 different parts. This is what I have:
--GUIS
local Lumber = game.Lighting.StockGuis.HowMuchLumber
local Fire = game.Lighting.StockGuis.HowManyFires
local Infected = game.Lighting.StockGuis.WhoGotThePlauge
--Parts
local LumberPart = game.Workspace.LumberFans
local FirePart = game.Workspace.FireFlash
local InfectedPart = game.Workspace.RBLXPlauge
--Functions
game.Players.PlayerAdded:connect(function(player)
LumberClone = Lumber:Clone()
LumberClone.Parent = LumberPart
FireClone = Fire:Clone()
FireClone.Parent = FirePart
InfectedClone = Infected:Clone()
InfectedClone.Parent = InfectedPart
end)
I also tried replacing "Parent" with "Adornee". What did I do wrong? By the way there's nothing in output

2 comments
PlayerAdded doesn't work with Localscripts.
ohhh ok thanks.