Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local Obfuscator = Instance.new("ScreenGui")
- local Background = Instance.new("ImageLabel")
- local Drop_Shadow = Instance.new("ImageLabel")
- local Input = Instance.new("TextBox")
- local Output = Instance.new("TextBox")
- local obfuscatebutton = Instance.new("TextButton")
- local copybutton = Instance.new("TextButton")
- -- Properties
- Obfuscator.Name = "Obfuscator"
- Obfuscator.Parent = game.CoreGui
- Background.Name = "Background"
- Background.Parent = Obfuscator
- Background.BackgroundColor3 = Color3.new(1, 1, 1)
- Background.BackgroundTransparency = 1
- Background.Position = UDim2.new(0.0488565639, 0, 0.0936454833, 0)
- Background.Size = UDim2.new(0.350656658, 0, 0.5, 0)
- Background.ZIndex = 2
- Background.Image = "rbxassetid://760929926"
- Background.ScaleType = Enum.ScaleType.Slice
- Background.SliceCenter = Rect.new(5, 5, 5, 5)
- Drop_Shadow.Name = "Drop_Shadow"
- Drop_Shadow.Parent = Background
- Drop_Shadow.BackgroundColor3 = Color3.new(1, 1, 1)
- Drop_Shadow.BackgroundTransparency = 1
- Drop_Shadow.Position = UDim2.new(0, -35, 0, -35)
- Drop_Shadow.Size = UDim2.new(1, 70, 1, 70)
- Drop_Shadow.Image = "rbxassetid://1113384364"
- Drop_Shadow.ImageTransparency = 0.5
- Drop_Shadow.ScaleType = Enum.ScaleType.Slice
- Drop_Shadow.SliceCenter = Rect.new(50, 50, 50, 50)
- Input.Name = "Input"
- Input.Parent = Background
- Input.BackgroundColor3 = Color3.new(1, 1, 1)
- Input.BorderColor3 = Color3.new(0, 0, 0)
- Input.BorderSizePixel = 2
- Input.Position = UDim2.new(0.0267522726, 0, 0.018134715, 0)
- Input.Size = UDim2.new(0, 200, 0, 368)
- Input.ZIndex = 5
- Input.Font = Enum.Font.SourceSans
- Input.Text = "Put script here you would like to obfuscate."
- Input.TextColor3 = Color3.new(0, 0, 0)
- Input.TextSize = 14
- Input.TextWrapped = true
- Input.TextXAlignment = Enum.TextXAlignment.Left
- Input.TextYAlignment = Enum.TextYAlignment.Top
- Output.Name = "Output"
- Output.Parent = Background
- Output.BackgroundColor3 = Color3.new(1, 1, 1)
- Output.BorderColor3 = Color3.new(0, 0, 0)
- Output.BorderSizePixel = 2
- Output.Position = UDim2.new(0.609951854, 0, 0.023316063, 0)
- Output.Size = UDim2.new(0, 200, 0, 368)
- Output.ZIndex = 5
- Output.Font = Enum.Font.SourceSans
- Output.Text = ""
- Output.TextColor3 = Color3.new(0, 0, 0)
- Output.TextSize = 14
- Output.TextWrapped = true
- Output.TextXAlignment = Enum.TextXAlignment.Left
- Output.TextYAlignment = Enum.TextYAlignment.Top
- obfuscatebutton.Name = "obfuscatebutton"
- obfuscatebutton.Parent = Background
- obfuscatebutton.BackgroundColor3 = Color3.new(1, 1, 1)
- obfuscatebutton.BackgroundTransparency = 1
- obfuscatebutton.BorderSizePixel = 0
- obfuscatebutton.Position = UDim2.new(0.383449256, 0, 0.341968924, 0)
- obfuscatebutton.Size = UDim2.new(0, 127, 0, 50)
- obfuscatebutton.ZIndex = 6
- obfuscatebutton.Font = Enum.Font.SourceSansLight
- obfuscatebutton.Text = "Obfuscate"
- obfuscatebutton.TextColor3 = Color3.new(0, 0, 0)
- obfuscatebutton.TextScaled = true
- obfuscatebutton.TextSize = 14
- obfuscatebutton.TextWrapped = true
- copybutton.Name = "copybutton"
- copybutton.Parent = Background
- copybutton.BackgroundColor3 = Color3.new(1, 1, 1)
- copybutton.BackgroundTransparency = 1
- copybutton.BorderSizePixel = 0
- copybutton.Position = UDim2.new(0.383449256, 0, 0.489637315, 0)
- copybutton.Size = UDim2.new(0, 127, 0, 50)
- copybutton.ZIndex = 6
- copybutton.Font = Enum.Font.SourceSansLight
- copybutton.Text = "Copy"
- copybutton.TextColor3 = Color3.new(0, 0, 0)
- copybutton.TextScaled = true
- copybutton.TextSize = 14
- copybutton.TextWrapped = true
- local UserInputService,gui,dragging,dragInput,dragStart,startPos = game:GetService("UserInputService"),Background
- local function update(input)
- local delta = input.Position - dragStart
- wait(0.1)
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- obfuscatebutton.MouseButton1Click:Connect(function()
- local Script = Input.Text
- Script = Script
- -------------------------
- function Obfuscate(scr)
- local BooleanObf = "function IllIlllIllIlllIlllIlllIll(IllIlllIllIllIll) if (IllIlllIllIllIll==(((((919 + 636)-636)*3147)/3147)+919)) then return not true end if (IllIlllIllIllIll==(((((968 + 670)-670)*3315)/3315)+968)) then return not false end end; "
- local bat = BooleanObf
- ---------------------
- local Ret = ""
- local VarNames = {"IllIllIllIllI", "IIlllIIlllIIlllIIlllII", "IIllllIIllll"}
- local Beg = [[local IlIlIlIlIlIlIlIlII = {]]
- ----------------------
- local LoadstringVariable = [[local IllIIllIIllIII = loadstring]]
- local ConcatVariable = [[local IllIIIllIIIIllI = table.concat]]
- local EmptyString = [[local IIIIIIIIllllllllIIIIIIII = "''"]]
- local ConfuseVarO = "local "..VarNames[math.random(1, #VarNames)].." = (7*3-9/9+3*2/0+3*3);"
- local ConfuseVarT = "local "..VarNames[math.random(1, #VarNames)].." = (3*4-7/7+6*4/3+9*9);"
- ----------------------
- for i=1, string.len(scr) do
- Ret = Ret.."'\\"..string.byte(scr, i).."',"
- end
- ---------------------
- local UselessFunctionStart = "function IllIIIIllIIIIIl("..VarNames[math.random(1, #VarNames)]..")"
- local UselessFunctionContent = "function "..VarNames[math.random(1, #VarNames)].."("..VarNames[math.random(1, #VarNames)]..")"
- local UselessFunctionContentT = "local "..VarNames[math.random(1, #VarNames)].." = (5*3-2/8+9*2/9+8*3)"
- local UselessFunctionEnd = "end"
- local UselessFunctionCall = "IllIIIIllIIIIIl(900283)"
- local UselessFunctionStartT = "function IllIlllIllIlllIlllIlllIllIlllIIIlll("..VarNames[math.random(1, #VarNames)]..")"
- local UselessFunctionContentT = "function "..VarNames[math.random(1, #VarNames)].."("..VarNames[math.random(1, #VarNames)]..")"
- local UselessFunctionContentTT = "local "..VarNames[math.random(1, #VarNames)].." = (9*0-7/5+3*1/3+8*2)"
- local UselessFunctionEndT = "end"
- local UselessFunctionCallT = "IllIlllIllIlllIlllIlllIllIlllIIIlll(9083)"
- ----------------------
- local FinalRet = bat..ConfuseVarO..ConfuseVarT..ConcatVariable..";"..UselessFunctionStart.." "..UselessFunctionContent.." "..UselessFunctionContentT.." "..UselessFunctionEnd.." "..UselessFunctionEnd.." "..UselessFunctionEnd..";"..UselessFunctionCall..";"..UselessFunctionStartT.." "..UselessFunctionContentT.." "..UselessFunctionContentTT.." "..UselessFunctionEndT.." "..UselessFunctionEndT..";"..UselessFunctionCallT..";"..LoadstringVariable..";"..Beg..Ret.."}".."IllIIllIIllIII(IllIIIllIIIIllI(IlIlIlIlIlIlIlIlII,IIIIIIIIllllllllIIIIIIII))()"
- ----------------------
- Output.Text = FinalRet
- end
- do Obfuscate(Script) end
- end)
- copybutton.MouseButton1Click:Connect(function()
- syn.write_clipboard(Output.Text)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement