Advertisement
LEGEND9

Untitled

Apr 1st, 2020
552
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.77 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local Player = game:GetService("Players").LocalPlayer
  7. local Mouse = Player:GetMouse()
  8. local Rep = game:GetService("ReplicatedStorage")
  9.  
  10. local ScreenGui = Instance.new("ScreenGui")
  11. local Misc = Instance.new("Frame")
  12. local Combat = Instance.new("TextLabel")
  13. local AutoEat = Instance.new("TextButton")
  14. local Keybind = Instance.new("TextBox")
  15. local Food3 = Instance.new("TextBox")
  16. local Food2 = Instance.new("TextBox")
  17. local Food1 = Instance.new("TextBox")
  18. local AutoEat2 = Instance.new("TextButton")
  19. local Food4 = Instance.new("TextBox")
  20. local Food5 = Instance.new("TextBox")
  21. local Food6 = Instance.new("TextBox")
  22. local Keybind2 = Instance.new("TextBox")
  23. local AutoChestTrap = Instance.new("TextButton")
  24. local AutoChestTrapKb = Instance.new("TextBox")
  25. local CheckPlayer = Instance.new("Frame")
  26. local Legends = Instance.new("TextLabel")
  27. local TextLabel = Instance.new("TextLabel")
  28. local Status = Instance.new("TextLabel")
  29.  
  30. --Properties:
  31.  
  32. ScreenGui.Parent = game.CoreGui
  33. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  34.  
  35. Misc.Active = true
  36. Misc.Draggable = true
  37.  
  38. Misc.Name = "Misc"
  39. Misc.Parent = ScreenGui
  40. Misc.BackgroundColor3 = Color3.new(1, 1, 1)
  41. Misc.BackgroundTransparency = 0.31999999284744
  42. Misc.Position = UDim2.new(0.657258093, 0, 0.107569724, 0)
  43. Misc.Size = UDim2.new(0, 272, 0, 379)
  44. Misc.Visible = false
  45.  
  46. Combat.Name = "Combat"
  47. Combat.Parent = Misc
  48. Combat.BackgroundColor3 = Color3.new(1, 1, 1)
  49. Combat.BackgroundTransparency = 0.40000000596046
  50. Combat.Size = UDim2.new(0, 272, 0, 37)
  51. Combat.Font = Enum.Font.SourceSans
  52. Combat.Text = "Combat"
  53. Combat.TextColor3 = Color3.new(0, 0, 0)
  54. Combat.TextScaled = true
  55. Combat.TextSize = 14
  56. Combat.TextWrapped = true
  57. Combat.TextXAlignment = Enum.TextXAlignment.Left
  58.  
  59. AutoEat.Name = "AutoEat"
  60. AutoEat.Parent = Misc
  61. AutoEat.BackgroundColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  62. AutoEat.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  63. AutoEat.Position = UDim2.new(0.0257352944, 0, 0.129287601, 0)
  64. AutoEat.Size = UDim2.new(0, 107, 0, 41)
  65. AutoEat.Font = Enum.Font.GothamBlack
  66. AutoEat.Text = "Auto Eat"
  67. AutoEat.TextColor3 = Color3.new(1, 1, 1)
  68. AutoEat.TextScaled = true
  69. AutoEat.TextSize = 14
  70. AutoEat.TextWrapped = true
  71. AutoEat.MouseButton1Click:connect(function()
  72. if game.PlaceId == 1262182609 or game.PlaceId == 4787629450 then
  73. local lol = 1
  74. local plr = game:GetService("Players").LocalPlayer
  75. local mouse = plr:GetMouse()
  76. mouse.KeyDown:connect(function(key)
  77. if key == Keybind.Text then
  78. lol = 0
  79. while lol == 0 do
  80. wait()
  81. local Event = game:GetService("ReplicatedStorage").Events.UseBagItem
  82. Event:FireServer(Food1.Text)
  83. Event:FireServer(Food1.Text)
  84. Event:FireServer(Food1.Text)
  85. Event:FireServer(Food2.Text)
  86. Event:FireServer(Food2.Text)
  87. Event:FireServer(Food2.Text)
  88. Event:FireServer(Food3.Text)
  89. Event:FireServer(Food3.Text)
  90. Event:FireServer(Food3.Text)
  91. end end end)
  92. local plr = game:GetService("Players").LocalPlayer
  93. local mouse = plr:GetMouse()
  94. mouse.KeyUp:connect(function(key)
  95. if key == Keybind.Text then
  96. lol = 1
  97. end end) end
  98. end)
  99.  
  100. Keybind.Name = "Keybind"
  101. Keybind.Parent = Misc
  102. Keybind.BackgroundColor3 = Color3.new(1, 1, 1)
  103. Keybind.Position = UDim2.new(0.0257352944, 0, 0.656992078, 0)
  104. Keybind.Size = UDim2.new(0, 107, 0, 41)
  105. Keybind.Font = Enum.Font.GothamBlack
  106. Keybind.PlaceholderText = "Keybind"
  107. Keybind.Text = ""
  108. Keybind.TextColor3 = Color3.new(0, 0, 0)
  109. Keybind.TextScaled = true
  110. Keybind.TextSize = 14
  111. Keybind.TextWrapped = true
  112.  
  113. Food3.Name = "Food3"
  114. Food3.Parent = Misc
  115. Food3.BackgroundColor3 = Color3.new(1, 1, 1)
  116. Food3.Position = UDim2.new(0.0257352944, 0, 0.519788921, 0)
  117. Food3.Size = UDim2.new(0, 107, 0, 41)
  118. Food3.Font = Enum.Font.GothamBlack
  119. Food3.PlaceholderText = "Food3"
  120. Food3.Text = ""
  121. Food3.TextColor3 = Color3.new(0, 0, 0)
  122. Food3.TextScaled = true
  123. Food3.TextSize = 14
  124. Food3.TextWrapped = true
  125.  
  126. Food2.Name = "Food2"
  127. Food2.Parent = Misc
  128. Food2.BackgroundColor3 = Color3.new(1, 1, 1)
  129. Food2.Position = UDim2.new(0.0257352944, 0, 0.382585764, 0)
  130. Food2.Size = UDim2.new(0, 107, 0, 41)
  131. Food2.Font = Enum.Font.GothamBlack
  132. Food2.PlaceholderText = "Food2"
  133. Food2.Text = ""
  134. Food2.TextColor3 = Color3.new(0, 0, 0)
  135. Food2.TextScaled = true
  136. Food2.TextSize = 14
  137. Food2.TextWrapped = true
  138.  
  139. Food1.Name = "Food1"
  140. Food1.Parent = Misc
  141. Food1.BackgroundColor3 = Color3.new(1, 1, 1)
  142. Food1.Position = UDim2.new(0.0257352944, 0, 0.255936682, 0)
  143. Food1.Size = UDim2.new(0, 107, 0, 41)
  144. Food1.Font = Enum.Font.GothamBlack
  145. Food1.PlaceholderText = "Food1"
  146. Food1.Text = ""
  147. Food1.TextColor3 = Color3.new(0, 0, 0)
  148. Food1.TextScaled = true
  149. Food1.TextSize = 14
  150. Food1.TextWrapped = true
  151.  
  152. AutoEat2.Name = "AutoEat2"
  153. AutoEat2.Parent = Misc
  154. AutoEat2.BackgroundColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  155. AutoEat2.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  156. AutoEat2.Position = UDim2.new(0.503676474, 0, 0.129287601, 0)
  157. AutoEat2.Size = UDim2.new(0, 107, 0, 41)
  158. AutoEat2.Font = Enum.Font.GothamBlack
  159. AutoEat2.Text = "Auto Eat"
  160. AutoEat2.TextColor3 = Color3.new(1, 1, 1)
  161. AutoEat2.TextScaled = true
  162. AutoEat2.TextSize = 14
  163. AutoEat2.TextWrapped = true
  164. AutoEat.MouseButton1Click:connect(function()
  165. if game.PlaceId == 1262182609 or game.PlaceId == 4787629450 then
  166. local lol = 1
  167. local plr = game:GetService("Players").LocalPlayer
  168. local mouse = plr:GetMouse()
  169. mouse.KeyDown:connect(function(key)
  170. if key == Keybind2.Text then
  171. lol = 0
  172. while lol == 0 do
  173. wait()
  174. local Event = game:GetService("ReplicatedStorage").Events.UseBagItem
  175. Event:FireServer(Food4.Text)
  176. Event:FireServer(Food4.Text)
  177. Event:FireServer(Food4.Text)
  178. Event:FireServer(Food5.Text)
  179. Event:FireServer(Food5.Text)
  180. Event:FireServer(Food5.Text)
  181. Event:FireServer(Food6.Text)
  182. Event:FireServer(Food6.Text)
  183. Event:FireServer(Food6.Text)
  184. end end end)
  185. local plr = game:GetService("Players").LocalPlayer
  186. local mouse = plr:GetMouse()
  187. mouse.KeyUp:connect(function(key)
  188. if key == Keybind2.Text then
  189. lol = 1
  190. end end) end
  191. end)
  192.  
  193. Food4.Name = "Food4"
  194. Food4.Parent = Misc
  195. Food4.BackgroundColor3 = Color3.new(1, 1, 1)
  196. Food4.Position = UDim2.new(0.503676474, 0, 0.255936682, 0)
  197. Food4.Size = UDim2.new(0, 107, 0, 41)
  198. Food4.Font = Enum.Font.GothamBlack
  199. Food4.PlaceholderText = "Food1"
  200. Food4.Text = ""
  201. Food4.TextColor3 = Color3.new(0, 0, 0)
  202. Food4.TextScaled = true
  203. Food4.TextSize = 14
  204. Food4.TextWrapped = true
  205.  
  206. Food5.Name = "Food5"
  207. Food5.Parent = Misc
  208. Food5.BackgroundColor3 = Color3.new(1, 1, 1)
  209. Food5.Position = UDim2.new(0.503676474, 0, 0.382585764, 0)
  210. Food5.Size = UDim2.new(0, 107, 0, 41)
  211. Food5.Font = Enum.Font.GothamBlack
  212. Food5.PlaceholderText = "Food2"
  213. Food5.Text = ""
  214. Food5.TextColor3 = Color3.new(0, 0, 0)
  215. Food5.TextScaled = true
  216. Food5.TextSize = 14
  217. Food5.TextWrapped = true
  218.  
  219. Food6.Name = "Food6"
  220. Food6.Parent = Misc
  221. Food6.BackgroundColor3 = Color3.new(1, 1, 1)
  222. Food6.Position = UDim2.new(0.503676474, 0, 0.519788921, 0)
  223. Food6.Size = UDim2.new(0, 107, 0, 41)
  224. Food6.Font = Enum.Font.GothamBlack
  225. Food6.PlaceholderText = "Food3"
  226. Food6.Text = ""
  227. Food6.TextColor3 = Color3.new(0, 0, 0)
  228. Food6.TextScaled = true
  229. Food6.TextSize = 14
  230. Food6.TextWrapped = true
  231.  
  232. Keybind2.Name = "Keybind2"
  233. Keybind2.Parent = Misc
  234. Keybind2.BackgroundColor3 = Color3.new(1, 1, 1)
  235. Keybind2.Position = UDim2.new(0.503676474, 0, 0.656992078, 0)
  236. Keybind2.Size = UDim2.new(0, 107, 0, 41)
  237. Keybind2.Font = Enum.Font.GothamBlack
  238. Keybind2.PlaceholderText = "Keybind"
  239. Keybind2.Text = ""
  240. Keybind2.TextColor3 = Color3.new(0, 0, 0)
  241. Keybind2.TextScaled = true
  242. Keybind2.TextSize = 14
  243. Keybind2.TextWrapped = true
  244.  
  245. AutoChestTrap.Name = "AutoChestTrap"
  246. AutoChestTrap.Parent = Misc
  247. AutoChestTrap.BackgroundColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  248. AutoChestTrap.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  249. AutoChestTrap.Position = UDim2.new(0.0257352944, 0, 0.807387829, 0)
  250. AutoChestTrap.Size = UDim2.new(0, 107, 0, 41)
  251. AutoChestTrap.Font = Enum.Font.GothamBlack
  252. AutoChestTrap.Text = "AutoChestTrap"
  253. AutoChestTrap.TextColor3 = Color3.new(1, 1, 1)
  254. AutoChestTrap.TextScaled = true
  255. AutoChestTrap.TextSize = 14
  256. AutoChestTrap.TextWrapped = true
  257. AutoChestTrap.MouseButton1Click:connect(function()
  258. Mouse.KeyDown:Connect(function(key)
  259. if key == AutoChestTrapKb.Text then
  260.  
  261. local Event = game:GetService("ReplicatedStorage").Events.PlaceStructure
  262. local h = game.Players.LocalPlayer.Character.LowerTorso.Position
  263. local aa = h.x
  264. local bb = h.y - 10
  265. local cc = h.z
  266.  
  267. -- Start
  268. local k_1 = "Chest"
  269. local k_2 = CFrame.new(aa, bb, cc, -0.99862951, 9.53660761e-12, 0.0523360483, -9.54969524e-12, 1, 2.71050543e-20, -0.0523360483, 4.99793241e-13, -0.99862951)
  270. local k_3 = 177
  271. local Event = game:GetService("ReplicatedStorage").Events.PlaceStructure
  272. Event:FireServer(k_1, k_2, k_3)
  273.  
  274. end
  275. end)
  276. end)
  277.  
  278. AutoChestTrapKb.Name = "AutoChestTrapKb"
  279. AutoChestTrapKb.Parent = Misc
  280. AutoChestTrapKb.BackgroundColor3 = Color3.new(1, 1, 1)
  281. AutoChestTrapKb.Position = UDim2.new(0.503676474, 0, 0.807387829, 0)
  282. AutoChestTrapKb.Size = UDim2.new(0, 107, 0, 41)
  283. AutoChestTrapKb.Font = Enum.Font.GothamBlack
  284. AutoChestTrapKb.PlaceholderText = "Keybind"
  285. AutoChestTrapKb.Text = ""
  286. AutoChestTrapKb.TextColor3 = Color3.new(0, 0, 0)
  287. AutoChestTrapKb.TextScaled = true
  288. AutoChestTrapKb.TextSize = 14
  289. AutoChestTrapKb.TextWrapped = true
  290.  
  291. CheckPlayer.Name = "CheckPlayer"
  292. CheckPlayer.Parent = ScreenGui
  293. CheckPlayer.BackgroundColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  294. CheckPlayer.Position = UDim2.new(0.366935492, 0, 0.161354586, 0)
  295. CheckPlayer.Size = UDim2.new(0, 553, 0, 360)
  296.  
  297. Legends.Name = "Legend's"
  298. Legends.Parent = CheckPlayer
  299. Legends.BackgroundColor3 = Color3.new(1, 1, 1)
  300. Legends.BackgroundTransparency = 1
  301. Legends.BorderSizePixel = 0
  302. Legends.Position = UDim2.new(0.0596745014, 0, 0.0166666675, 0)
  303. Legends.Size = UDim2.new(0, 488, 0, 50)
  304. Legends.Font = Enum.Font.GothamBlack
  305. Legends.Text = "Legend's Whitelister"
  306. Legends.TextColor3 = Color3.new(1, 1, 1)
  307. Legends.TextScaled = true
  308. Legends.TextSize = 14
  309. Legends.TextWrapped = true
  310.  
  311. TextLabel.Parent = CheckPlayer
  312. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  313. TextLabel.BackgroundTransparency = 1
  314. TextLabel.Position = UDim2.new(0.0759493709, 0, 0.194444448, 0)
  315. TextLabel.Size = UDim2.new(0, 479, 0, 199)
  316. TextLabel.Font = Enum.Font.GothamBlack
  317. TextLabel.Text = "We're Currently Checking If Your Are White Listed Please Be Patient..."
  318. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  319. TextLabel.TextScaled = true
  320. TextLabel.TextSize = 14
  321. TextLabel.TextWrapped = true
  322.  
  323. Status.Name = "Status"
  324. Status.Parent = CheckPlayer
  325. Status.BackgroundColor3 = Color3.new(1, 1, 1)
  326. Status.BackgroundTransparency = 1
  327. Status.Position = UDim2.new(0.0747353137, 0, 0.814409018, 0)
  328. Status.Size = UDim2.new(0, 479, 0, 50)
  329. Status.Font = Enum.Font.GothamBlack
  330. Status.Text = "Status:"
  331. Status.TextColor3 = Color3.new(1, 1, 1)
  332. Status.TextScaled = true
  333. Status.TextSize = 14
  334. Status.TextWrapped = true
  335. Status.TextXAlignment = Enum.TextXAlignment.Left
  336.  
  337. --Scripts
  338.  
  339. local Player = game:GetService("Players").LocalPlayer
  340. local Mouse = Player:GetMouse()
  341.  
  342. local key = "k"
  343.  
  344. Mouse.KeyDown:Connect(function(KeyPressed)
  345. if KeyPressed == key then
  346. if Misc.Visible == false then
  347. Misc.Visible = true
  348. else
  349. Misc.Visible = false
  350. end
  351.  
  352. end
  353. end)
  354.  
  355. if game.Players.LocalPlayer.Name == "LEGEND9034" then
  356. wait(5)
  357. Status.Text = "Status: Logging in..."
  358. wait(1)
  359. Misc.Visible = true
  360. CheckPlayer.Visible = false
  361. elseif game.Players.LocalPlayer.name == "YourFriend" then
  362. wait(5)
  363. Status.Text = "Status: Logging in..."
  364. wait(1)
  365. Misc.Visible = true
  366. CheckPlayer.Visible = false
  367. elseif game.Players.LocalPlayer.Name == "Blacklisted friend" then
  368. game.Players.LocalPlayer:kick("You are blacklisted from this gui!")
  369. else
  370. game.Players.LocalPlayer:kick("You are not whitelisted.")
  371. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement