Set part "start" position, instead of center position

I want the part to no more pass through the RootPart of the boss, but make the part start on the RootPart.

  1. What do you want to achieve?

  2. What is the issue?

  3. Current code:

    local bossHRP = boss.HumanoidRootPart
	Part.CFrame = bossHRP.CFrame -- I want to set its "tip" on the RootPart CFrame, instead of its center.
    Part.Size =, 1, 36)

Push the part out on the Z axis by half of its size

I personally would add in the LookVector of the part, however I believe you could also edit the Pivot of the Part you are creating.

Some code that worked for me:

local HRP = Boss.HumanoidRootPart
Part.Size =, 1, 36)
Part.CFrame = HRP.CFrame * * Part.Size / 2)

Hope this helps you out.