The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
LankyBox Simulator script pastebin roblox
By LINK GAME on 2024-09-20 08:00 am | Syntax: LUA | Views: 10



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/Maxgat5/UiLib/main/lua')))()
  2. local w = library:CreateWindow("LankyBox Simulator")
  3. local b = w:CreateFolder("AutoFarm")
  4. local f = w:CreateFolder("AutoBuy")
  5. local e = w:CreateFolder("Mix")
  6. local u = w:CreateFolder("Credits")
  7. SelectedEgg = "Boxy"
  8. Egg = {}
  9. for i,v in pairs(game:GetService("Workspace").BoxCapsules:GetChildren()) do
  10.     if not table.find(Egg,v.Name) then
  11.         table.insert(Egg,v.Name)
  12.     end
  13. end
  14. SelectedMonster = "Bull"
  15. Monster = {}
  16. for i,v in pairs(game:GetService("Workspace").Monsters:GetChildren()) do
  17.     if not table.find(Monster,v.Name) then
  18.         table.insert(Monster,v.Name)
  19.     end
  20. end
  21.  
  22. b:Toggle("AutoTpMonster",function(bool)
  23.     shared.toggle = bool
  24.     AutoTpMonster = bool
  25. end)
  26.  
  27. b:Dropdown("Select Monster",Monster,true,function(mob)
  28.     SelectedMonster = mob
  29. end)
  30.  
  31. b:Toggle("AutoTpHearts",function(bool)
  32.     shared.toggle = bool
  33.     heartcollect = bool
  34. end)
  35.  
  36. b:Toggle("AutoSell",function(bool)
  37.     shared.toggle = bool
  38.     autosell = bool
  39. end)
  40.  
  41. f:Toggle("Egg",function(bool)
  42.     shared.toggle = bool
  43.     Egg = bool
  44. end)
  45.  
  46. f:Dropdown("Select Egg",Egg,true,function(mob)
  47.     SelectedEgg = mob
  48. end)
  49.  
  50. f:Toggle("Backpack",function(bool)
  51.     shared.toggle = bool
  52.     Backpack = bool
  53. end)
  54.  
  55. e:Toggle("AntiAfk",function(bool)
  56.     shared.toggle = bool
  57.     AntiAfk = bool
  58. end)
  59.  
  60. e:Button("Equip Pets",function()
  61.     for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerData.Pets:GetChildren()) do
  62.         spawn(function()
  63.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,true)
  64.         end)
  65.     end
  66. end)
  67.  
  68. e:Button("Unequip Pets",function()
  69.     for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerData.Pets:GetChildren()) do
  70.         spawn(function()
  71.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,false)
  72.         end)
  73.     end
  74. end)
  75.  
  76. e:Button("Dupe Pets",function()
  77.     for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerData.Pets:GetChildren()) do
  78.         spawn(function()
  79.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,false)
  80.         end)
  81.         spawn(function()
  82.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,true)
  83.         end)
  84.         spawn(function()
  85.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,false)
  86.         end)
  87.         spawn(function()
  88.             game:GetService("ReplicatedStorage").Events.EquipPet:InvokeServer(v,true)
  89.         end)
  90.     end
  91. end)
  92. --Credits
  93. u:Button("Moepi#1149",function()
  94.     setclipboard("Moepi#1149")
  95. end)
  96.  
  97. u:Button("maxgat5#8395",function()
  98.     setclipboard("maxgat5#8395")
  99. end)
  100.  
  101. u:Button("Discord Server",function()
  102.     setclipboard("https://discord.gg/K4txdRSVfq")
  103. end)
  104.  
  105. game:GetService('RunService').Stepped:connect(function()
  106.     if AutoTpMonster == true then
  107.         game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  108.     end
  109. end)
  110.  
  111. while wait() do
  112.     pcall(function()
  113.         if heartcollect == true then
  114.             for i,v in pairs(game:GetService("Workspace").Hearts:GetChildren()) do
  115.                 if not heartcollect then break end
  116.                 if v.Name == "RedHeart" then
  117.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.CFrame.Position)
  118.                     wait()
  119.                     game:GetService("ReplicatedStorage").Events.CollectHeart:InvokeServer(game:GetService("Players").LocalPlayer.Hearts.RedHeart)
  120.                     wait()
  121.                     spawn(function()
  122.                         if autosell == true then
  123.                             game:GetService("ReplicatedStorage").Events.SellHearts:InvokeServer()
  124.                         end
  125.                     end)
  126.                 elseif v.Name == "BlueHeart" then
  127.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.CFrame.Position)
  128.                     wait()
  129.                     game:GetService("ReplicatedStorage").Events.CollectHeart:InvokeServer(game:GetService("Players").LocalPlayer.Hearts.BlueHeart)
  130.                     wait()
  131.                     spawn(function()
  132.                         if autosell == true then
  133.                             game:GetService("ReplicatedStorage").Events.SellHearts:InvokeServer()
  134.                         end
  135.                     end)
  136.                 elseif v.Name == "GreenHeart" then
  137.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v.CFrame.Position)
  138.                     wait()
  139.                     game:GetService("ReplicatedStorage").Events.CollectHeart:InvokeServer(game:GetService("Players").LocalPlayer.Hearts.GreenHeart)
  140.                     wait()
  141.                     spawn(function()
  142.                         if autosell == true then
  143.                             game:GetService("ReplicatedStorage").Events.SellHearts:InvokeServer()
  144.                         end
  145.                     end)
  146.                 end
  147.                 spawn(function()
  148.                     if AntiAfk == true then
  149.                         local bb=game:service'VirtualUser'
  150.                         bb:CaptureController()
  151.                         bb:ClickButton2(Vector2.new())
  152.                     end
  153.                 end)
  154.                 spawn(function()
  155.                     if Egg == true then
  156.                         game:GetService("ReplicatedStorage").Events.BuyBox:InvokeServer(tostring(SelectedEgg),1)
  157.                     end
  158.                 end)
  159.                 spawn(function()
  160.                     if AutoTpMonster == true then
  161.                         local tweenInfo = TweenInfo.new(
  162.                         0
  163.                         )
  164.                         local t = game.TweenService:Create(game.Players.LocalPlayer.Character.PrimaryPart, tweenInfo, {CFrame = CFrame.new(
  165.                         game:GetService("Workspace").Monsters[SelectedMonster].HumanoidRootPart.CFrame.Position + Vector3.new(0,10,0)
  166.                         )})
  167.                         t:Play()
  168.                     end
  169.                 end)
  170.                 spawn(function()
  171.                     if Backpack == true then
  172.                         for i,v in pairs(game:GetService("ReplicatedStorage").Backpacks:GetChildren()) do
  173.                             game:GetService("ReplicatedStorage").Events.BuyBackpack:FireServer(i)
  174.                         end
  175.                     end
  176.                 end)
  177.             end
  178.         end
  179.     end)
  180.    
  181.     spawn(function()
  182.         if AutoTpMonster == true then
  183.             local tweenInfo = TweenInfo.new(
  184.             0
  185.             )
  186.             local t = game.TweenService:Create(game.Players.LocalPlayer.Character.PrimaryPart, tweenInfo, {CFrame = CFrame.new(
  187.             game:GetService("Workspace").Monsters[SelectedMonster].HumanoidRootPart.CFrame.Position + Vector3.new(0,10,0)
  188.             )})
  189.             t:Play()
  190.         end
  191.     end)
  192.    
  193.     spawn(function()
  194.         if autosell == true then
  195.             game:GetService("ReplicatedStorage").Events.SellHearts:InvokeServer()
  196.         end
  197.     end)
  198.    
  199.     spawn(function()
  200.         if Egg == true then
  201.             game:GetService("ReplicatedStorage").Events.BuyBox:InvokeServer(tostring(SelectedEgg),1)
  202.         end
  203.     end)
  204.    
  205.     spawn(function()
  206.         if Backpack == true then
  207.             for i,v in pairs(game:GetService("ReplicatedStorage").Backpacks:GetChildren()) do
  208.                 game:GetService("ReplicatedStorage").Events.BuyBackpack:FireServer(i)
  209.             end
  210.         end
  211.     end)
  212.    
  213.     spawn(function()
  214.         if AntiAfk == true then
  215.             local bb=game:service'VirtualUser'
  216.             bb:CaptureController()
  217.             bb:ClickButton2(Vector2.new())
  218.         end
  219.     end)
  220. end