Roblox Studio: Global Leaderboard GUI Tutorial with Saving Data

Roblox Studio: Global Leaderboard GUI Tutorial with Saving Data

janisjanis01

10 месяцев назад

8,908 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@mishkazwei
@mishkazwei - 17.07.2024 03:07

forgive me if this is too much to ask, but how would i go about making a leaderboard that resets and awards players different rewards, depending on where they placed in the leaderboard?

kind of like a competitive season if that makes sense

Ответить
@user-kd8mh5ft6m
@user-kd8mh5ft6m - 15.07.2024 15:40

What is the first line for leaderboard script?

Ответить
@RoTagDevs
@RoTagDevs - 12.07.2024 17:17

i got a error it says "ServerScriptService.Lraderboard:44: Expected identifier when parsing expression, got '1'" idk what that means :(

Ответить
@lucarhone2065
@lucarhone2065 - 03.07.2024 19:01

bro theres no UIASPECTRATIO

Ответить
@OracleShatterd
@OracleShatterd - 29.06.2024 21:49

Anyone got a fix for this. OnClientEvent can only be used on the client

Ответить
@MushroomWhispers
@MushroomWhispers - 21.06.2024 17:35

Bro it's working for me but like my value is Clicks and when i click it does not show my Clicks time idk why

Ответить
@osbld
@osbld - 18.06.2024 00:35

WAST OF TIME NOT WORKIN I DID EVERY MOVE U DO BUT NOTHING I HATE U

Ответить
@ox_oop5303
@ox_oop5303 - 17.06.2024 01:35

Question i am makeing a game based of the line runner preset
How would i do the leader board saves?

Ответить
@spikedarmadillo
@spikedarmadillo - 16.06.2024 18:51

Thank you soooo much this helped me out a lot

Ответить
@katakuri1551
@katakuri1551 - 10.05.2024 16:38

thx bro i need that

Ответить
@someone2poor
@someone2poor - 06.05.2024 02:59

can you make it a model and put it in description

Ответить
@bananasus4983
@bananasus4983 - 30.04.2024 23:58

L, don't work

Ответить
@stillron
@stillron - 19.04.2024 04:39

I did all the steps, the textlabels arent showing. no errors

Ответить
@mrstick_9220
@mrstick_9220 - 15.04.2024 18:39

I get an error in the update script at line 18.
"Unable to assign property Text. string expected, got nil"
I did exactly what the video said but I do not get why it tells me that it cannot get the wins value.

Ответить
@armaangaminguk
@armaangaminguk - 10.04.2024 20:28

Mine didn't work. I couldn't see the players on my leaderboard and also i have 3 types of leaderstats and i can only see one of the on my roblox leaderboard not donations. Also when i disabled the other leaderstats when i test donated myself in roblox studio, the donations didn't go up on the roblox leaderboard and i couldn't see anything on my leaderboards. I turned on API services.

Ответить
@BasicallyPrime
@BasicallyPrime - 08.04.2024 11:35

How do i change from wins to kills?

Ответить
@maxebner1115
@maxebner1115 - 06.04.2024 02:40

what the fuck is so hard to just Copy and Paste the script into the Description ...

Ответить
@imbryanyt456
@imbryanyt456 - 04.04.2024 03:00

doest work :(

Ответить
@bu1ldingbrilli4nce
@bu1ldingbrilli4nce - 03.04.2024 14:04

How would I be able to make it with 100 players not just 3? Also is it possible to blacklist players from having their names on the leaderboard? If so how?

Ответить
@Am1s108
@Am1s108 - 22.03.2024 19:39

here is the Update script local event = game:GetService("ReplicatedStorage"):WaitForChild("Leaderboard")
local sample = script:WaitForChild("Sample")
local frame = script.Parent
local ui = frame:WaitForChild("UI")
local function createFrame(number,name,image,val)
local color = Color3.new(1,1,1)
if number == 1 then
color = Color3.new(1,1,0)
elseif number == 2 then
color = Color3.new(0.9,0.9,0.9)
elseif number == 3 then
color = Color3.fromRGB(166, 112, 0)
end
local new = sample:Clone()
new.Image.Image = image
new.Image.Num.Text = number
new.Nam.Text = name
new.Wins.Text = val
new.LayoutOrder = number
new.Image.Num.TextColor3 = color
new.Wins.TextColor3 = color
new.Nam.TextColor3 = color
new.Parent = frame
end
event.OnClientEvent:Connect(function(data)
for i,v in pairs(frame:GetChildren()) do
if v.Name=="Sample" then
v:Destroy()
end
end
for i,v in pairs(data) do
local name = data[i]["Name"]
local image = data[i]["Image"]
local val = data[i]["Cash"]
createFrame(i,name,image,val)
end
wait(0.1)
frame.CanvasSize = UDim2.new(0,0,0,ui.AbsoluteContentSize.Y)
end) no problem

Ответить
@nickdf7798
@nickdf7798 - 03.03.2024 05:33

can you please make a upadte video for the formatating the number?

Ответить
@kaifrankson4032
@kaifrankson4032 - 02.03.2024 04:28

For all the lazy bones out there:
local event = game:GetService("ReplicatedStorage"):WaitForChild("Leaderboard")
local sample = script:WaitForChild("Sample")
local frame = script.Parent
local ui = frame:WaitForChild("UI")
local function createFrame(number,name,image,val)
local color = Color3.new(1,1,1)
if number == 1 then
color = Color3.new(1,1,0)
elseif number == 2 then
color = Color3.new(8.9,8.9,8.9)
elseif number == 3 then
color= Color3.fromRBG(166,112,0)

end
local new = sample:Clone()
new.Image.Image = image
new.Image.Nun.Text = name
new.Nam.Text = name
new.Wins.Text = val
new.LayoutOrder = number
new.Image.Num.TextColor3 = color
new.Wins.TextColor3 = color
new.Nam.TextColor3 = color
new.Parent = frame
end
event.OnClientEvent:Connect(function(data)
for i,v in pairs(frame:GetChildren()) do
if v.Name=="Sample" then
v:Destroy()

end
end
for i,v in pairs(data) do
local name =data[i]["Name"]
local image = data[i]["Image"]
local val = data[i]["Wins"]
createFrame(i,name,image,val)
end
wait(0.1)
frame.CanvasSize = UDim2.new(0,0,0 ui.AbsoluteContentSize.Y)

end)

Ответить
@AlreadyRoddy
@AlreadyRoddy - 27.02.2024 23:39

i joned your discord so can we try and fix it in there?

Ответить
@AlreadyRoddy
@AlreadyRoddy - 27.02.2024 23:38

how do i make it so i can see the leaderstats in roblox on the tab bar?

Ответить
@AlreadyRoddy
@AlreadyRoddy - 27.02.2024 23:26

hiya it is me again i have done all the script but how do i make it to kills then wins can you pls help me thanks!

Ответить
@ann-df8bx
@ann-df8bx - 24.02.2024 22:02

So useful, but I need it a surfaceGUI leaderboard, and I have already a data stored value "Kills"

Ответить
@SanesDonas
@SanesDonas - 24.02.2024 03:01

MAN I LOVE YOU I WANT GO TO THE BED WIT HYOU THANKS

Ответить
@Skittlessse
@Skittlessse - 23.02.2024 19:12

People who has been here since the beginning

Ответить
@Wismariaplaysgames
@Wismariaplaysgames - 23.02.2024 17:43

Where can I find the script? Ahh Pause Video 🤪

Ответить
@R3ndomEditz
@R3ndomEditz - 10.02.2024 23:24

bro i will die give me the scripts

Ответить
@AlreadyRoddy
@AlreadyRoddy - 09.02.2024 20:55

is there only 3 Leaderboard players or is there more??

Ответить
@streakster
@streakster - 04.02.2024 19:10

I think I did something wrong because the Text Label Wins is not changing.

Ответить
@Samerity1
@Samerity1 - 27.01.2024 18:08

pls script

Ответить
@jamesdonnelly3687
@jamesdonnelly3687 - 20.01.2024 07:42

doesnt work and i wasted sm time typing this script when u couldve literally made it copy paste

Ответить
@Cool_3ro
@Cool_3ro - 18.01.2024 05:16

Can you make this a model please

Ответить
@DXCOATON
@DXCOATON - 13.01.2024 23:49

when i put my points to 50 i didnt see anything on the leaderboard

Ответить
@sleeepyys
@sleeepyys - 10.01.2024 15:42

5

Ответить
@reiinis7493
@reiinis7493 - 09.01.2024 21:37

thanks for the help!

Ответить
@Wildercast1
@Wildercast1 - 09.01.2024 21:24

Really useful and amazing editing

Ответить