ProximityPrompt.Triggered:Connect(function(r)local m=r.Character local x=m:WaitForChild("\084\111\114\115\111")ProximityPrompt.ActionText=""if m:FindFirstChild(script.Parent.Parent.Parent.Name)then m[script.Parent.Parent.Parent.Name]:Destroy()else local r=Armor:Clone()r:SetPrimaryPartCFrame(x.CFrame)r.PrimaryPart:Destroy()ProximityPrompt.ActionText=""for r,m in pairs(r:GetChildren())do if m:IsA("\066\097\115\101\080\097\114\116")then WeldParts(x,m)m.CanCollide=false m.Anchored=false end end r.Parent=m end end)

ProximityPrompt.Triggered:Connect(function(Player)
	local Character = Player.Character
	local Torso = Character:WaitForChild("Torso")
	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(Torso.CFrame)
		NewArmor.PrimaryPart:Destroy()
		ProximityPrompt.ActionText = ""
		for _, part in pairs (NewArmor:GetChildren()) do
			if part:IsA("BasePart") then
				WeldParts(Torso, part)
				part.CanCollide = false
				part.Anchored = false
			end
		end
		NewArmor.Parent = Character
	end
end)
