aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
|
| 15 Jan 2016 08:11 PM |
So i need help with a script which will take away points when an item is bought.
Here is the script:
--Start of script--
script.Parent.MouseButton1Click:connect(function() --The money is how many per second local New = script.Parent.Money:Clone() workspace.Game:WaitForChild("Players") print (script.Parent.Parent.Parent.Parent.Parent.Name) New.Parent = workspace.Game:WaitForChild("Players")[script.Parent.Parent.Parent.Parent.Parent.Parent.Name].Clicks end)
--End of script--
Please edit so it actually works. |
|
|
| Report Abuse |
|
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
| |
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
|
| 15 Jan 2016 09:45 PM |
| That feeling you get when a bump doesn't change a single thing.... ;-; |
|
|
| Report Abuse |
|
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
|
| 15 Jan 2016 09:51 PM |
| Why doesn't no one reply to me......this happens every time i post something.... |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2016 09:57 PM |
subtract the cost from the players currency. cash = cash - cost |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2016 10:00 PM |
reason why no one helps its because you gotta try some things on it own trial and error.
wiki.roblox.com is a go of place to start good luck bud |
|
|
| Report Abuse |
|
|
|
| 15 Jan 2016 10:05 PM |
| Omega, that wouldn't check if the player has enough money. |
|
|
| Report Abuse |
|
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
|
| 15 Jan 2016 10:16 PM |
| YESS!!!! SOMEONE UNDERSTANDS... |
|
|
| Report Abuse |
|
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
| |
|
aramyo
|
  |
| Joined: 21 Mar 2012 |
| Total Posts: 74 |
|
| |
|