game.Players.PlayerAdded:connect(function(player)
repeat wait() until player.PlayerGui:FindFirstChild("StartMenu")
repeat wait() until player.Character:findFirstChild("Humanoid")
player.PlayerGui.StartMenu.Frame.Visible = true
player.Character.Humanoid.WalkSpeed = 0
while true do
wait(0.1)
if not player.Character:findFirstChild("StartMenu") then
player.PlayerGui.ShopButton.Frame.Visible = true
end
end
print('JoinedAndWorking!')
end)
player:WaitForChild('PlayerGui'):WaitForChild('ShopButton'):WaitForChild('Frame').Visible = true
worst localscript ive seen in a while.

4 comments
This is a Bad Question (TM). The while loop will never exit, so it will never print "JoinedAndWorking"
its FindFirstChild not findFirstChild and break your loop for god's sake
i can feel you judging me
Dude please indent it makes code a lot easier to read.