Attempting to make a part spawn in the middle of two other parts

hi , i want to make a part that spawns in a middle of 2 parts
but its acting wried
heres my code
image

You can just use (part1.Position + part2.Position) / 2. Or if you also need the orientation to be in the middle you can do part1.CFrame:lerp(part2.CFrame, 0.5).

4 Likes