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!
-
What is the issue? Include screenshots / videos if possible!
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local anim = script:WaitForChild("Animation")
script.Parent.Activated:Connect(
function(a)
script.Parent.Handle["GoodSoun"]:Play()
script.Parent.Handle.Unsheath:Stop()
script.Enabled = false
local char = script.Parent.Parent
local animt = char.Humanoid:LoadAnimation(anim)
animt.Priority = Enum.AnimationPriority.Action
animt:Play()
script.Parent.Handle.damager.Enabled = true
task.wait(0.4)
script.Parent.Handle.damager.Enabled = false
task.wait(0.3)
script.Enabled = true
end
)
script.Parent.Equipped:Connect(
function(playSound)
script.Parent.Handle.Unsheath:Play()
end
)
script.Parent.Unequipped:Connect(
function(playSound)
script.Parent.Handle["Sword Unequip"]:Play()
end
)
When my sword tool is activated, the equip sound plays. I have made sure that the sound isn’t recursive. I have no idea what this is. No, the solution is not to stop the sound.