I don't have much script for you to look at, since there's only one piece at the moment. However, I have a 'Time Alive' counter, and I need there to be a second column on the leaderboard. Previous tutorials have only replaced the counter with the group rank. The group ID is 6228794 if needed. Here is my script for the Time Alive counter:
game.Players.PlayerAdded:connect(function(player)
local Stats = Instance.new("Model", player)
Stats.Name = "leaderstats"
local Timer = Instance.new("IntValue", Stats)
Timer.Name = "Time Alive"
Timer.Value = 0
while true do
wait(1)
Timer.Value = Timer.Value + 1
if player.Character.Humanoid.Health == 0 then
Timer.Value = 0
end
end
end)
Can anyone help?
