GetArrivingTeleportGui has an unneeded WaitForChild on the PlayerGui

https://developer.roblox.com/en-us/api-reference/function/TeleportService/GetArrivingTeleportGui

PlayerGui implicitly exists to LocalScripts. The WaitForChild that’s present in the code sample is not needed, especially taking into account the function is not particularly efficient compared to the other methods of indexing (trivial concern but worth pointing out).

1 Like