I tried gamepass service and marketplace service and NONE of them have worked at all. I get no error when using UserOwnsGamePassAsync and no output whatsoever. The only output is on line 2.
script.Parent.Parent.DialogChoiceSelected:Connect(function(player, choice)
print("Selected to equip.")
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 4738167) and choice.Name == "Equip" then
print("has glock")
game.ServerStorage.Glock:Clone().Parent = player.Backpack
end
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, 4738176) and choice.Name == "Equip" then
print("has card")
game.ServerStorage["Level 1"]:Clone().Parent = player.Backpack
end
end)
