How to use conditional command blocks in a datapack
Im currently trying to create a datapack that locks and unlocks doors with interactions. I have watched some videos and got it to work but now i want it to play a lock and unlock sound if certain conditions are met that are you played if you interact with the door. But i have no idea how to make it work any help is appreciated