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: Hexagon/Pentagon Instance script?

Previous Thread :: Next Thread 
ikoviron is not online. ikoviron
Joined: 21 Feb 2010
Total Posts: 226
07 Jul 2012 09:01 PM
I need this script to have Variables to decide the size and space apart from the other bricks, but if anyone can help me with this script that I am clueless as to how to create it would be greatly appreciated.
Report Abuse
GUESTHAXX is not online. GUESTHAXX
Joined: 16 Apr 2012
Total Posts: 3370
07 Jul 2012 09:06 PM
Roblox wiki has one on how to make a circle... Doubt that would be much help...
Report Abuse
XxobrianxX is not online. XxobrianxX
Joined: 29 Mar 2008
Total Posts: 462
07 Jul 2012 09:07 PM
Learn some Geometry.
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
07 Jul 2012 09:21 PM
Just make a script that places Wedges and Parts in a specific order to make the shape you want.
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
07 Jul 2012 09:24 PM
You can build it, why do you want a script?
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
07 Jul 2012 09:25 PM
Because this is "Scripting Helpers". Besides, scripts are much powerful and less time consuming afterwards.
Report Abuse
marioblox1094 is not online. marioblox1094
Joined: 14 Aug 2010
Total Posts: 1839
07 Jul 2012 09:27 PM
OK GET A SCRIPT TYPE IN

Instance.new("Part", Workspace)
Instance.new("Wedge", Workspace)
Instance.new("Wedge", Workspace)

AND BUILD A PENTAGON FROM THERE
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
07 Jul 2012 09:30 PM
Nope. You need 2 wedge parts to make 1 equilateral triangle. There are 6 equilateral triangles in a hexagon. You'll need to do something along the lines of a for loop that creates them, sizes them correctly, and positions and cframes them correctly. If you really know what you are doing you can easily do it to where you can specify how long you want each side to be.
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
07 Jul 2012 09:55 PM
Or 1 Part and 4 triangles for hexagon
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