Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Developer prompt wont work?

Im trying to make it where when you buy the developer product you gain 5 walk speed but i cant find the problem here. please help if you can

local MarketplaceService = game:GetService("MarketplaceService")
local buyButton = game.StarterGui.ScreenGui.fiveWalkspeed
local productId = 63904167
local Ployer = LocalPlayer.Humanoid
 
buyButton.MouseButton1Click:connect(function()
	MarketplaceService:PromptProductPurchase(player, productId)
	walkspeed = walkspeed + 5
end)

1 answer

local Ployer

That's kind of a big deal

PromptProductPurchase(player

1 comment

1

lmao I would upvote

This discussion is preserved as it was. New answers, comments, and votes are closed.