So when a player enters my game it detects it and checks if they own a pass. I do. However, whenever I go into the game, it says I don't own the pass.
Can anyone tell me why? Do I have to do something with the id; try a different method ect?
My script currently is:
local id = 00
game.Players.PlayerAdded:connect(function(player)
wait(1)
local owns = game:GetService("GamePassService"):PlayerHasPass(player, id)
print(player,'owning the pass is', owns)
I've also tried using
game.GetService:("MarketPlaceService"):PlayerOwnsAsset(player, id)
but that also returns false
After this this I have the rest of the script saying
If owns == true then
--rest of script
Or if I make it:
if owns then
it just says 'GamepassIDHere' is not a gamepass, please use Marketplaceservice instead
But I still had nothing...
Can anyone help?
