Roblox API Reference

GamePassService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
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

History

Members

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

History

Tags: [Yields, Deprecated]

Removed members

SetPlayerHasPassUrl

Name Type Default
playerHasPassUrl string none

History

Relevant classes (1)