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)

1 comment

0

This question is WAY too broad.