|
| 02 Aug 2011 01:23 PM |
function onClick () script.Parent.Parent.Door.Transparency = 0.5 script.Parent.Parent.Door.Transparency = false end click.parent.ClickDetector.MouseClick.connect onClick
It was my first try at making a script.
b fraid of dah shaggy deer |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2011 01:28 PM |
"script.Parent.Parent.Door.Transparency = false"
Transparency is not a a boolean.
script.Parent.Parent.Door.Transparency = 0 |
|
|
| Report Abuse |
|
|
|
| 02 Aug 2011 01:31 PM |
OH whoops that was meant to be canCollide
b fraid of dah shaggy deer |
|
|
| Report Abuse |
|
|