Advertisement
CHIMVN

GUI AUTOFARM RO GAU GAU

Jun 21st, 2018
595
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local text = Instance.new("TextLabel")
  6. local text_2 = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.CoreGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.Active = true
  15. Frame.BackgroundColor3 = Color3.new(0.333333, 1, 0.498039)
  16. Frame.Position = UDim2.new(0.0526315793, 0, 0.268786132, 0)
  17. Frame.Size = UDim2.new(0, 318, 0, 186)
  18. Frame.Selectable = true
  19. Frame.Draggable = true
  20.  
  21. text.Name = "text"
  22. text.Parent = Frame
  23. text.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  24. text.Size = UDim2.new(0, 318, 0, 39)
  25. text.Font = Enum.Font.Garamond
  26. text.Text = "AUTOFARM RO GAU GAU"
  27. text.TextColor3 = Color3.new(0, 0, 0)
  28. text.TextSize = 25
  29. text.TextStrokeColor3 = Color3.new(0.333333, 1, 0)
  30.  
  31. text_2.Name = "text"
  32. text_2.Parent = Frame
  33. text_2.BackgroundColor3 = Color3.new(0.333333, 1, 0)
  34. text_2.Position = UDim2.new(0, 0, 0.792660117, 0)
  35. text_2.Size = UDim2.new(0, 318, 0, 39)
  36. text_2.Font = Enum.Font.Garamond
  37. text_2.Text = "MADE BY CHIM, SCRIPT:GOOGLEDMUSIC"
  38. text_2.TextColor3 = Color3.new(1, 0, 0)
  39. text_2.TextSize = 21
  40. text_2.TextStrokeColor3 = Color3.new(0.333333, 1, 0)
  41.  
  42. TextButton.Parent = Frame
  43. TextButton.BackgroundColor3 = Color3.new(1, 1, 0.498039)
  44. TextButton.Position = UDim2.new(0.185534596, 0, 0.365591407, 0)
  45. TextButton.Size = UDim2.new(0, 200, 0, 50)
  46. TextButton.Font = Enum.Font.Garamond
  47. TextButton.Text = "Start"
  48. TextButton.TextColor3 = Color3.new(0, 0, 0)
  49. TextButton.TextSize = 30
  50. TextButton.MouseButton1Click:connect(function()
  51. local function GetLink (Link)
  52. local Body = "Unable To Get Body."
  53. local DefBody = Body
  54. pcall(function()
  55. Body = HttpGet(Link)
  56. end)
  57. if Body == DefBody then
  58. pcall(function()
  59. Body = game:HttpGet(Link)
  60. end)
  61. if Body == DefBody then
  62. pcall(function()
  63. Body = game:HttpGetAsync(Link)
  64. end)
  65. if Body == DefBody then
  66. pcall(function()
  67. Body = game:GetService("HttpService"):GetAsync(Link)
  68. end)
  69. return Body
  70. else
  71. return Body
  72. end
  73. else
  74. return Body
  75. end
  76. else
  77. return Body
  78. end
  79. end
  80.  
  81. local function SeparateString(Str)
  82. local Arr = {}
  83. local Len = string.len(Str)
  84. for i = 0,Len do
  85. local SubStr = string.sub(Str,i,i)
  86. table.insert(Arr,SubStr)
  87. end
  88. return Arr
  89. end
  90.  
  91. local function CreateCharsArrayFromString(Str)
  92. local Arr = {}
  93. for i, v in pairs(SeparateString(Str)) do
  94. Arr[v] = true
  95. end
  96. return Arr
  97. end
  98.  
  99. local function StringToArray(String,Separator)
  100. local Array = {}
  101. local ExtStr = String
  102. repeat
  103. if ExtStr == "" or ExtStr == " " then
  104.  
  105. else
  106. local Start = string.find(ExtStr,Separator)
  107. if Start ~= nil then
  108. local Arg = string.sub(ExtStr,0,Start-1)
  109. table.insert(Array,Arg)
  110. ExtStr = string.sub(ExtStr,Start+string.len(Separator))
  111. else
  112. table.insert(Array,ExtStr)
  113. ExtStr = ""
  114. end
  115. end
  116. until ExtStr == "" or ExtStr == Separator
  117. if string.lower(Array[1]) == "/e" then
  118. Array[1] = nil
  119. for i, v in pairs(Array) do
  120. if i == 1 then
  121.  
  122. else
  123. Array[i-1] = v
  124. end
  125. end
  126. end
  127. return Array
  128. end
  129.  
  130. local function DeobfusicateScript(Data)
  131. local NewCode = ""
  132. local Str = StringToArray(Data.code,"</")
  133. for i, v in pairs(Str) do
  134. local Letter = nil
  135. for e, l in pairs(Data.Chars) do
  136. if e ~= nil and string.byte(tostring(e)) ~= nil then
  137. if v == tostring(string.byte(tostring(e)))..">" then
  138. Letter = e
  139. end
  140. end
  141. end
  142. if Letter ~= nil then
  143. NewCode = NewCode..Letter
  144. end
  145. end
  146. return NewCode
  147. end
  148.  
  149.  
  150. local Ob = {Chars = CreateCharsArrayFromString(GetLink("https://pastebin.com/raw/9xNHyRSk")),code = GetLink("https://pastebin.com/raw/0mjuf7z4")}
  151. for i, v in pairs(Ob.Chars) do
  152. print(i)
  153. end
  154. local osb = DeobfusicateScript(Ob)
  155. print("start")
  156. loadstring(osb)()
  157. print("the end")
  158. end)
  159.  
  160. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement