If you are overheating then go towards the place where you think enemies are spawned there are white shapes there get one and it should make your gun make the temperature cool down rather than heat up. And when freezing you can do the same but get the black one it will make you heat up now.
Probably should have made it more clear but was in a hurry for the jam.