|
| 29 Apr 2014 06:46 PM |
Hi.
I wanna know how I'd know what left Region3.
Thanks. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 29 Apr 2014 06:49 PM |
http://wiki.roblox.com/index.php/FindPartsInRegion3_(Method)
if not Workspace:FindPartsInRegion3(region)["part"] then print("Not there dude") end |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 29 Apr 2014 06:51 PM |
~ http://wiki.roblox.com/index.php?title=FindPartsInRegion3 ~
it would be like..
if not -FindPartsInRegion3 Method-.Name == "Part" then print("Part Left") |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 29 Apr 2014 06:52 PM |
| I got ninja'd ._. Was looking it up because I forgot how to do it then gawts ninjad |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2014 07:10 PM |
| But if I did it like that, I'd have to do it to every part in workspace ;-;. I just wanna do it to the ones that left a region. |
|
|
| Report Abuse |
|
|
L0cky2013
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 1446 |
|
|
| 29 Apr 2014 07:11 PM |
| Well, use a table to keep track |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 29 Apr 2014 07:14 PM |
Yeah like
Prts = {}
--FindPartsInRegion3 Thingie table.insert(Prts,Part)
for i,v in pairs(Prts) do --code, unless it will require a wait then use coroutines. end |
|
|
| Report Abuse |
|
|