You can't they are both server sided. Only SuperCell has access to gems, coins and exlir and how much you can earn You can only hack it if you break into their servers which is illegal. I don't know who made your other game but same principle applies.