#Menus sound problem
1 messages · Page 1 of 1 (latest)
use %player_name% instead of @p
still
when i do the command /minecraft:playsound minecraft:entity.experience_orb.pickup master @p ~ ~ ~ 1 0.3 it works fine in any place
I think it has to do smh with the coordinates
Do you have the Player Expansion downloaded?
If not, /papi ecloud download Player
I have it
But still doesn't work
I'm pretty sure it is because of the coordinates. You could use the %player_x/y/z% placeholders and see if that works. Try:
minecraft:playsound minecraft:entity.experience_orb.pickup master %player_name% %player_x% %player_y% %player_z% 1 0.3 as your command in the menu.
If that still doesn't work, it might be that the console is running the command in a different world than the player. In that case you might have to do something like execute in minecraft:%player_world% run playsound minecraft:entity.experience_orb.pickup master %player_name% %player_x% %player_y% %player_z% 1 0.3, but take this with a grain of salt; I haven't tested it.
I will open it now to try it
I did it it worked thx