--[=[
d888b db db d888888b .d888b. db db db .d8b.
88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b
88 88 88 88 odD' 88 88 88 88ooo88
88 ooo 88 88 88 .88' 88 88 88 88~~~88
88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev
Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER
]=]
-- Instances: 6 | Scripts: 1 | Modules: 0 | Tags: 0
local G2L = {};
-- StarterGui.ScreenGui
G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling;
G2L["1"]["ResetOnSpawn"] = false
-- StarterGui.ScreenGui.Frame
G2L["2"] = Instance.new("Frame", G2L["1"]);
G2L["2"]["BorderSizePixel"] = 0;
G2L["2"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
G2L["2"]["Size"] = UDim2.new(0, 164, 0, 144);
G2L["2"]["Position"] = UDim2.new(0, 0, 0.74032, 0);
G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
-- StarterGui.ScreenGui.Frame.encryptButton
G2L["3"] = Instance.new("TextButton", G2L["2"]);
G2L["3"]["TextWrapped"] = true;
G2L["3"]["BorderSizePixel"] = 0;
G2L["3"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
G2L["3"]["TextSize"] = 14;
G2L["3"]["TextScaled"] = true;
G2L["3"]["BackgroundColor3"] = Color3.fromRGB(171, 255, 0);
G2L["3"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
G2L["3"]["Size"] = UDim2.new(0, 164, 0, 50);
G2L["3"]["Name"] = [[encryptButton]];
G2L["3"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
G2L["3"]["Text"] = [[encrypt]];
G2L["3"]["Position"] = UDim2.new(0, 0, 0.64931, 0);
-- StarterGui.ScreenGui.Frame.encryptButton.encryption
G2L["4"] = Instance.new("LocalScript", G2L["3"]);
G2L["4"]["Name"] = [[encryption]];
-- StarterGui.ScreenGui.Frame.TextBox
G2L["5"] = Instance.new("TextBox", G2L["2"]);
G2L["5"]["BorderSizePixel"] = 0;
G2L["5"]["TextWrapped"] = true;
G2L["5"]["TextSize"] = 14;
G2L["5"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
G2L["5"]["TextScaled"] = true;
G2L["5"]["BackgroundColor3"] = Color3.fromRGB(0, 171, 255);
G2L["5"]["FontFace"] = Font.new([[rbxasset://fonts/families/FredokaOne.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
G2L["5"]["ClearTextOnFocus"] = false;
G2L["5"]["PlaceholderText"] = [[your text here..]];
G2L["5"]["Size"] = UDim2.new(0, 164, 0, 50);
G2L["5"]["Position"] = UDim2.new(0, 0, 0.29861, 0);
G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
G2L["5"]["Text"] = [[]];
-- StarterGui.ScreenGui.Frame.title
G2L["6"] = Instance.new("TextLabel", G2L["2"]);
G2L["6"]["TextWrapped"] = true;
G2L["6"]["BorderSizePixel"] = 0;
G2L["6"]["TextSize"] = 14;
G2L["6"]["TextScaled"] = true;
G2L["6"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
G2L["6"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Bold, Enum.FontStyle.Normal);
G2L["6"]["TextColor3"] = Color3.fromRGB(0, 0, 0);
G2L["6"]["Size"] = UDim2.new(0, 164, 0, 35);
G2L["6"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
G2L["6"]["Text"] = [[encrypt gui]];
G2L["6"]["Name"] = [[title]];
-- StarterGui.ScreenGui.Frame.encryptButton.encryption
local function C_4()
local frm = G2L["2"]
local chars = {}
frm.TextBox:GetPropertyChangedSignal("Text"):Connect(function()
text = frm.TextBox.Text
end)
frm.encryptButton.Activated:Connect(function()
for i=1, string.len(text), 1 do
local byte = string.byte(text, i)
byte = byte + 5
local char = string.char(byte)
table.insert(chars, char)
end
local str = table.concat(chars, "", 1, #chars)
setclipboard(str)
frm.encryptButton.Text = "copied to clipboard"
task.wait(2)
frm.encryptButton.Text = "encrypt"
table.clear(chars)
end)
end
task.spawn(C_4);
-- decryption code --
for i,v in pairs(game:FindService("Players"):GetPlayers()) do
v.Chatted:Connect(function(msg)
local chars = {}
for i=1, string.len(msg), 1 do
if string.sub(msg, i, i) == "\n" or string.sub(msg, i, i) == "\b" then
return
end
local byte = string.byte(msg, i)
byte = byte - 5
local char = string.char(byte)
table.insert(chars, char)
end
local str = table.concat(chars, "", 1, #chars)
table.clear(chars)
print("[DECRYPTOR] "..v.Name..": "..str)
end)
end
-- decryption code end --
return G2L["1"], require;
Comments
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎
0 B
|👍
/👎