So, I have a gamepass for a segway and I have the tool. I tried creating a script so when the player joins, if they have the specified gamepass then they will be given the segway. This is what I tried:
local MarketPlaceService = game:GetService("MarketplaceService") local GamepassId = 6547079 game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function() if MarketPlaceService:UserOwnsGamePassAsync(player.userId, GamepassId) then script.HandlessSegway:Clone().Parent = player.Backpack end end) end)
However, during testing this did not work.
The gamepass has to be on your own game, I believe.
Try making a gamepass, you'll automatically own it if you made it.
If this doesn't work, let me know.
Hope this helps!
-Maxis_s