Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Carregar os módulos
- local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
- local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
- local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
- -- Criar janela principal
- local Janela = Fluent:CreateWindow({
- Title = "Pop it trading " .. Fluent.Version,
- SubTitle = "by Victor_Hub",
- TabWidth = 160,
- Size = UDim2.fromOffset(490, 460),
- Acrylic = true,
- Theme = "Dark",
- MinimizeKey = Enum.KeyCode.LeftControl
- })
- local Tabs = {
- Main = Janela:AddTab({Title = "main", Icon = "" }),
- }
- -- Adicionar entrada de texto para o nome do item
- local Input = Tabs.Main:AddInput("Entrada", {
- Title = "Item name",
- Default = "",
- Placeholder = "Item name",
- Numeric = false,
- Multiline = false,
- Callback = function(arg)
- _GC = arg
- end
- })
- -- Adicionar interruptor de alternância para coletar
- local Toggle = Tabs.Main:AddToggle("Coletar", { Title = "collect ", Default = false })
- -- Adicionar função para coletar
- local function CollectItems()
- while _G.banana do
- local args = {
- [1] = _GC
- }
- game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents"):WaitForChild("Equip"):FireServer(unpack(args))
- wait(0.1) -- Adicionando um pequeno atraso entre as iterações do loop
- end
- end
- Toggle:OnChanged(function()
- _G.banana = Toggle.Value
- if _G.banana then
- CollectItems()
- end
- end)
- Toggle:SetValue(false)
- -- Adicionar interruptor de alternância para duplicar
- local ToggleCollector = Tabs.Main:AddToggle("Dupe", { Title = "Duplicado", Default = false })
- -- Adicionar função para duplicar
- local function DuplicateItems()
- while ToggleCollector.Value do
- local localPlayer = game.Players.LocalPlayer
- if localPlayer then
- for _, tool in pairs(localPlayer.Backpack:GetChildren()) do
- if tool:IsA("Tool") then
- tool.Parent = localPlayer.Character
- end
- end
- game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvents"):WaitForChild("Drop"):FireServer(_GC)
- wait(0.1) -- Adicionando um pequeno atraso entre as iterações do loop
- end
- end
- end
- ToggleCollector:OnChanged(DuplicateItems)
- -- Adicionar interruptor de alternância para ativar/desativar inventário
- local ToggleEnableInventory = Tabs.Main:AddToggle("Activate inventory ", { Title = "active/disable inventory ", Default = false })
- ToggleEnableInventory:OnChanged(function()
- game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, ToggleEnableInventory.Value)
- end)
- ToggleEnableInventory:SetValue(false)
- -- Adicionar botão para verificar a quantidade de um item
- local CheckQuantityButton = Tabs.Main:AddButton({
- Title = "stock value",
- Callback = function()
- local itemName = _GC or ""
- local localPlayer = game.Players.LocalPlayer
- if localPlayer and localPlayer.Items and localPlayer.Items[itemName] then
- local quantity = localPlayer.Items[itemName].Value
- game.StarterGui:SetCore("SendNotification", {
- Title = "Valor del ítem",
- Text = "Tú tienes " .. tostring(quantity) .. " " .. itemName,
- Duration = 5
- })
- else
- game.StarterGui:SetCore("SendNotification", {
- Title = "cantidad de artículos",
- Text = "No se encontraron artículos ",
- Duration = 5
- })
- end
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment