|
| 31 Aug 2014 04:55 PM |
| How do I add a script to a build tool such as delete so it can only delete blocks up 20 studs away? |
|
|
| Report Abuse |
|
connor954
|
  |
| Joined: 24 Jul 2008 |
| Total Posts: 947 |
|
|
| 31 Aug 2014 04:57 PM |
Involves magnitude i'm guessing. i.e: if (mouse.Target.Position - script.Parent.Parent.Parent.Torso.Position).magnitude < 20 then --code end
~My home in the forums is Scripting Helpers...[Twitter: C-RBLX] |
|
|
| Report Abuse |
|