Can someone help my I made a car gamepass but it don't know how to code the kicker and the pop up?
I can use this 1 but i don't know how to find the "code/module of my car" can you help me guys?
local MarketplaceService = game:GetService("MarketplaceService")
Seat:GetPropertyChangedSignal("Occupant"):Connect(function()
if MarketPlaceService:UserOwnsGamePassAsync(27137596) then
--whatever vehicle code/module
else
Seat.Occupant.Sit = false
end
end)

3 comments
thank you so much, you are a legend
can you say me how to know the module/code of my car because i don't know? Im a beginner in lua for roblox. And im very bad at scripting
You should put whatever starts the function of the car, but I'm not really sure what should be there because I don't where is you module in your game and how it works.