function survivalplus:load/bounce
scoreboard objectives add burst dummy
scoreboard objectives add ghost dummy
scoreboard objectives add illager dummy
scoreboard objectives add horn dummy
scoreboard objectives add shotbow minecraft.used:minecraft.bow
scoreboard objectives add hunger food
scoreboard objectives add dealdmg minecraft.custom:minecraft.damage_dealt
scoreboard objectives add usetome minecraft.used:minecraft.knowledge_book
scoreboard objectives add dropmoss minecraft.dropped:minecraft.moss_block
scoreboard objectives add jump minecraft.custom:minecraft.jump
scoreboard objectives add death deathCount
scoreboard objectives add hardmode dummy
scoreboard objectives add cooking dummy
scoreboard objectives add timer dummy
scoreboard objectives add cmps_x dummy
scoreboard objectives add cmps_y dummy
scoreboard objectives add cmps_z dummy
scoreboard objectives add polytimer dummy
scoreboard objectives add thirst dummy
scoreboard objectives add Health health
scoreboard objectives add Level level
scoreboard objectives add maxhp dummy
scoreboard objectives add manalvl dummy
scoreboard objectives add itemcount dummy
scoreboard objectives add titanmenu trigger
scoreboard objectives add titanmenu2 trigger
scoreboard objectives add cursemenu trigger
scoreboard objectives add sanity dummy
scoreboard objectives add siphon dummy
scoreboard objectives add Insomnia minecraft.custom:minecraft.time_since_rest
scoreboard objectives add join minecraft.custom:minecraft.leave_game
scoreboard objectives add stunned dummy
scoreboard objectives add seed dummy

scoreboard objectives add days dummy
scoreboard objectives add time dummy

scoreboard objectives add Deaths deathCount
scoreboard objectives add Kills totalKillCount
scoreboard objectives setdisplay below_name Deaths
execute as @a unless score @s Deaths matches 0.. run scoreboard players set @s Deaths 0

scoreboard objectives add newgame dummy
scoreboard objectives add TotalDeaths deathCount
#scoreboard objectives add TotalKills totalKillCount

scoreboard objectives add CasUndoX dummy
scoreboard objectives add CasUndoY dummy
scoreboard objectives add CasUndoZ dummy