Quickscope()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand("[{+toggleads_throw}]", "+toggleads_throw");
while(self getCurrentWeapon() == "cheytac_fmj_heartbeat_mp") //This is the part that doesn't seem to work
{
self waittill("[{+toggleads_throw}]");
wait 1.0;
self allowADS(false);
wait 0.0005;
self allowADS(true);
wait 0.0005; }

self allowADS(false);
self allowADS(true);
self allowADS(false);
self allowADS(true);
I edited it again.