local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = Instance.new("ScreenGui") local frame = Instance.new("Frame") local title = Instance.new("TextLabel") local textbox = Instance.new("TextBox") local button = Instance.new("TextButton") -- GUI Properties gui.Parent = player:FindFirstChild("PlayerGui") frame.Parent = gui frame.Size = UDim2.new(0, 300, 0, 200) frame.Position = UDim2.new(0.5, -150, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(0, 170, 255) frame.Active = true frame.Draggable = true -- Title Properties title.Parent = frame title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundColor3 = Color3.fromRGB(0, 140, 220) title.Text = "c4l3bkidd's obfuscator" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.SourceSansBold title.TextSize = 18 -- TextBox Properties textbox.Parent = frame textbox.Size = UDim2.new(1, -20, 0.6, -10) textbox.Position = UDim2.new(0, 10, 0, 40) textbox.BackgroundColor3 = Color3.fromRGB(0, 150, 240) textbox.TextColor3 = Color3.fromRGB(255, 255, 255) textbox.Text = "Enter script here" textbox.ClearTextOnFocus = false textbox.Font = Enum.Font.SourceSans textbox.TextSize = 14 textbox.TextWrapped = true -- Button Properties button.Parent = frame button.Size = UDim2.new(0.5, -5, 0, 30) button.Position = UDim2.new(0.25, 0, 0.8, 0) button.BackgroundColor3 = Color3.fromRGB(0, 120, 200) -- Slightly Dark Cyan button.Text = "Obfuscate" button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Font = Enum.Font.SourceSansBold button.TextSize = 16 -- Obfuscation Function local function obfuscateScript(scriptText) local encoded = {} for i = 1, #scriptText do table.insert(encoded, tostring(string.byte(scriptText, i))) end return "local obfuscated_script = {" .. table.concat(encoded, ",") .. "}\nlocal decoded = ''\nfor i = 1, #obfuscated_script do decoded = decoded .. string.char(obfuscated_script[i]) end\nloadstring(decoded)()" end -- Button Click Function button.MouseButton1Click:Connect(function() textbox.Text = obfuscateScript(textbox.Text) end)