Damo999
|
  |
| Joined: 19 Jan 2009 |
| Total Posts: 75 |
|
|
| 14 Nov 2014 12:48 PM |
| Hi everyone i am trying to make a a gui when i click a button(part) a light turns on when the light turns on i want the gui to slowly decrease like a power percentage but i'm not sure how to do that i already have my gui created i'm just not sure how to implement the gui decreasing for the amount of time the button is pressed can someone help me please?. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 14 Nov 2014 12:53 PM |
| I don't want 5 Nights at Freddies again please don't |
|
|
| Report Abuse |
|
|
Damo999
|
  |
| Joined: 19 Jan 2009 |
| Total Posts: 75 |
|
|
| 14 Nov 2014 12:56 PM |
| This isn't for the amusement of others i am creating this as a project to help me become better with games so if you know how to answer my question please do. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 14 Nov 2014 01:05 PM |
private bool isDown = false; Button.MouseButton1Down >> isDown = true; while isDown do wait(0.08); GUI.Size = UDim2.new(GUI.Size.X.Scale, GUI.Size.X.Offset, GUI.Size.Y.Scale-0.001, GUI.Size.Y.Offset); Button.MouseButton1Up >> isDown = false; |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2014 01:11 PM |
| Delete System32 from the next Mac you see. |
|
|
| Report Abuse |
|
|