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: I need a script that

Previous Thread :: Next Thread 
Buildermenace is not online. Buildermenace
Joined: 06 Jul 2013
Total Posts: 431
19 Aug 2013 04:29 PM
Opens the door, like
Whenever a certain humanoid is killed, a door opens.
Report Abuse
sidekick601 is not online. sidekick601
Joined: 27 Feb 2012
Total Posts: 8734
19 Aug 2013 04:31 PM
if game.Workspace.CERTAINPLAYERNAMEHERE.Humanoid == 0 then
--direct the door here
--make the door walkthrough
--end the the if statement
Report Abuse
sidekick601 is not online. sidekick601
Joined: 27 Feb 2012
Total Posts: 8734
19 Aug 2013 04:32 PM
if game.Workspace.CERTAINPLAYERNAMEHERE.Humanoid.Health == 0

my bad
Report Abuse
pikachu734 is not online. pikachu734
Joined: 11 Jul 2011
Total Posts: 16507
19 Aug 2013 04:33 PM
Side, that isn't a complete script.
Report Abuse
sidekick601 is not online. sidekick601
Joined: 27 Feb 2012
Total Posts: 8734
19 Aug 2013 04:33 PM
pikachu, exactly
Report Abuse
pikachu734 is not online. pikachu734
Joined: 11 Jul 2011
Total Posts: 16507
19 Aug 2013 04:35 PM
Well, tell him the answer. This why he posted. But I don't get why he need a script like that anyways. A door opens when someone dies? That doesn't make sense.
Report Abuse
Buildermenace is not online. Buildermenace
Joined: 06 Jul 2013
Total Posts: 431
19 Aug 2013 04:37 PM
is it possible?
a humanoid that dies and a door opens
Report Abuse
sidekick601 is not online. sidekick601
Joined: 27 Feb 2012
Total Posts: 8734
19 Aug 2013 04:37 PM
i'm not just gonna give him a script he needs to learn
Report Abuse
Altair55 is not online. Altair55
Joined: 28 May 2008
Total Posts: 36840
19 Aug 2013 04:55 PM
p = game.Workspace
m = person whose death opens the door

while wait() do

if p.m.Humanoid.Health <= 0 then
p.Door.Transparency = 1
p.CanCollide = false

end
end

rough way of doing it
Report Abuse
Altair55 is not online. Altair55
Joined: 28 May 2008
Total Posts: 36840
19 Aug 2013 04:56 PM
p.Door.Cancollide*

accidentally locked my post, sorry
Report Abuse
funnymouse7 is not online. funnymouse7
Joined: 17 Mar 2011
Total Posts: 1741
19 Aug 2013 04:58 PM
This seems like a one of those riddles they bring on mystery shows


"The ones death that opens the door!" lol
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