How do I give a person a weapon(AK-47) if they buy the gamepass?
game:GetService("Players").PlayerAdded:connect(function(p) if game:GetService("MarketPlaceService"):PlayerOwnsAsset(0000000, p) -- put in product ID then -- code here end end)