How do I give a person a weapon(AK-47) if they buy the gamepass?
COMMUNITY QUESTION
How do you... With gamepass scripts?
1 answer
game:GetService("Players").PlayerAdded:connect(function(p)
if game:GetService("MarketPlaceService"):PlayerOwnsAsset(0000000, p) -- put in product ID
then
-- code here
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
