Generating a random 5 letter word (Must be an English word, not random alphabets)

I’m making a Roblox Game where I need to get a random 5 letters English word, but it cannot be random characters like “asdja”, it must be an English word, for example, “apple”.

I currently already have an API that is from devforum which checks if the word is a valid English word. However, I have no idea how API works so I do not think I can link it to a random alphabets generator to make an actual English word.

(It checks by firing an Remote Event to the Server, however, I want the word to be generated in the server, not the client.)
Any help is appreciated! Thank you! :heart:

Do you want to find all the possible 5 letter English words?

You could find a website that generates a random word that also supports HTTP Requests.

If you want to do it manually you’d probably need to have 2 tables one containing a bunch of english words, another containing the alphabet. Then you just scramble it until it matches the word that you want. Sounds tedious and it would probably take a while though (for words to generate).

I just figured it out! I used the API I got and filtered it with only 5 letters words, so it can generate a random text from the table, thank you! :heart:

That’s good. If you don’t mind, can you provide the API you are using? For future references for those who also wants to do the same.

1 Like

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