local devidl = 5815497
game:GetService("MarketplaceService").PromptGamePassPurchaseFinished:Connect(function(player,gamepassid,ispurchased)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId,devidl) == true then
if ispurchased == true then
if gamepassid == devidl then
script.Parent.Value = "INF"
end
end
end
end)
game.Players.PlayerAdded:connect(function(player)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId,devidl) == true then
script.Parent.Value = "INF"
end
end)
COMMUNITY QUESTION
can someone help me with my gamepass script? i am using a numbervalue as the value it goes into
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
This question is WAY too broad.