Help with math calculations

This is a continuation of my previous topic: Help with crack effect - cracks being created in the air - #7 by GolgiToad

5f8491932d152416b549e7aa1c257202dda9b71bimage

When I land, my cracks end up half way in the air. Here are my caluculations for the bottom of the player’s foot:

local leftLegCFrame = char[Left Leg].CFrame
local leftLegSize = char[Left Leg].Size

game.ReplicatedStorage.CreateCracks:FireServer(leftLegCFrame:ToWorldSpace(CFrame.new(1,-leftLegSize.Y/2,0)))

How can I calculate it accurately so it ends up at the bottom of the player’s foot?

Calculate the offset from the HumanoidRootPart; the leg can rotate and therefore change its position while not changing how high off the ground the player is.