From venuslock, 1 Month ago, written in Plain Text.
Embed
  1. -- The Lost Land Script, Auto Spam Tools, auto farm
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local MainGUI = Instance.new("Frame")
  8. local AutoFarmRock = Instance.new("TextButton")
  9. local AutoPickupItem = Instance.new("TextButton")
  10. local ItemName = Instance.new("TextBox")
  11. local RockName = Instance.new("TextBox")
  12. local AutoSpamTool = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. ScreenGui.Parent = game.CoreGui
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. MainGUI.Name = "MainGUI"
  20. MainGUI.Active = true
  21. MainGUI.Parent = ScreenGui
  22. MainGUI.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  23. MainGUI.BorderColor3 = Color3.fromRGB(0, 0, 0)
  24. MainGUI.Position = UDim2.new(0.110278368, 0, 0.250501037, 0)
  25. MainGUI.Size = UDim2.new(0, 225, 0, 180)
  26. MainGUI.Draggable = true
  27.  
  28. AutoFarmRock.Name = "AutoFarmRock"
  29. AutoFarmRock.Parent = MainGUI
  30. AutoFarmRock.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  31. AutoFarmRock.BorderColor3 = Color3.fromRGB(0, 0, 0)
  32. AutoFarmRock.Position = UDim2.new(0, 10, 0, 10)
  33. AutoFarmRock.Size = UDim2.new(0, 100, 0, 50)
  34. AutoFarmRock.Font = Enum.Font.Cartoon
  35. AutoFarmRock.Text = "Auto farm rock"
  36. AutoFarmRock.TextColor3 = Color3.fromRGB(255, 255, 255)
  37. AutoFarmRock.TextSize = 14.000
  38. AutoFarmRock.TextSize = 14.000
  39. local toggled = false
  40.  
  41. AutoFarmRock.MouseButton1Click:Connect(function()
  42.         toggled = not toggled
  43.         while wait(0.001) and toggled == true do
  44.                 local args = {
  45.                         [1] = game:GetService("Players").LocalPlayer.Character:FindFirstChild(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name),
  46.                         [2] = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  47.                 }
  48.  
  49.                 game:GetService("ReplicatedStorage").Events.DestroyModel:FireServer(unpack(args))
  50.                 do
  51.                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").Ores[RockName.Text].Reference.CFrame
  52.  
  53.                 end
  54.         end
  55. end)
  56.  
  57. AutoPickupItem.Name = "AutoPickupItem"
  58. AutoPickupItem.Parent = MainGUI
  59. AutoPickupItem.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  60. AutoPickupItem.BorderColor3 = Color3.fromRGB(0, 0, 0)
  61. AutoPickupItem.Position = UDim2.new(0, 115, 0, 10)
  62. AutoPickupItem.Size = UDim2.new(0, 100, 0, 50)
  63. AutoPickupItem.Font = Enum.Font.Cartoon
  64. AutoPickupItem.Text = "Pickup item"
  65. AutoPickupItem.TextColor3 = Color3.fromRGB(255, 255, 255)
  66. AutoPickupItem.TextSize = 14.000
  67. AutoPickupItem.MouseButton1Click:connect(function()
  68.         for i=1,2 do
  69.                 wait(0.1)
  70.                 for _,v in next, game.Workspace:GetDescendants() do
  71.                         if v.Name == (ItemName.Text) then
  72.                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace")[ItemName.Text].CFrame
  73.                                 do
  74.                                         i=1,3 do
  75.                                                 local args = {
  76.                                                         [1] = v
  77.                                                 }
  78.  
  79.                                                 game:GetService("ReplicatedStorage").Events:FindFirstChild("Pick up"):FireServer(unpack(args))
  80.  
  81.                                         end
  82.                                 end
  83.                         end
  84.                 end
  85.         end
  86. end)
  87.  
  88. ItemName.Name = "ItemName"
  89. ItemName.Parent = MainGUI
  90. ItemName.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
  91. ItemName.BorderColor3 = Color3.fromRGB(0, 0, 0)
  92. ItemName.Position = UDim2.new(0.51111114, 0, 0.356666654, 0)
  93. ItemName.Size = UDim2.new(0, 100, 0, 50)
  94. ItemName.Font = Enum.Font.Cartoon
  95. ItemName.Text = ""
  96. ItemName.TextColor3 = Color3.fromRGB(255, 255, 255)
  97. ItemName.TextSize = 14.000
  98.  
  99. RockName.Name = "RockName"
  100. RockName.Parent = MainGUI
  101. RockName.BackgroundColor3 = Color3.fromRGB(26, 26, 26)
  102. RockName.BorderColor3 = Color3.fromRGB(0, 0, 0)
  103. RockName.Position = UDim2.new(0.0430000015, 0, 0.354444444, 1)
  104. RockName.Size = UDim2.new(0, 100, 0, 50)
  105. RockName.Font = Enum.Font.Cartoon
  106. RockName.Text = ""
  107. RockName.TextColor3 = Color3.fromRGB(255, 255, 255)
  108. RockName.TextSize = 14.000
  109.  
  110. AutoSpamTool.Name = "AutoSpamTool"
  111. AutoSpamTool.Parent = MainGUI
  112. AutoSpamTool.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  113. AutoSpamTool.BorderColor3 = Color3.fromRGB(0, 0, 0)
  114. AutoSpamTool.Position = UDim2.new(0, 62, 0, 124)
  115. AutoSpamTool.Size = UDim2.new(0, 100, 0, 50)
  116. AutoSpamTool.Font = Enum.Font.Cartoon
  117. AutoSpamTool.Text = "Spam tool"
  118. AutoSpamTool.TextColor3 = Color3.fromRGB(255, 255, 255)
  119. AutoSpamTool.TextSize = 14.000
  120. local toggled = false
  121.  
  122. AutoSpamTool.MouseButton1Click:Connect(function()
  123.         toggled = not toggled
  124.         while wait(0.1) and toggled == true do
  125.                 local args = {
  126.                         [1] = game:GetService("Players").LocalPlayer.Character:FindFirstChild(game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Name),
  127.                         [2] = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  128.                 }
  129.  
  130.                 game:GetService("ReplicatedStorage").Events.DestroyModel:FireServer(unpack(args))
  131.         end
  132. end)