|
| 12 May 2012 05:37 AM |
I suck at scripting, I'm hoping to get a tutor soon but uh.. for now could someone write me a really quick script please?
Brick2 has this script in it. When Brick2 touches Workspace.Darkroom.Brick3 it anchors itself. end
Simple enough right? I really appreicate it! |
|
|
| Report Abuse |
|
|
|
| 12 May 2012 06:37 AM |
| What do you want exactly with this script? |
|
|
| Report Abuse |
|
|
MrMcAero
|
  |
| Joined: 21 Apr 2012 |
| Total Posts: 671 |
|
|
| 12 May 2012 07:04 AM |
script.Parent.Touched:connect(function(hit) if (hit.Name == "Brick3") and (hit.Parent.Name == "Darkroom") then script.Parent.Anchored = true end end)
That should work.
- Cheers! |
|
|
| Report Abuse |
|
|
|
| 12 May 2012 02:23 PM |
| No it does not, thanks anyways. |
|
|
| Report Abuse |
|
|
abaw7
|
  |
| Joined: 23 Oct 2009 |
| Total Posts: 745 |
|
|
| 12 May 2012 02:29 PM |
script.Parent.Touched:connect(function(hit) if (hit:FindFirstChild("Brick3")) and (hit.Parent.Name == "Darkroom") then hit:FindFirstChild("Brick3").Anchored = true end end)
There. |
|
|
| Report Abuse |
|
|