generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

How would I tell if a part left Region3?

Previous Thread :: Next Thread 
samthemagicman is not online. samthemagicman
Joined: 20 Mar 2011
Total Posts: 1225
29 Apr 2014 06:46 PM
Hi.

I wanna know how I'd know what left Region3.

Thanks.
Report Abuse
L0cky2013 is not online. 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 is not online. 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 is not online. 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
samthemagicman is not online. samthemagicman
Joined: 20 Mar 2011
Total Posts: 1225
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 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
29 Apr 2014 07:11 PM
Well, use a table to keep track
Report Abuse
Goulstem is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image