!!THIS IS MEANT AS A TUTORIAL, AND NOT A FREE SKRIPT!! !!NOT ALL VARIABLES WILL BE SKRIPTED FOR YOU!!
(Just to let you know, it would be way easier if you didn't make a LuckPerms group for every level, and instead you used a skript variable)
Alright. So step 1 would be to make variables for each player. Like this:
on join:
if {kills.%UUID of player%} is not set:
set {kills.%UUID of player%} to 0
#and so on for your other variables
Step 2 is to make all of the conditions for the variables, like tracking kills and how to level up the player. You can do this like this:
#kills
on death:
if attacker is player:
if victim is player:
add 1 to {kills.%UUID of attacker%}
add 1 to {deaths.%UUID of victim%}
#gold
add 5 to {gold.%UUID of player%}
#level
if {kills.%UUID of attacker%} is (10 + (5 * {level.%UUID of attacker%})):
add 1 to {level.%UUID of player%}
#playtime
on join:
while player is online:
wait 1 minute
add 1 to {playtimeMinutes.%UUID of player%}
And step 3 is to implement this into a scoreboard. I'm not really sure how to do this without using SkRayFall, as I know that that scoreboard system is not the best. Here is an skRayFall half-example anyway, and if anyone has a better option PLEASE POST IT BELOW.
on join:
while player is online:
wipe player's sidebar
set name of sidebar of player to "&aThe Pvp Arena"
set score "Kills: &b{kills.%UUID of player%}" in sidebar of player to 5
set score "Deaths: &c{deaths.%UUID of player%}" in sidebar of player to 4
set score "Gold: &6{gold.%UUID of player%}" in sidebar of player to 3
set score "Playtime: &3{playtimeMinutes.%UUID of player%} &3minutes" in sidebar of player to 2
ect...
wait 1 second
I hope by following this, you not only figured out your problem but learned something from it.
-Gam3rBoi