Villain is a loose aggro donk. He has been making all sorts of weird bets but i haven't seen him make any crazy calls.

I think he probably c/r'ed the flop with a flush draw and didn't know what to do when he missed on the turn so he checked. I think the river bet is either a bluff or Q-x.

fold < call < raise?

PokerStars No-Limit Hold'em, $2 BB (6 handed) Hand History Converter Tool from FlopTurnRiver.com (Format: FlopTurnRiver)

MP ($163.80)
CO ($526.15)
Button ($209.35)
SB ($97.55)
Hero ($222.60)
UTG ($288.85)

Preflop: Hero is BB with 7, T.
4 folds, SB raises to $4, Hero calls $2.

Flop: ($8) K, 4, T (2 players)
SB checks, Hero bets $6, SB raises to $12, Hero calls $6.

Turn: ($32) Q (2 players)
SB checks, Hero checks.

River: ($32) 5 (2 players)
SB bets $20, Hero ?

p.s. I found the converter!