GUI not showing when inserted into PlayerGui?
Asked by
4 years ago Edited 4 years ago
Hi, I'm trying to get access to my GUI, so I can make changes, but I don't know how, because my script is located in StarterPack, because I'm making something with Tools, and I can't access StarterGui. I've tried inserting the GUI into the Player's PlayerGui which seems like the best option to do something like this, but it doesn't work. Can someone help?
Code:
1 | local Tool = script.Parent |
4 | Tool.Equipped:Connect( function () |
5 | local Player = game.Players.LocalPlayer |
6 | GUI.Parent = Player:WaitForChild( "PlayerGui" ) |