ProximityPrompt.Triggered:Connect(function(n)local D=n.Character local i=D:WaitForChild("\072\101\097\100")ProximityPrompt.ActionText=""if D:FindFirstChild(script.Parent.Parent.Parent.Name)then D[script.Parent.Parent.Parent.Name]:Destroy()else local n=Armor:Clone()n:SetPrimaryPartCFrame(i.CFrame)n.PrimaryPart:Destroy()ProximityPrompt.ActionText=""for n,D in pairs(n:GetChildren())do if D:IsA("\066\097\115\101\080\097\114\116")then WeldParts(i,D)D.CanCollide=false D.Anchored=false end end n.Parent=D end end)
--//Main Function
ProximityPrompt.Triggered:Connect(function(Player)
	local Character = Player.Character
	local Head = Character:WaitForChild("Head")
	ProximityPrompt.ActionText = ""
	if Character:FindFirstChild(script.Parent.Parent.Parent.Name) then
		Character[script.Parent.Parent.Parent.Name]:Destroy()
	else
		local NewArmor = Armor:Clone()
		NewArmor:SetPrimaryPartCFrame(Head.CFrame)
		NewArmor.PrimaryPart:Destroy()
		ProximityPrompt.ActionText = ""
		for _, part in pairs(NewArmor:GetChildren()) do
			if part:IsA("BasePart") then
				WeldParts(Head, part)
				part.CanCollide = false
				part.Anchored = false
			end
		end
		NewArmor.Parent = Character
	end
end)
