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: Delete Sword On Death.

Previous Thread :: Next Thread 
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
14 Feb 2014 10:15 PM
How would you make it so the sword either destroys when you kill them, or it's script breaks and it can NO LONGER overkill?
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
14 Feb 2014 10:32 PM
I tried making the tool disable, but I didn't call it correctly. I also added when the players humanoid is 0 in health it'd disable it. Still didn't work. Could someone give me the proper one?
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
14 Feb 2014 10:38 PM
"the sword"
LinkedSword? Just set it's Undroppable property to true. Then it can't be dropped plus the default LinkedSword doesn't fire when the holder is dead, last I recall.
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
14 Feb 2014 11:54 PM
I want it to disable for the person who died. Like once their health reaches 0, it would disable it.

Tool.Disable = true

But it'd have to have the humanoid health part to it.
Report Abuse
Hazania is not online. Hazania
Joined: 04 Jun 2010
Total Posts: 1344
14 Feb 2014 11:57 PM
Oh, you mean if I die my sword can no longer damage?
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
17 Feb 2014 04:55 AM
Yes...
Report Abuse
Marolex is not online. Marolex
Joined: 17 Dec 2012
Total Posts: 1785
17 Feb 2014 04:57 AM
just use instant respawn.

~TheScrub~
Report Abuse
Lem0nzz is not online. Lem0nzz
Joined: 18 Jul 2011
Total Posts: 926
17 Feb 2014 05:06 AM
I tried that, but without the sword disabled, when someone dies I'm not sure it'd work. I'm trying to find some solutions to ties in sfing.
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
17 Feb 2014 05:08 AM
game.Players.PlayerAdded:connect(function()
v.Died:connect() if v.Died==true then
if v.Backpack:IsA'Tool'then--idk
v.CanBeDroped=false;--idk
end
end
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