Hello, take a look on my skript
command /o0oscoreboardo0o123:
permission: scoreboardffa.skript
trigger:
set name of sidebar of player to "&6FFA Scoreboard"
set score "Kills: {kills.%player%}" in sidebar of player to 4
set score "Deaths: {deaths.%player%}" in sidebar of player to 3
set score "Streak: {streak.%player%}" in sidebar of player to 2
set score "Top Streak: {topstreak.%player%}" in sidebar of player to 1
on death:
player is in "FFA1"
victim is a player
attacker is a player
add 1 to {kills.%attacker%}
add 1 to {deaths.%victim%}
add 1 to {streak.%attacker%}
set {streak.%victim%} to 0
if {streak.%attacker%} is greater than {topstreak.%attacker%}:
set {topstreak.%attacker%} to {streak.%attacker%}
on first join:
set {kills.%player%} to 0
set {deaths.%player%} to 0
set {streak.%player%} to 0
set {topstreak.%player%} to 0
The problem is that the variables aren't working. It shows "Kills: {kills.NoMoreEscape} instead of showing the actual kills; which should be "Kills: (number of kills)" the same goes with the deaths and the streak and the top streak. here is a capture of it:
command /o0oscoreboardo0o123:
permission: scoreboardffa.skript
trigger:
set name of sidebar of player to "&6FFA Scoreboard"
set score "Kills: {kills.%player%}" in sidebar of player to 4
set score "Deaths: {deaths.%player%}" in sidebar of player to 3
set score "Streak: {streak.%player%}" in sidebar of player to 2
set score "Top Streak: {topstreak.%player%}" in sidebar of player to 1
on death:
player is in "FFA1"
victim is a player
attacker is a player
add 1 to {kills.%attacker%}
add 1 to {deaths.%victim%}
add 1 to {streak.%attacker%}
set {streak.%victim%} to 0
if {streak.%attacker%} is greater than {topstreak.%attacker%}:
set {topstreak.%attacker%} to {streak.%attacker%}
on first join:
set {kills.%player%} to 0
set {deaths.%player%} to 0
set {streak.%player%} to 0
set {topstreak.%player%} to 0
The problem is that the variables aren't working. It shows "Kills: {kills.NoMoreEscape} instead of showing the actual kills; which should be "Kills: (number of kills)" the same goes with the deaths and the streak and the top streak. here is a capture of it: