RomashkaHEHE

Legends of speed GUI

Jun 23rd, 2021 (edited)
2,619
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. local nameven = "Legends of speed GUI"
  2. for i,v in pairs(game.CoreGui:GetChildren()) do
  3.     if v.Name == nameven then
  4.         v:Destroy()
  5.     end
  6. end
  7.  
  8. if _G.legofspeed == nil then
  9.     _G.legofspeed = 1
  10. else
  11.     _G.legofspeed = _G.legofspeed + 1
  12. end
  13. bindworks = _G.legofspeed
  14.  
  15. local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/GreenDeno/Venyx-UI-Library/main/source.lua"))()
  16. local venyx = library.new(nameven, 5013109572)
  17.  
  18. -- varibles
  19. lplr = game.Players.LocalPlayer
  20. waittime = 0
  21. howmany = 10
  22.  
  23. -- pages and sections
  24. local page1 = venyx:addPage("Main", 5012544693)
  25. local section11 = page1:addSection("By RomashkaHEHE")
  26.  
  27. -- page1
  28. section11:addToggle('AutoFarm', false, function(val)
  29.     autoredorb = val
  30.     while wait(waittime) and autoredorb and bindworks == _G.legofspeed do
  31.         for i = 1,howmany do
  32.             game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Red Orb", lplr.currentMap.Value)
  33.             game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Gem", lplr.currentMap.Value)
  34.             game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Yellow Orb", lplr.currentMap.Value)
  35.             game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Blue Orb", lplr.currentMap.Value)
  36.             game:GetService("ReplicatedStorage").rEvents.orbEvent:FireServer("collectOrb", "Orange Orb", lplr.currentMap.Value)
  37.         end
  38.     end
  39. end)
  40.  
  41. section11:addSlider('WaitTime (sec/100)', waittime, 0, 1000, function(val)
  42.     waittime = val/100
  43. end)
  44.  
  45. section11:addSlider('Boost auto farm', howmany, 1, 100, function(val)
  46.     howmany = val
  47. end)
  48.  
  49. section11:addToggle("Auto Rebirth", false, function(val)
  50.     autoreb = true
  51.     while wait(1) and autoreb and bindworks == _G.legofspeed do
  52.         game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer("rebirthRequest")
  53.     end
  54. end)
  55.  
  56. game:GetService("CoreGui")["Legends of speed GUI"].Main.Size = UDim2.new(0, 511, 0, 280)
  57. -- end
  58. venyx:SelectPage(page1, true)
Add Comment
Please, Sign In to add comment