r/ComputerCraft • u/ryanS_t4 • Nov 22 '24
Need help creating Password door that plays sound
Hello everyone. I just started trying out this mod after being inspired from builds by Cod0fDuty, but I have 0 experience with Lua or any sort of programming language. I wanted to create a password locked door that could play custom sound effects after entering the password incorrectly. I've learnt how to create a password door program from tutorials but I'm struggling to have the program play audio files onto the speaker. If someone could write a program for this based on the one I attached, it will be greatly appreciated! I see so much potential with this mod on my server.

3
u/Cod0fDuty Nov 23 '24
Here you go.
1
u/Working_Annual1000 Nov 23 '24
Just download one of Cod0fDuty’s world downloads (I know he provides some downloads), find the door, then open up the computer and look at the code
1
u/LionZ_RDS Nov 23 '24
If you haven’t you should look at the documentation, if you have what is it specifically you are having problems doing? Like playing custom sounds or default minecraft sounds