for e,X in pairs(script.Parent.ShopFrame.ButtonsFrame:GetChildren())do if X:IsA("\084\101\120\116\066\117\116\116\111\110")then X.MouseButton1Click:Connect(function()X.Parent.Visible=false script.Parent.ShopFrame.Boxes.Weapon.Value=X.Name script.Parent.ShopFrame.Boxes.Visible=true end)end end

for _,v in pairs(script.Parent.ShopFrame.ButtonsFrame:GetChildren()) do
	if v:IsA("TextButton") then
		v.MouseButton1Click:Connect(function()			
			v.Parent.Visible = false
			script.Parent.ShopFrame.Boxes.Weapon.Value = v.Name
			script.Parent.ShopFrame.Boxes.Visible = true
		end)
	end
end
