I’ma make this ‘mine’, which is basically a cube that “explodes” when a specific layer hits it. (the layer is called ‘impacter’). so basically, i need to make the mine Destroy(GameObject) itself, and change some gui, only when it collides with ‘impacter’ layer.
I am a JS n00b so i have no idea on how the hell i do this
From what you are saying, I can clearly see that you have no coding experience. I would suggest starting with a simple unity tutorial or looking at some unity code or resources before attempting to create a game of your own. If you don’t do this, then you will not understand the proper syntax, nor will you properly learn the code. Good luck learning.
Have a look at Colliders in the Unity Docs (specifically onEnter and onExit trigger functions), also have a look at GameObject Tags. As you read those sections and look at example code your solution should present itself.