Experience System with working HUD

hi have a nooob question :slight_smile:
from where are you getting the exp?
from a mob?
or all are calculated in the player?
ooor maybe is this function" Give Experience" and is activated when you kill somethiing and the rest is make by the player??
tanks and sorry for my english