So I've been working with the new command blocks and I noticed alot of things have change, anyways this is MY method of making an XP shop, I'm sure there will be others that are better sooner or later!
XD
1st command (in video)
/give @p[r=5,lm=2]
2nd command (in video)
/xp -2l @p[r==10,lm=2]
Music by Ninety9Lives
BH - The One (feat. Progley)
Video Link: http://99l.tv/TheOne
Channel: http://99l.tv/Subscribe
Album Download Link: http://99l.tv/RageQuit