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 |
|
|
|
| 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
|
  |
| Joined: 30 May 2011 |
| Total Posts: 296 |
|
|
| 07 Aug 2017 05:25 PM |
| Darn, I should have thought of that, Well thanks! |
|
|
| Report Abuse |
|
|