Fixing a part to the floor and extending the part in the Y-axis

I am doing a minigame obby thing. So there is water rising and I want to set the height using scripts, but also I got to hold the water part touching to floor.

Also I couldn’t set the height with scripts even using Vector3.new() so I tried but
nothing happened.

I tried to use “AlignPosition” attachment but it didnt help me in the way that I want.

Are you setting the size correctly? Could you show some code? We need more details because “I tried but nothing happened” isn’t enough.

What do you mean?
I used the line below.

 Arena_KillPart.Size = Vector3.new(Arena_KillPart.Size.X, Arena_KillPart.Size.Y + 5, Arena_KillPart.Size.Z)

So what happened to the part?

Absolutely nothing. I forgot to mention but it is a UnionOperation. I tried to use the Vector3 because last time I saw I can resize unions.

1 Like

Have you tried using :Resize?

1 Like

I did not ever heard of it. Can you explain it?

1 Like

1 Like

I took a look to the documentation that you send me above. I saw that NormalId appears in Enum.NormalId and I added it to code but what about the deltaAmount?

I will try it.

1 Like

I tried and I see that it uses the deltaAmount as studs. Appreciate it, you made it!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.