|
| 23 Aug 2014 10:19 PM |
| I tried making my own but failed. I need a script where if you click a button gui it adds a cookie (point) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:20 PM |
It adds a cookie?
wat
I deserve a cookie. |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:20 PM |
| To your score on the leaderboard |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:21 PM |
Copying clicker?
Idk its an "if children onclick then print "1 cookie!" then game.Workspace.Leaderboard.Cookie= +1 wait. (1) print "+1 COOKIE" end end"
its called my way of lua
it might work doe
FLIP THIS TABLE! (╯°□°)╯︵ ┻━┻ FLIP THAT TABLE ┻━┻ ︵╰(°□°╰) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:22 PM |
i pasted dis from another thread to look smart:
c = script.Parent.Parent.Parent.Parent.Parent cost = 10 while true do wait() if c.stats.Grandmas.Value ~= 0 then cost = 10*c.stats.Grandmas.Value end end ------------------------------------------------------------------
function Clicked() if c.stats.Cookies.Value >= cost then c.stats.Grandmas.Value = c.stats.Grandmas.Value + 1 c.stats.Cookies.Value = c.stats.Cookies.Value - cost end end
script.Parent.MouseButton1Click:connect(Clicked)
---------------------------------------------------
FLIP THIS TABLE! (╯°□°)╯︵ ┻━┻ FLIP THAT TABLE ┻━┻ ︵╰(°□°╰) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:25 PM |
This is supposed to be for a Cookie Clicker
And does anyone know a script where when you click the button gui it moves to the bottom right corner a bit then back to the middle. |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2014 10:27 PM |
@jason
the moving script is so easy lol
I deserve a cookie. |
|
|
| Report Abuse |
|
|
| |
|