Tomboking
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 461 |
|
|
| 01 Feb 2016 01:53 PM |
| What line of code or a few lines would let a brick know if it's touched by a brick, then doing a function? |
|
|
| Report Abuse |
|
|
marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 01 Feb 2016 01:54 PM |
script.Parent.Touched:connect(function(part) if part.ClassName = "Part" and part.ClassName = "Part" then --CODE end end |
|
|
| Report Abuse |
|
|
marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 01 Feb 2016 01:55 PM |
| After the and, it is "part.Name - "Part"" Remove the exterior qutoes. |
|
|
| Report Abuse |
|
|