Hey! So I just found out about this new thing called Proximity Prompts, I’m trying to create it so they can purchase a gamepass, to buy snowballs, or a go-kart.
Does anyone know how?
Hey! So I just found out about this new thing called Proximity Prompts, I’m trying to create it so they can purchase a gamepass, to buy snowballs, or a go-kart.
Does anyone know how?
local Proximity -- Make sure you identify local Proximity
local gamePassId = 0 -- Gamepass ID here
Proximity.TriggerEnded:Connect(function(player)
game:GetService("MarketplaceService"):PromptGamePassPurchase(player, gamePassId)
end)
Just use:
local ProximityPrompt -- Make sure you identify the location of the ProximityPrompt
ProximityPrompt.TriggerEnded:Connect(function(player)
end)
Okay thanks I’ll be sure to use this!!! (charschars)))
Wait, it says that TriggeredEnded is not a valid member of workspace.proximprax.proximityprompt
Did you identify the proximity prompt? if you didnt do
game:GetService(“ProximityPromptService”)
I fixed it. It was a mistake I made.