Whats the difference between GetService & WaitForChild?

I hope i may get a better understanding of roblox.
To do this i must understand the difference between these events. I see them used all the time and i dont know what they do becuase they are all used in the same context.

First person to answer correctly gets to be the one whome gets the checkmark for answering it! So be hasty but precise. Thanks

Waiting for child is waiting for an object or gui or whatever it is to load into the game, getservice should be easy to understand just get a service, game.Getservice("") and whatever service you need.

game:GetService() is only used for getting the game’s services. There are alot of services, some are in the explorer and some are hidden.

WaitForChild is used to yield the thread until a child is found with the specified name, there is a timer parameter that gives a limit to how long it can wait (without this it will wait forever until specified child exists)

so difference is everything between the two.

1 Like