Hi, so I just got introduced to a thing behind all those petty micro-transactions called MarketPlaceService.
After experimenting with it for a little, I managed to put together this script:
local market = game:GetService("MarketplaceService")
local players = game.Players
local ownsAsset = market.PlayerOwnsAsset
players.PlayerAdded:Connect(function (player)
local success, doesPlayerOwnAsset = pcall(ownsAsset, market, player, 8642858)
if doesPlayerOwnAsset then
print(player.Name .. " owns the laser musket")
else
print(player.Name .. " doesn't own the laser musket")
end
end)
However, I own the asset, and it just keeps saying that I don't own the laser musket.
There are no output (other than the message that says I don't own it) and really nothing else.
Help please!

3 comments
Okay.
Thanks!
No problem.