I have a main game script that waits for a few things before calling a gui that allows the player to choose a team to open. The Frame is in StarterGui underneath a ScreenGui and works fine if I have it visible right away, but I thought that I would keep it invisible and use the line 'local teamgui = game:GetService("StarterGui").GUI.TeamFrame' and calling it with 'teamgui.Visible = true'. so that players don't get access until all the players are in the game. Is there another way I should be calling this? Thank you!

4 comments

0

You shouldn’t be using StarterGui. Use PlayerGui.

0

^^^^ with LocalPlayer if u use a LocalPlayerr scriot

0

LocalPlayer.PlayerGui

0

ok this might sound like a bad question but how am I able to see PlayerGUI in my explorer like I can with StarterGUI? I found it in in advanced objects but I don't see anywhere to drag it into. Or maybe I use it another way? EDIT: Ok sorry now I see what you are saying thank you so much I'll try this.