Hi there! I'm trying to make an in-game music Skript where it loops the cat disc. I calculated the exact number of minutes the disc is (im using a texture pack) and when I play it in-game it works but the sound plays over itself. I can't figure out how this happens. Here is my code:
It'd be great if you helped!
Code:
command /thiscommanddoesnothingmusic:
trigger:
execute console command "execute at %player% run playsound music_disc.cat player %player% ~ ~ ~ 999999999999999999"
wait 2 minutes
wait 15.33 seconds
make player execute command "thiscommanddoesnothingmusic"
on join:
wait 25 seconds
make player execute command "thiscommanddoesnothingmusic"
It'd be great if you helped!