//start the attribute of the weapons public void BeginAttributes() { AttributeInstance.beginModifier(ref Player_Controller.speedModifier, weaponAttributeIndex[0]); }