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: Help with the damned Humanoid

Previous Thread :: Next Thread 
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 09:10 PM
I have a brick with a Humanoid that is supposed to spawn a coin when it dies, but it won't die. Its health just stays at 0 and it is still alive.

Here's the layout for the whole brick:

Model > Head > scripts/Model > Humanoid > scripts (same model, slash indicates another branch)

It can't die or take damage. I've tried hitting it with a sword, and it won't activate the Humanoid.Died function. Not even when I remotely set its health to 0. It's supposed to remove itself when it dies, but it won't. Any help, because this is basically a barrier to finishing my game.
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
25 Mar 2015 09:12 PM
The Humanoid's 'damned' property is set to true, toggle that before continuing.
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 09:15 PM
@amanda

I was referring Damned as not to a parent, but a statement.

'That damned machine.'
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 09:17 PM
Please help. Any help would be appreciated.
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 09:26 PM
...
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
25 Mar 2015 09:28 PM
humanoid is god confirmed
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 09:29 PM
@insta

Dude, come on. Seriously. Please help.
Report Abuse
robocu3 is not online. robocu3
Joined: 13 Mar 2009
Total Posts: 6485
25 Mar 2015 09:30 PM
humanoid is leet pro god confirmed 2: game of the year edition(featuring dante from devil may cry)

-=Robo=-
Report Abuse
instawin is not online. instawin
Joined: 04 Jun 2013
Total Posts: 8777
25 Mar 2015 09:32 PM
i have a feeling we would have to see your script for this one

i can't really think of much

does the model fall apart when the game starts?
Report Abuse
FalconLoverGiraffe is not online. FalconLoverGiraffe
Joined: 24 Jun 2014
Total Posts: 456
25 Mar 2015 09:50 PM
it has no torso?
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 10:17 PM
@insta

no, it doesn't fall

@other guy w/ torso

hm. maybe i'll try that
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
25 Mar 2015 10:28 PM
mr.die = true
Report Abuse
DeviousDeviation is not online. DeviousDeviation
Joined: 28 Dec 2010
Total Posts: 9306
25 Mar 2015 10:29 PM
needs a torso and a head with a joint named neck connecting them

⬡
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
25 Mar 2015 10:30 PM
go reprot amanda Cause she cant script
Report Abuse
Negativize is not online. Negativize
Joined: 02 May 2011
Total Posts: 25068
25 Mar 2015 10:55 PM
Okay. How to make a neck with the torso?
Report Abuse
MM233 is not online. MM233
Joined: 19 Jun 2008
Total Posts: 925
25 Mar 2015 11:07 PM
I'm guessing you're using humanoid.Died:connect( -- stuff ). You do need the torso, head, and neck for this. However, you COULD just change how you're going about it.

humanoid.Changed:connect(function(prop) if prop == "Health" and prop <= 0 then
print("Oh look, a shiny coin.") -- Obviously, your code here
end 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