local q=(Game.ReplicatedStorage.ITEMS:FindFirstChild(script.Item.Value)):Clone()local r=script.Parent.Human function PwntX_X()local w=r:FindFirstChild("\099\114\101\097\116\111\114")if w~=nil then if w.Value~=nil then if math.random(1,100)<=script.DropChance.Value then local r=w.Value:FindFirstChild("\083\116\097\114\116\101\114\071\101\097\114")local B=w.Value:FindFirstChild("\066\097\099\107\112\097\099\107")if r~=nil and B~=nil then if script.KeptOnDeath.Value==true then(q:Clone()).Parent=r;(q:Clone()).Parent=B else(q:Clone()).Parent=B end wait(.1)script:Remove()end end end end end r.Died:connect(PwntX_X)
--Put this script in a mob to make it drop item. Don't forget to enable this script!

local item = Game.ReplicatedStorage.ITEMS:FindFirstChild(script.Item.Value):Clone()
local Humanoid = script.Parent.Human
function PwntX_X()
	local tag = Humanoid:FindFirstChild("creator")
	if tag ~= nil then
		if tag.Value ~= nil then
			if math.random(1, 100) <= script.DropChance.Value then
				local Leaderstats = tag.Value:FindFirstChild("StarterGear")
				local ll = tag.Value:FindFirstChild("Backpack")
				if Leaderstats ~= nil and ll ~= nil then
					if script.KeptOnDeath.Value == true then
						item:Clone().Parent = Leaderstats
						item:Clone().Parent = ll
					else
						item:Clone().Parent = ll
					end
					wait(0.1)
					script:Remove()
				end
			end
		end
	end
end

Humanoid.Died:connect(PwntX_X)
