How to position a part relative to another part?

So uh, I looked this up on the wiki already and came across this atrocity… Documentation - Roblox Creator Hub
I don’t even know what that thing was trying to say, the script had errors and I could barely understand what it was trying to say without having an aneurysm. So can someone else tell me how to do this? I’m basically trying to make blood drops position themselves a certain amount of studs below the torso, and here’s what I’ve tried.

drop.Position = char.Torso.Position --this part worked
drop.Position.Y = char.Torso.Position.Y-2.97 --this didn’t

Any help?

You cannot set the X, Y, Z value of a vector directly. They are read only values. Instead you have to reconstruct the vector like so:

drop.Position = char.Torso.Position - Vector3.new(0, 2.97, 0)
1 Like

Thanks for the help. Fast reply and super simple explanation.