xRope
|
  |
| Joined: 14 Apr 2012 |
| Total Posts: 1019 |
|
|
| 21 Dec 2016 09:31 PM |
To make a gui based cookie clicker? I know it would need a function onTouch MouseButtonDown and stuff like that.. but I want it be my first project and i need genuine help.
"Physically in-abled drastically in need of mental satisfactionate depressional anestegialogicstically inacurate divided by medicines with inacurate labels will always end up hidden in your mothers medicine cabinet for 5 years" - xRope |
|
|
| Report Abuse |
|
SameySam
|
  |
| Joined: 22 Mar 2012 |
| Total Posts: 11040 |
|
|
| 21 Dec 2016 10:19 PM |
Erm never played cookie clicker but i think ik how it goes lol.
This is how i'd do it:
Have a number variable
Inside your click function make it so everytime the gui is clicked the numbervalues value goes +1
Have a text gui that the text = the value of the num value In this script^ make a Changed function for the number value
Erm thats all ik ab cookie clicker Should also have a tween size and position script over the cookie button just for looks :p
Other than that idk but this is the base of it all |
|
|
| Report Abuse |
|