|
| 29 Sep 2016 12:33 PM |
| Trying to make a script that removes any part that gets within 5 studs of my torso how would i do this? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
sc4rydev
|
  |
| Joined: 06 Nov 2015 |
| Total Posts: 421 |
|
|
| 29 Sep 2016 01:00 PM |
You can weld a part 5 blocks from the player's Torso on each size to make a cube around him and anything it touches can be deleted or just a single block and have it ignore the player and it's parts, but delete all else.
|
|
|
| Report Abuse |
|
|
|
| 29 Sep 2016 01:07 PM |
| that does not help at all... I have already tried a ontouch function but it does not exacly work with all guns so I am thinking that distance is the way to go since the bullets will be moving into its range and will have to trigger it. |
|
|
| Report Abuse |
|
|
sc4rydev
|
  |
| Joined: 06 Nov 2015 |
| Total Posts: 421 |
|
|
| 29 Sep 2016 01:22 PM |
Of course it's not going to work with all guns.
Some gun functions work dependent on the player's mouse and will pass through everything, you can't prevent that.
|
|
|
| Report Abuse |
|
|
|
| 29 Sep 2016 01:45 PM |
| so my best thing to do is just do ontouch rather than distance? though id really like to know how to do a distance version |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Sep 2016 02:21 PM |
| sigh of course hardly nay help in forums. |
|
|
| Report Abuse |
|
|