function DbgVisualizeSegment(x,k)if FastCast.VisualizeCasts~=true then return end local i=Instance.new("\067\111\110\101\072\097\110\100\108\101\065\100\111\114\110\109\101\110\116")i.Adornee=Workspace.Terrain i.CFrame=x i.Height=k i.Color3=Color3.new()i.Radius=.25 i.Transparency=.5 i.Parent=GetFastCastVisualizationContainer()return i end
-- Visualizes a ray. This will not run if FastCast.VisualizeCasts is false.
function DbgVisualizeSegment(castStartCFrame, castLength)
	if FastCast.VisualizeCasts ~= true then
		return
	end
	local adornment = Instance.new("ConeHandleAdornment")
	adornment.Adornee = Workspace.Terrain
	adornment.CFrame = castStartCFrame
	adornment.Height = castLength
	adornment.Color3 = Color3.new()
	adornment.Radius = 0.25
	adornment.Transparency = 0.5
	adornment.Parent = GetFastCastVisualizationContainer()
	return adornment
end
