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 function like Doesnotfindfirstchild?

im making a script and its waiting for something to be not found in a folder i would try a for loop but Thats not possible cause im using a repeat wait loop and cant add a for loop after until

1 answer

✓ Accepted answer

If you are trying to NOT find a value then simply do (if you are making an if statement)

if not player:FindFirstChild(add object or value name here) then
	-- code if they don't have object/value
end

Be sure to wait until player is fully loaded otherwise the if would run due to incomplete loading.

1 comment

1

Forgot this existed Lmao

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