Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local text = Instance.new("TextLabel")
- local text_2 = Instance.new("TextLabel")
- local TextButton = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.CoreGui
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.333333, 1, 0.498039)
- Frame.Position = UDim2.new(0.0526315793, 0, 0.268786132, 0)
- Frame.Size = UDim2.new(0, 318, 0, 186)
- Frame.Selectable = true
- Frame.Draggable = true
- text.Name = "text"
- text.Parent = Frame
- text.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- text.Size = UDim2.new(0, 318, 0, 39)
- text.Font = Enum.Font.Garamond
- text.Text = "AUTOFARM RO GAU GAU"
- text.TextColor3 = Color3.new(0, 0, 0)
- text.TextSize = 25
- text.TextStrokeColor3 = Color3.new(0.333333, 1, 0)
- text_2.Name = "text"
- text_2.Parent = Frame
- text_2.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- text_2.Position = UDim2.new(0, 0, 0.792660117, 0)
- text_2.Size = UDim2.new(0, 318, 0, 39)
- text_2.Font = Enum.Font.Garamond
- text_2.Text = "MADE BY CHIM, SCRIPT:GOOGLEDMUSIC"
- text_2.TextColor3 = Color3.new(1, 0, 0)
- text_2.TextSize = 21
- text_2.TextStrokeColor3 = Color3.new(0.333333, 1, 0)
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 0.498039)
- TextButton.Position = UDim2.new(0.185534596, 0, 0.365591407, 0)
- TextButton.Size = UDim2.new(0, 200, 0, 50)
- TextButton.Font = Enum.Font.Garamond
- TextButton.Text = "Start"
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 30
- TextButton.MouseButton1Click:connect(function()
- local function GetLink (Link)
- local Body = "Unable To Get Body."
- local DefBody = Body
- pcall(function()
- Body = HttpGet(Link)
- end)
- if Body == DefBody then
- pcall(function()
- Body = game:HttpGet(Link)
- end)
- if Body == DefBody then
- pcall(function()
- Body = game:HttpGetAsync(Link)
- end)
- if Body == DefBody then
- pcall(function()
- Body = game:GetService("HttpService"):GetAsync(Link)
- end)
- return Body
- else
- return Body
- end
- else
- return Body
- end
- else
- return Body
- end
- end
- local function SeparateString(Str)
- local Arr = {}
- local Len = string.len(Str)
- for i = 0,Len do
- local SubStr = string.sub(Str,i,i)
- table.insert(Arr,SubStr)
- end
- return Arr
- end
- local function CreateCharsArrayFromString(Str)
- local Arr = {}
- for i, v in pairs(SeparateString(Str)) do
- Arr[v] = true
- end
- return Arr
- end
- local function StringToArray(String,Separator)
- local Array = {}
- local ExtStr = String
- repeat
- if ExtStr == "" or ExtStr == " " then
- else
- local Start = string.find(ExtStr,Separator)
- if Start ~= nil then
- local Arg = string.sub(ExtStr,0,Start-1)
- table.insert(Array,Arg)
- ExtStr = string.sub(ExtStr,Start+string.len(Separator))
- else
- table.insert(Array,ExtStr)
- ExtStr = ""
- end
- end
- until ExtStr == "" or ExtStr == Separator
- if string.lower(Array[1]) == "/e" then
- Array[1] = nil
- for i, v in pairs(Array) do
- if i == 1 then
- else
- Array[i-1] = v
- end
- end
- end
- return Array
- end
- local function DeobfusicateScript(Data)
- local NewCode = ""
- local Str = StringToArray(Data.code,"</")
- for i, v in pairs(Str) do
- local Letter = nil
- for e, l in pairs(Data.Chars) do
- if e ~= nil and string.byte(tostring(e)) ~= nil then
- if v == tostring(string.byte(tostring(e)))..">" then
- Letter = e
- end
- end
- end
- if Letter ~= nil then
- NewCode = NewCode..Letter
- end
- end
- return NewCode
- end
- local Ob = {Chars = CreateCharsArrayFromString(GetLink("https://pastebin.com/raw/9xNHyRSk")),code = GetLink("https://pastebin.com/raw/0mjuf7z4")}
- for i, v in pairs(Ob.Chars) do
- print(i)
- end
- local osb = DeobfusicateScript(Ob)
- print("start")
- loadstring(osb)()
- print("the end")
- end)
- -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement