Code:
command /weapon:
trigger:
set {_weapon} to item.tacz.modern_kinetic_gun
set {_id} to "tacz:ak47"
set {_weapon} to the GunId of {_id}
give player 1 {_weapon}
In this script, I was trying to get the "GunId" tag added by the Timeless and Classics Zero (tacz) mod. The tag is needed in order to give out the desired type of weapon.(When running the script, the game cannot recognize the "GunId") Please help me figure this out!