Hello I am EposFishy,
I am a new developer and am trying to make a Support a Creator System! Does anyone know how I make the system check if the entered code is valid? Thanks!
First, you’ll want to have an input TextBox or something to take player input. You should then connect MouseButton1Click of a “submit” button to take the text from the TextBox and send that in a RemoteEvent to the server to check a table of valid codes.
local validCreatorCodes = {
"someguy123",
"anotherperson039"
}
On the server, verify that the code that the client sent is in the validCreatorCodes
table and if it is, then you can write some code to be executed when that condition is met.