Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
|
| 17 Aug 2016 02:41 PM |
---THIS IS MY SCRIPT
local start = os.time() local first = true
function onClicked(playerWhoClicked) local currenttime = os.time() if currenttime - start >= 180 or first then first = false playerWhoClicked.PlayerGui.Pokestops.Main.Visible = true local cashmoney = game.ServerStorage.MoneyStorage:FindFirstChild(playerWhoClicked.Name) cashmoney.Value = cashmoney.Value + 1000 start = os.time() end end script.Parent.Parent.ClickDetector.MouseClick:connect(onClicked)
i want it to do what it says. but i want it so its only for the player not server so when you click the brick everyone doesn't have to wait 3 minutes to click again just the player. |
|
|
| Report Abuse |
|
|
Monadic
|
  |
| Joined: 03 Aug 2016 |
| Total Posts: 731 |
|
| |
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
Bylocks
|
  |
| Joined: 27 Mar 2012 |
| Total Posts: 773 |
|
| |
|
Dralian
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 7624 |
|
|
| 17 Aug 2016 03:33 PM |
| he said 'air head' b/c the stupid big head or w/e. |
|
|
| Report Abuse |
|
|