Hello I have made a RemoteEvent & BindableEvent obsfucator, I wanna know if the code is really good or not
here is the code:
local codes = math.random(90, 101)
local timeBeforeRedoingIt = 0
local lettersLibrary = {
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'1', '2', '3', '4', '5', '6', '7', '8', '9', '&', 'é', '(', ')', 'è', 'à ', '!',':', '§', '%', 'ù', ';', '.', '?', ','
}
local function generateLetters() return lettersLibrary[math.random(1, #lettersLibrary)]; end
while true do
repeat wait(); until game.IsLoaded;
if codes > 1 then
for _, object in pairs(game:GetDescendants()) do
if object:IsA('RemoteEvent') or object:IsA('BindableFunction') then
object.Name = generateLetters()
for i=1, codes - 1 do object.Name = object.Name .. generateLetters(); end
end
end
else
warn("Please enter a number between 2 and 101 for the variable 'codes'.")
break
end
if timeBeforeRedoingIt >= 0 then
wait(timeBeforeRedoingIt)
else
warn("Please enter a number greater or equal to 0 to the variable named 'timeBeforeRedoingIt'.")
break
end
end
Here is the video of what it’s doing: