From Html/Website to roblox studio

Context:
I do have some experience in Roblox Coding but not to the extend of knowing how to connect between using roblox and html i would hope someone could help me undertand how i would make this work. Keep in mind i do need a lot of help because i do easily overcomplicate things that i am being helped with thanks.

Function:
So i have this website that has a code thingy and i need it to check if the code matches one of the special codes like the one i have here “” and if it is the right code and it matches the one in a roblox table i need it to just for now print (the code … and then the player’s username) so the layout of the the wesite is like this:

“Redeem code here”
Code(textbox)
Username(textbox)
Redeem(button) – and once you click this it runs and gives the function or remote to tell roblox that something was put in and thta it need to check if the code is valid or invalid and it need to print if it is valid or if its invalid

and if you want the website its hosted on github:
https://glitchium.github.io/Special-Codes/

What you need to consider is the easiest and most practical way to do this, you could set up messaging service and create complex API routes in both your site and roblox, or you could keep it simple. I’d suggest keeping it simple. (Or at least, simpler)

You’d want to generate the code from Roblox, and then using roblox HTTPService, PostAsync() to your site, now I do realize you are using GitHub pages, and from my knowledge it does not support dynamic API routes so you need to create an API route somewhere else, like Vercel and then have that API route store your codes in some sort of database.

Then have the github page site send a client side request when the submit button is clicked (make sure to secure it so the client doesn’t get access to the verification codes), and check if the inputted code matches the one from the database.

1 Like

Okay i will try that out thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.