replaceitem entity @s[tag=!spawn:firstTime] slot.hotbar 6 structure:starter_spawn_egg 1 0 
replaceitem entity @s[tag=!spawn:firstTime] slot.hotbar 7 tool:vessel_config 1 0 {"minecraft:keep_on_death":{},"minecraft:item_lock":{"mode":"lock_in_inventory"}}
replaceitem entity @s[tag=!spawn:firstTime] slot.hotbar 8 misc:ultima_slot 1 0 {"minecraft:keep_on_death":{},"minecraft:item_lock":{"mode":"lock_in_inventory"}}
replaceitem entity @s[tag=!spawn:firstTime] slot.hotbar 1 weapon:basiccombat 1 0 {"minecraft:keep_on_death":{}}
function setScoreboardObjectives
execute as @s[tag=!spawn:firstTime,tag=dev] at @s run say noTag
execute as @s[tag=spawn:firstTime,tag=dev] at @s run say hasTag
scoreboard objectives add petID dummy
scoreboard objectives add projectileOutput dummy
scoreboard objectives add kbVerti dummy
scoreboard objectives add kbHori dummy
scoreboard players set @s kbHori 1
scoreboard players set @s kbVerti 1
scoreboard objectives add slashRes dummy
scoreboard objectives add bluntRes dummy
scoreboard objectives add projRes dummy
scoreboard objectives add pierceRes dummy
scoreboard objectives add magicRes dummy
scoreboard players random @s[tag=!spawn:firstTime,family=custom_mob] petID -10000 10000
scoreboard players random @s[tag=!spawn:firstTime] projectileOutput 0 20
scoreboard players set @s[tag=!spawn:firstTime] slashRes 10
scoreboard players set @s[tag=!spawn:firstTime] bluntRes 10
scoreboard players set @s[tag=!spawn:firstTime] projRes 10
scoreboard players set @s[tag=!spawn:firstTime] magicRes 10
scoreboard players set @s[tag=!spawn:firstTime] pierceRes 10
tellraw @s[tag=!spawn:firstTime] {"rawtext":[{"text":"§eSpringCorn51296 joined the game."}]}
tellraw @s[tag=!spawn:firstTime] {"rawtext":[{"text":"<SpringCorn51296> Hello. I am here to give some important knowledge. If you wish to use a weapon, simply put them in your hotbar then equip them. However you can only use 1 weapon at a time. If you were using let's say the Blunt Cleaver then switched immediately to Undead Claw, the game will softlock and prevent you from using either the Undead Claw or the Blunt Cleaver.  This results to a bug where you have to rejoin in order to fix. If you have concerns, questions or found bugs/issues, feel free to send it in my YouTube channel's comment section. Alternatively you can go to my Discord server and ping me."}]}
tellraw @s[tag=!spawn:firstTime] {"rawtext":[{"text":"<SpringCorn51296> That is all, thank you for supporting us."}]}
tellraw @s[tag=!spawn:firstTime] {"rawtext":[{"text":"§eSpringCorn51296 left the game."}]}
tellraw @s[tag=!spawn:firstTime] {"rawtext":[{"text":"§4§lREJOIN IF YOU CAN'T MOVE OR DO ANYTHING."}]}
event entity @s[tag=!spawn:firstTime] movement:sprint
tag @s[tag=!spawn:firstTime] add spawn:firstTime


scoreboard players set @s stamina 100
scoreboard players set @s magicule 0
scoreboard players set @s stun 0
scoreboard players set @s has_skill 0
scoreboard players set @s basic_attack 0
tag @s remove basicAttack