This script is supposed to add a textbutton with the name of the player who joined inside it. It also has a script for when the player leaves so it can destroy the textbutton. But I dont think I did it well at all. The basic idea is there though.
for _, v in pairs (game.Players:GetChildren()) do Players= 0 local Players2 = Players v:WaitForChild("StarterGear") v.StarterGear:WaitForChild("Stats") v.StarterGear.Stats:WaitForChild("ClanTag") script:WaitForChild("Base") local Player3 = script.Parent.Parent:clone() Player3.Position = Player3.Position + UDim2.new(0,0,0,Players2*29) Player3.Visible = true Player3.Parent = script.Parent Player3.Name = "Player" Player3.Text = v.Name