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: My own 2 year old Lava Brick Script

Previous Thread :: Next Thread 
adamjo is not online. adamjo
Joined: 02 Mar 2008
Total Posts: 147
17 Nov 2013 11:13 AM
Its really old, I suggest you try not to edit it.

function onTouch(part
local humanoid = part.Parent:FindFirstChild("Humanoid")
if (humanoid ~= nil)then
humanoid.Health = 0
end
end
script.Parent(Touched.connect(onTouch)
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
17 Nov 2013 11:14 AM
Learn to script, because that would not even work.
Report Abuse
adamjo is not online. adamjo
Joined: 02 Mar 2008
Total Posts: 147
17 Nov 2013 11:16 AM
It works actually. A place where it does is at http://www.roblox.com/Obstacle-Course-Testing-place?id=128371985
Report Abuse
adamjo is not online. adamjo
Joined: 02 Mar 2008
Total Posts: 147
17 Nov 2013 11:17 AM
Oh, whoops, nevermind, that was from the brick that doesn't work, here is the correct one with the parenthesis.

function onTouch(part)
local humanoid = part.Parent:FindFirstChild("Humanoid")
if (humanoid ~= nil)then
humanoid.Health = 0
end
end
script.Parent.Touched:connect(onTouch)
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
17 Nov 2013 11:41 AM
1)who cares
2)freemodel
3)inneficent
Report Abuse
UgOsMiLy is not online. UgOsMiLy
Joined: 15 Sep 2009
Total Posts: 2095
17 Nov 2013 11:46 AM
1.) its for people who don't know how to script
2.)Just because you see it everywhere it doesn't mean it is a free model, and it is only the basic one.

3) Not really, he is only helping


Heh, funny how you joined roblox on my birthday.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
17 Nov 2013 12:08 PM
@ugo
This post was totally useless.
Report Abuse
adamjo is not online. adamjo
Joined: 02 Mar 2008
Total Posts: 147
17 Nov 2013 01:39 PM
Not really, it was to help people. :|
Report Abuse
Ictis is not online. Ictis
Joined: 01 Sep 2011
Total Posts: 1216
17 Nov 2013 01:40 PM
If they needed help with something they would posted something akin to: "How do you make a lava brick?"

The tutorials belong on the wiki, and this isn't even that. This is just a snippet of code.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
17 Nov 2013 01:41 PM
"I suggest you try not to edit it."
Best way to learn is with trial and error.
"Not really, it was to help people. :|"
>Inefficient
>Not explaining
>Billions of free model kill blocks if it`s not for learning
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