No, Statins will not invalidate your medical. Check with the CAA first to see if the ones you use/propose to use are OK. If you are new to them and are already a pilot you need to ground test them for side effects for a couple of weeks before you continue flying.