Superfryx
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 3253 |
|
|
| 18 Apr 2013 06:29 PM |
| Im learning how to script right now and a script that would be very useful to know is a script that when you sit in a seat it waits 10 secs then it makes you get off or jump off. Can you please tell me how to do this. |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2013 06:31 PM |
| By learning how to script do you mean learning a number of functions and never ow any of the logistics actually work? |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Apr 2013 06:33 PM |
| well, first you would use a touch function. Thn you would use it to get the humanoid. And then you'd wait 10 seconds and set Humanoid.Jumping to true. |
|
|
| Report Abuse |
|
|
Superfryx
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 3253 |
|
|
| 18 Apr 2013 06:36 PM |
| I am very bad with humanoids, the only part i do not understand is how I would use it to get the humanoid. |
|
|
| Report Abuse |
|
|
Superfryx
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 3253 |
|
| |
|
|
| 18 Apr 2013 06:45 PM |
| Do you know how to use the arguments of .Touched functions? |
|
|
| Report Abuse |
|
|
|
| 18 Apr 2013 07:10 PM |
When you sit in a seat, A "Weld" is added to the seat. This is how you determine is someone is in the seat.
When the weld is added, wait 10 seconds, then delete the weld. It will cause the character to dismount. |
|
|
| Report Abuse |
|
|