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 » Club Houses » Clans & Guilds
Home Search
 

Re: Since S&I is always does any C&Ger know how to

Previous Thread :: Next Thread 
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:36 PM
make a script that removes all your weapons after your humanoid health hits 0

Report Abuse
Heydude261 is online. Heydude261
Joined: 22 Feb 2013
Total Posts: 19081
05 Oct 2014 06:37 PM
if health=0 then something



Chancellor of IC | hi im a joe | got a mind of my own
Report Abuse
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:38 PM
yes i knew that part -_-
Report Abuse
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:38 PM
meant scripting helpers not S&I
Report Abuse
BlackKnightXx is not online. BlackKnightXx
Joined: 03 Nov 2010
Total Posts: 5526
05 Oct 2014 06:39 PM
if player.Character.Humanoid.Health == 0 then
player.Backpack:ClearAllChildren()
end

something like that

~the black cowboy
Report Abuse
Obscuriti is not online. Obscuriti
Joined: 25 Nov 2010
Total Posts: 15354
05 Oct 2014 06:44 PM
cant script for crap @ me
Report Abuse
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:45 PM
@black i fixed that

it's game.Players

XDD
Report Abuse
Obscuriti is not online. Obscuriti
Joined: 25 Nov 2010
Total Posts: 15354
05 Oct 2014 06:45 PM
is this for the snow base yo?
Report Abuse
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:46 PM
ya

u can come
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
05 Oct 2014 06:51 PM
player = LocalPlayer
char = player.Character

char.Humanoid.Changed:connect(function()

if char.Humanoid.Health <=0 then
-- Clear the backpack of player
player.Backpack:ClearAllChildren()
-- Clear the character of tools and hopperbins
charStuff =char:GetChildren()
for i=1, # charStuff do
if charStuff[i].ClassName == "Tool" or charStuff[i].ClassName == "HopperBin" then
charStuff[i]:Destroy()
end
end
end
end)
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
05 Oct 2014 06:52 PM
i didnt test that

hopefully it works alright

place it in a local script in your player GUI

must be local script or it wont work because it uses LocalPlayer
Report Abuse
Resalth is not online. Resalth
Joined: 14 Jun 2014
Total Posts: 14215
05 Oct 2014 06:54 PM
the 'charstuff' is blue underlined
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
05 Oct 2014 06:54 PM
im not sure what the blue underline is

i get it alot and my scripts work fine

Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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