of     1   

[rfa#hidefromsearch]
#221269871Friday, July 14, 2017 2:59 AM GMT

[rfa#hidefromsearch]
EatCheetos
#221272905Friday, July 14, 2017 3:40 AM GMT

I haven't learned how to work with gamepasses yet, but search up "gamepasses roblox" on Google and click the Wiki link. The examples look easy and straightforward
KiwiTronik
#221275091Friday, July 14, 2017 4:10 AM GMT

Generally, you have to rejoin the game in order for game passes to work However, you can implement a function that detects if the player purchased the game pass, and then you can "unlock" the door from that moment, otherwise the default "check for game pass" won't work until they rejoin
ryangallo1234
#221275428Friday, July 14, 2017 4:15 AM GMT

local gamepassid = local char = hit.Parent local player = game.Players:GetPlayerFromCharacter(char) if game:GetService("GamePassService"):PlayerHasPass(player, gamepassid) then --CODE HERE!! end end)
KiwiTronik
#221275541Friday, July 14, 2017 4:16 AM GMT

Thats the default script im talking about, but when you prompt purchase to the player, there is a variable to check to see if it has been purchased
ryangallo1234
#221275642Friday, July 14, 2017 4:18 AM GMT

my bad, incase they DONT own the pass, you can tease them to buy it. id = 12345 game.Players.PlayerAdded:connect(function(player) game:GetService("MarketplaceService"):PromptPurchase(player, id) end)
KiwiTronik
#221275895Friday, July 14, 2017 4:21 AM GMT

Again, i assume he already has that - are you reading anything im saying? local MarketplaceService = game:GetService("MarketplaceService") MarketplaceService.PromptPurchaseFinished:connect(function(player, assetId, isPurchased) if isPurchased then print(player.Name .. " bought an item with AssetID: " .. assetId) else print(player.Name .. " didn't buy an item with AssetID: " .. assetId) end end) Use this to open the door straight away, after the the gamepass has been purchased
ryangallo1234
#221275954Friday, July 14, 2017 4:22 AM GMT

i didnt understand what you were saying rather than not putting it into code..
[rfa#hidefromsearch]
#221276647Friday, July 14, 2017 4:32 AM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#221276667Friday, July 14, 2017 4:32 AM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#221276851Friday, July 14, 2017 4:35 AM GMT

[rfa#hidefromsearch]
KiwiTronik
#221276971Friday, July 14, 2017 4:37 AM GMT

There might be a problem with who's selling the game pass and who owns it
[rfa#hidefromsearch]
#221277966Friday, July 14, 2017 4:54 AM GMT

[rfa#hidefromsearch]
IMakeClothing
#221278973Friday, July 14, 2017 5:12 AM GMT

l r+://334118955r+://334119003r+://334119053 my total postcount is 23k since 6/20/17
KiwiTronik
#221288309Friday, July 14, 2017 8:21 AM GMT

post the script

    of     1