|
| 10 Jul 2012 08:53 PM |
The first one I slightly understand is a door opened by clicking on an object, I understand it has to do with velocity, but the one I needed help with goes downwards
The other one I needed help with that I didn't understand was an object flashes different colors after clicking an object.
If you could help, that would be nice, since I'm an idiot at scripting, cause I know this stuff is simple.. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2012 08:59 PM |
The first one has nothing to do with velocity... Use a click detector and the OnClick() event.
The other one should use BrickColor.new(whatevar) and a click detector and the OnClick() event.
Here is the first one:
function OnClick() script.Parent.CanCollide = false script.Parent.Transparency = 0.5 wait(5) script.Parent.CanCollide = false script.Parent.Transparency = 0.5 end) |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2012 09:03 PM |
| nono, not that. I mean you click on another brick and the other brick (the door or whatever) moves downwards, through the other bricks. I've seen it before, sorry for the confusion. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2012 09:08 PM |
| Oh, use for loop and Cframe to make that happen. |
|
|
| Report Abuse |
|
|
|
| 10 Jul 2012 09:09 PM |
| Alright, is that how I use one block to activate another block? |
|
|
| Report Abuse |
|
|
| |
|