Hello, I made a list of players. every time player joins I’m cloning a button from replicated storage
and naming it as the player name. but the player button is not showing up.
Thanks
Here is the script:
game.Players.PlayerAdded:Connect(function()
for i, plr in pairs(game.Players:GetChildren()) do
local template = game.ReplicatedStorage.Button
local tempClone = template:Clone()
tempClone.Parent = script.Parent.ScrollingFrame
tempClone.TextLabel = plr.Name
tempClone.Visible = true
end
end)