local t=(Game.ReplicatedStorage.ITEMS:FindFirstChild(script.Item.Value)):Clone()local K=script.Parent.Human function PwntX_X()local s=K:FindFirstChild("\099\114\101\097\116\111\114")if s~=nil then if s.Value~=nil then if math.random(1,100)<=script.DropChance.Value then local K=s.Value:FindFirstChild("\083\116\097\114\116\101\114\071\101\097\114")local o=s.Value:FindFirstChild("\066\097\099\107\112\097\099\107")if K~=nil and o~=nil then if script.KeptOnDeath.Value==true then(t:Clone()).Parent=K;(t:Clone()).Parent=o else(t:Clone()).Parent=o end wait(.1)script:Remove()end end end end end K.Died:connect(PwntX_X)


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) 
