LordBH
|
  |
| Joined: 14 Apr 2011 |
| Total Posts: 108 |
|
|
| 29 Aug 2013 04:59 PM |
How do you make a script find your character when you touch a brick? I'm trying to do an onTouch Sitting brick
script.Parent.Touched:connect(function() a = game.Workspace.ineedhelphashtags.Humanoid a.Sit = Enabled end) |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 29 Aug 2013 05:01 PM |
A. Dunno if trolling or is being serious.
B. script.Parent.Touched:connect(function(guywhohitit)
C. The guy will NOT be sitting on the brick. The guy will probably fall flat on his face. |
|
|
| Report Abuse |
|
|
LordBH
|
  |
| Joined: 14 Apr 2011 |
| Total Posts: 108 |
|
|
| 29 Aug 2013 05:01 PM |
| omg you gouys are somean please reply!!!!!!! |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 29 Aug 2013 05:02 PM |
script.Parent.Touched:connect(function(THEPERSONYOUCALLANOOB) if THEPERSONYOUCALLANOOB and THEPERSONYOUCALLANOOB.Parent and THEPERSONYOUCALLANOOB.Parent:FindFirstChild('Humanoid') then THEPERSONYOUCALLANOOB.Parent.Humanoid.Sit = true end end)
|
|
|
| Report Abuse |
|
|
LordBH
|
  |
| Joined: 14 Apr 2011 |
| Total Posts: 108 |
|
|
| 29 Aug 2013 05:02 PM |
| Thanks, not trolling just too lazy affter algebra homework |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
| |
|