Hi Elizaveta!
"Pulling your leg" is a common idiom in English:
"I'm just pulling your leg" means "I'm just being silly / making a joke / trying to get you to laugh". In other words, "I'm not being serious with what I just said, it's just a joke".
Hope that helps!