|
| 25 Jul 2017 01:46 PM |
I'm making a computer, I was wondering if anyone knew of a script for the following:
You click a button on the computer tower, ring around it turns green instead of grey, decals appear on monitors. Press button again and the ring around the button goes from green to grey, decals on monitors disappear.
Thanks, PersuasivePanda
|
|
|
| Report Abuse |
|
|
| |
|
iiJameul
|
  |
| Joined: 11 Feb 2017 |
| Total Posts: 85 |
|
|
| 25 Jul 2017 02:11 PM |
Use ClickDetector Function to Instance a Decal and the texture and then use a debounce to check if it has already been fired.
If fired then it will :Destroy() the decal |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2017 02:22 PM |
| Or you could already have a decal in there, but have it's transparency set to 1 as default and change it to 0 when the button is pressed. |
|
|
| Report Abuse |
|
|