What this script is intended to is if you have a gamepass the NewsGui, and Ad (GUI) get destroyed.
would i need to go to the PlayerGui instead?
GPS = game:GetService("GamePassService") player = game.Players.LocalPlayer id = 498305418 game.Players.PlayerAdded:connect(function() if GPS:PlayerHasPass(player, id) then game.StarterGui.NewsGui:Destroy() game.StarterGui.Ad:Destroy() end end)
I do believe you must use PlayerGui as I think everything in StarterGui just gets copied over to PlayerGui.