Vikajanana

Victor_hub

Apr 7th, 2024 (edited)
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. -- Carregar os módulos
  2. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  3. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  4. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  5.  
  6. -- Criar janela principal
  7. local Janela = Fluent:CreateWindow({
  8. Title = "Pop it trading " .. Fluent.Version,
  9. SubTitle = "by Victor_Hub",
  10. TabWidth = 160,
  11. Size = UDim2.fromOffset(490, 460),
  12. Acrylic = true,
  13. Theme = "Dark",
  14. MinimizeKey = Enum.KeyCode.LeftControl
  15. })
  16.  
  17. local Tabs = {
  18. Main = Janela:AddTab({Title = "main", Icon = "" }),
  19. }
  20.  
  21. -- Adicionar entrada de texto para o nome do item
  22. local Input = Tabs.Main:AddInput("Entrada", {
  23. Title = "Item name",
  24. Default = "",
  25. Placeholder = "Item name",
  26. Numeric = false,
  27. Multiline = false,
  28. Callback = function(arg)
  29. _GC = arg
  30. end
  31. })
  32.  
  33. -- Adicionar interruptor de alternância para coletar
  34. local Toggle = Tabs.Main:AddToggle("Coletar", { Title = "collect ", Default = false })
  35.  
  36. -- Adicionar função para coletar
  37. local function CollectItems()
  38. while _G.banana do
  39. local args = {
  40. [1] = _GC
  41. }
  42. game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents"):WaitForChild("Equip"):FireServer(unpack(args))
  43. wait(0.1) -- Adicionando um pequeno atraso entre as iterações do loop
  44. end
  45. end
  46.  
  47. Toggle:OnChanged(function()
  48. _G.banana = Toggle.Value
  49. if _G.banana then
  50. CollectItems()
  51. end
  52. end)
  53.  
  54. Toggle:SetValue(false)
  55.  
  56. -- Adicionar interruptor de alternância para duplicar
  57. local ToggleCollector = Tabs.Main:AddToggle("Dupe", { Title = "Duplicado", Default = false })
  58.  
  59. -- Adicionar função para duplicar
  60. local function DuplicateItems()
  61. while ToggleCollector.Value do
  62. local localPlayer = game.Players.LocalPlayer
  63. if localPlayer then
  64. for _, tool in pairs(localPlayer.Backpack:GetChildren()) do
  65. if tool:IsA("Tool") then
  66. tool.Parent = localPlayer.Character
  67. end
  68. end
  69. game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents"):WaitForChild("Drop"):FireServer(_GC)
  70. wait(0.1) -- Adicionando um pequeno atraso entre as iterações do loop
  71. end
  72. end
  73. end
  74.  
  75. ToggleCollector:OnChanged(DuplicateItems)
  76.  
  77. -- Adicionar interruptor de alternância para ativar/desativar inventário
  78. local ToggleEnableInventory = Tabs.Main:AddToggle("Activate inventory ", { Title = "active/disable inventory ", Default = false })
  79.  
  80. ToggleEnableInventory:OnChanged(function()
  81. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, ToggleEnableInventory.Value)
  82. end)
  83.  
  84. ToggleEnableInventory:SetValue(false)
  85.  
  86. -- Adicionar botão para verificar a quantidade de um item
  87. local CheckQuantityButton = Tabs.Main:AddButton({
  88. Title = "stock value",
  89. Callback = function()
  90. local itemName = _GC or ""
  91. local localPlayer = game.Players.LocalPlayer
  92. if localPlayer and localPlayer.Items and localPlayer.Items[itemName] then
  93. local quantity = localPlayer.Items[itemName].Value
  94. game.StarterGui:SetCore("SendNotification", {
  95. Title = "Valor del ítem",
  96. Text = "Tú tienes " .. tostring(quantity) .. " " .. itemName,
  97. Duration = 5
  98. })
  99. else
  100. game.StarterGui:SetCore("SendNotification", {
  101. Title = "cantidad de artículos",
  102. Text = "No se encontraron artículos ",
  103. Duration = 5
  104. })
  105. end
  106. end
  107. })
Advertisement
Add Comment
Please, Sign In to add comment