plr.Character.ChildAdded:connect(function(p)if(p:IsA("\084\111\111\108")or p:IsA("\072\111\112\112\101\114\066\105\110"))and(p:FindFirstChild("\065\109\109\111")and p:FindFirstChild("\065\109\109\111\076\101\102\116"))then p.Ammo.Changed:connect(function(p)gui.Ammo.Text=""end)p.AmmoLeft.Changed:connect(function(p)gui.Ammo.Text=""end)end end)plr.Character.ChildRemoved:connect(function(p)if(p:IsA("\084\111\111\108")or p:IsA("\072\111\112\112\101\114\066\105\110"))and(p:FindFirstChild("\065\109\109\111")and p:FindFirstChild("\065\109\109\111\076\101\102\116"))then gui.Ammo.Text=""end end)

plr.Character.ChildAdded:connect(function(oc)
	if (oc:IsA("Tool") or oc:IsA("HopperBin")) and oc:FindFirstChild("Ammo") and oc:FindFirstChild("AmmoLeft") then 
		--gui.Ammo.Text = oc.Ammo.Value.."/"..oc.AmmoLeft.Value
		oc.Ammo.Changed:connect(function(v)
			--gui.Ammo.Text = oc.Ammo.Value.."/"..oc.AmmoLeft.Value
			gui.Ammo.Text = ""
		end)
		oc.AmmoLeft.Changed:connect(function(v)
			--gui.Ammo.Text = oc.Ammo.Value.."/"..oc.AmmoLeft.Value
			gui.Ammo.Text = ""
		end)
	end
end)

plr.Character.ChildRemoved:connect(function(oc)
	if (oc:IsA("Tool") or oc:IsA("HopperBin")) and oc:FindFirstChild("Ammo") and oc:FindFirstChild("AmmoLeft") then 
		gui.Ammo.Text = ""
	end
end)
