game.Players.PlayerAdded:connect(function(plyr)
local gamePassService = game:GetService("GamePassService")
if gamePassService:PlayerHasPass(plyr,258305700) then
plyr.Character.PlayerGui -- eg (this line I want to access the StarterGUI)
end
end)
Basically I want my script above to access the Player's StarterGUI, But how do I do it?
this script is in serverscriptservice.
Its prob an easy fix. Im still learning about the hierarchy of roblox. Thanks, ~bubs
