Hello. I am trying to make a script where a part grows slowly upwards but when it hits a brick it stops, i did not want to just use the Vector3.new and add to it each time because then it would jump on top of the brick where i want it to stop. So i was going to use FromNormalId but its complicated so can some one help me please help me?
``local Part = script.Parent
local Growth = 0.1
while true do
wait(0.2)
Part.Size = Vector3.FromNormalId(Enum.NormalId.Top,Growth)
end
Don't
Reset the position instead
local c = part.CFrame; part.Size = part.Size + IncrementVector; part.CFrame = c;
This assumes that your part is anchored. It also assumes that you know roughly where you're planning on stopping at.