Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
|
| 17 Aug 2016 06:21 AM |
Like i dont want it to stop if the player is not moving.
|
|
|
| Report Abuse |
|
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
|
| 17 Aug 2016 06:28 AM |
it does that automatically
|
|
|
| Report Abuse |
|
|
Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
| |
|
Cuvette
|
  |
| Joined: 21 Nov 2008 |
| Total Posts: 39 |
|
|
| 17 Aug 2016 06:52 AM |
| Use a while loop for when the player is touching something |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2016 07:05 AM |
| I used 2 script. Script 2 is not actived. Script 1 make script 2 active back if script 1's parent is touched. Script 2 is your command |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2016 07:17 AM |
| Could you use Touched to set a bool IsTouching to true, and then TouchEnded to set that bool to false, and then have your code run while the bool value == true |
|
|
| Report Abuse |
|
|