local w=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\078\101\118\101\114\109\111\114\101"))local O=game:GetService("\068\101\098\114\105\115")local T=w("\113\071\085\073")local I={}I.__index=I I.ClassName="\080\097\114\116\084\111\117\099\104\105\110\103\082\101\110\100\101\114\101\114"function I.new()local w=setmetatable({},I)return w end function I.RenderTouchingProps(I,w)for w,I in pairs(w)do local q=Instance.new("\083\101\108\101\099\116\105\111\110\066\111\120")q.Name="\084\111\117\099\104\105\110\103\087\097\114\110\105\110\103"q.LineThickness=.05 q.Color3=Color3.new(1,.3,.3)q.Transparency=0 q.Adornee=I q.Parent=I T.TweenTransparency(q,{Transparency=1},.5)O:AddItem(q,.6)end end return I
--- Renders touching parts from the PartTouchingCalculator
-- @classmod PartTouchingRenderer

local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))

local Debris = game:GetService("Debris")

local qGUI = require("qGUI")

local PartTouchingRenderer = {}
PartTouchingRenderer.__index = PartTouchingRenderer
PartTouchingRenderer.ClassName = "PartTouchingRenderer"

function PartTouchingRenderer.new()
	local self = setmetatable({}, PartTouchingRenderer)

	return self
end

function PartTouchingRenderer:RenderTouchingProps(touchingPartList)
	for _, part in pairs(touchingPartList) do
		local selectionBox = Instance.new("SelectionBox")
		selectionBox.Name = "TouchingWarning"
		selectionBox.LineThickness = 0.05
		selectionBox.Color3 = Color3.new(1, 0.3, 0.3)
		selectionBox.Transparency = 0
		selectionBox.Adornee = part
		selectionBox.Parent = part

		qGUI.TweenTransparency(selectionBox, {Transparency = 1}, 0.5)
		Debris:AddItem(selectionBox, 0.6)
	end
end


return PartTouchingRenderer