The name of the GUI is PremiumDances, it's in the StarterGUI, and the first Frame is literally called frame to make this easy. I followed three different (maybe outdated) tutorials, all to no avail.
local id = 4682788
game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(char) if game:GetService('GamePassService'):PlayerHasPass(Player,id) then Player.PlayerGui.PremiumDances.Frame.Visible = true end end) end)
I don't seem to be getting any error codes but the script is not working as the currently invisible GUI stays invisible even for gamepass owners.