Leveraged
|
  |
| Joined: 23 Jul 2010 |
| Total Posts: 11564 |
|
|
| 28 May 2015 12:46 AM |
So basically I've got this scrolling leaderboard, but I'm not sure how I'd display names on it, especially without displaying each textlabel the same name.
Any help/suggestions?
Leveraged/tixmaker101 + 55k posts | |
|
|
| Report Abuse |
|
daireb
|
  |
| Joined: 16 Nov 2012 |
| Total Posts: 726 |
|
|
| 28 May 2015 01:55 AM |
scrollingLeaderboard = nil -- replace nil with the scrolling frame
for i, k in ipairs(game.Players:GetChildren()) do
local box = Instance.new("TextLabel",scrollingLeaderboard) box.Text = k.Name box.Size = UDim2.new(1,0,0,scrollingLeaderboard.AbsoluteSize.Y/10) box.Position = UDim2.new(0,0,0,(scrollingLeaderboard.AbsoluteSize.Y/10)*(i-1))
end |
|
|
| Report Abuse |
|