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
 

Showing changed values

Previous Thread :: Next Thread 
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
14 Oct 2016 04:35 PM
Hey guys, so I ran into a problem.

In my script (local) it is supposed to display the amount of points change (like: +5, or -50) but instead it only shows +0 or -0.

Also, there are three text labels.

If the first one is empty, then the '+5' will go there;

If the first is not empty and the second one is, then the second one's text will be the first's and then the first will be '+5'

And finally, if the first two are filled, then the second will go to third, the first will go to the second, and the first will be the '+5'

My problem is, as I said, it only displays +0 or -0

pastebin
KHTdSTZY
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
14 Oct 2016 04:48 PM
AHAHAHA kill me

My mistake was setting OldValue = points.Value before I did NewValue-OldValue

So I was having it subtract it's self each time...
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