I made a part that plays sound when you get in the part but
when I get in the part and equip a tool, the sound resets and start again.
I tried searching it on youtube, asking it to ai, asking it to roblox studio asistant ai, searched it on devforum but couldn’t find the solution.
Sorry if I’m using devforum wrong, I’m new on roblox studio.
I believe it’s due to you using the .Touched event. Every time you detect a touch and you go through all the validation, you could check if the sound is already playing and only play it if it’s not. You could do it like such:
if not sound.Playing then
sound:Play()
end
Also, if you want sound regions, you could take a look at this tutorial.