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
 

Re: Help

Previous Thread :: Next Thread 
DevDaDude is not online. DevDaDude
Joined: 19 Mar 2011
Total Posts: 45
02 Jul 2013 10:03 AM
I am working on my game and in the afk room I need it to where it removes your weapons and then when you go back you get your weapons back. Any help?
Report Abuse
RoAnt is not online. RoAnt
Joined: 14 Jul 2008
Total Posts: 16794
02 Jul 2013 11:10 AM
My idea will require knowledge of how Region3 works; so if you don't know how it works, the idea is useless.

Here's my idea;
http://wiki.roblox.com/index.php/Region3
http://wiki.roblox.com/index.php/FindPartsInRegion3
http://wiki.roblox.com/index.php/GetChildren
http://wiki.roblox.com/index.php/Conditional_statement#If
http://wiki.roblox.com/index.php/GetPlayerFromCharacter_(Method)
http://wiki.roblox.com/index.php/Name
http://wiki.roblox.com/index.php/Backpack
http://wiki.roblox.com/index.php/Table


First, you make a region3 area and make a table.
Then use a generic for loop to get the parts from the table :FindPartsInRegion3(). Make an if-statement to check if the part's name is Head and make it check if the parent is a Player. After that, use generic for loop to get the children of the Player's Backpack. Make the script put the tools of the Player into the table of the script. Remove the tools.


I hope that made sense, because I just typed really fast. The idea was to give you an idea on how to script it all out.
Report Abuse
DevDaDude is not online. DevDaDude
Joined: 19 Mar 2011
Total Posts: 45
02 Jul 2013 09:08 PM
I dont know what Region3 is, can you tell me? Sorry but I didnt get alot of it
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