This is just a skript I made in hopes it can save people some time making one for there hub. Simply edit the skript to your liking and your are good to go. The image below shows you where you would edit what command is ran when you right click the compass
If you have any questions then please feel free to contact me on discord
Discord: lunarversemc