How To Make 'Time Played' Leaderboard + GUI In Roblox Studio!

Аватар автора
Геймерские Секреты
Script1: game.Players.PlayerAdded:Connect(function(plr) local leaderstats = Instance.new("IntValue", plr) leaderstats.Name = "leaderstats" local time_ = Instance.new("IntValue", leaderstats) time_.Name = "Time" time_.Value = 0 local Second = 1 while true do wait(Second) time_.Value += Second end end) Script2: local Player = game.Players.LocalPlayer Player.leaderstats.Time.Changed:Connect(function() script.Parent.Text = "Time: " .. Player.leaderstats.Time.Value end) #Roblox #RobloxScripting

0/0


0/0

0/0

0/0