Hello will surely help you ,
It would have been better if you would have mentioned your age and medical history.
in right leg may be due to diabetes
, nerve compression or any demyelinating disease
You are giving of history if confusion and brief loss of consciousness
which may be due to transient ischemic attack(TIA) or HTN
so i advice you to meet physician and get your blood pressure checked , neurological examination done and investigations to rule out diabetes.
Hope my advice's will help you and wish u for speedy recovery