when player touch part, prompt gamepass
i tried this but it does not work
local mps = game:GetService("MarketplaceService")
local plr = game.Players.LocalPlayer
script.Parent.Touched:Connect(function(h)
local hum = h.Parent:FindFirstChild("Humanoid")
if hum ~= nil then
mps:PromptGamepassPurchase(plr, 8875349)
end
end

1 comment
You're back ey?