Hi. Noob Here!!!
I made this simple script that makes a part grow in Y direction. the problem is i want it to only grow up in the y direction and not under the baseplate. can someone give me a hint so i can try to figure it out~~~~~~~~~~~~~~~~~
part = game.Workspace.Part
while true do if part.Size.Y <5 == true then part.Size = part.Size + Vector3.new(0,1,0) wait(1) else end
end
~~~~~~~~~~~~~~~~~
You do not need < 5 == true because the if statement will already execute the code if the statement is true without == true, bruh
Also you do not need an if statement in the while loop since the condition is already made
while part.Size.Y < 5 do part.Size = part.Size + Vector3.new(0, 1, 0) end