-- построение дорожки

way = script.Parent

local delta = 8
local rnd = Random.new()

local blk = script.Parent.block:Clone()
script.Parent.block:Destroy()

local sp = way._START.Position

for i = 1, 9 do
	zz = i * (delta + blk.Size.Z) - blk.Size.Z / 2
	blk.Color = Color3.fromRGB(25*i, 255, 250/i)
	
	nn = blk:Clone()
	nn.Position = Vector3.new(sp.X + rnd:NextInteger(-2, 2) * (delta / 2), sp.Y, sp.Z - zz)
	nn.Parent = way
end
