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 » Scripters
Home Search
 

Re: I made my very first two scripts!

Previous Thread :: Next Thread 
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:16 AM
One of them is a working nuke and the other one is a lava brick!

Lava script:

local lava = script.Parent
local death = lava.Parent:FindFirstChild("Humanoid")

function onTouch(lava)
death
if(death~=nil) then
death.Health = 0
else
return nil
end
end
lava.Touched:connect(onTouch)
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:17 AM
Your can find the working nuke in my models, all it does is expand using Vector3,new
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:18 AM
Bump
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:21 AM
bumper
Report Abuse
chickenman158 is not online. chickenman158
Joined: 18 Jan 2011
Total Posts: 915
12 Aug 2012 10:23 AM
No one cares. Try doing that in x86-64
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:23 AM
What is that?
Report Abuse
xSIXx is not online. xSIXx
Joined: 06 Aug 2010
Total Posts: 9202
12 Aug 2012 10:29 AM
@chicken

what

@5000

out
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 10:36 AM
Why becvause i just scripted?
Report Abuse
Rynar is not online. Rynar
Joined: 11 Oct 2011
Total Posts: 2772
12 Aug 2012 11:09 AM
Hypocrites, tell something nice about his scripting instead?
Report Abuse
tanlord173 is not online. tanlord173
Joined: 25 Nov 2009
Total Posts: 3916
12 Aug 2012 11:12 AM
/pokerface
Report Abuse
testedmarkel62 is not online. testedmarkel62
Joined: 25 Nov 2009
Total Posts: 4291
12 Aug 2012 11:33 AM
This forum is for advance scripting discussion.
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 11:39 AM
last time I checked this forum said "scripters" not advanced..
Report Abuse
Luc599345 is not online. Luc599345
Joined: 25 Jul 2008
Total Posts: 1169
12 Aug 2012 11:41 AM
@5000
Learn to read descriptions ._.
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
12 Aug 2012 11:43 AM
stravant said that this forum isn't meant for advanced discussion anymore.
Report Abuse
Luc599345 is not online. Luc599345
Joined: 25 Jul 2008
Total Posts: 1169
12 Aug 2012 11:44 AM
@su8

raig
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
12 Aug 2012 11:44 AM
@Luc

They took out the word 'advanced' in the description a while ago. We are unfortunately no longer an advanced forum.
Report Abuse
5000fish is not online. 5000fish
Joined: 12 Oct 2011
Total Posts: 2002
12 Aug 2012 11:45 AM
well why dont you Pm a forum moderate a have EVERYTHING go your way Madonna,...
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
12 Aug 2012 12:04 PM
??

I remember you last time you said you can script better than us while you just finished your first two scripts...

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
12 Aug 2012 12:06 PM
@Candy: And one won't even work (correctly).
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
12 Aug 2012 12:10 PM
@droid;

local lava = script.Parent
local death = lava.Parent:FindFirstChild("Humanoid")

function onTouch(lava)
death
if(death~=nil) then
death.Health = 0
else
return nil
end
end
lava.Touched:connect(onTouch)

I could tell that the lava script won't work correctly, since the variable death would normally be set to workspace.Humanoid... lol

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
12 Aug 2012 12:11 PM
Yeah that's what I meant. And can you put just "death" on it's own line (under the function) or would that cause an error? (Idk as I've never even thought about if before O.o)
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
12 Aug 2012 12:14 PM
You can put it under the function, but the parenting is wrong, since it isn't nomal to have a lone humanoid object under workspace. ;3

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance.
Report Abuse
lucas668 is not online. lucas668
Joined: 18 Jun 2008
Total Posts: 6183
12 Aug 2012 12:19 PM
Wat

Do you people even know how Lua works? o.O
Report Abuse
UnAdmin is not online. UnAdmin
Joined: 10 Jul 2012
Total Posts: 4706
12 Aug 2012 01:15 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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