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
|
  |
| 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 |
|