-- functions


local function Update()
	GUN_GUI.AmmoLabel.Text	= tostring(currentAmmo)
	
	if character then
		GUN_GUI.TotalLabel.Text	= tostring(ammo[currentSize].Value)
	end
end

local function HandleCharacter(newCharacter)
	if newCharacter then
		character	= nil
		
		ammo		= newCharacter:WaitForChild("Ammo")
		character	= newCharacter
	end
end
