Advertisement
PerfectShowsYT

some shitty gui on a lego game!!

Jan 13th, 2019
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.17 KB | None | 0 0
  1. -- by Dissapear#6969 or GerryNyx
  2. -- DarkDevs GUI
  3. -- All Credits to people made that script
  4. -- Showcased by PerfectShows subscribe to my channel for more or else...
  5. plr = game:GetService('Players').LocalPlayer
  6. Kntl = game.Players.LocalPlayer.Character.HumanoidRootPart
  7. Awal = Kntl.CFrame
  8. local DarkDevs = Instance.new("ScreenGui")
  9. local Main = Instance.new("Frame")
  10. local Header = Instance.new("Frame")
  11. local SHeader = Instance.new("Frame")
  12. local title = Instance.new("TextLabel")
  13. local credits = Instance.new("TextLabel")
  14. local CloseButton = Instance.new("TextButton")
  15. local Frame = Instance.new("Frame")
  16. local LocalPlayerButton = Instance.new("TextButton")
  17. local autoFarm = Instance.new("TextButton")
  18. local autoBuyEGG = Instance.new("TextButton")
  19. local autoSell = Instance.new("TextButton")
  20. local autoRebirth = Instance.new("TextButton")
  21. local LocalFrame = Instance.new("Frame")
  22. local HeaderLocal = Instance.new("Frame")
  23. local SHeader_2 = Instance.new("Frame")
  24. local CloseButton_2 = Instance.new("TextButton")
  25. local Frame_2 = Instance.new("Frame")
  26. local walkfaster = Instance.new("TextButton")
  27. local highjump = Instance.new("TextButton")
  28. local infjumper = Instance.new("TextButton")
  29. local tpToMagnet = Instance.new("TextButton")
  30. local FastFarm = Instance.new("TextButton")
  31.  
  32. -- Properties
  33.  
  34. DarkDevs.Name = "DarkDevs"
  35. DarkDevs.Parent = game.CoreGui
  36.  
  37. Main.Name = "Main"
  38. Main.Parent = DarkDevs
  39. Main.Active = true
  40. Main.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  41. Main.BorderSizePixel = 0
  42. Main.Position = UDim2.new(0.367, 0, 0.261, 0)
  43. Main.Size = UDim2.new(0, 260, 0, 240)
  44. Main.SizeConstraint = Enum.SizeConstraint.RelativeXX
  45. Main.Draggable = true
  46.  
  47. Header.Name = "Header"
  48. Header.Parent = Main
  49. Header.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  50. Header.BorderSizePixel = 0
  51. Header.Size = UDim2.new(0, 260, 0, 31)
  52.  
  53. SHeader.Name = "SHeader"
  54. SHeader.Parent = Header
  55. SHeader.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  56. SHeader.BorderSizePixel = 0
  57. SHeader.Position = UDim2.new(0, 0, 0.781586051, 0)
  58. SHeader.Size = UDim2.new(0, 260, 0, 6)
  59.  
  60. title.Name = "title"
  61. title.Parent = Header
  62. title.BackgroundColor3 = Color3.new(1, 1, 1)
  63. title.BackgroundTransparency = 1
  64. title.Size = UDim2.new(0, 131, 0, 30)
  65. title.Font = Enum.Font.GothamBlack
  66. title.Text = "DARK DEVS </>"
  67. title.TextColor3 = Color3.new(1, 1, 1)
  68. title.TextSize = 14
  69. title.TextStrokeTransparency = 0.80000001192093
  70.  
  71. credits.Name = "credits"
  72. credits.Parent = Header
  73. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  74. credits.BackgroundTransparency = 1
  75. credits.Position = UDim2.new(0.0423076935, 0, 6.12903214, 0)
  76. credits.Size = UDim2.new(0, 249, 0, 50)
  77. credits.Font = Enum.Font.SourceSans
  78. credits.Text = "Note: if you use Buy EGG button, u cant use AutoFARM, All credits to people made that script, i dont know he's name but i'l give credits, if you need help with this gui, join our discord server, link on v3rmillion thread"
  79. credits.TextColor3 = Color3.new(1, 1, 1)
  80. credits.TextSize = 14
  81. credits.TextWrapped = true
  82. credits.TextXAlignment = Enum.TextXAlignment.Left
  83. credits.TextYAlignment = Enum.TextYAlignment.Top
  84.  
  85. CloseButton.Name = "CloseButton"
  86. CloseButton.Parent = Header
  87. CloseButton.BackgroundColor3 = Color3.new(0.819608, 0, 0)
  88. CloseButton.Position = UDim2.new(0.880769253, 0, 0, 0)
  89. CloseButton.Size = UDim2.new(0, 31, 0, 31)
  90. CloseButton.Font = Enum.Font.GothamBold
  91. CloseButton.Text = "X"
  92. CloseButton.TextColor3 = Color3.new(1, 1, 1)
  93. CloseButton.TextSize = 14
  94.  
  95. CloseButton.MouseButton1Down:connect(function()
  96. DarkDevs:Destroy()
  97. end)
  98.  
  99.  
  100.  
  101. Frame.Parent = CloseButton
  102. Frame.BackgroundColor3 = Color3.new(0.509804, 0, 0)
  103. Frame.BorderSizePixel = 0
  104. Frame.Position = UDim2.new(0, 0, 0.78158617, 0)
  105. Frame.Size = UDim2.new(0, 31, 0, 7)
  106.  
  107. LocalPlayerButton.Name = "LocalPlayerButton"
  108. LocalPlayerButton.Parent = Header
  109. LocalPlayerButton.BackgroundColor3 = Color3.new(0.819608, 0, 0)
  110. LocalPlayerButton.BackgroundTransparency = 1
  111. LocalPlayerButton.Position = UDim2.new(0.738461554, 0, 0, 0)
  112. LocalPlayerButton.Size = UDim2.new(0, 31, 0, 31)
  113. LocalPlayerButton.Font = Enum.Font.GothamBold
  114. LocalPlayerButton.Text = "[+]"
  115. LocalPlayerButton.TextColor3 = Color3.new(1, 1, 1)
  116. LocalPlayerButton.TextSize = 14
  117. LocalPlayerButton.MouseButton1Down:connect(function()
  118. LocalFrame.Visible = true
  119. end)
  120.  
  121. autoFarm.Name = "autoFarm"
  122. autoFarm.Parent = Main
  123. autoFarm.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  124. autoFarm.BorderSizePixel = 0
  125. autoFarm.Position = UDim2.new(0.0423076935, 0, 0.158333331, 0)
  126. autoFarm.Size = UDim2.new(0, 120, 0, 35)
  127. autoFarm.Font = Enum.Font.GothamBold
  128. autoFarm.Text = "AutoFarm: OFF"
  129. autoFarm.TextColor3 = Color3.new(1, 1, 1)
  130. autoFarm.TextSize = 14
  131. Farm = 0
  132. Active = 0
  133. autoFarm.MouseButton1Down:connect(function()
  134. if Farm == 1 then
  135. Farm = 0
  136. autoFarm.Text = "AutoFarm: OFF"
  137. Active = false
  138. else
  139. Farm = 1
  140. Active = true
  141. autoFarm.Text = "AutoFarm: ON"
  142. AutoDuit()
  143. end
  144. end)
  145.  
  146. autoBuyEGG.Name = "autoBuyEGG"
  147. autoBuyEGG.Parent = Main
  148. autoBuyEGG.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  149. autoBuyEGG.BorderSizePixel = 0
  150. autoBuyEGG.Position = UDim2.new(0.0423076935, 0, 0.329166651, 0)
  151. autoBuyEGG.Size = UDim2.new(0, 120, 0, 35)
  152. autoBuyEGG.Font = Enum.Font.GothamBold
  153. autoBuyEGG.Text = "AutoBuyEGG: OFF"
  154. autoBuyEGG.TextColor3 = Color3.new(1, 1, 1)
  155. autoBuyEGG.TextSize = 14
  156.  
  157. buyEgg = 0
  158. Active99 = 0
  159. autoBuyEGG.MouseButton1Down:connect(function()
  160. if buyEgg == 1 then
  161. buyEgg = 0
  162. autoBuyEGG.Text = "AutoBuyEGG: OFF"
  163. Active99 = false
  164. else
  165. buyEgg = 1
  166. Active99 = true
  167. autoBuyEGG.Text = "AutoBuyEGG: ON"
  168. autoBuyTelor()
  169. end
  170. end)
  171.  
  172. autoSell.Name = "autoSell"
  173. autoSell.Parent = Main
  174. autoSell.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  175. autoSell.BorderSizePixel = 0
  176. autoSell.Position = UDim2.new(0.538461566, 0, 0.158333331, 0)
  177. autoSell.Size = UDim2.new(0, 110, 0, 35)
  178. autoSell.Font = Enum.Font.GothamBold
  179. autoSell.Text = "AutoSell: OFF"
  180. autoSell.TextColor3 = Color3.new(1, 1, 1)
  181. autoSell.TextSize = 14
  182. Sell = 0
  183. Active2 = false
  184. local plr = game:GetService("Players").LocalPlayer
  185. local obj = game:GetService("Workspace")["Rings"]["Sell"]
  186. autoSell.MouseButton1Down:connect(function()
  187. if Sell == 1 then
  188. Sell = 0
  189. Active2 = false
  190. autoSell.Text = "AutoSell: OFF"
  191. else
  192. Sell = 1
  193. Active2 = true
  194. autoSell.Text = "AutoSell: ON"
  195. if Active2 == true then
  196. while Active2 do
  197. game:GetService('RunService').Stepped:wait()
  198.  
  199. plr.Character.HumanoidRootPart.CFrame = obj.CFrame
  200. wait()
  201. plr.Character.HumanoidRootPart.CFrame = obj.CFrame
  202. wait()
  203. end
  204. Kntl.CFrame = Awal
  205. end
  206. end
  207. end)
  208.  
  209. autoRebirth.Name = "autoRebirth"
  210. autoRebirth.Parent = Main
  211. autoRebirth.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  212. autoRebirth.BorderSizePixel = 0
  213. autoRebirth.Position = UDim2.new(0.538461566, 0, 0.329166651, 0)
  214. autoRebirth.Size = UDim2.new(0, 110, 0, 35)
  215. autoRebirth.Font = Enum.Font.GothamBold
  216. autoRebirth.Text = "AutoRebirth: OFF"
  217. autoRebirth.TextColor3 = Color3.new(1, 1, 1)
  218. autoRebirth.TextSize = 12
  219.  
  220. Rebirth = 0
  221. Active3 = false
  222.  
  223. autoRebirth.MouseButton1Down:connect(function()
  224. if Rebirth == 1 then
  225. Rebirth = 0
  226. Active3 = false
  227. autoRebirth.Text = "AutoRebith: OFF"
  228. else
  229. Rebirth = 1
  230. Active3 = true
  231. autoRebirth.Text = "AutoRebirth: ON"
  232. if Active3 == true then
  233. while Active3 do
  234. wait()
  235. local Rebit = game:GetService("ReplicatedStorage").RebirthEvents["requestRebirth"]
  236. Rebit:FireServer()
  237. end
  238. end
  239. end
  240. end)
  241.  
  242. LocalFrame.Name = "LocalFrame"
  243. LocalFrame.Parent = Main
  244. LocalFrame.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  245. LocalFrame.BorderSizePixel = 0
  246. LocalFrame.Position = UDim2.new(1.02307689, 0, 0, 0)
  247. LocalFrame.Size = UDim2.new(0, 169, 0, 217)
  248. LocalFrame.Visible = false
  249.  
  250. HeaderLocal.Name = "HeaderLocal"
  251. HeaderLocal.Parent = LocalFrame
  252. HeaderLocal.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  253. HeaderLocal.BorderSizePixel = 0
  254. HeaderLocal.Size = UDim2.new(0, 169, 0, 31)
  255.  
  256. SHeader_2.Name = "SHeader"
  257. SHeader_2.Parent = HeaderLocal
  258. SHeader_2.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  259. SHeader_2.BorderSizePixel = 0
  260. SHeader_2.Position = UDim2.new(0, 0, 0.78158617, 0)
  261. SHeader_2.Size = UDim2.new(0, 169, 0, 6)
  262.  
  263. CloseButton_2.Name = "CloseButton"
  264. CloseButton_2.Parent = HeaderLocal
  265. CloseButton_2.BackgroundColor3 = Color3.new(0.819608, 0, 0)
  266. CloseButton_2.Position = UDim2.new(0.815680683, 0, 0, 0)
  267. CloseButton_2.Size = UDim2.new(0, 31, 0, 30)
  268. CloseButton_2.Font = Enum.Font.GothamBold
  269. CloseButton_2.Text = "X"
  270. CloseButton_2.TextColor3 = Color3.new(1, 1, 1)
  271. CloseButton_2.TextSize = 14
  272. CloseButton_2.MouseButton1Down:connect(function()
  273. LocalFrame.Visible = false
  274. end)
  275.  
  276. Frame_2.Parent = CloseButton_2
  277. Frame_2.BackgroundColor3 = Color3.new(0.509804, 0, 0)
  278. Frame_2.BorderSizePixel = 0
  279. Frame_2.Position = UDim2.new(0, 0, 0.78158617, 0)
  280. Frame_2.Size = UDim2.new(0, 31, 0, 7)
  281.  
  282. walkfaster.Name = "walkfaster"
  283. walkfaster.Parent = LocalFrame
  284. walkfaster.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  285. walkfaster.BorderSizePixel = 0
  286. walkfaster.Position = UDim2.new(0.035502959, 0, 0.172863796, 0)
  287. walkfaster.Size = UDim2.new(0, 156, 0, 50)
  288. walkfaster.Font = Enum.Font.GothamBold
  289. walkfaster.Text = "WalkFasterKey: Q"
  290. walkfaster.TextColor3 = Color3.new(1, 1, 1)
  291. walkfaster.TextSize = 14
  292. walkfaster.MouseButton1Down:connect(function()
  293. local plr = game:GetService("Players").LocalPlayer
  294. local char = plr.Character
  295. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  296. local hum = char:FindFirstChild("HumanoidRootPart")
  297. local speed = 7
  298. mouse.KeyDown:connect(function(key)
  299. if key == "q" then
  300. loop = true
  301. while loop do
  302. hum.CFrame = hum.CFrame + hum.CFrame.lookVector * speed
  303. wait()
  304. end
  305. end
  306. end)
  307.  
  308. mouse.KeyUp:connect(function(key)
  309. if key == "q" then
  310. loop = false
  311. end
  312. end)
  313.  
  314.  
  315. end)
  316.  
  317. highjump.Name = "highjump"
  318. highjump.Parent = LocalFrame
  319. highjump.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  320. highjump.BorderSizePixel = 0
  321. highjump.Position = UDim2.new(0.035502959, 0, 0.435550064, 0)
  322. highjump.Size = UDim2.new(0, 156, 0, 50)
  323. highjump.Font = Enum.Font.GothamBold
  324. highjump.Text = "High Jump"
  325. highjump.TextColor3 = Color3.new(1, 1, 1)
  326. highjump.TextSize = 14
  327. highjump.MouseButton1Down:connect(function()
  328. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 200
  329. end)
  330.  
  331. infjumper.Name = "infjumper"
  332. infjumper.Parent = LocalFrame
  333. infjumper.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  334. infjumper.BorderSizePixel = 0
  335. infjumper.Position = UDim2.new(0.035502959, 0, 0.704838395, 0)
  336. infjumper.Size = UDim2.new(0, 156, 0, 50)
  337. infjumper.Font = Enum.Font.GothamBold
  338. infjumper.Text = "Infinity Jump"
  339. infjumper.TextColor3 = Color3.new(1, 1, 1)
  340. infjumper.TextSize = 14
  341. infjumper.MouseButton1Down:connect(function()
  342. local Player = game:GetService'Players'.LocalPlayer;
  343. local UIS = game:GetService'UserInputService';
  344.  
  345. _G.JumpHeight = 50;
  346.  
  347. function Action(Object, Function) if Object ~= nil then Function(Object); end end
  348.  
  349. UIS.InputBegan:connect(function(UserInput)
  350. if UserInput.UserInputType == Enum.UserInputType.Keyboard and UserInput.KeyCode == Enum.KeyCode.Space then
  351. Action(Player.Character.Humanoid, function(self)
  352. if self:GetState() == Enum.HumanoidStateType.Jumping or self:GetState() == Enum.HumanoidStateType.Freefall then
  353. Action(self.Parent.HumanoidRootPart, function(self)
  354. self.Velocity = Vector3.new(0, _G.JumpHeight, 0);
  355. end)
  356. end
  357. end)
  358. end
  359. end)
  360. end)
  361.  
  362. tpToMagnet.Name = "tpToMagnet"
  363. tpToMagnet.Parent = Main
  364. tpToMagnet.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  365. tpToMagnet.BorderSizePixel = 0
  366. tpToMagnet.Position = UDim2.new(0.538461566, 0, 0.5, 0)
  367. tpToMagnet.Size = UDim2.new(0, 110, 0, 35)
  368. tpToMagnet.Font = Enum.Font.GothamBold
  369. tpToMagnet.Text = "Tp to Magnet.IS"
  370. tpToMagnet.TextColor3 = Color3.new(1, 1, 1)
  371. tpToMagnet.TextSize = 12
  372. tpToMagnet.MouseButton1Down:connect(function()
  373. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.IslandInfo.islandtp.CFrame
  374. end)
  375.  
  376. FastFarm.Name = "FastFarm"
  377. FastFarm.Parent = Main
  378. FastFarm.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  379. FastFarm.BorderSizePixel = 0
  380. FastFarm.Position = UDim2.new(0.0423076935, 0, 0.5, 0)
  381. FastFarm.Size = UDim2.new(0, 120, 0, 35)
  382. FastFarm.Font = Enum.Font.GothamBold
  383. FastFarm.Text = "FastCoins: OFF"
  384. FastFarm.TextColor3 = Color3.new(1, 1, 1)
  385. FastFarm.TextSize = 12
  386. ActiveFast = 0
  387. fastcoins = 0
  388. FastFarm.MouseButton1Down:connect(function()
  389. if fastcoins == 1 then
  390. fastcoins = 0
  391. FastFarm.Text = "FastFarm: OFF"
  392. ActiveFast = false
  393. else
  394. fastcoins = 1
  395. ActiveFast = true
  396. FastFarm.Text = "FastFarm: ON"
  397. FastCoinscok()
  398. end
  399. end)
  400.  
  401. function AutoDuit()
  402. if Active == true then
  403. while Active do
  404. game:GetService('RunService').Stepped:wait()
  405. for i = 1,25 do
  406. local tool = game.Workspace[plr.Name]:FindFirstChildOfClass("Tool")
  407. if tool then
  408. local A_1 = "8250"
  409. local A_2 = tool
  410. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  411. Event:FireServer(A_1, A_2)
  412. else
  413. local tool = plr.Backpack:FindFirstChildOfClass("Tool")
  414. if tool then
  415. local A_1 = "8250"
  416. local A_2 = tool
  417. local Event = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
  418. Event:FireServer(A_1, A_2)
  419. end
  420. end
  421. end
  422. end
  423. end
  424. end
  425.  
  426. function autoBuyTelor()
  427. if Active99 == true then
  428. while Active99 do
  429. game:GetService('RunService').Stepped:wait()
  430. for i = 1,25 do
  431. local Remote = game.ReplicatedStorage.Events.MagnetEvents['requestGrab']
  432. local Arguments = {
  433. [1] = "8250",
  434. [2] = game.ReplicatedStorage.Tools["Heavenly Rebirth Magnet"]
  435. }
  436. local plr = game.Players.LocalPlayer
  437. local char = plr.Character.HumanoidRootPart
  438. game.Workspace.Rings.Sell.CanCollide = false
  439. game.Workspace.Rings.Sell.CFrame = char.CFrame + Vector3.new(0,math.random(-1,1),0)
  440. Remote:FireServer(unpack(Arguments))
  441. wait(0.03)
  442. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Catacylsmic Egg")
  443. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Psychadelic Egg")
  444. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Mythical Egg")
  445. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Epic Egg")
  446. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Legendary Egg")
  447. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Rare Egg")
  448. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Uncommon Egg")
  449. game.ReplicatedStorage.PetEvents.requesthatch:FireServer("Common Egg")
  450. end
  451. end
  452. end
  453. end
  454.  
  455. function FastCoinscok()
  456. if ActiveFast == true then
  457. local Remote = game.ReplicatedStorage.Events.MagnetEvents['requestGrab']
  458. local Arguments = {
  459. [1] = "8250",
  460. [2] = game.ReplicatedStorage.Tools["Heavenly Rebirth Magnet"]
  461. }
  462. while wait() do
  463. Remote:FireServer(unpack(Arguments))
  464. end
  465. end
  466. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement