I'm trying to make an interactable "phone" GUI where you can play custom music by clicking on the music tab on the phone.
However, clicking on the music item does absolutely nothing. Any clue why this is happening?
function phoneGui(p: player):
send "phoneGui ran" to {_p}
send "clicked by %{_p}%" to all players
create a gui with id "phone" with virtual chest inventory with 6 rows named "&b&lYour Phone" and shape "xxxxxxxxx", "x---p---x", "x--raw--x", "x--qem--x", "x-------x" and "xxxxxxxxx":
make gui slot "x" with light blue glass pane named "&b&lYour Phone" with lore "&7Welcome to &3your phone&7.%nl%&7You may access a variety of features from this menu."
make gui slot "p" with player head named "&b&lYour ID"
make gui slot "q" with book named "&b&lQuests":
make player run command "quests" as op
#make gui slot "r" with glowstone_dust named "&b&lDailies"
make gui slot "m" with record named "&b&lMusic":
send "music1" to {_p}
musicGui({_p})```