i wrote this code. But this script doesnt give me ilmu value

local Humanoid = script.Parent.Humanoid
function Dead()
	local tag = Humanoid:FindFirstChild("creator")
	if tag ~= nil then
		if tag.Value ~= nil then
		local leaderstats = tag.Value:FindFirstChild("leaderstats")
		if leaderstats ~= nil then
			leaderstats.Ilmu.Value = leaderstats.Ilmu.Value + 20
			wait(0.1)
			script:Remove()
			end
		end
	end
end
Humanoid.Died:Connect(Dead)

there is no error