How to hide a piece of code / Script properly?

So is there any way to do this for the client? I’d love to see what i have made actually work if possible in any way.

Nope, unless you or a developer leaks a build. Because like I said, games that are saved by exploiters will not get the server code, so the webhook wouldn’t send.