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

how to locate a descendant in workspace?

I am studying on how to make my own code I just need help with using the locate feature this is what I got so far

game.Workspace.part:FindFirstChild()

the child of workspace named "part" has a child named "Part" the thing is when I try this it says there is an error at first I tried "workspace.part:FindFirstChild()" but it was still an error then I tried "local game.Workspace.part;FindFirstChild()" but it didn't work either.

can some one show me how to use the find feature without it having an error. thanks

1 answer

✓ Accepted answer

Try

game.Workspace.part:FindFirstChild("Part")

6 comments

0

no it did not work. when i put in (Part) it was underlined in blue and the output menu said "Argument 1 missing or nil" i have a animation dummy could that effect the script not working?

0

No. Are u sure that part is in Workspace and Part is in part? Not in a model inside of part?

0

yes part is in work space and Part is in part and they are not a model

0

Wait lemme fix the script and it should be good

0

Ok it should be good now

0

alright thx

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