Тёмный

Time Leaderboard In Roblox Studio 

MoreKeyHitt
Подписаться 446
Просмотров 525
50% 1

How To Make a Time Leaderboard In Roblox Studio
Hope You Liked It :D
Script -
local DataStoreService = game:GetService("DataStoreService")
local TimeDataStore = DataStoreService:GetDataStore("TimeDataStore")
game.Players.PlayerAdded:Connect(function(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
local Time = Instance.new("IntValue")
Time.Name = "Time"
Time.Value = 0
Time.Parent = leaderstats
local data
local success, err = pcall(function()
data = TimeDataStore:GetAsync(tostring(player.UserId))
end)
if success and data then
Time.Value = data
end
while wait(1) do
Time.Value = Time.Value + 0
local success, err = pcall(function()
TimeDataStore:SetAsync(tostring(player.UserId), Time.Value)
end)
if not success then
warn("Failed to save data:", err)
end
end
end)
#roblox #robloxstudio #robloxedit

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@catasangel
@catasangel Месяц назад
Fastest Tutorial I ever See
@The_Official_Ash1
@The_Official_Ash1 2 месяца назад
Can u make a building tool, with grid and collsions, then a gamepass (like tpt2) where id u buy u vet disbaled collaions, advanced build mode and grid snap please?... Ive been trying to find a tutorial and i never found.... Ty❤
Далее
I Paid 10$ VS 1000$ For A ROBLOX SIMULATOR
8:02
Просмотров 43 тыс.
ITZY "GOLD" M/V
03:20
Просмотров 6 млн
Cole Palmer Revenge vs Man City 🥶
00:20
Просмотров 1,5 млн
Listening to the Block Tales OST be like:
6:03
Просмотров 74 тыс.
I Learned How to BUILD in 3 DAYS | Roblox
6:46
Просмотров 67 тыс.
How to Make a Transition Gui in Roblox Studio
3:07
Просмотров 3,7 тыс.
I Spent 7 Days Buried Alive
18:34
Просмотров 200 млн
I made a VIRAL Roblox RNG game in 24 hours
7:15
Просмотров 74 тыс.
How to make a Tool Shop Gui in ROBLOX Studio!
17:25
Просмотров 2,6 тыс.
I Made a Roblox Co-op Game in 1 Week!
8:03
Просмотров 23 тыс.
How to make AMAZING Low Poly Roblox Models
7:36
Просмотров 196 тыс.
ITZY "GOLD" M/V
03:20
Просмотров 6 млн