Yes, I know the basic of creating a gui. This is the script I have so far:
local plr = game.Players.LocalPlayer
local CashLabel = script.Parent.Parent.CashLabel
local leaderstats = game.Players.LocalPlayer.leaderstats
while wait() do
plr.leaderstats.Cash.Value = script.Parent.Parent.CashLabel
end
leaderstats.Cash.Changed:connect(function()
leaderstats:SetAsync(plr.UserId, leaderstats.Cash.Value)
end)
So basically, I wanted to make it where whatever their "leaderstats" is it will than display the value inside the textlabel of the gui.
I want to too keep running the script but I just never found out to do that, Instead of updating every 5 seconds or whatever.

1 comment
CashLabel.Text = leaderstats.Cash.Value