GamePass

Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.

ShotInstancenot creatablecomingRoblox

Up and coming

A game pass of your experience, listed and edited from code.

A child of its RobloxUniverse, from GetGamePassesAsync or CreateGamePassAsync. It carries GamePassId, Name, Description, Price, IsForSale and IconAssetId, and UpdateAsync changes them on Roblox.

Properties

NameTypeDefaultDescription
GamePassIdnumber
Descriptionstring
Pricenumber?
IsForSaleboolean
IconAssetIdnumber?

Methods

NameArgumentsReturnsDescription
UpdateAsync
yields
(changes: { Name: string?, Description: string?, Price: number?, IsForSale: boolean?, Icon: (string | buffer)? })(boolean, string?)Sends the changes given to Roblox, such as a new price, and waits for the answer; Icon is a PNG path or bytes.
From ShotInstance 33