So i recently been getting help from a few people on Roblox to create a custom leaderboard gui, here's what i got so far.
plr = game.Players.LocalPlayer
plrgui = plr.PlayerGui
username = plr.Name
for _, player in pairs(game.Players:GetPlayers()) do
if plr.Name then
newplr = Instance.new("TextLabel", plrgui.Leaderboard.players)
newplr.Name = username
while true do
wait(2)
newplr.Text = username
newplr.Position = UDim2.new (0,0, 0,0)
newplr.Size = UDim2.new (0, 100,0, 50)
end
end
end
Now i need to make the functions GLOBAL so that it updates for everyone, but i need it to move the text label below the current one, like lets say +10, Now if anyone could help that be nice!
Thanks?
