-- Inventory Shifter + C4 Drop GUI -- LocalScript local Players = game:GetService("Players") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- SETTINGS local SHIFT_DELAY = 0.00067 local C4_REMOTE = ReplicatedStorage:WaitForChild("RemoteEvents") :WaitForChild("Miscs") :WaitForChild("C4Drop") local enabled = false local shiftConnection local index = 1 local lastShift = 0 -- GUI local gui = Instance.new("ScreenGui") gui.Name = "InventoryShifterGUI" gui.ResetOnSpawn = false gui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 260, 0, 150) frame.Position = UDim2.new(0.5, -130, 0.5, -75) frame.BackgroundColor3 = Color3.fromRGB(30,30,35) frame.Active = true frame.Draggable = true frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0,12) -- Title local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1, -40, 0, 35) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "Inventory Shifter" title.Font = Enum.Font.GothamBold title.TextSize = 18 title.TextColor3 = Color3.fromRGB(255,170,0) title.TextXAlignment = Enum.TextXAlignment.Left -- Close button local close = Instance.new("TextButton", frame) close.Size = UDim2.new(0,30,0,30) close.Position = UDim2.new(1,-35,0,5) close.Text = "X" close.Font = Enum.Font.GothamBold close.TextSize = 16 close.BackgroundColor3 = Color3.fromRGB(200,60,60) close.TextColor3 = Color3.new(1,1,1) Instance.new("UICorner", close) -- Toggle local toggle = Instance.new("TextButton", frame) toggle.Size = UDim2.new(1,-20,0,45) toggle.Position = UDim2.new(0,10,0,50) toggle.Text = "OFF" toggle.Font = Enum.Font.GothamBold toggle.TextSize = 20 toggle.BackgroundColor3 = Color3.fromRGB(150,50,50) toggle.TextColor3 = Color3.new(1,1,1) toggle.Parent = frame Instance.new("UICorner", toggle) -- Status local status = Instance.new("TextLabel", frame) status.Size = UDim2.new(1,-20,0,30) status.Position = UDim2.new(0,10,0,105) status.BackgroundTransparency = 1 status.Text = "Status: Disabled" status.Font = Enum.Font.Gotham status.TextSize = 14 status.TextColor3 = Color3.fromRGB(200,200,200) status.Parent = frame -- LOOP local function startShift() shiftConnection = RunService.Heartbeat:Connect(function(dt) lastShift += dt if lastShift < SHIFT_DELAY then return end lastShift = 0 if not enabled then return end local char = player.Character local humanoid = char and char:FindFirstChildOfClass("Humanoid") local backpack = player:FindFirstChild("Backpack") if not humanoid or not backpack then return end local tools = backpack:GetChildren() if #tools == 0 then return end if index > #tools then index = 1 end local tool = tools[index] index += 1 if tool:IsA("Tool") then humanoid:EquipTool(tool) pcall(function() C4_REMOTE:FireServer() end) end end) end local function stopShift() if shiftConnection then shiftConnection:Disconnect() shiftConnection = nil end end -- Toggle logic toggle.MouseButton1Click:Connect(function() enabled = not enabled if enabled then toggle.Text = "ON" toggle.BackgroundColor3 = Color3.fromRGB(50,170,80) status.Text = "Status: Running" startShift() else toggle.Text = "OFF" toggle.BackgroundColor3 = Color3.fromRGB(150,50,50) status.Text = "Status: Disabled" stopShift() end end) -- Close close.MouseButton1Click:Connect(function() stopShift() gui:Destroy() end) print("Hhhh uh do")