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: Is there a script for a door that takes away gear?

Previous Thread :: Next Thread 
Redneckawesomeness is not online. Redneckawesomeness
Joined: 01 Apr 2013
Total Posts: 467
23 Sep 2013 12:31 PM
I mean, youre in a room, you get your gear... Then when you leave the room, you walk through the door, and it takes away the gear in your inventory. Is there such thing?
Report Abuse
Desperian is not online. Desperian
Joined: 07 Feb 2012
Total Posts: 3371
23 Sep 2013 12:34 PM
Yes, there is, and even if there wasn't you could still make it.
Report Abuse
Redneckawesomeness is not online. Redneckawesomeness
Joined: 01 Apr 2013
Total Posts: 467
23 Sep 2013 12:35 PM
Okay, thanks man
Report Abuse
janthran is not online. janthran
Joined: 15 May 2009
Total Posts: 17429
23 Sep 2013 01:07 PM
function clr(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player=game.Players:GetPlayerFromCharacter(hit.Parent)
player.Backpack:ClearAllChildren()
end
end

script.Parent.Touched:connect(clr)

put that in a noncancollide brick in the doorway
Report Abuse
josh50000 is not online. josh50000
Joined: 29 Nov 2009
Total Posts: 697
23 Sep 2013 01:27 PM
I've made one, it's in my models somewhere.
Report Abuse
Redneckawesomeness is not online. Redneckawesomeness
Joined: 01 Apr 2013
Total Posts: 467
23 Sep 2013 02:33 PM
Thanks guys, this helped a lot!
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