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: Self building house (Sorta)

Previous Thread :: Next Thread 
yourhappay is not online. yourhappay
Joined: 13 Apr 2011
Total Posts: 176
08 Jan 2016 01:23 PM
Hi guys, I'm sort of new to scripting and have watched a bunch of tutorials on the subject. Anyways, I'm trying to build a self building house to get the hang of how things work in Lua. Here is what I got:

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-27, 0.5, 34) p.Size = Vector3.new(14, 1, 14) p.BrickColor = BrickColor.new("Rust")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-22.5, 4.5, 40.5) p.Size = Vector3.new(3, 7, 1) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-31.5, 4.5, 40.5) p.Size = Vector3.new(3, 7, 1) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-27, 9.5, 40.5) p.Size = Vector3.new(12, 3, 1) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-33.5, 6, 34) p.Size = Vector3.new(1, 10, 14) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-20.5, 6, 34) p.Size = Vector3.new(1, 10, 14) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-27, 6, 27.5) p.Size = Vector3.new(12, 10, 1) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("Part", game.Workspace) p.Anchored = true p.Position = Vector3.new(-27, 11.4, 34) p.Size = Vector3.new(14, 1, 14) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("WedgePart", game.Workspace) p.Anchored = true p.Position = Vector3.new(-23.5, 15, 34) p.Size = Vector3.new(14, 6, 7) p.Rotation = Vector3.new(0, -90, 0) p.BrickColor = BrickColor.new("Medium stone grey")

p = Instance.new("WedgePart", game.Workspace) p.Anchored = true p.Position = Vector3.new(-30.5, 15, 34) p.Size = Vector3.new(14, 6, 7) p.Rotation = Vector3.new(0, 90, 0) p.BrickColor = BrickColor.new("Medium stone grey")

Well, as you can see it gets quite long in one direction. I kept thinking while doing this, that there has to be a shorter way to do it and keep me from having to scroll all the way to the right all the time.

Also, the last wedge ALWAYS wants to go up to Y 21 instead of Y 15 like the other wedge. Can you help with that?

One more thing, I was thinking of doing a script that self builds and drops the parts from the sky around Y 20 - 25 and changes the transparency as it goes down (from like .6 to 0.) With an wait of each block to get into place about 2 seconds or more if needed to make it look nicer. Thanks a lot! :D
Report Abuse
yourhappay is not online. yourhappay
Joined: 13 Apr 2011
Total Posts: 176
09 Jan 2016 03:50 PM
b
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
09 Jan 2016 04:08 PM
I'm working on a part compression method. It'll turn all that in to an interpretable string a fraction of the size. But it's not done yet :(
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