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: * IMPORTANT *Money Value To UI Form.

Previous Thread :: Next Thread 
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
15 May 2015 09:18 PM
i have a gui, that needs to display an amount of money grabbed from a value inside leaderstats which is named money so it would be game.Players.LocalPlayer.leaderstats.Money is where the money value would be located, i need help puttting this into a GUI where it will auto-update when a player gets a certain amount of cash, help?


weeabooism convert


weeabooism convert
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
15 May 2015 09:20 PM
Bump


weeabooism convert
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
15 May 2015 09:21 PM
Help mee


weeabooism convert
Report Abuse
drager980 is not online. drager980
Joined: 25 May 2009
Total Posts: 13385
15 May 2015 09:24 PM
LAZY 3 LINE CODE BELOW

game.Players.LocalPlayer:WaitForChild("leaderstats"):WaitForChild("Money").Changed:connect(function()
script.Parent.Text = "Money: ".. game.Players.LocalPlayer.leaderstats.Money.Value
end)

put that inside a textbox

AND THE TIGER GOES ROAR
Report Abuse
Zyperion is not online. Zyperion
Joined: 10 May 2014
Total Posts: 184
15 May 2015 09:27 PM

i love u <3

weeabooism convert
Report Abuse
TheNewChicken is not online. TheNewChicken
Joined: 18 Mar 2015
Total Posts: 1997
15 May 2015 09:43 PM
drager, a text label you dummdummz.
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
16 May 2015 02:01 AM
Replace gui with where the gui thing is
Script:

Local Money = game.Players.LocalPlayer.leaderstats.Money.Value
gui.Text = "Money: " .. Money
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
16 May 2015 02:03 AM
^

That will only do it once. You want a money GUI to update whenever the money updates, so make sure to use the .Changed event like the person far above me has done!
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