taavZSub
(Leonart)
August 27, 2023, 6:24pm
#1
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.
Katrist
(Katrist)
August 27, 2023, 6:44pm
#2
Are you setting the size correctly? Could you show some code? We need more details because “I tried but nothing happened” isn’t enough.
taavZSub
(Leonart)
August 27, 2023, 6:46pm
#3
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)
Katrist
(Katrist)
August 27, 2023, 6:46pm
#4
So what happened to the part?
taavZSub
(Leonart)
August 27, 2023, 6:48pm
#5
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
Katrist
(Katrist)
August 27, 2023, 6:53pm
#6
Have you tried using :Resize ?
1 Like
taavZSub
(Leonart)
August 27, 2023, 6:54pm
#7
I did not ever heard of it. Can you explain it?
1 Like
taavZSub
(Leonart)
August 27, 2023, 6:59pm
#9
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
taavZSub
(Leonart)
August 27, 2023, 7:00pm
#10
I tried and I see that it uses the deltaAmount as studs. Appreciate it, you made it!
1 Like
system
(system)
Closed
September 10, 2023, 7:01pm
#11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.