Ok I’m using this free open source fighting script, but I’m having a problem. It creates a sound in the humanoidRootPart for punching sounds, and for some reason like half the time the sound isn’t made until the player dies. I could probably easily fix this problem if I knew what was making the sound but I’ve searched every script , I’ve used find all in the script finder looking for anything that creates a sound or anything that mentions a sound but the only thing I can find is the part of the script that plays it. My theory is that the sounds are added with the default character sounds and theres no script for that. I saws an old tutorial about RBXCharactersounds but I cant find the script anymore. Anyone can help?
Can you explain further in detail?
The name “PlayOnRemove” should be pretty self explanatory…
“PlayOnRemove” just means that once the audio is destroyed, it will play the sound.
I dont see how this correlates though
when the player dies, the character is refreshed (deleted and respawned) which plays the audio. do you even play the audio everytime it hits?
Since it’s Scripting Support, copy/paste the script with 3 backticks (```) before and after it so it formats properly.
Are you sure it’s creating the sound, or is the sound object being loaded into the player from one of the other services?
To easily find Sound instances, go to your Explorer tab and type ClassName == "Sound"
, this filters all instances in the game to just those that have their ClassName as “Sound”
If you cannot find the Sound instance you are referring to, try using the “Find All / Replace All” tool in the View section of your Studio menu
And from there, you can type in keywords that can help you find whatever sound you’re looking for like “Punch”, “:Play()”, or “Sound”
Already did both of these I cant find whats creating these sounds.
Just FYI, you can type classname:Sound for the same result.
Literally the name and documentation, the sound will play when the sound is destroyed, so, maybe the sound plays when the player’s character is eliminated.