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: Will this work?

Previous Thread :: Next Thread 
SouthPride is not online. SouthPride
Joined: 13 Feb 2013
Total Posts: 40
17 Feb 2013 05:22 PM
h = script.Parent.Humanoid

function dead()

If h.Health = 0 then

script.Parent.Torso.Transparency = 1

end
end

Humanoid.Died:connect(dead)

-- Or did i do the Connection wrong, because i actually do not know where this kinda script goes (If this is even possible...)
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
17 Feb 2013 05:23 PM
no.

h = script.Parent.Humanoid
h.Died:wait()
script.Parent.Torso.Transparency = 1

try that ^
Report Abuse
SouthPride is not online. SouthPride
Joined: 13 Feb 2013
Total Posts: 40
17 Feb 2013 05:26 PM
@Miz:

h = script.Parent.Humanoid
T0rso = script.Parent.Torso

h.Died:wait()
T0rso.Transparency = 1
wait(1)
T0rso.Transparency = .5

-- What about something like this?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
17 Feb 2013 05:31 PM
Seems legit to me.

But next time test it to make sure. Testing always brings the best results ;)
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