• Trending
  • Get Robux
  • How to create Game Pass?
  • Making Skins
  • Roblox Developers SALARY
  • CONTACT US
SUPPORT
Create your Roblox games to earn Robux with Roblox Studio :)
  • Home
  • Roblox Studio Tutorials
    Beginner TutorialsLua Scripting

    How to make a Roblox Game Pass in 10 minutes?

    4.8 out of 5
    Beginner Tutorials

    Understanding If-Then-Else in Roblox Lua Scripting

    BloxCreators
    May 13, 2022
    Beginner TutorialsRoblox Studio Tips

    21 Super Useful Hotkeys in Roblox Studio you must know

    BloxCreators
    May 14, 2022
  • LUA Scripting
    Beginner TutorialsEarn RobuxLua Scripting

    How I create the simple code redeem system in Roblox Studio?

    The Game Code is literally just a set of pre-defined codes by…

    BloxCreators
    BloxCreators
    June 10, 2025
    Beginner TutorialsLua Scripting
    How to Create an Interactive NPC Experience with Proximity Prompts?
    Beginner TutorialsLua Scripting
    How to make a simple Leaderboard with Roblox’s studio?
    Beginner TutorialsRoblox Studio Tips
    21 Super Useful Hotkeys in Roblox Studio you must know
    Roblox Game Publishing
    Beginner TutorialsEarn RobuxLua Scripting
    How to publish a game on Roblox?
  • Get Robux
    Beginner TutorialsEarn RobuxLua Scripting

    How I create the simple code redeem system in Roblox Studio?

    BloxCreators
    BloxCreators
    June 10, 2025
    Beginner TutorialsLua Scripting

    How to Create an Interactive NPC Experience with Proximity Prompts?

    BloxCreators
    June 5, 2025
    how to publish Roblox Shirt
    Beginner TutorialsEarn RobuxMake Roblox Items

    How to make Roblox shirt? Step-by-Step guide

    BloxCreators
    June 6, 2025
  • Support Us
  • Bookmarks
Reading: How to make a simple Leaderboard with Roblox’s studio?
Share
Create your Roblox games to earn Robux with Roblox Studio :)Create your Roblox games to earn Robux with Roblox Studio :)
Font ResizerAa
  • Adventure
Search
  • Home
    • Home 1
    • Home 2
    • Home 3
    • Home 4
    • Home 5
  • Categories
  • Bookmarks
    • My Bookmarks
    • Customize Interests
  • More Foxiz
    • Blog Index
    • Sitemap
Have an existing account? Sign In
Follow US
© Foxiz News Network. Ruby Design Company. All Rights Reserved.
Create your Roblox games to earn Robux with Roblox Studio :) > Blog > Beginner Tutorials > How to make a simple Leaderboard with Roblox’s studio?
Beginner TutorialsLua Scripting

How to make a simple Leaderboard with Roblox’s studio?

Like almost every single game in Roblox has one. A roblox leaderboard is a fun way to display player scores in your Roblox game.

BloxCreators
Last updated: June 20, 2025 9:53 pm
BloxCreators
Share
5 Min Read
roblox-leaderboard
SHARE

I am 100% sure you know what is a leaderboard. Like almost every single game in Roblox has one. A leaderboard is a fun way to display player scores or some important statistic in your Roblox game. With Roblox’s default system, it is really so simple to set up. In this tutorial, I will walk you through step by step to create a basic leaderboard using Roblox Studio. The built-in leaderstats feature can easily show each player’s name and score. Let’s get started 🙂

Contents
Create the Leaderboard with Default SystemExplanation of the Script:Create function to handle Add PointsTrigger the addPoints function at the beginningTest by playing the game

Create the Leaderboard with Default System

Without making any extra User Interface, we can simply use the in-build system of Roblox Studio. You can right-click ServerScriptService in the Explorer. Insert a new Script. Let say just name it LeaderboardScript.

Add script in ServerScriptService

Now you can simply copy and paste below script to the script editor:

local Players = game:GetService("Players")

-- Function to set up leaderstats for each player
Players.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local score = Instance.new("IntValue")
    score.Name = "Score"
    score.Value = 0
    score.Parent = leaderstats
end)

Explanation of the Script:

You should aware there are some special terms in the script. First, the leaderstats folder is a special Roblox feature that automatically displays player information in the game interface. Whenever a player joins the game, a Score value is created under leaderstats. Since the score.Value set to be ZERO, it will starting at 0. For sure you can change this value according to your wish. And you can test it out!

Noted that the default system shows the leaderboard on the right side of the screen. Only start playing the Roblox game will see it appear.

Create function to handle Add Points

Now you can make a new function called addPoints. With the help of this function, player will increase the score by completing some tasks. We will call this function later. Now just add below script in the same file:

-- Function to add points 
local function addPoints(player, points)
    if player:FindFirstChild("leaderstats") then
        player.leaderstats.Score.Value = player.leaderstats.Score.Value + points
    end
end

Trigger the addPoints function at the beginning

The simplest way to test it out, is how we trigger the function when players entering the game. That is the function being called and add 12 score when the game started.

-- Example: Add 100 points when a player joins
Players.PlayerAdded:Connect(function(player)
    wait(1) -- Brief delay to ensure leaderstats is created
    addPoints(player, 12)
end)

Test by playing the game

When you actually start PLAY the game in Roblox studio, you should now notice that there is a simple leaderboard at the top right hand corner. The initial value should be 12.

You can surely further modify the script, or adding some parts there for clicking and add points purpose. Hope this simple tutorial help you create the very first simple leaderboard in Roblox.

How to make Roblox shirt? Step-by-Step guide
How to publish a game on Roblox?
How to Create an Interactive NPC Experience with Proximity Prompts?
10 Ways you should know for protecting your Roblox account
How to make a Roblox Game Pass in 10 minutes?
TAGGED:leaderboardleaderstatslua scriptingRoblox functionRoblox studio
Share This Article
Facebook Email Print
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

19 − 16 =

New Releases

- Advertisement -
Ad image

Trending Stories

Beginner TutorialsEarn RobuxMake Roblox Items

How do I make a skin by myself in Roblox just 10 minutes?

May 14, 2022
Beginner TutorialsRoblox Studio Tips

21 Super Useful Hotkeys in Roblox Studio you must know

May 14, 2022
Beginner TutorialsLua Scripting

How to make a Roblox Game Pass in 10 minutes?

May 16, 2022
Roblox Game Publishing
Beginner TutorialsEarn RobuxLua Scripting

How to publish a game on Roblox?

June 3, 2025
how to publish Roblox Shirt
Beginner TutorialsEarn RobuxMake Roblox Items

How to make Roblox shirt? Step-by-Step guide

June 6, 2025
Beginner TutorialsMake Roblox Items

Adding images in Roblox Studio: Roblox Decals

May 14, 2022

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

Follow US on Social Media

Facebook Instagram Youtube

© Created and Maintained by the BloxCreators Team
All Rights Reserved 2025

Create your Roblox games to earn Robux with Roblox Studio :)

Contact Us

  • Job@BloxCreators.com
  • Privacy Policy
  • Advertise
  • Subscribe
Welcome Back!

Sign in to your account

Username or Email Address
Password

nine + 19 =

Lost your password?