i tried using this but nothing happened
if player.Character:FindFirstChild("Sounds") ~= nil then
i tried using this but nothing happened
if player.Character:FindFirstChild("Sounds") ~= nil then
~= 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.
1 comment
btw i meant to put "Sounds" as that is what the Name is