I have no idea how to give people rewards in game if they bought paid access. I want the person to get 10k civilians in civilian clicker even though I haven't even scripted the scripts that are basically the whole game...
✓ ANSWER ACCEPTED
How to award people things in game if they bought paid access?
1 answer
✓ Accepted answer
game:GetService("Players").PlayerAdded:connect(function(p)
if game:GetService("MarketPlaceService"):PlayerOwnsAsset(0000000, p) then-- Put in product Id.
--Code here.
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
