I have a script that will play a slashing sound when the player activates a tool but for whatever reason, the sound refuses to play while other sounds for different abilities play without issue.
The first attack at the start of the clip is the one that should have a sound attached to it btw
I’ve tried reparenting the sound, rewriting the script multiple times, changing the variable, etc
not sure what I am doing wrong atm
This is a client-sided tool, the client relies on WaitForChild for the instances to replicate.
FindFirstChild is to check if something exist, and in your case you are using it wrong.
It will yield until it has been found, if it yields for more than 5 seconds (which is default, unless you add a second parameter), all it will give is a warning.
Playing the sound manually still plays a slashing sound which is why I’m so confused because as far as I know it should be working and I’m not getting any errors