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

Resizing using vector3 causes brick to unweld?

Hi, I resize a part of my sword's blade using this:

hitBox.Size = Vector3.new(0.1, 0.1, 0.1)

, but then when I change it back later down the script, I see that the blade falls through the ground after resizing it to the 0.1, 0.1, 0.1. Why does it unweld and fall through the ground? There is a manual weld in the brick that connects it to another.

Thanks!

1 answer

This also happened to me as well when I was resizing a brick that is welded to another brick on Studios. I recommend that if you are changing the part's size through a script (which you are lol), you should create another Weld using the Instance.new("Weld") and messing around with the C0 and C1 to change the part's CFrame. I am not a master at welding through scripting so I suggest maybe to ask another person to do that.

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