when I equip the pizza tool as shown in the video, the sound becomes distorted for some reason.
However, when I equip and instantly unequip the tool, the sound seems to be normal but coming from a different place.
I tried changing the sound volume but that doesn’t seem to fix the issue.
Could somebody please help me out?
This seems like its happening because the sound is getting contantly played and paused, but i cannot say for certain that is whats happening without seeing the code that makes the sound play. Or is it configured to play once when its instanced? We need more information in order to find a fix…
what is the cframe of your tool’s Handle when you play the sound?
If the cframe is really big then it may distort the sound
(also restart roblox studio maybie)
Looking at the code, the syntax is pretty messy. You are using a deprecated mode of listening for an event. Try changing :connect() to :Connect(), it uses a newer API, maybe its just an issue of the old system. Also, the semicolon you typed on the first line is unnecessary.
Could i see the properties of the sound itself? When the tool is further, the sound seems to be normal, so im guessing it has something to do with the falloff.
Hello! This weird sound issue is probably caused by specific distortion effect in sound engine (when things or listener/camera moves too quickly) that might be used excessively.
Try disabling “VolumetricAudio” in SoundService inside of explorer window, if enabled.
Try resetting AssemblyLinearVelocity of the handle? (set to vector.zero)
Try OpenSound.Playing = true instead, this prevents rapid replaying.
Additionally, if you don’t want sound playing after tool is unequipped, add this:
function onUnequipped()
Tool.Handle.OpenSound:Stop()
end
Tool.Unequipped:Connect(onUnequipped)
If none helps, file a bug report Bug Reports (or I could do that for you if you don’t have access)