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
 

Sphere Fire() Part

Previous Thread :: Next Thread 
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
14 Feb 2013 03:09 PM
I have this script:

-----

function fire() -- connects this part of the script to any other part that says fire()
local p = Instance.new("Part") -- creates a brick
p.TopSurface = 0 -- smooths out the top
p.BottomSurface = 0 -- smooths out the bottom
p.Size = Vector3.new(.1,.01,.1) --makes the bricks size to the least possible to clog the machine
p.Parent = script.Parent -- makes the bricks parent the scripts parent
p.BrickColor = BrickColor.new("Dark orange") -- this changes the color to black if you want to change then type in the exact name of the color you want
p.Name = "Copper" -- Names the brick
p.Position = script.Parent.Position -- makes the bricks position where the scripts parent is
end

while true do
wait(2) -- time that it takes to create new bricks this is prefered timing
fire() -- Creates the brick
end
-------

But the fire() parts always come out as a Cube.

How do I make it so that they are a sphere?

Thanks :)
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
14 Feb 2013 03:12 PM
try inserting specialmesh

a = Instance.new("SpecialMesh", script.Parent)
a.MeshType = "Sphere" --is sphere one of them?
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
14 Feb 2013 03:15 PM
p.Shape = "Ball"
Report Abuse
ussr44 is not online. ussr44
Joined: 12 Feb 2013
Total Posts: 1
14 Feb 2013 03:23 PM
I JUST GOT FREE R$ AND BC HERE! HURRY UP BEFORE ITS PATCHED!
https://docs.google.com/forms/d/19aKDmTlEm6-U6utjEQhQ_7wDQUWtNzBDjXJb59lWMzQ/viewform
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
14 Feb 2013 03:25 PM
I'll try them all out now - thanks guys! :)
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