When making scripts with multiple nested objects how important is it to use the WaitForChild() function on each object?
For example, this is a line from one of my scripts
game.ReplicatedStorage.RemoteEvent.GetBoatInv.OnServerInvoke = ...
I am using remote events like this in many places along with nesting in GUIs that is similar.
Do I need to go through and change all of these to something like this?
game:GetService("ReplicatedStorage"):WaitForChild("RemoteEvent"):WaitForChild("GetBoatInv").OnServerInvoke = ...
Is there a simpler way to do this, or is it not needed?
Thanks in advance!