π PsuedoPasses
Gamepasses in the form of developer products.
Setupβ
newβ
Makes a new "gamepass"
local Framework = require(path).GetServer()
local Passes = Framework.PsuedoPasses
local newPass = Passes.new("10x Luck", 234934) -- name, product ID
UserOwnsβ
Checks if the user owns the pass
newPass:UserOwns(player)
PromptPurchaseβ
Prompts the purchase for the pass
newPass:PromptPurchase(player)
Giveβ
Gives the player the pass
newPass:Give(player)
Getβ
Returns the pass metatable
Passes.Get("10x Luck")
PromptPassβ
Prompts the purchase for a pass
Passes.PromptPass(player, "10x Luck")
UserOwnsPassβ
Passes.UserOwnsPass(player, "10x Luck")