Minute Leaderstats GUI

I am making a game that tracks your minutes played, but I want it to also show the same amount on the leaderboard with minutes on this GUI. So in the GUI the amount will match the same amount of the minutes leaderstat.

image

Thanks for you’re help. :slight_smile:

1 Like

Maybe you can do something like this:

--Inside of local script in GUI
local player = game.Players.LocalPlayer
local minutes = player:WaitForChild("leaderstats"):WaitForChild("Minutes") --change that to whatever you named the leaderstat

script.Parent.Text = minutes.Value

minutes:GetPropertyChangedSignal("Value"):Connect(function()
    script.Parent.Text = minutes.Value
end)

I don’t know if you used a TextLabel for the minutes, but if so, then this should work.

2 Likes

Thank you so much you’re amazing. <3

2 Likes