local HttpService =
local Players = “Players”)
local getUserIdFromUsername = function(name) –function to check id of username
local id
pcall(function ()
id =
end)
return id
end
local test = ”
local alpha = ‘abcdefghijklmnopqrstuvwxyz0123456789′
while true do
test = –generate random 4 character username
if getUserIdFromUsername(test) == nil then –if the id of the username doesn’t exist
print(test) –print it out below
–else
— print(”)
end
end
— all characters
–string.char(math.random(97,122)) letters only
–string.char(math.random(48,57)) numbers only
–and (string.find(test,’a’) or string.find(test,’e’) or string.find(test,’i’) or string.find(test,’o’) or string.find(test,’u’)) needs vowel restraint