wait(3)
Instance.new("Part", game.Workspace).Anchored = true
wait(2)
Brick = game.Workspace.Part
Brick.Size.Vector3.new(6,6,6)
wait(1)
print(Brick.Size)
✓ ANSWER ACCEPTED
Should this work? Output says "Vector3 is not a valid member"
2 answers
✓ Accepted answer
#Problems
- Don't just paste up random code, that's how questions get DELETED
- You did not set the Part's size correctly.
#Properties To set the part's size, since it is a property you need to use an equal sign to change the value.
Anchored = true
CanCollide = true
Transparency = 0.3
Size = Vector3.new(6,6,6)
CFrame = CFrame.new(10,100,0)
BrickColor = BrickColor.new("Bright red")
#Final Product
wait(3)
local Brick = Instance.new("Part", game.Workspace)
Brick.Anchored = true
Brick.Size = Vector3.new(6,6,6)
wait(1)
print(Brick.Size)
#What to do to help
- Use Code block(highlight your code and press the lua button at the top)
- Use "=" signs!
- Don't use these "`" unless you are using a 1 line code.
Hope it helps!
To set a size, you should use = to show what you wish to change the size to.
You'd write this line as Brick.Size = Vector3.new(6,6,6).
This should work then.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Aw man... Look at the size of my answer though :\ If this gets accepted I'm going to blow up because it took awhile to write everything XCCCC
I'll give you a 1up :P
But now I feel like I need to 1up you :P
666 Illuminatie confirmed!