So i've got this "intromusic" i'm using i got sound in startergui and when player goes into game and clicks "skip intro" button which should remove the intro music sound in his playergui but how i locate the PlayerGui ? when the names can be random, what do i put in ?
print("Skip button loaded") button = script.Parent Screen = script.Parent.Parent.Parent IntroMusic = game.Players -- <<<<<< right here how do i locate it ? function onClicked(GUI) Screen:remove() IntroMusic:remove() end script.Parent.MouseButton1Click:connect(onClicked)