function Vehicle_OnProduce(producer, user, menuitem) local menu = menuitem + 1 --Just so you know menuitem is a number not a name... So that needs to be a number. if (menu == "Insert the Menu number here.") then if (user:inventory_find("Explosive Parts") >= 5) and (user:inventory_find("Energy Particles") >= 50) then -- If they have 5 and 50... user:inventory_modify("Explosive Parts",-5) user:inventory_modify("Energy Particles",-50) user:inventory_modify("Frag Grenade",1) return false -- OPersonally if you want to make this easier get rid of the inventory_moify and make the production menu give a frag grenande and make it return true. else user:message("&You need 50 Energy Particles and 5 Explosive Parts to complete a Frag Grenade.") return false end end return true end