Added function and UI for players score