1. I wanted the player to his score that on the scoreboard on the XP bar. When I add/take the score from the scoreboard XP bar should change(take/give XP too.)
2. How can i add music to the world? By not using a resource pack.
bruh, I literally told you your options and you say it doesn't help. FINE
1) Either you hardcode each and every value like
execute as @a[scores={<scoreboard>=1}] run xp set @s 1 levels
execute as @a[scores={<scoreboard>=2}] run xp set @s 2 levels
execute as @a[scores={<scoreboard>=3}] run xp set @s 3 levels
execute as @a[scores={<scoreboard>=4}] run xp set @s 4 levels
execute as @a[scores={<scoreboard>=5}] run xp set @s 5 levels
execute as @a[scores={<scoreboard>=6}] run xp set @s 6 levels
etc
1.1) Make a dynamic system in which detects the amount of xp player has to the score in scoreboard then remove or add xp
scoreboard objectives add xpStore dummy
execute as @a store result score @s xpStore run data get entity @s XpLevel
execute as @a if score @s xpStore > @s <scoreboard> run xp add @s -1 levels
execute as @a if score @s xpStore < @s <scoreboard> run xp add @s 1 levels
2) You noteblocks to make music. Alternatively, you can use /playsound and adjust the pitch to make music.
And there you go, I gave you the basic information in which you need to achieve your goal but you said it wasn't helpful like, DUDE. You can't except everything to be served on a silver platter
1. I wanted the player to his score that on the scoreboard on the XP bar. When I add/take the score from the scoreboard XP bar should change(take/give XP too.)
2. How can i add music to the world? By not using a resource pack.
1) either hardcode each value or make a system that compares the xp and score and decreases or increases
2) noteblocks
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!
Doesn't help
bruh, I literally told you your options and you say it doesn't help. FINE
1) Either you hardcode each and every value like
1.1) Make a dynamic system in which detects the amount of xp player has to the score in scoreboard then remove or add xp
2) You noteblocks to make music. Alternatively, you can use /playsound and adjust the pitch to make music.
And there you go, I gave you the basic information in which you need to achieve your goal but you said it wasn't helpful like, DUDE. You can't except everything to be served on a silver platter
==Links==
๐๐๐๐จ๐ง๐ ๐๐ก๐๐ง๐ง๐๐ฅ- https://www.youtube.com/channel/UCQYroXqdZtYBnyspneetBGA/featured
๐๐ง๐ฌ๐ญ๐๐ ๐ซ๐๐ฆ- https://www.instagram.com/cowsdabest_yt/?hl=en
๐๐ฐ๐ข๐ญ๐ญ๐๐ซ- https://twitter.com/cowsdabestyt
๐๐ข๐ฌ๐๐จ๐ซ๐- https://discord.gg/H2NfhpQ
==DISCLAIMER!==
Please credit me if you are going to use it in a video or a map!