--theRal


worker = false
part = script.Parent

function onTouch(hit)
	local human = hit.Parent:FindFirstChild("Humanoid")
	if (human ~= nil) and (worker == false) then
		print ("Success")
		worker = true
		wait(.1)
		local pant = hit.Parent:GetChildren()
		for i=1,#pant do
		if (pant[i].className == "Pants") then
			pant[i].PantsTemplate = ""
			end
		end
		local shirt = hit.Parent:GetChildren()
		for i=1,#shirt do
		if (shirt[i].className == "Shirt") then
			shirt[i].ShirtTemplate = ""
			wait(1)
			worker = false
			end
		end
	end
end

script.Parent.Touched:connect(onTouch)
