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 » Roblox » Help (Technical Support and Account Issues)
Home Search
 

how do i make a lethal block

Previous Thread :: Next Thread 
blockydude34 is not online. blockydude34
Joined: 16 Nov 2013
Total Posts: 145
08 Jan 2014 08:43 PM
a block that if you touch you die? help
Report Abuse
FHooga is not online. FHooga
Joined: 12 Dec 2013
Total Posts: 23
08 Jan 2014 09:21 PM
This should be in scripting help. I think this would work though.

function Touched (x)
local h = x.Parent:FindFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end

script.Parent.Touched:connect(Touched)
Report Abuse
FHooga is not online. FHooga
Joined: 12 Dec 2013
Total Posts: 23
08 Jan 2014 09:35 PM
^ Dunno where it should be. I forgot that scripting helpers are for when you have problems, not a request. ( I think )
Report Abuse
blockydude34 is not online. blockydude34
Joined: 16 Nov 2013
Total Posts: 145
08 Jan 2014 09:48 PM
thanks
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Help (Technical Support and Account Issues)
   
 
   
  • 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