Door Sounds Stuttering?

I’m trying to make a click open door for my ATF spinoff, and I’ve successfully done that with a little help from family members, but now after adding the sounds to the door, it strangely stutters when I open or close it, like it’s playing the the audio twice.

I’m quite new to Lua and I actually re-purposed some code a Roblox template game. My best guess to the issue, is that it’s the client’s fault. Anything would help!

DoorScript|690x309

If you wanna see the door in action, go play the game and click on the doors. haha development go boom - Roblox

You have the :Play() inside the loop when you alter the door’s CFrame, unless the door sound is a short recursive creaking sound you should instead do this:

sound:Play()
for i = 1, 14 do
-- your door CFrame stuff
end
sound:Stop()
1 Like

Yes! This fixed it! So sorry if it’s uber simple, It’s just I thought I was going insane.
Well, all people learn so, thanks a ton, I’ll remember it.

2 Likes