Why doesn't my GUI become visible if the player owns a Gamepass?
Hey guys,
I've been wondering what I am missing in this script!
03 | game.Players.PlayerAdded:connect( function (p) |
04 | if game:GetService( "BadgeService" ):UserHasBadge(p.userId, BadgeId) then |
05 | script.Parent.Parent.Spawn.Visible = true |
06 | script.Parent.Parent.Parent.OwnedBikes.Bike 2. Visible = true |
13 | game.Workspace.ChildAdded:connect(respawned) |
I don't see a problem with it but it should have worked. If anyone sees a problem I've overlooked, please say!
Cheers,
Michael