Vector math please help

hi there im trying to making a lighting bolt follow this tutorial !

but its acting wrieed


Hes my script

local red = workspace.Red
local blue = workspace.Blue
local i = Instance

for i = 1 , 10 do
	local lighting = Instance.new("Part")
	lighting.Parent = workspace
	lighting.Anchored  = true
	local leth = blue.Position - red.Position
	
	lighting.Position = red.Position + (leth / i ) * Vector3.new(0,0,math.random(1,3),0,0)	
end