Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to check if a sound is somewhere i tried ~= nil dident work?

i tried using this but nothing happened

if player.Character:FindFirstChild("Sounds") ~= nil then

1 comment

0

btw i meant to put "Sounds" as that is what the Name is

1 answer

✓ Accepted answer

~= nil is unnecessary in this case. You can simply do

if player.Character:FindFirstChild("Sounds") then
-- do stuff

if it still doesn't work, then some other part in your script is the issue.

This discussion is preserved as it was. New answers, comments, and votes are closed.