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 » Scripters
Home Search
 

Re: Kill Detector?

Previous Thread :: Next Thread 
IoIman78 is not online. IoIman78
Joined: 17 May 2015
Total Posts: 5
08 May 2017 06:09 PM
Is there a way to detect if a player has been killed?
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
08 May 2017 06:11 PM
Yup!

Use an if statement to see if a Humanoid's health is == 0
Report Abuse
Exeplex is not online. Exeplex
Joined: 29 May 2008
Total Posts: 1081
08 May 2017 06:57 PM
There's ### ##### Use a while loop and keep checking if their health is <= 0; Or, a more efficient way (In my opinion). local Hum = Player:WaitForChild("Humanoid"); Hum.Died:connect(function() -- Fires when the Humanoid Dies! end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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