Advanced triggerbot problem
Hi guys, today i want to improve my triggerbot and add a sniper mode on it, the sniper mode will only shoot when you have the scope on, and will not shoot when you're not with the scope, but i don't how to figure it out, i don't know how i can do that, so i need some help

Get weaponID from player.