What does this mean its a local script inside a gui
repeat wait(.1) until game.Players.LocalPlayer
This script means that the code runs until it finds a player that has joined the game in 0.1 seconds. Until then, it won't run any code after that line. This script would work for every player in game if you change
wait(.1) [[-- To --]] wait()