Roblox Findfirstchild. :FindFirstChild() returns a instance inside a parent with the given name, otherwise it returns nil. https://developer.roblox.com/en-us/api-reference/function/ Returns the first child of the Instance whose ClassName is equal to the given className. If no matching child is found, this function returns nil. Unlike
FindFirstChild basically finds a child with a matching name you passed. 2 Likes. Skiilguard (Skiilguard) December 21,
I am trying out a example on a book called Roblox Lua: Scripting For Beginners Leaderboard Script-Through. I
Find first child is basically checking if there is an object with a certain name. If there is, great, return the instance. If not, return nil.
Acts as abstract properties for generic information about Classes, Members, Enums, and EnumItems.
Returns the first child of the Instance whose ClassName is equal to the given className. If no matching child is found, this function returns nil. Unlike
game:findFirstChild("Popup",true):remove() --Returns game.CoreGui.RobloxGui.Popup, which is under 2 RobloxLocked objects.
This tells you that you are finding the child "Humanoid" in the Parent "Figure". You can also use this with a variable to create lava. But you need a function
Answer this question Roblox Characters, Logos, Images, and Content are property of Roblox Corporation. Used with permission. About Us. About · Support on
:FindFirstChild() returns a instance inside a parent with the given name, otherwise it returns nil. https://developer.roblox.com/en-us/api-reference/function/
I have the habit of using FindFirstChild whenever I'm trying to get the child of something, is it necessary? I see a-lot of people who don't