ROBLOX - HOW TO MAKE LEADERBOARDS

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Learn how to make leaderboards/leaderstats on Roblox! Want to show how many coins, kills, or what the player's rank is? You can use leaderboards
    Want to learn how to make money on Roblox and become successful? Check out my exclusive community: www.joinmoneyb...
    Feel free to also check out my channel, which teaches you how to script, how to build, and more!
    - Video on the best ways to learn to script: • THE BEST WAYS TO LEARN...
    - Roblox Studio Tutorial for Beginners video: • ROBLOX Studio Tutorial...
    - Zero to Hero Series Playlist: • Roblox Scripting - Fro...
    - How to Build video: • ROBLOX - How to Build ...
    - How to make a game: • HOW TO MAKE A ROBLOX GAME
    - How to make a game popular: • HOW TO MAKE YOUR GAME ...
    Just a word of advice, don't give up! Over 10 years ago I wanted to learn how to make games and was faced with this challenge; learning how to code. I know, it's hard. It takes dedication and practice, and I believe you've got the stuff in you to succeed!
    Do you have any questions or suggestions regarding my videos? Leave a comment, I try and read all of them!
    ⭐ Subscribe to my RUclips channel for more content: bit.ly/SubToCov...
    ⭐ Get in touch with CovertCode:
    Twitter: / realcalvingray
    Roblox: bit.ly/38fp4v3
    #CovertCode #RobloxScriptingTutorials #RobloxDev #Roblox

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

  • @lectuslettuce6930
    @lectuslettuce6930 2 года назад +31

    It usually hard for me to stay focus and learn something, but yours get on point and you explain it nicely, and I somehow don't get bored at your explanations
    And I keep wanting to learn from you more and more, tysm!

    • @jamerility
      @jamerility Год назад

      ARE YOU LOST? DO YOU TRUST ME? THIS WAY FAVORITE FLAVOR?

    • @kashmirandal6282
      @kashmirandal6282 3 месяца назад

      @@jamerility Huh?

    • @jamerility
      @jamerility 3 месяца назад

      I dont remember commenting this

    • @denizkutlu001
      @denizkutlu001 Месяц назад

      You did 1 year ago​@@jamerility

    • @jamerility
      @jamerility Месяц назад

      @@denizkutlu001 wdym

  • @choumoong
    @choumoong Год назад +36

    For the lazy ones:
    game.Players.PlayerAdded:Connect(function(player)
    -- Someone joined the server.

    local stats = Instance.new("IntValue")
    stats.Name = "leaderstats"

    local kills = Instance.new("IntValue", stats)
    kills.Name = "Kill Count"

    local gold= Instance.new("IntValue", stats)
    gold.Name = "Gold"

    stats.Parent = player
    end)

    • @plukioff1785
      @plukioff1785 Год назад

      thanks

    • @tiamckay1010
      @tiamckay1010 10 месяцев назад

      thanks

    • @Kindmender
      @Kindmender 10 месяцев назад

      thank you so much with the first one, i didnt know how to get past the function thing

    • @choumoong
      @choumoong 10 месяцев назад +1

      np@@Kindmender

    • @Memsoes
      @Memsoes 4 месяца назад

      I'll take it but im not lazy. I just don't feel like it.

  • @carlossalvadorzelayahidalg1823
    @carlossalvadorzelayahidalg1823 Год назад +5

    Bro, you deserve more credit I tried for 2 days to get a leader stat with another video and it didn't work and I joined yours and in 10min I did it!! You're the Best ❤

  • @CreedIsBetter
    @CreedIsBetter Год назад +5

    bro thank you so much! this really helped. Would widely recommend to anyone.

  • @BetaCircuit
    @BetaCircuit Год назад +6

    I am trying to make a sword game and all of your videos are so helpful. Thanks so much

    • @BetaCircuit
      @BetaCircuit Год назад +2

      I do not have a hard time focusing because you are always direct and to the point :)

  • @zekethereal123andrews8
    @zekethereal123andrews8 Год назад +3

    I'm bad with scripting and I have many errors and it sometimes feels like the game hates me but this video is the first one to work tysm

  • @buraksmoke
    @buraksmoke Год назад +1

    man. i don't know who you are but i can say that you must be in the academia and lecture every single day. most youtubers give us fish instead of teaching us how to fish. you are teaching us man. i will not do copy paste thing now. ... ty man!

  • @jessicamousseau7716
    @jessicamousseau7716 6 месяцев назад +2

    Could you make other stuff add kills to the leaderboard?
    [Great vid]

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад +2

      you can do this
      create one sword
      and use the Touchd
      sword.Touchd:Connect(function(otherpart)
      if otherpart.Parent.health == 0 then'
      kills.Value += 1
      end)

  • @duckdude765
    @duckdude765 2 года назад +48

    pov: you were trying to look for the script

  • @MuncherooYT
    @MuncherooYT Год назад +5

    This video really helped me a lot. But I have one question, how do i make that when ever player plays game for like and 15 min or so the begginer changes to amateur and so on.

    • @realblon1x
      @realblon1x Год назад +3

      Hey, I think I have a solution for you.
      Let's say you called it "rank".
      Then you would first need to create a StringValue, because they contain text, instead of an IntValue (they contain numbers).
      local rank = Instance.new("StringValue")
      Then everytime you want to 'increase' a player's rank, you would use this code:
      rank.Value = "(whatever you like)"
      Hope this helps :)

  • @lata924
    @lata924 2 года назад +3

    I subscribed your videos are toooooo helpful

  • @EastonStracener
    @EastonStracener Год назад +7

    How do I link the Kills to actual Kills so that whenever I get a kill the 0 turns to 1?

    • @Giganoob1468
      @Giganoob1468 Год назад

      idk but i suggest watching a tutorial

    • @FirstRobloxDev
      @FirstRobloxDev Год назад

      brooo ive been wondering like the same thing i need a tutorial

    • @BT_VOX
      @BT_VOX Год назад

      Me too

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      (you want up value just like rank coin kills).value += 1 or -= 1
      += like plus
      -= like minus

    • @hegettinchrizzy
      @hegettinchrizzy 19 дней назад

      @@夜鶯-b7bhow would i do that

  • @xwolfslimesx
    @xwolfslimesx Год назад +3

    yeah but how do i make the number go up every time someone completes a level? Im making a obby so i want the level to go up every time you pass a level and stand on a spawn point but whatever video i watch i can not find how to do it...

    • @SPACESS
      @SPACESS Год назад +1

      Yo bro did u know now how to do that ? im too trying to make an obby but no one teach how the level go up if u know how or have the vid tell me

    • @xwolfslimesx
      @xwolfslimesx Год назад

      @@SPACESS I still don't know Sorry man

    • @realblon1x
      @realblon1x Год назад

      Hey guys, I think I have a solution for you.
      Let's say you created an Instance named kills:
      local kills = Instance.new("IntValue")
      kills.Parent = stats
      kills.Name = "Kills"
      then you can change the value (or increased as you said) like this:
      kills.Value = kills.Value + 1
      -- increases value
      kills.Value = 0
      -- sets value to 0
      etc!
      Hope it helps :)

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      @@realblon1x maybe can
      (you want up value just like rank coin kills).value += 1 or -= 1
      += like plus
      -= like minus

  • @Twilight024
    @Twilight024 26 дней назад

    holy crap this actually worked, i thought it was cap

  • @aaronwallis5545
    @aaronwallis5545 Год назад +3

    I am ridiculously new to this, how could I define the leaderboard to show the timer for lets say an obby? your videos are really good. I'm still working on how to stop a timer to an added event, im really struggling here. I dot think I am very good at this.

  • @TheKingShow1.0
    @TheKingShow1.0 10 месяцев назад +1

    doesnt work on a newer roblox studios

  • @shumiyobiswas3095
    @shumiyobiswas3095 Месяц назад

    Thanks but can you make a tutriol on hwo to change it when a event happened?
    Example: *Kills player* leaderboard *Updates*

  • @AkaAPex
    @AkaAPex 5 месяцев назад +1

    it says " Error while updating leaderboards: 502: API Services rejected request with error. Error code: 11 Reason: Studio access to APIs is not allowed"

    • @BlackantsRecords
      @BlackantsRecords 5 месяцев назад

      go to settings security turn on allow APIs service

  • @MainSequence-fg8Mx
    @MainSequence-fg8Mx 24 дня назад

    Google recommended this to me and I was trying to find how to actually use the Leaderboards. What I mean is that you didn't show how to program it to actually receive stats and convert it into information for the Leaderboards. :(

  • @stupidmonkeystudios
    @stupidmonkeystudios 8 месяцев назад +4

    how do i add to the score when some thing happen for example when you kill an npc

  • @Birch_TreeYT
    @Birch_TreeYT Год назад +1

    I kinda understand but i didnt know how to make raised or donated leaderboard like when someone give you robux and it go leaderboard

  • @stumpy750
    @stumpy750 2 месяца назад

    Thank you this really helped my game

  • @redy0sh1
    @redy0sh1 2 года назад +4

    Balls

  • @slowrabbit604
    @slowrabbit604 9 месяцев назад

    NO other tutorial worked tysm you halped me make my game

  • @plexxy3784
    @plexxy3784 Год назад +2

    very informative video. im wondering, how do I make it so these actually go up in kills/gold.

    • @reksiozz
      @reksiozz 8 месяцев назад

      yourVariableName.Value = yourVariableName + 50
      Please don't use local

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      (you want up value just like rank coin kills).value += 1 or -= 1
      += like plus
      -= like minus

  • @pontus3018
    @pontus3018 8 месяцев назад

    Thank you so much for the help!

  • @tmkbst4t
    @tmkbst4t Год назад

    Thank u so much bro u gained a new sub

  • @kashmirandal6282
    @kashmirandal6282 3 месяца назад

    Hello. In case you're still active, how can I connect leaderstats to spawnpoints? For example, in obbies, where the amount of stages you've completed are shown in the leaderboard. For example:
    Name Stage
    Cool 50

  • @noahcraig6463
    @noahcraig6463 2 года назад

    Nice video! Also I was wondering if you invest in roblox games?

    • @MrHell0
      @MrHell0 2 года назад

      wdym by that

  • @Barry_Kid
    @Barry_Kid Год назад +1

    thx bro

  • @Keindutz
    @Keindutz Год назад

    im trying to make a obby but how do i make it change number i want it to change from stage 0 to stage 1

  • @deathlyrics
    @deathlyrics 2 года назад

    cool video! can u make a vid about music playlist gui aka how to script a gui for music playlist

  • @unknowperson2754
    @unknowperson2754 2 года назад

    This help me alot in my my game really cool tutorial

  • @RaiseRiggy286
    @RaiseRiggy286 Месяц назад

    this doesn't save anything, all it does is create some values and a leaderstats folder and call it a day, no datastore or anything. You leave the game and you lose all the progress.

  • @keyboardenthusiast9734
    @keyboardenthusiast9734 Год назад

    bro this is def one of the most underrated roblox coding creators on all of youtube. Def deserves a sub.

  • @cupboi1337
    @cupboi1337 3 месяца назад

    i know im kinda late but how do i make it so that parts can add 1 point? it only works if i myself touch it

  • @abrocadabs804
    @abrocadabs804 8 месяцев назад +2

    How to you add to if if you rank up or something?

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      if rank >= (rank up need kills) then
      rank.value += 1
      end

  • @BT_VOX
    @BT_VOX Год назад +1

    Tysm it worked but in kills why when i kill someone it doesnt increase?

    • @SickEXP
      @SickEXP Год назад

      you have to script it urself :/

    • @GGamersY
      @GGamersY Год назад

      @@SickEXP what if he did :/

  • @vemuvid
    @vemuvid 3 месяца назад

    How can i make myself have like 100T kills

  • @logantheinkredible8242
    @logantheinkredible8242 8 месяцев назад

    Curious, im glad I could get the kill counter working but how can I sync the in game rank with a group rank?

  • @skylarporter6
    @skylarporter6 6 месяцев назад

    So my question is how do u make more numbers

  • @xXGreniko12
    @xXGreniko12 9 месяцев назад

    I WAS THE 1K LIKE

  • @TheRealManiax
    @TheRealManiax 8 месяцев назад +1

    i did everything but it didnt work.

  • @rooneynoob6245
    @rooneynoob6245 2 года назад

    Why I can't see other players values in the leaderboard?

  • @Yo-Matthew
    @Yo-Matthew 9 месяцев назад

    How do I make it go up, I'm making a game where you need to jump to get points.

  • @Minty-89
    @Minty-89 10 месяцев назад

    idk if y'all are having this problem, but i put in the script and when i tested it, i didn't work. can some pls explain what is wrong, no offence, your video is good

  • @thebestgamer9903
    @thebestgamer9903 2 месяца назад

    Somehow I do everything the same but yet it don’t work

  • @Just_SpincerYT
    @Just_SpincerYT 8 месяцев назад

    1 year ago I commented how it didnt work, now I realise that script wording is extremely important

  • @BéMT.08
    @BéMT.08 Год назад +2

    How do the stats in the leaderboard increase and the leaderboard rank automatically increase to a new rank when enough stats are reached?

    • @fir3zack
      @fir3zack Год назад

      yeah

    • @neutroquite8947
      @neutroquite8947 Год назад +1

      thats what I want to know aswell!

    • @WeirdlyBad
      @WeirdlyBad Год назад

      @@neutroquite8947 Use If, Repeat and Until commands.

  • @ayanafzal7629
    @ayanafzal7629 10 месяцев назад

    bro the code doesnt work for me it only shows when i only add 1 leaderstat pls help

  • @TanqrPlush
    @TanqrPlush 2 года назад +2

    No joke I typed in the same exact scripts but it didn't work. Can someone reply to this comment if you know what's going on?

    • @CovertCode
      @CovertCode  2 года назад +3

      Check out the link in the description that will take you to a place you can edit and view my code directly. Make sure everything matches because the slightest mistake (even using a capital letter instead of a normal letter) will break your script.
      Good luck and thanks for watching :)

    • @TanqrPlush
      @TanqrPlush 2 года назад

      @@CovertCode And which link is it again?

    • @thatguy-fo1hf
      @thatguy-fo1hf 2 года назад

      make sure l in leaderstats is uncaptial, also dont forget to do , stats after intvalue and stringvalue.

    • @quitting8736
      @quitting8736 2 года назад

      @@CovertCode what link theres loads

  • @ShinefyAi
    @ShinefyAi 2 года назад

    Hey dude can I hire you?

  • @just_one_guy
    @just_one_guy Месяц назад

    thanks

  • @UltimatEthan2212
    @UltimatEthan2212 3 месяца назад

    It still doesn't show up, how can I fix this??

  • @monkie-dev8000
    @monkie-dev8000 2 года назад +4

    Can you make a video showing how to increase the value and detect it?

    • @Mo_Gold
      @Mo_Gold Год назад

      yes pls

    • @Classic_Bloxy_v2
      @Classic_Bloxy_v2 Год назад

      @@Mo_Gold yes

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      you can try this
      (you want up value just like rank coin kills).value += 1 or -= 1
      += like plus
      -= like minus

  • @justalison5811
    @justalison5811 2 года назад

    hi do you know how to script a gui and it allows to to buy credits for robux? for instance a way to buy yourself gold with robux

  • @Sirako_YT
    @Sirako_YT Год назад

    thanks a lot. i subscirbed

  • @majin007
    @majin007 2 года назад

    Legend

  • @nocturnewolf5252
    @nocturnewolf5252 8 месяцев назад

    Super vidéo j ai compris comment faire maintenant +1 followers ❤

  • @io9io937
    @io9io937 3 месяца назад

    thx it worked

  • @DatMemerson
    @DatMemerson Год назад

    Can someone please make a vid on how to make 2 working leaderboard stats ( Coins and Checkpoints) cos like im trying to make an obby game but i wanna add money in the game and checkpoints but when i try to make the coins leaderboard stat, it replaces my checkpoints stat so please someone help

  • @malachimm2
    @malachimm2 Год назад

    It says that players added isnt a member of players

  • @RobloxFan453
    @RobloxFan453 Год назад

    thanks very much :)

  • @KKon144hz
    @KKon144hz 6 месяцев назад

    This didn't work for me and i did the exact same steps as his can anyone help? (edit I forgot to add the intvalue to the player)

  • @NubDev
    @NubDev 8 месяцев назад

    I've tried about 5 times I cant get it to work

  • @IRTK
    @IRTK Год назад

    Nothing works man

  • @ShadowClaw_Dev
    @ShadowClaw_Dev 2 года назад +3

    it is the most easiest thing.

    • @rojay_extreme3098
      @rojay_extreme3098 2 года назад

      yh fr...especially for beginners that knows everything about coding...they would automatically understand all this and make stuff with 0 experience of making a game

  • @Unknown-UserZ3gFsmT987s3
    @Unknown-UserZ3gFsmT987s3 10 месяцев назад

    hippity hoppity your code is now my property!

  • @abdel9914
    @abdel9914 8 месяцев назад

    when i wrote player after stats.Parent = its says it's wrong but i did everything

  • @Toxic_skull30
    @Toxic_skull30 Год назад

    When I made the leaderstats nothing popped up what did I do wrong?😢

  • @Vurkman
    @Vurkman Год назад

    it for some reason it doent work for me i have watches this vid 9 times and can get whats wrong

  • @Boeing.aviation63
    @Boeing.aviation63 3 месяца назад

    How y’all it works I have the stupid new leaderboard

  • @loxioznik
    @loxioznik Год назад +1

    but how to make +1 point per click

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      you can try this
      create one screenGUI
      in the staterGUI
      and
      create one textbutton and one Localscript
      in screenGUI
      local screenGUI = script.Parent
      local plusBtn = screenGUI.textbutton
      plusBtn.Mouse1Down:Connect(function()
      (you want up value just like rank coin kills).value += 1 or -= 1
      end)
      Over!!!
      += like plus
      -= like minus

  • @iiikhalid
    @iiikhalid 2 года назад +2

    Hi, Second To Comment

  • @mucauk
    @mucauk Год назад

    how do i change the stats from another script?

  • @IISGOOD760
    @IISGOOD760 2 месяца назад

    It didn’t work for me 😢

  • @megs_61
    @megs_61 11 месяцев назад

    bruh, i cant find a toturial of an already exisitng value and leaderboard

  • @mukteshchauhan9461
    @mukteshchauhan9461 5 месяцев назад

    bro it is not working in mine

  • @BasitCeviriler
    @BasitCeviriler 2 года назад +6

    So how do we increase that number (especially in obby's)?

    • @kevinbuzz8123
      @kevinbuzz8123 2 года назад

      @@jamiecropley can you show that in code

    • @kevinbuzz8123
      @kevinbuzz8123 2 года назад

      @@jamiecropley I can’t understand

    • @olegalcevski5545
      @olegalcevski5545 2 года назад +1

      u can make a Touched event and when an spawner or another part u want to make u to the next stage(in the leaderboard) just make the level/stage(u created) + 1

    • @Sky_Blue_Crew
      @Sky_Blue_Crew 2 года назад

      @@olegalcevski5545 what?

    • @7oltan
      @7oltan 2 года назад +1

      game.Workspace.playername.leaderstats.Kills.Value = game.Workspace.playername.leaderstats.Kills.Value + 1

  • @chasemiller7296
    @chasemiller7296 2 года назад

    Can you make a video on connecting the value to other variables, Im trying to make a money system and I was wondering how I would connect them?

    • @bloxjw
      @bloxjw Год назад +1

      Depends on how you want to get the money

    • @bloxjw
      @bloxjw Год назад +1

      Click a part touch a part or whatever

    • @InvertDoge
      @InvertDoge Год назад

      yea it kinda depends but you might have to change your local varibles to gloabal ones

  • @spartbro
    @spartbro Год назад

    What do you think about Russian?

  • @X3600MC
    @X3600MC Год назад +1

    how do you add numbers onto the scorboard

    • @夜鶯-b7b
      @夜鶯-b7b 5 месяцев назад

      (you want up value just like rank coin kills).value += 1 or -= 1
      += like plus
      -= like minus

  • @Theoneshadow_vr
    @Theoneshadow_vr 10 месяцев назад

    Can someone help the leader board wont show for me

  • @Pixelated.Monkey
    @Pixelated.Monkey Год назад

    broooo I never get it right
    litterally I am doing it step by step but the only thing I get is a scam

  • @12k_69
    @12k_69 Год назад +3

    game.Players. Playeradded: Connect (function (player)
    --someone joined are game.
    Local stats = Instance.new ("IntValue")
    stats.name = "leaderstats"
    Local rank = Instance.new ("intValue, stats)
    rank.Name = "rank
    stats.Parent = player
    end)

  • @WizardCatVR
    @WizardCatVR 2 месяца назад

    It dosen't work :(

  • @ArchivedAnimations14
    @ArchivedAnimations14 7 месяцев назад

    Why does none of these work for me 😭😭

  • @Itz_Vib
    @Itz_Vib 2 года назад

    He sounds like a pro

  • @jaaaaimeable
    @jaaaaimeable Месяц назад

    its not helping i dont understand.

  • @1cheese483
    @1cheese483 Год назад

    i cant find the script button

  • @notlettingyallseeshit
    @notlettingyallseeshit 8 месяцев назад

    BRO ROBLOX REMOVED THE LEADEBOARD WHAT DO I DO NOW?

  • @RoyPlayz81
    @RoyPlayz81 6 месяцев назад

    Doesnt work

  • @WmatterFN
    @WmatterFN 9 месяцев назад

    did not work even though I did everything right

  • @verified0506
    @verified0506 Год назад

    bruh how do you make it change

  • @BartoszGondzik
    @BartoszGondzik Год назад

    not working

  • @manuelgallo0087
    @manuelgallo0087 5 месяцев назад

    It didnt work

  • @georgikalinov9823
    @georgikalinov9823 2 года назад +1

    if i try to write game it turns red

  • @1MD265
    @1MD265 Год назад

    Hi, How to make gold increasing by 5 minutes?

  • @gulpgulp8425
    @gulpgulp8425 2 года назад +1

    do i do the rebirth just like the rank?

    • @semzv
      @semzv 2 года назад +1

      Yes

  • @arnas6831
    @arnas6831 7 месяцев назад

    this video is ultimately long for a couple lines of code