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

Why Choice3 is not a valid member of Folder?

if lastChoice.Choice3 then

end

Its say "Choice3 is not a valid member of Folder" in the outpout and the rest of the script don't execute. Its just to check if choice3 exist. I also try with

if lastChoice.Choice3 ~= nil then

end

and with

if lastChoice.Choice3 == nil then

end

But its never work, whats the problem?

2 comments

0

of course choice3 is not here but its a "if" so the script suppose to continue if he's not existing, right?

0

"elseif" Will maybe do the trick?

2 answers

✓ Accepted answer

"elseif" Will maybe do the trick?

1 comment

0

i accept this because i cant accept my own answer

if lastChoice:FindFirstChild("Choice3") then
	local cc = lastChoice:FindFirstChild("Choice3")
	if cc.Parent == lastChoice then

end
end

That the solution i find

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