Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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?

2 comments

0

Thats because vector3 takes 3 arguments x,y,z so this means it will expand in 3 sides

0

Yeah I expanded it only with the z argument so...

1 answer

✓ Accepted answer

You could use the resize function. Example:

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

This would resize a part on the right size.

1 comment

0

thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.