Modified from the Kits Plugin by someone eles