I played it and was having fun but I got this error after a while:
Error
events/villagerConfrontation.lua:33: attempt to compare nil with number
Traceback
events/villagerConfrontation.lua:33: in function 'effect'
///coin.lua:61: in function 'mousereleased'
sections/game.lua:56: in function 'mousereleased'
main.lua:50: in function <main.lua:48>
[C]: in function 'xpcall'