daily pastebin goal
47%
SHARE
TWEET

MagnetSimulator

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