txiwc Posted August 4, 2022 Share Posted August 4, 2022 (edited) this is the skript i use on join: {blocksmined.%player%} is not set: set {blocksmined.%player%} to 0 on mine: add 1 to {blocksmined.%player%} options: server: &4&lTaxBox every 1 second: loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "{@server}" set score "&7&m -----------------" in sidebar of loop-player to 6 set score " &4&l%loop-player% &7> &4&lStats" in sidebar of loop-player to 5 set score "&4&lBlocks Mined: &c&l%{blocksmined.%loop-player%}%" in sidebar of loop-player to 4 set score "&4&lKills: &c&l%{kills.%loop-player%}%" in sidebar of loop-player to 3 set score "&4&lDeaths: &c&l%{deaths.%loop-player%}%" in sidebar of loop-player to 2 on join: if {kills.%player%} is not set: set {kills.%player%} to "0" if {deaths.%player%} is not set: set {deaths.%player%} to "0" on death: if victim is a player: if attacker is a player: add 1 to {kills.%attacker%} add 1 to {deaths.%victim%} Edited August 4, 2022 by txiwc Link to comment Share on other sites More sharing options...
ApexSplat Posted August 5, 2022 Share Posted August 5, 2022 When they join you are setting the variables to a string and when they kill someone you are making it add 1 to a string. Instead change it to set it to 0 instead of "0". Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now