Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make an infinite capacity game pass?

Hello! I wanted to ask if anyone could reach me below on how to make one of these gamepasses for my game. I have no knowledge and need to be teached on how I can do this! Thank you all!

1 comment

0

They're called Developer Products, research this in the Developer Wiki to get started; if you experience issues with doing so, come back to us and we'll get you situated!

1 answer

✓ Accepted answer

local mps = game:GetService("MarketPlaceService")
game.Players.PlayerAdded:Connect(function(player)
if mps:UserOwnsGamePassAsync(player.UserId, 000000) then--set 000000 to the gamepass id
--do stuff that gives player inf capacity
end
end

More or less something above, if you want to you can look into the Roblox Dev Wiki like Ziffixture said. https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/UserOwnsGamePassAsync

1 comment

0

Thank you

This discussion is preserved as it was. New answers, comments, and votes are closed.