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