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: My first script.

Previous Thread :: Next Thread 
asa is not online. asa
Joined: 19 Mar 2007
Total Posts: 230
17 May 2012 06:42 PM
Not my BEST, but it's pretty good.
It auto - generates a cube

local h = Instance.new("Part")
h.Parent = game.Workspace
h.Anchored = true
h.BottomSurface = "Smooth"
h.TopSurface = "Smooth"
h.CFrame = CFrame.new(0,0,0)
h.FormFactor = "Symmetric"
for i = 1,20 do
h.Size = Vector3.new(i,0,0)
wait()
end
wait()
for i = 1,20 do
h.Size = Vector3.new(h.Size.x,0,i)
wait()
end
wait()
for i = 1,20 do
h.Size = Vector3.new(h.Size.x,i,h.Size.z)
wait()
end
Report Abuse
MyrcoMyrcoMyrcoMyrco is not online. MyrcoMyrcoMyrcoMyrco
Joined: 03 Sep 2011
Total Posts: 1013
17 May 2012 06:45 PM
Cool, but you shouldn't post something like that here, most likely, because of trolls and flamers. Be prepared to get attacked on the east wing sir D:
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 May 2012 06:47 PM
Good job. More advanced than my first script.
Report Abuse
imcoolfire8 is not online. imcoolfire8
Joined: 23 Nov 2009
Total Posts: 3008
17 May 2012 07:02 PM
>Good job. More advanced than my first script.

Lol me too!

~ Catgroove ~
Report Abuse
8SunTzu8 is not online. 8SunTzu8
Joined: 30 Sep 2011
Total Posts: 8199
17 May 2012 08:09 PM
I kinda doubt that was the very first script he ever wrote...

But okay...

It's interesting though.

I started by editing scripts, then making simple effects with properties, such as fires and such. a simple gate, and then moved onto making a capture system, my combo door, and the SafeSpawn system overall.

You really progress fast as you learn more and more.
Report Abuse
Hypha is not online. Hypha
Joined: 16 May 2012
Total Posts: 315
17 May 2012 10:06 PM
My first script;

print 'hello world'
Report Abuse
colestuart1995 is not online. colestuart1995
Joined: 20 Apr 2011
Total Posts: 1422
18 May 2012 11:18 AM
@Hypha LOL True that was all of our first scripts c:
Report Abuse
BAUER102 is online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
18 May 2012 11:53 AM
My first script was actually,

wrkspace.Bauer.Health = 100

But then I realized, that it doesn't work.

However, I improved a bit since then :P
Report Abuse
asa is not online. asa
Joined: 19 Mar 2007
Total Posts: 230
18 May 2012 09:18 PM
@Bauer
Wouldn't it be:
workspace.BAUER102.Humainoid.Health = 100
?
Report Abuse
sam6175 is not online. sam6175
Joined: 16 Aug 2008
Total Posts: 1391
18 May 2012 09:33 PM
My first script was no where near a real script. I thought you were supposed to just type in what you wanted to happen and magically it would happen.

For instance:

makedinosaur()
dinosaur.Big = true
dinosaur.Scary = true
dinosaur.Jetpack = false

That is probably what my first script looked like
Report Abuse
Zxan is not online. Zxan
Joined: 13 Sep 2008
Total Posts: 4304
19 May 2012 12:06 AM
@asa, no, it would be game.Workspace.BAUER102.Humanoid.Health = 100
Report Abuse
jode6543 is not online. jode6543
Joined: 16 Jun 2009
Total Posts: 5363
19 May 2012 12:43 AM
@Zxan They both work. Stop correcting people when you yourself are the one who needs correction.

-Jode
Report Abuse
Unpoke is not online. Unpoke
Joined: 03 May 2011
Total Posts: 12162
19 May 2012 11:35 AM
My first script was:

c/game.Players.Unpoke.TeamColor = BrickColor.new("Bright violet")
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
19 May 2012 11:55 AM
My first was:

createCar:TurboBoost:True:4Wheels:No3Wheels()

and i was liek
UMG Y U NO WORK
FAIC DESK

~ Wiki Writer: wiki.roblox.com/?title=User:Legokid135 ~
Report Abuse
Maradar is not online. Maradar
Joined: 06 Mar 2012
Total Posts: 4478
19 May 2012 01:35 PM
Here's was my first ever Lua script:

function namechecker()
if game.Workspace.Part.Name = "Part" then print("The brick is called Part") else error("The brick is really called",'game.Workspace.Part.Name',".")
end

I doubt it works, though. I never tested it.
Report Abuse
Valone is not online. Valone
Joined: 08 Feb 2012
Total Posts: 4371
19 May 2012 01:37 PM
@Jode, I thought it had to be Workspace but not workspace?
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
19 May 2012 01:40 PM
@Valone, it all works.

workspace
Workspace
game.Workspace
game.workspace

:D

~ Wiki Writer: wiki.roblox.com/?title=User:Legokid135 ~
Report Abuse
DonnyTheDemented is not online. DonnyTheDemented
Joined: 29 May 2010
Total Posts: 1413
19 May 2012 01:40 PM
@valone, Unless that got removed in a recent update, both work.
Report Abuse
robertbaul1 is not online. robertbaul1
Joined: 22 Mar 2012
Total Posts: 60
19 May 2012 02:02 PM
well done but my 1st script regenerated zombies and ove 200,00 iteams in 5 seconds but pretty good
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
19 May 2012 02:34 PM
@robert, 200k in 5 seconds? You would have to have a fast processor.

~ Wiki Writer: wiki.roblox.com/?title=User:Legokid135 ~
Report Abuse
Valone is not online. Valone
Joined: 08 Feb 2012
Total Posts: 4371
19 May 2012 02:43 PM
@Lego, seems like it's a lie.
I very much doubt that's the truth with grammar like that.
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