ADVERTISEMENTREMOVE ADS
Craftblox consume inventory cloning exploit
47,310 views
Script Preview
Description
This "exploit" allows you to clone another player's inventory. To do this, you should be hungry, and the target should have food. How this works: game.ReplicatedStorage.GameRemotes.ConsumeItem takes inventory and slot arguments, but it doesn't check if is it a correct inventory, so we can give another player's inventory. The server script does this job(decreasing food count and decreasing your hunger), but always saves these changes to our inventory. Additionally, the target's food will be decreased because you literally ate it.
Features:
- Clone another player's inventory
Tested with
ADVERTISEMENTREMOVE ADS
61 Lines • 2.09 KiB
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/VeztWare/KavoUi/main/KavoUi.lua"))()
local Window = Library.CreateLib("Craftblox consume inventory cloning exploit", "DarkTheme")
local Tab = Window:NewTab("Main")
local Section = Tab:NewSection("Main")
local hs = game:GetService("HttpService")
local Players = game:GetService("Players")
local lp = Players.LocalPlayer
local hunger = lp.Hunger
local ci = game:GetService("ReplicatedStorage").GameRemotes.ConsumeItem
local targetInv = nil
local foodSlot = -2
local sg = game:GetService("StarterGui")
local function print(txt)
sg:SetCore("SendNotification",{
Title = 'msg',
Text = txt,
})
end
Section:NewTextBox("Player name", "You can type here part of real/display name or random", function(str)
if str ~= 'random' then
for _, v in pairs(Players:GetPlayers()) do
if v ~= lp and (v.Name:lower():find(str:lower()) or v.DisplayName:lower():find(str:lower())) then
targetInv = v.Character.Inventory
break
end
end
elseif str == 'random' then
targetInv = Players:GetPlayers()[math.random(1, #Players:GetPlayers())].Character.Inventory
end
if targetInv then
print('Player name: '..targetInv.Parent.Name)
else
print('No player found!')
end
end)
Section:NewButton("Copy inventory", "Target must have food and you must be hungry", function()
if hunger.Value >= 100 then
print("Ur not hungry!")
else
if targetInv then
foodSlot = -2
for _, v in targetInv:GetChildren() do
if (string.find(v.Value, 'Banana') or string.find(v.Value, 'Apple') or string.find(v.Value, 'Bread') or string.find(v.Value, 'Meat') or string.find(v.Value, 'Pork') or string.find(v.Value, 'Steak')) and hs:JSONDecode(v.Value).count > 0 then
foodSlot = tonumber(string.sub(v.Name, 5))
break
end
end
if foodSlot ~= -2 then
game.ReplicatedStorage.GameRemotes.ConsumeItem:InvokeServer(targetInv, foodSlot)
print('SUCCESS! Rejoin to see what you copied...')
else
print('Target hasnt food!')
end
else
print('Target isnt set!')
end
end
end)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS





Comments