egfw

hellyahhh

Sep 2nd, 2024 (edited)
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 4.65 KB | None | 0 0
  1. --[[
  2.     WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
  3. ]]
  4.  
  5. local Library = loadstring(game:HttpGet('https://raw.githubusercontent.com/VisualRoblox/Roblox/main/UI-Libraries/Visual%20UI%20Library/Source.lua'))()
  6.  
  7. local Window = Library:CreateWindow("lobox's creations", 'Streetz War', "Mappel's Visual UI Library", 'rbxassetid://10618928818', false, 'VisualUIConfigs', 'Default')
  8.  
  9. local Tab = Window:CreateTab('Autofarm', true, 'rbxassetid://3926305904', Vector2.new(524, 44), Vector2.new(36, 36))
  10.  
  11. local Section = Tab:CreateSection('Section')
  12.  
  13. local Label = Section:CreateLabel('Autofarm')
  14.  
  15.  
  16. local function getbox()
  17.     if getgenv().Autofarm then
  18.         game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = game:GetService("Workspace").Jobs.BoxJob.BOX1.CFrame*CFrame.new(0,24,0)
  19.  
  20.        fireclickdetector(game:GetService("Workspace").Jobs.BoxJob.BOX1.ClickDetector)
  21.     end
  22. end
  23.  
  24. local function sellbox()
  25.     if getgenv().Autofarm then
  26.         local box = game:GetService("Players").LocalPlayer.Character:FindFirstChild("BOX") or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("BOX")
  27.         game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):EquipTool(box)
  28.  
  29.         game:GetService("Workspace").Jobs.BoxJob.Job.CFrame = game:GetService("Workspace").Jobs.BoxJob.BOX1.CFrame -- funny
  30.        
  31.         game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):EquipTool(box)
  32.  
  33.         game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart").CFrame = game:GetService("Workspace").Jobs.BoxJob.Job.CFrame*CFrame.new(0,math.random(2,6),0)
  34.    
  35.     end
  36. end
  37.  
  38.  
  39. local Toggle = Section:CreateToggle('Toggle Autofarm', false, Color3.fromRGB(0, 125, 255), 0.25, function(Value)
  40.     print(Value)
  41.     getgenv().Autofarm = Value
  42.    
  43.  
  44.     while getgenv().Autofarm do
  45.  
  46.  
  47.         for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  48.             if v.Name == "BOX1" then
  49.                 v.Parent.Name = "BoxJob"
  50.                 v.Parent.Parent.Name = "Jobs"
  51.             end
  52.         end
  53.         repeat task.wait() until workspace:FindFirstChild("Jobs")
  54.        
  55.         repeat task.wait() until workspace:WaitForChild("Jobs"):FindFirstChild("BoxJob")
  56.  
  57.         local box = game:GetService("Players").LocalPlayer.Character:FindFirstChild("BOX") or game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("BOX")
  58.         if not box then
  59.             getbox()
  60.         else
  61.             sellbox()
  62.         end
  63.         task.wait()
  64.     end
  65. end)
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. local LibraryFunctions = Window:CreateTab('Library Functions', false, 'rbxassetid://3926305904', Vector2.new(524, 44), Vector2.new(36, 36))
  74.  
  75. local UIFunctions = LibraryFunctions:CreateSection('UI Functions')
  76.  
  77. local DestroyButton = UIFunctions:CreateButton('Destroy UI', function()
  78.     Library:DestroyUI()
  79. end)
  80.  
  81. local ToggleKeybind = UIFunctions:CreateKeybind('Toggle UI', 'E', function()
  82.     Library:ToggleUI()
  83. end)
  84.  
  85. local TextboxKeybind = UIFunctions:CreateTextbox('Notification', 'Text', function(Value)
  86.     Library:CreateNotification('Notification', Value, 5)
  87. end)
  88.  
  89. local TransparencySlider = UIFunctions:CreateSlider('Transparency', 0, 100, 0, Color3.fromRGB(0, 125, 255), function(Value)
  90.     Library:SetTransparency(Value / 100, true)
  91. end)
  92.  
  93.  
  94. local ConfigSection = LibraryFunctions:CreateSection('Config')
  95.  
  96. local ConfigNameString = ''
  97. local ConfigName = ConfigSection:CreateTextbox('Config Name', 'Input', function(Value)
  98.     ConfigNameString = Value
  99. end)
  100.  
  101. local SaveConfigButton = ConfigSection:CreateButton('Save Config', function()
  102.     Library:SaveConfig(ConfigNameString)
  103. end)
  104.  
  105. local SelectedConfig = ''
  106. local ConfigsDropdown = ConfigSection:CreateDropdown('Configs', Library:GetConfigs(), nil, 0.25, function(Value)
  107.     SelectedConfig = Value
  108. end)
  109.  
  110. local DeleteConfigButton = ConfigSection:CreateButton('Delete Config', function()
  111.     Library:DeleteConfig(SelectedConfig)
  112. end)
  113.  
  114. local LoadConfigButton = ConfigSection:CreateButton('Load Config', function()
  115.     Library:LoadConfig(SelectedConfig)
  116. end)
  117.  
  118. local RefreshConfigsButton = ConfigSection:CreateButton('Refresh', function()
  119.     ConfigsDropdown:UpdateDropdown(Library:GetConfigs())
  120. end)
  121.  
  122. local ThemesSection = LibraryFunctions:CreateSection('Themes')
  123.  
  124. local ThemesDropdown = ThemesSection:CreateDropdown('Themes', Library:GetThemes(), nil, 0.25, function(Value)
  125.     Library:ChangeTheme(Value)
  126. end)
  127.  
  128. local ColorSection = LibraryFunctions:CreateSection('Custom Colors')
  129.  
  130. for Index, CurrentColor in next, Library:ReturnTheme() do
  131.     ColorSection:CreateColorpicker(Index, CurrentColor, 0.25, function(Color)
  132.         Library:ChangeColor(Index, Color)
  133.     end, {true})
  134. end
Add Comment
Please, Sign In to add comment