Game Instance Working like Calculator

How and where would I change variables to keep High Score at all times. Right now by the default Game Instance adds all coins collected together from every level. Which in return I loose the High Score. How would I set up: If X is greater then High Score the replace High Score With X. If X is less then the High Score then do nothing. Either way something along those lines. HELLLP!!!