ScriptTutorial

Legends Of Speed AUTO FARM BY FIGURE

Nov 13th, 2024 (edited)
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --MADE BY FIGURE1#199999 <3
  2. --The Executor i used Synapse X Remaked to make script auto farm
  3. if game.PlaceId == 3101667897 then
  4. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  5.  
  6. local Window = Library.CreateLib("Auto Farm", "Synapse")
  7.  
  8. local LS = Window:NewTab("Legends Of Speed")
  9. if game.SoundService:FindFirstChild("Toggles") then
  10.     game.SoundService.Toggles:Destroy()
  11. end
  12.  
  13. if not game.SoundService:FindFirstChild("Toggles") then
  14. local M = Instance.new("Model", game.SoundService)
  15. M.Name = "Toggles"
  16.  
  17. local City = Instance.new("BoolValue", M)
  18. City.Name = "City"
  19. City.Value = false
  20. local SnowCity = Instance.new("BoolValue", M)
  21. SnowCity.Name = "Snow City"
  22. SnowCity.Value = false
  23. local MagmaCity = Instance.new("BoolValue", M)
  24. MagmaCity.Name = "Magma City"
  25. MagmaCity.Value = false
  26. local Hoops = Instance.new("BoolValue", M)
  27. Hoops.Name = "Hoops"
  28. Hoops.Value = false
  29.  
  30. local MC = Instance.new("Model", game.SoundService.Toggles)
  31. MC.Name = "Chest"
  32.  
  33. local GrassChest = Instance.new("BoolValue", MC)
  34. GrassChest.Name = "Grass"
  35. GrassChest.Value = false
  36.  
  37. local ParkourChest = Instance.new("BoolValue", MC)
  38. ParkourChest.Name = "Parkour"
  39. ParkourChest.Value = false
  40.  
  41. local FrostChest = Instance.new("BoolValue", MC)
  42. FrostChest.Name = "Frost"
  43. FrostChest.Value = false
  44.  
  45. local EnchantedChest = Instance.new("BoolValue", MC)
  46. EnchantedChest.Name = "Enchanted"
  47. EnchantedChest.Value = false
  48. end
  49.  
  50. local City = game.SoundService.Toggles.City
  51. local SnowCity = game.SoundService.Toggles["Snow City"]
  52. local MagmaCity = game.SoundService.Toggles["Magma City"]
  53. local GrassChest = game.SoundService.Toggles.Chest["Grass"]
  54. local ParkourChest = game.SoundService.Toggles.Chest["Parkour"]
  55. local FrostChest = game.SoundService.Toggles.Chest["Frost"]
  56. local EnchantedChest = game.SoundService.Toggles.Chest["Enchanted"]
  57.  
  58. local Hoops = game.SoundService.Toggles.Hoops
  59. local NameGui
  60.  
  61. if game:FindFirstChild("CoreGui") then
  62.     for _, v in pairs(game:GetService("CoreGui"):GetChildren()) do
  63.         if v:IsA("ScreenGui") then
  64.             if v:FindFirstChild("Main") then
  65.                 if v.Main:FindFirstChild("MainCorner") then
  66.                     NameGui = v.Name
  67.                     local B = Instance.new("BoolValue", v)
  68.                     B.Name = "Gui"
  69.                     B.Value = true
  70.                 end
  71.             end
  72.         end
  73.     end
  74. end
  75.  
  76. print("Name Gui:".. NameGui)
  77.  
  78. function CityV()
  79.     while City.Value and wait() do
  80.         if not City.Value then break end
  81. changeMapValue("City")
  82. for _, v in pairs(workspace.orbFolder.City:GetChildren()) do
  83.     if v:IsA("Model") then
  84.         v:SetPrimaryPartCFrame(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
  85.     end
  86. end
  87. end
  88. end
  89.  
  90. function SnowCityV()
  91.     while SnowCity.Value and wait() do
  92.         if not SnowCity.Value then break end
  93. changeMapValue("Snow City")
  94. for _, v in pairs(workspace.orbFolder["Snow City"]:GetChildren()) do
  95.     if v:IsA("Model") then
  96.         v:SetPrimaryPartCFrame(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
  97.     end
  98. end
  99. end
  100. end
  101.  
  102. function MagmaCityV()
  103.     while MagmaCity.Value and wait() do
  104.         if not MagmaCity.value then break end
  105. changeMapValue("Magma City")
  106. for _, v in pairs(workspace.orbFolder["Magma City"]:GetChildren()) do
  107.     if v:IsA("Model") then
  108.         v:SetPrimaryPartCFrame(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame)
  109.     end
  110. end
  111. end
  112. end
  113.  
  114. local i = 0
  115.  
  116. function AutoHoops()
  117. while Hoops.value and wait() do
  118. for i, v in pairs(workspace.Hoops:GetChildren()) do
  119.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame
  120.     i = i + 1
  121.     wait()
  122. end
  123. end
  124. end
  125.  
  126. function AutoChests(name)
  127.     if name == "Enchanted" then
  128.         while EnchantedChest.Value and wait() do
  129.             if not EnchantedChest.Value then
  130.                 break
  131.             end
  132.             changeMapValue("Snow City")
  133.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-925.19696, 26.6443386, 2823.6062, -0.636181355, -8.31596747e-09, 0.771539569, 3.77802643e-08, 1, 4.19305337e-08, -0.771539569, 5.58243904e-08, -0.636181355))
  134.             wait(3)
  135.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-1574.24268, 110, 5678.13086, -0.260405719, 4.27765876e-08, -0.965499282, -2.35747084e-08, 1, 5.06635054e-08, 0.965499282, 3.59544288e-08, -0.260405719))
  136.             wait(3)
  137.         end
  138.     elseif name == "Grass" then
  139.         while GrassChest.Value and wait() do
  140.             if not GrassChest.Value then
  141.                 break
  142.             end
  143.             changeMapValue("City")
  144.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-841.038208, 15.013833, 124.634537, 0.19574818, 2.48760124e-10, 0.98065418, -6.03982064e-09, 1, 9.51939749e-10, -0.98065418, -6.10931572e-09, 0.19574818))
  145.             wait(3)
  146.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-1613.72363, 25, -494.565948, 0.300494939, -5.44751053e-08, 0.953783393, 6.15180795e-08, 1, 3.77331304e-08, -0.953783393, 4.73363073e-08, 0.300494939))
  147.             wait(3)
  148.         end
  149.     elseif name == "Parkour" then
  150.         while ParkourChest.Value and wait() do
  151.             if not ParkourChest.Value then
  152.                 break
  153.             end
  154.             changeMapValue("City")
  155.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-336.263153, 73.1161804, -252.7621, 0.999994993, 5.69601433e-09, -0.00316635938, -5.68619285e-09, 1, 3.11085113e-09, 0.00316635938, -3.09283088e-09, 0.999994993))
  156.             wait(3)
  157.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(2493.86987, 23, -2119.91821, 0.951149344, -2.9048477e-09, -0.308731079, 4.45651205e-09, 1, 4.3207864e-09, 0.308731079, -5.48557688e-09, 0.951149344))
  158.             wait(3)
  159.         end
  160.     elseif name == "Frost" then
  161.         while FrostChest.Value and wait() do
  162.             if not FrostChest.Value then
  163.                 break
  164.             end
  165.             changeMapValue("City")
  166.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(370.960999, 4.21624994, -19.9501266, -0.867019117, 9.61612212e-09, -0.498274893, -1.10083844e-08, 1, 3.84538801e-08, 0.498274893, 3.88254477e-08, -0.867019117))
  167.             wait(3)
  168.             game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(2236.81592, 318, 1015.5188, 0.996751547, -4.70288732e-08, 0.0805381164, 5.52315953e-08, 1, -9.96212179e-08, -0.0805381164, 1.03745855e-07, 0.996751547))
  169.             wait(3)
  170.         end
  171.     end
  172. end
  173.  
  174. function changeMapValue(name)
  175.     game.Players.LocalPlayer.currentMap.Value = name
  176. end
  177.  
  178. local Ar = LS:NewSection("Area")
  179. local A1 = LS:NewSection("Orbs")
  180. local Others = LS:NewSection("Others")
  181. local A2 = LS:NewSection("Auto Chests")
  182. local W = LS:NewSection("MiniGames")
  183. local R = LS:NewSection("Racing Area")
  184. local Chest = LS:NewSection("Collect Chests")
  185.  
  186. A1:NewToggle("City", "Toggle City", function(state)
  187.     if state then
  188.         City.Value = true
  189.         CityV()
  190.     else
  191.         City.Value = false
  192.     end
  193. end)
  194.  
  195. A1:NewToggle("Snow City", "Toggle Snow City", function(state)
  196.     if state then
  197.         SnowCity.Value = true
  198.         SnowCityV()
  199.     else
  200.         SnowCity.Value = false
  201.     end
  202. end)
  203.  
  204. A1:NewToggle("Magma City", "Toggle Magma City", function(state)
  205.     if state then
  206.         MagmaCity.Value = true
  207.         MagmaCityV()
  208.     else
  209.         MagmaCity.Value = false
  210.     end
  211. end)
  212.  
  213. Others:NewToggle("Auto Hoops", "Toggle Auto TP Hoops", function(state)
  214.     if state then
  215.         Hoops.Value = true
  216.         AutoHoops()
  217.     else
  218.         game.Players.LocalPlayer.Character.Humanoid:TakeDamage(100)
  219.         Hoops.Value = false
  220.     end
  221. end)
  222. A2:NewToggle("Auto Grass Chest [Lvl 5]", "Auto TP Chest", function(state)
  223.     if state then
  224.         GrassChest.Value = true
  225.         AutoChests("Grass")
  226.     else
  227.         GrassChest.Value = false
  228.     end
  229. end)
  230.  
  231. A2:NewToggle("Auto Parkour Chest [Lvl 35]", "Auto TP Chest", function(state)
  232.     if state then
  233.         ParkourChest.Value = true
  234.         AutoChests("Parkour")
  235.     else
  236.         ParkourChest.Value = false
  237.     end
  238. end)
  239.  
  240. A2:NewToggle("Auto Frost Chest [Lvl 15]", "Auto TP Chest", function(state)
  241.     if state then
  242.         FrostChest.Value = true
  243.         AutoChests("Frost")
  244.     else
  245.         FrostChest.Value = false
  246.     end
  247. end)
  248.  
  249. A2:NewToggle("Auto Enchanted Chest [Lvl 35!]", "Auto TP Chest", function(state)
  250.     if state then
  251.         EnchantedChest.Value = true
  252.         AutoChests("Enchanted")
  253.     else
  254.         EnchantedChest.Value = false
  255.     end
  256. end)
  257.  
  258. W:NewButton("TP To Grass Course", "Teleport To Grass Course", function()
  259.     changeMapValue("City")
  260.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-841.038208, 15.013833, 124.634537, 0.19574818, 2.48760124e-10, 0.98065418, -6.03982064e-09, 1, 9.51939749e-10, -0.98065418, -6.10931572e-09, 0.19574818))
  261. end)
  262.  
  263. W:NewButton("Win In Grass Course", "Teleport From Win", function()
  264.     changeMapValue("City")
  265.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-1548.91089, 28.7653313, -459.926849, 0.999988616, -2.55367318e-08, 0.00477214763, 2.57733745e-08, 1, -4.95266583e-08, -0.00477214763, 4.96490884e-08, 0.999988616))
  266. end)
  267.  
  268. W:NewButton("TP In Pirate Course", "Requires Snow City and Level 50 to Enter!", function()
  269.     changeMapValue("Snow City")
  270.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-925.19696, 26.6443386, 2823.6062, -0.636181355, -8.31596747e-09, 0.771539569, 3.77802643e-08, 1, 4.19305337e-08, -0.771539569, 5.58243904e-08, -0.636181355))
  271. end)
  272.  
  273. W:NewButton("Win In Pirate Course", "Teleport From Win", function()
  274.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-1615.24756, 101.82267, 5653.84912, -0.953409553, 6.73394709e-08, -0.301679105, 3.24264988e-08, 1, 1.20736715e-07, 0.301679105, 1.05329136e-07, -0.953409553))
  275. end)
  276.  
  277. W:NewButton("Teleport Fron Parkour Challenge", "Requires Level 35 to Enter!", function()
  278.     changeMapValue("City")
  279.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-336.263153, 73.1161804, -252.7621, 0.999994993, 5.69601433e-09, -0.00316635938, -5.68619285e-09, 1, 3.11085113e-09, 0.00316635938, -3.09283088e-09, 0.999994993))
  280. end)
  281.  
  282. W:NewButton("Win In Parkour Challenge", "Teleports From Win", function()
  283.     changeMapValue("City")
  284.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(2470.25757, 20.1078835, -2057.7998, 0.0342603065, 4.44931842e-08, -0.999412954, 1.62081069e-08, 1, 4.50749411e-08, 0.999412954, -1.77428738e-08, 0.0342603065))
  285. end)
  286.  
  287. Chest:NewButton("Golden Chest", "Chest", function()
  288.     changeMapValue("City")
  289.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-670.924561, 65.1162109, -265.052582, 0.707893014, -7.58481278e-09, 0.70631969, 7.74044793e-08, 1, -6.68383962e-08, -0.70631969, 1.01986743e-07, 0.707893014))
  290. end)
  291.  
  292. Chest:NewButton("Enchanted Chest", "Chest", function()
  293.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-1574.24268, 110, 5678.13086, -0.260405719, 4.27765876e-08, -0.965499282, -2.35747084e-08, 1, 5.06635054e-08, 0.965499282, 3.59544288e-08, -0.260405719))
  294. end)
  295.  
  296. Chest:NewButton("Group Studio Chest", "Chest", function()
  297.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-495.292694, 4.16624975, 396.970398, -0.0233701654, 4.37244374e-08, -0.999726892, 8.005272e-09, 1, 4.3549246e-08, 0.999726892, -6.98533231e-09, -0.0233701654))
  298. end)
  299.  
  300. R:NewButton("Grass Race [WIN]", "Win A Racing", function()
  301.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(1642.92322, 0.88094151, -5958.54102, -0.172619969, -1.44333043e-08, -0.984988511, 7.40265449e-08, 1, -2.76264789e-08, 0.984988511, -7.76841773e-08, -0.172619969))
  302. end)
  303.  
  304. R:NewButton("Magma Race [WIN]", "Teleport From Win", function()
  305.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(955.892822, 0.880941749, -10987.167, 0.050589893, 3.62516461e-09, -0.998719513, 7.83254137e-08, 1, 7.59736718e-09, 0.998719513, -7.86094674e-08, 0.050589893))
  306. end)
  307.  
  308. R:NewButton("Desert Race [WIN]", "Teleport From Win", function()
  309.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(2.31586456, 0.880941749, -8688.74121, -0.0150615312, -8.65646754e-08, -0.999886572, -6.56128591e-08, 1, -8.55861515e-08, 0.999886572, 6.43163602e-08, -0.0150615312))
  310. end)
  311.  
  312. Ar:NewButton("TP To City", "Teleports to City", function()
  313.     --game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-9686.38184, 59.3462372, 3122.82275, 0.998869479, 3.59332795e-08, -0.0475369133, -3.34541888e-08, 1, 5.29464295e-08, 0.0475369133, -5.1296265e-08, 0.998869479))
  314.     changeMapValue("City")
  315.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-573.59906, 4.16624975, 383.920502, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  316. end)
  317.  
  318. Ar:NewButton("TP To Snow City", "Teleports to Snow City", function()
  319.     --game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-9675.23145, 59.3462372, 3761.22729, -0.999347985, 2.33643256e-08, -0.0361054577, 2.71386451e-08, 1, -1.04045903e-07, 0.0361054577, -1.04957913e-07, -0.999347985))
  320.     changeMapValue("Snow City")
  321.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-866.386841, 4.21624994, 2165.70654, -0.499959469, 1.02491935e-08, -0.866048813, -3.03055927e-08, 1, 2.93294811e-08, 0.866048813, 4.09096756e-08, -0.499959469))
  322. end)
  323.  
  324. Ar:NewButton("TP To Magma City", "Teleports to Magma City", function()
  325.     --game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(-9675.23145, 59.3462372, 3761.22729, -0.999347985, 2.33643256e-08, -0.0361054577, 2.71386451e-08, 1, -1.04045903e-07, 0.0361054577, -1.04957913e-07, -0.999347985))
  326.     changeMapValue("Magma City")
  327.     game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(CFrame.new(1616.82703, 4.26625633, 4330.65234, 4.67397481e-15, -6.2248219e-08, -1, 2.18051124e-08, 1, -6.2248219e-08, 1, -2.18051124e-08, 6.03130403e-15))
  328. end)
  329. end
  330.  
Advertisement
Add Comment
Please, Sign In to add comment