Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Expanding the part bigger just on a side but it expands on both sides?

Asked by 4 years ago

Hi, so i would like to know how to make a part bigger, BUT on only a side because whene i try expanding the size it expands on the 2 sides

any help? btw heres the code

    game.ReplicatedStorage.tornadoCloud.Parent = workspace

    game.ReplicatedStorage.Sky.Parent = game.Lighting
    for i = 201, 989.5, .05 do
        workspace.tornadoCloud.Size = workspace.tornadoCloud.Size + Vector3.new(0, 0, i)
        wait(.5)
    end

any ideas?

0
Thats because vector3 takes 3 arguments x,y,z so this means it will expand in 3 sides JesseSong 3916 — 4y
0
Yeah I expanded it only with the z argument so... robert19735 17 — 4y

1 answer

Log in to vote
1
Answered by
moo1210 587 Moderation Voter
4 years ago

You could use the resize function. Example:

Part:Resize(Enum.NormalId.Right, 1)

This would resize a part on the right size.

0
thanks robert19735 17 — 4y
Ad

Answer this question