scoreboard players set @s ammoTime 45
titleraw @s actionbar {"rawtext": [{"text": "§f§lAmmo: §r§f"}, {"score":{"name": "@s","objective": "ammo"}}]}