Website Moderator Code Script [closed]

Ok so I have this site, and I need a code, or strand of codes to embed Roles. Sort of like Stack exchange, but a little different.

I have made this site that is supposed to allow you to sign up. Once signed up, it enables you to a live chat.

However, I wont be on the site 24/7 to enforce it, so I need a little help. The problem is, Im using google sites to create it and I have absolutely NO idea how to put a moderator code script into it.

So my question is, is there any way that I can add one (or more) role(s) into google sites in a random place like embed, and once the code is in, how would I make users the role I want them to be?

I know this is a game development site, but I searched and couldnt find another one that could suit my needs, if there is another site that i could find, could you point me to the right direction?