|
| 04 Jul 2015 06:25 PM |
Example:
You Open the Shop gooey and buy a sword for 500 $ and you had 1000. How can I take away the 500 $ you just spent? |
|
|
| Report Abuse |
|
|
BowtieMod
|
  |
| Joined: 01 Apr 2013 |
| Total Posts: 804 |
|
|
| 04 Jul 2015 06:27 PM |
Depends on how you have money implemented
If it's just a variable
playerCash = playerCash - 500;
will work |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2015 06:41 PM |
Its in a GUI that you open
(ITs if you press I and inventory pops up so the variable wont work its not a leaderboard) also I knew that because I have levels. |
|
|
| Report Abuse |
|
|
Luminak
|
  |
| Joined: 27 May 2012 |
| Total Posts: 2809 |
|
|
| 04 Jul 2015 07:30 PM |
local plr = game.Players.LocalPlayer plr.leaderstats.Money.Value = plr.leaderstats.Money.Value - 500 |
|
|
| Report Abuse |
|
|