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!
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()