|
| 01 Dec 2013 03:31 AM |
So I Am on script builder.
I have this script which creates a block:
local brick = Instance.new("Part", game.Workspace) brick.Name = "NewBrick" brick.Size = Vector3.new(10, 10, 10)
However, I have another script which does something and I want it to be Inside of the brick. Is their a way to make it go inside the brick (Keep in mind Im in a game on script builder) |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 01 Dec 2013 03:38 AM |
local brick = Instance.new("Part", game.Workspace) brick.Name = "NewBrick" brick.Size = Vector3.new(10, 10, 10) brick.CFrame = CFrame.new (game.Workspace.brickuwantittogoinsideof) |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 07:14 AM |
local brick = Instance.new("Part",game.Workspace) brick.Name = "NewBrick" brick.Size = Vector3.new(10, 10, 10) -- That's the first... -- Let's say you want another part to go inside the brick. -- So... local part = Instance.new("Part",game.Workspace) part.Name = "Insidebrick" part.Position = brick.Position |
|
|
| Report Abuse |
|
|
|
| 01 Dec 2013 10:04 AM |
Simple.
local brick = Instance.new("Part", game.Workspace) brick.Name = "NewBrick" brick.Size = Vector3.new(10, 10, 10
So, now you want a script to be put inside a brick; copy and paste this into a new script, and we-write the original code in your new script, which this creates:
LEL = Instance.new("Script", game.Workspace.YOURBRICKNAMEHERE) LEL.Name = "MehInsideScript"
That is literally all. Not the complicated. XD
(there is a 999999% chance this wont work) |
|
|
| Report Abuse |
|
|