//By Daenth //Thanks to Destiny for a bunch of help. function serverCmdgungameon(%client) { if(%client.isSuperAdmin) { chatMessageAll(%client, "\c6Gun Game Enabled!", 3); activatePackage(GunGame); } }; function serverCmdgungameoff(%client) { if(%client.isSuperAdmin) { deactivatePackage(GunGame); chatMessageAll(%client, "\c6Gun Game Disabled!", 3); } }; package GunGame { function twoscore(%client,%player) { if(%client.score == 2) { %item = gunItem.getID();//the item you want to give them, change it to yours %slot = 4;//the index of the slot %oldTool = %player.tool[%slot]; %player.tool[%slot] = %item; messageClient(%player.client,'MsgItemPickup','',%slot,%item); if(%oldTool <= 0) %player.weaponCount++; } } };