generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Coins

Previous Thread :: Next Thread 
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
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
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
05 Sep 2015 01:39 PM
b


Falcons for Life
Report Abuse
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
05 Sep 2015 01:43 PM
b2


Falcons for Life
Report Abuse
lupine is not online. lupine
Joined: 24 Jun 2008
Total Posts: 3561
05 Sep 2015 01:43 PM
textlabel.Text = "Coins : " game.Players.Player1.Currency.Coins
Report Abuse
Ripepperoni is not online. Ripepperoni
Joined: 04 Jul 2010
Total Posts: 5715
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 is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
05 Sep 2015 02:05 PM
"Coins"..coin.Value
Report Abuse
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
05 Sep 2015 02:06 PM
doesn't work @2 above


Falcons for Life
Report Abuse
Codys4x4 is not online. 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
Ripepperoni is not online. Ripepperoni
Joined: 04 Jul 2010
Total Posts: 5715
05 Sep 2015 10:12 PM
@Jon

you obviously have to define variables moron
Report Abuse
JonathanW123 is not online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
05 Sep 2015 10:15 PM
I did, moron >_>


Falcons for Life
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image