How to make C4 stick to objects?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to know how to make a C4 that can stick to objects with the same orientation as the objects too, i know how to make the C4 throwable, i just need to know how to make them stick to objects when they are touched.

  2. What is the issue? Include screenshots / videos if possible!
    I don’t know where to start with this, because I am also terrible with raycasting and cframes and stuff like that.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried YT and Devforum

This post might give you more information:
Help my C4 to get stick properly - Help and Feedback / Scripting Support - DevForum | Roblox