if the browser game uses flash player, install flash player 7 and set cheat engine value type to double and search.
to get god mode - scan you h.p.
get hit, scan your remaining h.p. and freeze the value.
if the game has m.p. - do the same thing as you did with h.p. except you scan your m.p. this time.
same applies to ammo and score