local item = game.ServerStorage.SuperExplosivePowerRocketLauncher
game.Players.PlayerAdded:connect(function(plr)
if game:GetService("MarketplaceService"):PlayerOwnsAsset(plr,4429257) then
local a = item:Clone()
a.Parent = plr.Backpack
else
print(plr.Name .. " doesn't have the game pass...")
end
end)
I use that code and it says I do not own the Gamepass whenever I test it. Same with when I make the game public and play it (I do not get the SuperExplosivePowerRocketLauncher) I have tried so many scripts but none of them worked. I have tried the PlayerHasPass thing but nothing works. I double checked if the Gamepass was in my possesion, and it was. I need this resolved so I can continue developing my game place.

1 comment
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/UserOwnsGamePassAsync