Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Leaderboard problem since 14/1/2018?

Asked by
90poitu -10
6 years ago

game.Players.PlayerAdded:Connect(function(plr) local text = Instance.new("TextLabel", game.Workspace.Leaderboard.SurfaceGui) text.Parent = game.Workspace.Leaderboard.SurfaceGui text.Size = UDim2.new(1, 0,0.1, 0) game.Workspace.Leaderboard.SurfaceGui.TextLabel:Clone() text.BackgroundColor3 = Color3.new(255, 255, 255) text.TextScaled = true text.Text = plr.Name text.Position = UDim2.new(.87, 0, .01 + (.05 * #text:GetChildren()), 0) end) It works but only for one player If Player2 joins than it will override all the plr.Name

0
What are you trying to do? Also use ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ to contain your code and accompanied by proper indentation.  arshad145 392 — 6y

Answer this question