That code has many errors.
1: "playeraccount" is not defined anywhere @ "onPlayerQuit".
2: At @ "setAccountData" you are using variable "kills", but your variable is "score".
3: What is this for: "setPlayerScoreboardForced"?
You can use the function: setElementInvulnerable from my "extra_health" resource.
Download link: https://community.multitheftauto.com/ind ... ls&id=5195
Lemme try to understand:
When a player joins the game, he'll win the points/money, which is wrong, and when all players die and one is alive, that one won't get anything?