local id = 18411129 local AnotherBrick = game.Workspace.winners local door = game.Workspace.WinnersSpawner local doorScript = game.Workspace.WinnersSpawner.GamepassTeleporter local playersService = game:GetService("Players") local MarketplaceService = game:GetService("MarketplaceService") playersService.PlayerAdded:Connect(function(player) if MarketplaceService:UserOwnsGamePassAsync(player.userid, id) == true then print("Player has pass.") else print("Player does not have pass.") end end)
Make sure you're indexing UserId
correctly (with capitalization).
can some one tell me how to sent a picture of ur script so people can help u ???