Juanister531

Metal Detecting Simulator SCRIPT

Apr 20th, 2019
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. --[[Metal Detecting Simulator - Farm, Rebirth, Shop
  2. Created by LuckyMMB @ V3rmillion.net
  3. Discord https://discord.gg/GKzJnUC
  4. Credits to Deidara @ v3rmillion for the dig script
  5. ]]
  6.  
  7. plr=game:GetService('Players').LocalPlayer
  8.  
  9. farmactive = false
  10. rebirthactive = false
  11.  
  12. local MainGUI = Instance.new("ScreenGui")
  13. local MainFrame = Instance.new("Frame")
  14. local Farm = Instance.new("TextButton")
  15. local Shop = Instance.new("TextButton")
  16. local Rebirth = Instance.new("TextButton")
  17.  
  18. MainGUI.Name = "MainGUI"
  19. MainGUI.Parent = game.CoreGui
  20. local MainCORE = game.CoreGui["MainGUI"]
  21.  
  22. MainFrame.Name = "MainFrame"
  23. MainFrame.Parent = MainGUI
  24. MainFrame.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5)
  25. MainFrame.BackgroundTransparency = 0
  26. MainFrame.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
  27. MainFrame.Active = true
  28. MainFrame.Selectable = true
  29. MainFrame.Draggable = true
  30. MainFrame.Position = UDim2.new(0, 5, 0.75, 0)
  31. MainFrame.Size = UDim2.new(0, 140, 0, 115)
  32. MainFrame.Visible = true
  33.  
  34. Farm.Name = "Farm"
  35. Farm.Parent = MainFrame
  36. Farm.BackgroundColor3 = Color3.new(0, 0, 0)
  37. Farm.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
  38. Farm.Position = UDim2.new(0, 10, 0, 10)
  39. Farm.Size = UDim2.new(0, 120, 0, 25)
  40. Farm.Font = Enum.Font.Fantasy
  41. Farm.TextColor3 = Color3.new(1, 1, 1)
  42. Farm.Text = "AUTO FARM"
  43. Farm.TextSize = 17
  44. Farm.TextWrapped = true
  45.  
  46. Rebirth.Name = "Rebirth"
  47. Rebirth.Parent = MainFrame
  48. Rebirth.BackgroundColor3 = Color3.new(0, 0, 0)
  49. Rebirth.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
  50. Rebirth.Position = UDim2.new(0, 10, 0, 45)
  51. Rebirth.Size = UDim2.new(0, 120, 0, 25)
  52. Rebirth.Font = Enum.Font.Fantasy
  53. Rebirth.TextColor3 = Color3.new(1, 1, 1)
  54. Rebirth.Text = "AUTO REBIRTH"
  55. Rebirth.TextSize = 17
  56. Rebirth.TextWrapped = true
  57.  
  58. Shop.Name = "Shop"
  59. Shop.Parent = MainFrame
  60. Shop.BackgroundColor3 = Color3.new(0, 0, 0)
  61. Shop.BorderColor3 = Color3.new(0.1, 0.1, 0.1)
  62. Shop.Position = UDim2.new(0, 10, 0, 80)
  63. Shop.Size = UDim2.new(0, 120, 0, 25)
  64. Shop.Font = Enum.Font.Fantasy
  65. Shop.TextColor3 = Color3.new(1, 1, 1)
  66. Shop.Text = "GO TO SHOP"
  67. Shop.TextSize = 17
  68. Shop.TextWrapped = true
  69.  
  70. function notify(msg)
  71. game.StarterGui:SetCore('SendNotification', {
  72. Title = 'Metal Detecting Simulator';
  73. Text = msg;
  74. Duration = 5;
  75. })
  76. end
  77.  
  78. Farm.MouseButton1Click:connect(function()
  79. if farmactive == true then
  80. farmactive = false
  81. Farm.BackgroundColor3 = Color3.new(0, 0, 0)
  82. Farm.Text = "AUTO FARM"
  83. else
  84. farmactive = true
  85. Farm.BackgroundColor3 = Color3.new(0, 0.5, 0)
  86. Farm.Text = "STOP FARMING"
  87. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1203.73, 70.55, 398.512)
  88. for i=1,8 do
  89. spawn(function()
  90. game:GetService('RunService').RenderStepped:connect(function()
  91. if farmactive == true then
  92. workspace['__REMOTES'].Dig:FireServer('Stop','Bronze Relic', 2)
  93. workspace['__REMOTES'].Sell:FireServer()
  94. end
  95. end)
  96. end)
  97. end
  98. end
  99. end)
  100.  
  101. Rebirth.MouseButton1Click:connect(function()
  102. if rebirthactive == true then
  103. rebirthactive = false
  104. Rebirth.BackgroundColor3 = Color3.new(0, 0, 0)
  105. Rebirth.Text = "AUTO REBIRTH"
  106. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-264, 71.806, 451.9)
  107. else
  108. rebirthactive = true
  109. Rebirth.BackgroundColor3 = Color3.new(0, 0.5, 0)
  110. Rebirth.Text = "STOP REBIRTH"
  111. while rebirthactive == true do
  112. game:GetService("Workspace")["__REMOTES"].Rebirth:InvokeServer()
  113. if plr.leaderstats.Level.Value < 12 then
  114. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1203.73, 70.55, 398.512)
  115. end
  116. wait(2)
  117. end
  118. end
  119. end)
  120.  
  121. Shop.MouseButton1Click:connect(function()
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-256.373, 71.787, 366.732)
  123. notify'Teleported to the Shop'
  124. end)
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. 2do script
  134.  
  135.  
  136. --Deidara V3rm
  137.  
  138. local rem=workspace['__REMOTES']
  139. local rs = game:GetService('RunService')
  140.  
  141. level=125
  142.  
  143. plr=game:GetService('Players').LocalPlayer
  144.  
  145.  
  146. for i=1,10 do
  147.  
  148. spawn(function()
  149. rs.RenderStepped:connect(function()
  150. if plr.leaderstats.Level.Value<level then
  151. wait()
  152. rem.Dig:FireServer('Stop','Dark Matter', 2)
  153. rem.Sell:FireServer()
  154. end
  155. end)
  156. end)
  157. end
Advertisement
Add Comment
Please, Sign In to add comment