Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a tycoon gui money counter?

Asked by 7 years ago

I have a Tycoon Game and I realised that on phone users the leaderboard doesn't even appear, so I wanted to make a gui text where it says "Cash= (the amount of cash you got)" and I don't really understand how, thanks for the help

1 answer

Log in to vote
0
Answered by
Astralyst 389 Moderation Voter
7 years ago
Edited 7 years ago

Just make a gui,

player = game.Players.LocalPlayer

function update()
script.Parent.Text = player.leaderstats.Cash.Value
end

player.leaderstats.Cash.Value.Changed:connect(update)
0
Change "Cash" into whatever the money value is in the leaderstats. Put this in a local script. Make a gui and put a textbox in it, then put the local script inside the textbox. You're welcome and good luck! marioblast1244 113 — 7y
0
^ Astralyst 389 — 7y
Ad

Answer this question