You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I am unsure of how I would be able to play a sound when an anchored limited drag detector touches another anchored part/reaches a certain position.
What is the issue? Include screenshots / videos if possible!
I do not know how I would be able to play a sound when the green part touches the red part (both are anchored to .Touched doesn’t work.
What solutions have you tried so far?
I’ve tried to look into documentation but I haven’t found a definite solution, neither on YouTube either.
Are you dragging and moving by changing the part’s position or is it using Roblox physics? Changing the part’s position when it is anchored will not fire touch. What you can do however is check to see if the position the part is moving to will touch the other part
I’ve actually tried this exact script from this dev post and it did kindof work, but the problem was that the sounds kept on playing constantly instead of just playing once
I made a horrible finicky solution, but I used two scripts, one for the back position and one for the front. I also used debounce along with “soundresovoirs” where I can store the sound. It works, but I probably will just change it to create a sound later. Thanks for all the help!
Another important note for anyone doing it with two detection parts at the end, I found out that it is VERY easy if you just use “break” out of the while loop in the script.