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
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!
ARE YOU LOST? DO YOU TRUST ME? THIS WAY FAVORITE FLAVOR?
@@jamerility Huh?
I dont remember commenting this
You did 1 year ago@@jamerility
@@denizkutlu001 wdym
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)
thanks
thanks
thank you so much with the first one, i didnt know how to get past the function thing
np@@Kindmender
I'll take it but im not lazy. I just don't feel like it.
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 ❤
This video was from defKing?i too:)
bro thank you so much! this really helped. Would widely recommend to anyone.
I am trying to make a sword game and all of your videos are so helpful. Thanks so much
I do not have a hard time focusing because you are always direct and to the point :)
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
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!
Could you make other stuff add kills to the leaderboard?
[Great vid]
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)
pov: you were trying to look for the script
stop
stop
SAME BRO
@@quitting8736 stop
@@TheLetterB0X stop
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.
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 :)
I subscribed your videos are toooooo helpful
How do I link the Kills to actual Kills so that whenever I get a kill the 0 turns to 1?
idk but i suggest watching a tutorial
brooo ive been wondering like the same thing i need a tutorial
Me too
(you want up value just like rank coin kills).value += 1 or -= 1
+= like plus
-= like minus
@@夜鶯-b7bhow would i do that
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...
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
@@SPACESS I still don't know Sorry man
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 :)
@@realblon1x maybe can
(you want up value just like rank coin kills).value += 1 or -= 1
+= like plus
-= like minus
holy crap this actually worked, i thought it was cap
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.
same
doesnt work on a newer roblox studios
Thanks but can you make a tutriol on hwo to change it when a event happened?
Example: *Kills player* leaderboard *Updates*
it says " Error while updating leaderboards: 502: API Services rejected request with error. Error code: 11 Reason: Studio access to APIs is not allowed"
go to settings security turn on allow APIs service
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. :(
how do i add to the score when some thing happen for example when you kill an npc
I kinda understand but i didnt know how to make raised or donated leaderboard like when someone give you robux and it go leaderboard
Thank you this really helped my game
Balls
NO other tutorial worked tysm you halped me make my game
very informative video. im wondering, how do I make it so these actually go up in kills/gold.
yourVariableName.Value = yourVariableName + 50
Please don't use local
(you want up value just like rank coin kills).value += 1 or -= 1
+= like plus
-= like minus
Thank you so much for the help!
Thank u so much bro u gained a new sub
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
Nice video! Also I was wondering if you invest in roblox games?
wdym by that
thx bro
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
cool video! can u make a vid about music playlist gui aka how to script a gui for music playlist
This help me alot in my my game really cool tutorial
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.
bro this is def one of the most underrated roblox coding creators on all of youtube. Def deserves a sub.
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
How to you add to if if you rank up or something?
if rank >= (rank up need kills) then
rank.value += 1
end
Tysm it worked but in kills why when i kill someone it doesnt increase?
you have to script it urself :/
@@SickEXP what if he did :/
How can i make myself have like 100T kills
Curious, im glad I could get the kill counter working but how can I sync the in game rank with a group rank?
So my question is how do u make more numbers
I WAS THE 1K LIKE
i did everything but it didnt work.
Why I can't see other players values in the leaderboard?
How do I make it go up, I'm making a game where you need to jump to get points.
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
this is happening to me too
Somehow I do everything the same but yet it don’t work
1 year ago I commented how it didnt work, now I realise that script wording is extremely important
How do the stats in the leaderboard increase and the leaderboard rank automatically increase to a new rank when enough stats are reached?
yeah
thats what I want to know aswell!
@@neutroquite8947 Use If, Repeat and Until commands.
bro the code doesnt work for me it only shows when i only add 1 leaderstat pls help
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?
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 :)
@@CovertCode And which link is it again?
make sure l in leaderstats is uncaptial, also dont forget to do , stats after intvalue and stringvalue.
@@CovertCode what link theres loads
Hey dude can I hire you?
thanks
It still doesn't show up, how can I fix this??
Can you make a video showing how to increase the value and detect it?
yes pls
@@Mo_Gold yes
you can try this
(you want up value just like rank coin kills).value += 1 or -= 1
+= like plus
-= like minus
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
thanks a lot. i subscirbed
Legend
Super vidéo j ai compris comment faire maintenant +1 followers ❤
thx it worked
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
It says that players added isnt a member of players
thanks very much :)
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)
I've tried about 5 times I cant get it to work
Nothing works man
it is the most easiest thing.
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
hippity hoppity your code is now my property!
when i wrote player after stats.Parent = its says it's wrong but i did everything
When I made the leaderstats nothing popped up what did I do wrong?😢
it for some reason it doent work for me i have watches this vid 9 times and can get whats wrong
How y’all it works I have the stupid new leaderboard
but how to make +1 point per click
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
Hi, Second To Comment
how do i change the stats from another script?
It didn’t work for me 😢
bruh, i cant find a toturial of an already exisitng value and leaderboard
bro it is not working in mine
So how do we increase that number (especially in obby's)?
@@jamiecropley can you show that in code
@@jamiecropley I can’t understand
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
@@olegalcevski5545 what?
game.Workspace.playername.leaderstats.Kills.Value = game.Workspace.playername.leaderstats.Kills.Value + 1
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?
Depends on how you want to get the money
Click a part touch a part or whatever
yea it kinda depends but you might have to change your local varibles to gloabal ones
What do you think about Russian?
how do you add numbers onto the scorboard
(you want up value just like rank coin kills).value += 1 or -= 1
+= like plus
-= like minus
Can someone help the leader board wont show for me
broooo I never get it right
litterally I am doing it step by step but the only thing I get is a scam
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)
It dosen't work :(
Why does none of these work for me 😭😭
He sounds like a pro
its not helping i dont understand.
i cant find the script button
BRO ROBLOX REMOVED THE LEADEBOARD WHAT DO I DO NOW?
Doesnt work
did not work even though I did everything right
bruh how do you make it change
not working
It didnt work
if i try to write game it turns red
That is normal
Hi, How to make gold increasing by 5 minutes?
do i do the rebirth just like the rank?
Yes
this video is ultimately long for a couple lines of code