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)
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")
wait(3) local Brick = Instance.new("Part", game.Workspace) Brick.Anchored = true Brick.Size = Vector3.new(6,6,6) wait(1) print(Brick.Size)
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.