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: What Is The Lava Brick Code?

Previous Thread :: Next Thread 
skystreamer is not online. skystreamer
Joined: 04 Mar 2010
Total Posts: 1748
26 Oct 2011 12:12 PM
I've been given alot of codes, and put excactly like I should have. None of them work...can I get a real one?
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 12:15 PM
script.Parent.Touched:connect(function(hit)
if game.Players:GetPlayerFromCharacter(hit.Parent) then
hit.Parent:BreakJoints()
end
end)
Report Abuse
skystreamer is not online. skystreamer
Joined: 04 Mar 2010
Total Posts: 1748
26 Oct 2011 12:24 PM
@Nate,It's not working...
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 12:27 PM
..It should
Report Abuse
skystreamer is not online. skystreamer
Joined: 04 Mar 2010
Total Posts: 1748
26 Oct 2011 12:30 PM
I'm a horrible scripter... D:

Today is my first day.
Report Abuse
VenomGuardian is not online. VenomGuardian
Joined: 14 Jul 2011
Total Posts: 174
26 Oct 2011 12:51 PM
function onTouched(part)

h = part.Parent:findFirstChild("Humanoid")
if h ~= nil then
h.Health = 0
end
end

script.Parent.Touched:connect(onTouched)
Report Abuse
skystreamer is not online. skystreamer
Joined: 04 Mar 2010
Total Posts: 1748
26 Oct 2011 01:11 PM
It worked,thanks venom!
Report Abuse
VenomGuardian is not online. VenomGuardian
Joined: 14 Jul 2011
Total Posts: 174
26 Oct 2011 01:13 PM
np :D
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 02:24 PM
Mine works too...
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 02:25 PM
^and more efficient...
Report Abuse
carofdoom1127 is not online. carofdoom1127
Joined: 24 Dec 2010
Total Posts: 157
26 Oct 2011 03:11 PM
thread.save
Report Abuse
grimm343 is not online. grimm343
Joined: 18 Sep 2008
Total Posts: 2796
26 Oct 2011 03:22 PM
Now, why isn't anybody adding a debounce to their .Touched-called functions?
Report Abuse
Cachinnation is not online. Cachinnation
Joined: 21 Aug 2011
Total Posts: 1797
26 Oct 2011 03:32 PM
script.Parent.Touched:connect(function(s)pcall(function()s.Parent:BreakJoints()end)end)
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 04:08 PM
How come nates doesn't work =_=
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 05:00 PM
"How come nates doesn't work =_="

It does.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:04 PM
It didn't work for her..
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 05:11 PM
Probably because she's doing something stupid.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:13 PM
Like.........
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 05:17 PM
You tell me.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:25 PM
How could you not notices

Hint hint script.Parent
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 05:27 PM
^... ?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:29 PM
script.Parent

game.Workspace

Where do you think she put the script?
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
26 Oct 2011 05:30 PM
I don't know, assuming in the brick that she wanted people to touch and die, as that other guys code worked (as mine did, too).
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:31 PM
Then again the other guy also used script.Parent...
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
26 Oct 2011 05:33 PM
It worked for me =_=
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