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: What is the script for removing all tools in inventory?

Previous Thread :: Next Thread 
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:18 PM
i mean when you touch the brick that its in it will remove every tool in your inventory even the one u have equipped?

Take and Like to Publish: http://www.roblox.com/Wanwood-Vanquisher-item?id=181256916
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:18 PM
0
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:19 PM
1
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:20 PM
2
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:20 PM
3
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:21 PM
4
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:22 PM
5
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:22 PM
6
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
11 Oct 2014 05:23 PM
This is easy.

game.Players.PLAYERHERE.BackPack:ClearAllChildren()

Nothing is illegal unless i say so - Sheldletsky giving him self a promotion
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:23 PM
7
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:24 PM
8
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:24 PM
9
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:25 PM
it has to be like

onTouch or some shiz

Take and Like to Publish: http://www.roblox.com/Wanwood-Vanquisher-item?id=181256916
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
11 Oct 2014 05:25 PM
I just damn gave you a script. You blind?

Nothing is illegal unless i say so - Sheldletsky giving him self a promotion
Report Abuse
NoobsAreTheWorld is not online. NoobsAreTheWorld
Joined: 04 Nov 2013
Total Posts: 2044
11 Oct 2014 05:26 PM
"OnTouch or some [FILTERED]"

Can you be more specific here?

Nothing is illegal unless i say so - Sheldletsky giving him self a promotion
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:26 PM
12
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:27 PM
13
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:28 PM
14
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
11 Oct 2014 05:28 PM
ClearInventory = function(Player)
for Index Value in pairs(Player.Character:GetChildren()) do
if Value:IsA("Tool") or Value:IsA("HopperBin") then
Value:Destroy()
end
end
Player.Backpack:ClearAllChildren()
end

ClearInventory(game.Players["Player Name Here"])
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:28 PM
15
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
11 Oct 2014 05:28 PM
for Index, Value

-- Sorry add a comma.
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:29 PM
16
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:30 PM
17
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
11 Oct 2014 05:30 PM
Just gave you the code, please stop spamming.
Report Abuse
Ozkno is not online. Ozkno
Joined: 10 Oct 2011
Total Posts: 3126
11 Oct 2014 05:30 PM
18
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