do it like this
if IsControlJustReleased(0, 344) and IsControlJustReleased(0, 112) then
The first number is for the groups i belive, and right now you are telling it to index the group of 344, witch isnt a thing