FANDOM


This function finds the first child of an object with the given name. It is useful when you want to get an object whose name is stored in a variable, like this:

name = "MyBrick"
p = game.Workspace:FindFirstChild(name)

If an item with the name you gave couldn't be found, then the return value will be nil, this can be used for checking:

if not Workspace:FindFirstChild("Terrain") then
    print("You're using an old version of roblox!")
end
FindFirstChild
Arguments[String] name, [Boolean] recursive
Found inGlobal function

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.