ProximityPrompt.Triggered:Connect(function(N)local U=N.Character local F=U:WaitForChild("\076\101\102\116 \065\114\109")ProximityPrompt.ActionText="\087\101\097\114"if U:FindFirstChild(script.Parent.Parent.Name)then U[script.Parent.Parent.Name]:Destroy()else local N=Armor:Clone()N:SetPrimaryPartCFrame(F.CFrame)N.PrimaryPart:Destroy()ProximityPrompt.ActionText="\084\097\107\101 \111\102\102"for N,U in pairs(N:GetChildren())do if U:IsA("\066\097\115\101\080\097\114\116")then WeldParts(F,U)U.CanCollide=false U.Anchored=false end end N.Parent=U end end)
--//Main Function
ProximityPrompt.Triggered:Connect(function(Player)
	local Character = Player.Character
	local Torso = Character:WaitForChild("Left Arm")
	ProximityPrompt.ActionText = "Wear"
	if Character:FindFirstChild(script.Parent.Parent.Name) then
		Character[script.Parent.Parent.Name]:Destroy()
	else
		local NewArmor = Armor:Clone()
		NewArmor:SetPrimaryPartCFrame(Torso.CFrame)
		NewArmor.PrimaryPart:Destroy()
		ProximityPrompt.ActionText = "Take off"
		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)
