generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: ScreenGui is not a valid member of PlayerGui

Previous Thread :: Next Thread 
polill00 is not online. polill00
Joined: 30 May 2011
Total Posts: 296
07 Aug 2017 05:10 PM
game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame2.Unlock.MouseButton1Click:connect(function()


Here is the one line of my code that I don't understand.

If give me the error: "ScreenGui is not a valid member of PlayerGui"



I enter the game open players open my name, open player GUI, And see ScreenGui.
Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
07 Aug 2017 05:19 PM
Yeah this happens to me a lot too, I fixed it by adding a :WaitForChild("blahblah")
Try that.
Report Abuse
polill00 is not online. polill00
Joined: 30 May 2011
Total Posts: 296
07 Aug 2017 05:25 PM
Darn, I should have thought of that, Well thanks!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image