I need to know how to know the code/module of my car/vehicle? (see in this script line 6)
01 local MarketplaceService = game:GetService("MarketplaceService")
02 local Players = game:GetService('Players')
03 local id = 27137596
04 Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
05 if MarketPlaceService:UserOwnsGamePassAsync(id) then
06 --whatever vehicle code/module
07 else
08 if Occupant:FindFirstChild('Humanoid') then -- verifies if the occupant has a humanoid(if is a player)
09 local plr = Players:GetPlayerFromCharacter(Occupant) -- gets the player from the occupant of the seat(character)
10 MarketplaceService:PromptGamePassPurchase(plr, id) -- prompts the gamepass claim to purchase it.
11 Seat.Occupant = nil
12 end
13 end
14 end)

2 comments
Dude, try watching a tutorial or something before asking here, if that doesn't work than come back here and ask
@TheStageGuyYT I already searched and watched for hours and I didn't help so I post it here