Random String Generator

i have shortened it to one :exploding_head::exploding_head::exploding_head:

return function() game:GetService(“HttpService”):GenerateGUID() end

Gotta admit - for a first post, pretty good post construction. Also, this will be very useful for generating secret user Keys or something like that! Well done and keep up the good work.

2 Likes

supposed to be GenerateGUID(false) if used to a important key so its not in {}

But why would you not want the brackets?

bc u wanted string not string in a table, but u can unpack it

The brackets are part of the string, it’s like “{hkjlsf343-hJKFH67OI}”

u waste few byte for extra length (~2-4b), optimization and effiency is 1st (my opinion)

That makes more sense. But why not use string.pack?

In that case, why don’t you do just a random Unicode character or an internal ID system to get random generator? why don’t you do tostring(math.random())

back to you,its your opinion to choose which should u pick

I shortened it down to one

local http, str = game:GetService("HttpService"), http:GenerateGUID()

JK lol. thought it was funny maybe its not. idek if it will work. But all in all. This module looks cool and looked fun to make

1 Like