Regium
|
  |
| Joined: 11 May 2013 |
| Total Posts: 6215 |
|
|
| 20 Jul 2014 10:26 PM |
Note: This did work prior to one of robloxs updates; any help? script.Parent.Touched:connect(function(Hit) script.Parent.Reflectance = 0.5 wait() for i = 0.5,0.1,-0.05 do script.Parent.Reflectance = i wait() end end)
|
|
|
| Report Abuse |
|
|
UncleTaz
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 12795 |
|
|
| 20 Jul 2014 10:31 PM |
It does work.
But you should remove Hit.
A script like this doesn't require a parameter. |
|
|
| Report Abuse |
|
|
Regium
|
  |
| Joined: 11 May 2013 |
| Total Posts: 6215 |
|
|
| 20 Jul 2014 10:42 PM |
| It's not working for me ._. |
|
|
| Report Abuse |
|
|
UncleTaz
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 12795 |
|
|
| 20 Jul 2014 10:45 PM |
It's really hard to say.
To test it try something like
print ' It has been touched '
And in solo, click the brick so you can see it's reflectance changing. |
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 20 Jul 2014 10:57 PM |
I tested it, the first script does work.
I would suggest a debounce but it does work. |
|
|
| Report Abuse |
|
|