How to make a Time Leaderboard in Roblox Studio!

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Follow me in Roblox! please.?
    0winto100win
    scripts
    game.Players.PlayerAdded:Connect(function(player)
    local leaderboard = Instance.new("IntValue", player)
    leaderboard.Name = "leaderstats"
    local time = Instance.new("IntValue", leaderboard)
    time.Name = "Minutes Played"
    time.Value = 0
    while true do
    wait(60) -------- how long you have to wait
    time.Value = time.Value + 1
    end
    end)

Комментарии • 1

  • @exoxrs
    @exoxrs  3 месяца назад +1

    -scripts-
    game.Players.PlayerAdded:Connect(function(player)
    local leaderboard = Instance.new("IntValue", player)
    leaderboard.Name = "leaderstats"
    local time = Instance.new("IntValue", leaderboard)
    time.Name = "Minutes Played"
    time.Value = 0
    while true do
    wait(60) -------- how long you have to wait
    time.Value = time.Value + 1
    end
    end)