I have a FE game and when a player joins it adds a gui to a frame with UIListLayout. But when the function is called it does nothing.
Code:
game.Players.PlayerAdded:Connect(function(plr)
print(" has entered")
local temp = script.Parent.Parent.Parent.Templates.PlayerTemp:Clone()
temp.Name = plr.Name
temp.Text = plr.Name
temp.Parent = script.Parent
end)
Local Script inside a frame

1 comment
It doesnt matter now I changed it to clicking on a player to bring up a gui