Roblox API Reference

GamePassService On DevHub


This class is not creatable. An object of this class cannot be created with
This class is a service. It is a singleton that may be acquired with GetService.

Tags: [NotCreatable, Service]

Inherits (1)

Member index (1)

Type Member History
bool PlayerHasPass (Player player, int64 gamePassId) 322 368 484
57 members inherited from Instance

Removed member index (1)

Type Member History
void SetPlayerHasPassUrl (string playerHasPassUrl) 311



PlayerHasPass On DevHub

This function yields. It will block the calling thread until completion.
This item is deprecated. It exists for backwards-compatibility only, and should not be used for new work.
Name Type Default
player Player none
gamePassId int64 none


Tags: [Yields, Deprecated]

Removed members


Name Type Default
playerHasPassUrl string none


Relevant classes (1)