Okay, so I am making a SCI (self check-in) and I want to check if a user owns a t-shirt, here's the code I got
local MarketplaceService = game:GetService("MarketplaceService")
local LocalPlayer = game.Players.LocalPlayer
local Asset = 4467639060
local function OnPlayeEntered(LocalPlayer)
if MarketplaceService:LocalPlayerOwnsAsset(LocalPlayer, Asset) then
print(LocalPlayer.Name .. " owns t-shirt")
else
warn(LocalPlayer.Name .. " does not own t-shirt")
end
end
When I playtest, I get nothing in console, no print, no errors, no nothing. NOTE: My inventory is public the second run, and still nothing.
