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 » Game Design
Home Search
 

How Do I Make a killable Gate/Wall

Previous Thread :: Next Thread 
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 04:34 PM
So a piece in the wall needs to be killable, so it would either fall apart or just disappear. I tried going about this by making the piece a humanoid with health, unachored, with a head and torso, however it would not stay alive for some reason, how do I fix this?
Report Abuse
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 05:02 PM
bump
Report Abuse
TheOsiris is not online. TheOsiris
Joined: 30 May 2010
Total Posts: 4534
31 Jan 2016 05:04 PM
Just use a regular part that's anchored and change the vector value from an ontouch function to set it to fall on you that will automatically deduct your health


Report Abuse
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 05:05 PM
Sorry if my explanation is lacking, but the gate/wall piece is supposed to be killed, for example if you stab it x amount of times and do x amount of damage it will fall apart...
Report Abuse
Tigeon is not online. Tigeon
Joined: 24 May 2013
Total Posts: 4222
31 Jan 2016 05:12 PM
Make the 1 wall into like lets say 50 different parts, don't anchore them but weld them. Explosions iwll then blow the wall to peices


#code print('bill')
Report Abuse
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 05:16 PM
This game sadly will feature no explosions, it must be done by sword for example
Report Abuse
BraxtonPlays is not online. BraxtonPlays
Joined: 21 Sep 2013
Total Posts: 332
31 Jan 2016 06:42 PM
I suck at scripting so this is probaly wrong but...

Make a humanoid part where when the health is zero, make a function transparency 0 and cancollide for x time?
Report Abuse
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 06:43 PM
That is a good idea for making it disappear, however I am having difficulty even getting the humanoid to have health, for example, when I test it, it immediately has no health.
Report Abuse
AIekz is not online. AIekz
Joined: 14 Sep 2013
Total Posts: 108
31 Jan 2016 06:44 PM
OnTouch event registers when a part is collided with, and you can kill a player using player:BreakJoints

you can figure out the rest
Report Abuse
ferano is not online. ferano
Joined: 23 Nov 2008
Total Posts: 5094
31 Jan 2016 06:46 PM
I managed to get the humanoid to work.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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