Not sure as to why it says “Hover” is not a valid member of playerGUI on line 4, when on my explorer page you can see that Hover is a screenGUI that i need the script to access. I used a tutorial when making this script and it worked for him so not sure why it’s not for me? any ideas?
2 Likes
try
Gui = Player.PlayerGui:WaitForChild("Hover")
1 Like
Seems to have worked, thanks a lot!
I’d change to Player:WaitForChild("PlayerGui"):WaitForChild("Hover")
just in case. If you’re wondering why this works it’s because instances don’t instantly load so if the script attempts to reference an instance before it has loaded an error/warning will arise.
Ah that’s interesting, ill have to change it. Thanks for the input!