coop6578
|
  |
| Joined: 11 Aug 2014 |
| Total Posts: 3343 |
|
|
| 03 Nov 2015 05:00 PM |
How would I do this? I've tried to learn to script but failed...
Sorry, my BillabobIgnus typed that... |
|
|
| Report Abuse |
|
|
Alkan
|
  |
| Joined: 04 Dec 2008 |
| Total Posts: 907 |
|
|
| 03 Nov 2015 05:02 PM |
function touched(hit) if hit.Parent:findFirstChild("Humanoid") ~= nil then hit.Parent.Humanoid.Sit=true end end script.Parent.Touched:connect(touched) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2015 05:13 PM |
i thought it was an onTouch (); function @alkan
then you freeze the player with another script after sitting
|
|
|
| Report Abuse |
|
|
Alkan
|
  |
| Joined: 04 Dec 2008 |
| Total Posts: 907 |
|
|
| 03 Nov 2015 05:17 PM |
| you can name the function whatever you want. im not coding the entire game for the guy |
|
|
| Report Abuse |
|
|
alfieq
|
  |
| Joined: 15 Feb 2008 |
| Total Posts: 431 |
|
|
| 04 Nov 2015 02:37 AM |
| Unless he/she was talking about a brick that you can sit.. You can spawn a "Seat" or "VehicleSeat". |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2015 04:09 AM |
Just put a seat instead of a brick.
|
|
|
| Report Abuse |
|
|
|
| 04 Nov 2015 07:08 AM |
function onTouched(brick) local human = brick.Parent:findFirstChild("Humanoid") if (human ~= nil)then human.Sit=true end end
connection = script.Parent.Touched:connect(onTouched)
This is advertising. |
|
|
| Report Abuse |
|
|
coop6578
|
  |
| Joined: 11 Aug 2014 |
| Total Posts: 3343 |
|
|
| 07 Nov 2015 03:13 PM |
| no it can't be a seat because that wouldn't work for what i'm doing |
|
|
| Report Abuse |
|
|
| |
|
coop6578
|
  |
| Joined: 11 Aug 2014 |
| Total Posts: 3343 |
|
| |
|
|
| 03 May 2017 03:26 PM |
no more necrobumps
shadilay |
|
|
| Report Abuse |
|
|
|
| 03 May 2017 04:03 PM |
This isn't the scripting or building help forums!
#Sodaghost13 |
|
|
| Report Abuse |
|
|
|
| 03 May 2017 04:04 PM |
lolololololol Anyone still alive here today??
#Sodaghost13 |
|
|
| Report Abuse |
|
|