Look at right() and str() system expressions.
right(str(Player.Y),4) will return four rightmost characters of a given string, which is the player's score converted to a string.
Alternatively, you can use modulo operator %:
Player.Y%10000
This will return the last four digits.