|
| 05 Sep 2015 01:35 PM |
so I have this TextLabel that has the word Coins :
How do I make it so Coins : will be whatever value the game.Players.Player1.Currency.Coins is
so if it's 10 then it'd say Coins : 10
Falcons for Life |
|
|
| Report Abuse |
|
|
| |
|
| |
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 05 Sep 2015 01:43 PM |
| textlabel.Text = "Coins : " game.Players.Player1.Currency.Coins |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 01:44 PM |
Coins.Changed:connect(function() textLabel.Text = "Coins: "..Coins.Value end) textLabel.Text = "Coins: "..Coins.Value -- when you spawn or start
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|
|
| 05 Sep 2015 02:06 PM |
doesn't work @2 above
Falcons for Life |
|
|
| Report Abuse |
|
|
Codys4x4
|
  |
| Joined: 14 Oct 2006 |
| Total Posts: 2312 |
|
|
| 05 Sep 2015 02:18 PM |
Coins.Changed:connect(function(C) TextLabel.Text = "Coins: "..C end)
-Codys4x4 |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 10:12 PM |
@Jon
you obviously have to define variables moron |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2015 10:15 PM |
I did, moron >_>
Falcons for Life |
|
|
| Report Abuse |
|
|