In the image below, i made a square that would act as a starter character for my roblox character. When I resize the part in the workspace(while the game isnt running) it resizes the killpart with the humanoid rootpart. But when i change the size in scripts while the game is running, the size of the Killpart stays the same
I believe when you change the humanoid root part in studio, studio automatically makes you select the kill part as well, sort of like how it rescales all parts in a model (if you change the scale property of the part in the properties window, I think the kill part won’t scale with it). You can manually change the size of the kill part in the script as well.
1 Like
Ok great but I need to be able to resize it with a script and have it stay at the same position how would i do that?(relative to the part)
You could either do the math in your head, or in the script you can divide both values by the same divisor.
-- dividing
HumanoidRootPart.Size = HumanoidRootPart.Size/5
KillPart.Size = KillPart.Size/5
1 Like