Advertisement
kingmohamed

legends of speed **

Jun 24th, 2022 (edited)
70,037
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.63 KB | None | 0 0
  1. --[[
  2. we 𐎠re tr𐏑v5 𐏃𐎢𐎲 𐎠nd 𐎭rk 𐏃𐎢𐎲
  3. ]]
  4.  
  5. --[[Tabs and Uilib]]--
  6. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Mapple7777/UI-Librarys/main/UI-1/UI.lua"))()
  7.  
  8. local main = Library:Create("Script-Hub","Legends of speed ")
  9. local AutoW = main:Tab("AutoFarm")
  10. local AutoBuyW = main:Tab("AutoBuy")
  11. local PlayerW = main:Tab("LocalPlayer")
  12. local MiscW = main:Tab("Misc")
  13.  
  14. AutoW:Button("Autofarm All (Buttom)",function()
  15. loadstring(game:HttpGet(('https://pastebin.com/raw/67ScCFEF'),true))()
  16. end)
  17. --[[Config]]--
  18. Config = {
  19. AutoFarm = {
  20. AutoOrbFarm = false,
  21. AutoXpFarm = false,
  22. AutoHoopFarm = false,
  23. AutoGemFarm = false,
  24. AutoRebirth = false
  25. },
  26. AutoBuy = {
  27. SelectedCrystal = "",
  28. AutoBuyCrystal = false
  29. },
  30. Player = {
  31. InfJump = false
  32. },
  33. }
  34.  
  35. --[[Functions And Controls]]--
  36. task.spawn(function()
  37. while true do
  38. task.wait()
  39. if Config.AutoFarm.AutoOrbFarm == true then
  40. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Red Orb", "City")
  41. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Blue Orb", "City")
  42. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Orange Orb", "City")
  43. end
  44. end
  45. end)
  46.  
  47. task.spawn(function()
  48. while true do
  49. task.wait()
  50. if Config.AutoFarm.AutoHoopFarm == true then
  51. for i, v in pairs(workspace.Hoops:GetChildren()) do -- Bye...#0001 Is Hot
  52. if v.Name == "Hoop" then
  53. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  54. end
  55. end
  56. task.wait(0.5)
  57. for i, v in pairs(workspace.Hoops:GetChildren()) do
  58. if v.Name == "Hoop" then
  59. v.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0,100,0)
  60. end
  61. end
  62. end
  63. end
  64. end)
  65.  
  66. game:GetService("UserInputService").JumpRequest:connect(function()
  67. if Config.Player.InfJump then
  68. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  69. end
  70. end)
  71.  
  72.  
  73. task.spawn(function()
  74. while true do
  75. task.wait()
  76. if Config.AutoFarm.AutoXpFarm == true then
  77. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Yellow Orb", "City")
  78. end
  79. end
  80. end)
  81.  
  82. task.spawn(function()
  83. while true do
  84. task.wait()
  85. if Config.AutoFarm.AutoGemFarm == true then
  86. game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Gem", "City")
  87. end
  88. end
  89. end)
  90.  
  91. task.spawn(function()
  92. while true do
  93. task.wait()
  94. if Config.AutoFarm.AutoRebirth == true then
  95. game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer("rebirthRequest")
  96. end
  97. end
  98. end)
  99.  
  100. local Crystal = {
  101. "Red Crystal",
  102. "Blue Crystal",
  103. "purple Crystal",
  104. "Lightning Crystal",
  105. "Snow Crystal",
  106. "Inferno Crystal",
  107. "Lava Crystal",
  108. "Electro Legends Crystal"
  109. } -- FrontMan#9917 Is Hotter the Sun UwU
  110.  
  111.  
  112. task.spawn(function()
  113. while true do
  114. task.wait()
  115. if Config.AutoBuy.AutoBuyCrystal == true then
  116. game:GetService("ReplicatedStorage").rEvents.openCrystalRemote:InvokeServer("openCrystal", Config.AutoBuy.SelectedCrystal)
  117. end
  118. end
  119. end)
  120.  
  121. --// Fly script From Fat IY
  122.  
  123. function getRoot(char)
  124. local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  125. return rootPart
  126. end
  127. local Players = game:GetService("Players")
  128. local IYMouse = game:GetService("Players").LocalPlayer:GetMouse()
  129. FLYING = false
  130. QEfly = true
  131. iyflyspeed = 1
  132. vehicleflyspeed = 1
  133. function sFLY(vfly)
  134. repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
  135. repeat wait() until IYMouse
  136. if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  137.  
  138. local T = getRoot(Players.LocalPlayer.Character)
  139. local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  140. local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  141. local SPEED = 0
  142.  
  143. local function FLY()
  144. FLYING = true
  145. local BG = Instance.new('BodyGyro')
  146. local BV = Instance.new('BodyVelocity')
  147. BG.P = 9e3
  148. BG.Parent = T
  149. BV.Parent = T
  150. BG.maxTorque = Vector3.new(9e4, 9e4, 9e4)
  151. BG.cframe = T.CFrame
  152. BV.velocity = Vector3.new(0, 0, 0)
  153. BV.maxForce = Vector3.new(9e4, 9e4, 9e4)
  154. task.spawn(function()
  155. repeat wait()
  156. if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  157. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  158. end
  159. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  160. SPEED = 50
  161. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  162. SPEED = 0
  163. end
  164. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  165. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  166. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  167. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  168. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  169. else
  170. BV.velocity = Vector3.new(0, 0, 0)
  171. end
  172. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  173. until not FLYING
  174. CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  175. lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  176. SPEED = 0
  177. BG:Destroy()
  178. BV:Destroy()
  179. if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  180. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  181. end
  182. end)
  183. end
  184. flyKeyDown = IYMouse.KeyDown:Connect(function(KEY)
  185. if KEY:lower() == 'w' then
  186. CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
  187. elseif KEY:lower() == 's' then
  188. CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
  189. elseif KEY:lower() == 'a' then
  190. CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
  191. elseif KEY:lower() == 'd' then
  192. CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
  193. elseif QEfly and KEY:lower() == 'e' then
  194. CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
  195. elseif QEfly and KEY:lower() == 'q' then
  196. CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
  197. end
  198. pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
  199. end)
  200. flyKeyUp = IYMouse.KeyUp:Connect(function(KEY)
  201. if KEY:lower() == 'w' then
  202. CONTROL.F = 0
  203. elseif KEY:lower() == 's' then
  204. CONTROL.B = 0
  205. elseif KEY:lower() == 'a' then
  206. CONTROL.L = 0
  207. elseif KEY:lower() == 'd' then
  208. CONTROL.R = 0
  209. elseif KEY:lower() == 'e' then
  210. CONTROL.Q = 0
  211. elseif KEY:lower() == 'q' then
  212. CONTROL.E = 0
  213. end
  214. end)
  215. FLY()
  216. end
  217.  
  218. function NOFLY()
  219. FLYING = false
  220. if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  221. if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  222. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  223. end
  224. pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
  225. end
  226.  
  227.  
  228. --[[AutoFarm Tab]]--
  229. AutoW:Toggle('AutoFarm Orbs',function(state)
  230. Config.AutoFarm.AutoOrbFarm = state
  231. end)
  232. AutoW:Toggle('AutoFarm Xp',function(state)
  233. Config.AutoFarm.AutoXpFarm = state
  234. end)
  235.  
  236. AutoW :Toggle("Auto evolve pet",function(state)
  237. _G.Evolve = (state and true or false)
  238. wait()
  239. while _G.Evolve == true do
  240. wait()
  241. game.Replicatedstorage.rEvents.petEvolveEvent:FireServer("evolvePet", "all")
  242. end
  243. end)
  244.  
  245. AutoW:Button("Spawn",function()
  246. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-559.2, -7.45058e-08, 417.4))
  247. end)
  248.  
  249. AutoW:Button("Snow city",function()
  250. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-858.358, 0.5, 2170.35))
  251. end)
  252.  
  253. AutoW:Button("Magma city",function()
  254. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(1707.25, 0.550008, 4331.05))
  255. end)
  256.  
  257. AutoW:Button("Legends highway",function()
  258. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(3594.68, 214.804, 7274.56))
  259. end)
  260.  
  261. AutoW:Toggle('Auto Hoops',function(state)
  262. Config.AutoFarm.AutoHoopFarm = state
  263. end)
  264.  
  265. AutoW:Toggle('AutoFarm Gem',function(state)
  266. Config.AutoFarm.AutoGemFarm = state
  267. end)
  268.  
  269. AutoW:Toggle('Auto Rebirth',function(state)
  270. Config.AutoFarm.AutoRebirth = state
  271. end)
  272.  
  273. --[[AutoBuy Tab]]--
  274.  
  275. AutoBuyW:Dropdown('Select Crystal',Crystal,function(Selected)
  276. Config.AutoBuy.SelectedCrystal = Selected
  277. end)
  278.  
  279. AutoBuyW:Toggle('Auto Buy Crystal',function(state)
  280. Config.AutoBuy.AutoBuyCrystal = state
  281. end)
  282.  
  283. --[[LocalPlayer Tab]]--
  284.  
  285.  
  286. PlayerW:Slider('Gravity',0,196.2,function(num)
  287. game.Workspace.Gravity = num
  288. end)
  289.  
  290. PlayerW:Toggle('Inf Jump ',function(state)
  291. Config.Player.InfJump = state
  292. end)
  293.  
  294. PlayerW:Slider('WalkSpeed Config',16,100000000000,function(num)
  295. game:GetService('Players').LocalPlayer.Character.Humanoid.WalkSpeed = num
  296. end)
  297.  
  298. PlayerW:Slider('JumpPower Config',50,10000000,function(num)
  299. game:GetService('Players').LocalPlayer.Character.Humanoid.JumpPower = num
  300. end)
  301.  
  302. PlayerW:Toggle('Fly',function(state)
  303. if state then
  304. sFLY()
  305. else
  306. NOFLY()
  307. end
  308. end)
  309.  
  310. PlayerW:Slider('Fly Config',1,15,function(Value)
  311. iyflyspeed = Value
  312. end)
  313.  
  314. --[[Misc Tab]]--
  315.  
  316. MiscW:Button('Collect All cheats',function()
  317. for i,v in pairs(workspace.rewardChests:GetChildren()) do
  318. for i = 1,10 do
  319. local v1 = v
  320. game:GetService("ReplicatedStorage").rEvents.collectCourseChestRemote:InvokeServer(v1)
  321. end
  322. end
  323. end)
  324.  
  325.  
  326.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement