Phini
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 276 |
|
|
| 16 Jan 2015 04:36 PM |
ok, first off; i can't script.. so i used a gui and some other script and combined them a little int othe gui script and hoped that it would reset the money. But it failed (not surprprising)
here is the script:
function onButtonClicked() script.Parent.Parent.Parent.Parent.Character.Cash.Value = 0 end
script.Parent.MouseButton1Click:connect(onButtonClicked)
--------------------------- Can anyone help me please? i want it to makeyour money go back to 0 |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 16 Jan 2015 04:37 PM |
Localscript in the Gui.
script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.leaderstats.Cash.Value = 0 end |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 16 Jan 2015 04:38 PM |
So soz
script.Parent.MouseButton1Click:connect(function() game.Players.LocalPlayer.leaderstats.Cash.Value = 0 end) |
|
|
| Report Abuse |
|
|
Phini
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 276 |
|
|
| 16 Jan 2015 04:41 PM |
Didn't work? did i do something wrong? i hope i didn't but i deleted the script cause that was a normal script and yo usaid local and putted in your script but it didn't work when i tested it? |
|
|
| Report Abuse |
|
|
Phini
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 276 |
|
|
| 16 Jan 2015 04:42 PM |
| woops didn't see the second sorry too xD |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
Phini
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 276 |
|
|
| 16 Jan 2015 04:45 PM |
Thank You So much, it Worked!
------------POST CLOSED---------- |
|
|
| Report Abuse |
|
|