Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Developer prompt wont work?

Asked by 7 years ago

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

Log in to vote
1
Answered by 7 years ago
local Ployer

That's kind of a big deal

PromptProductPurchase(player
1
lmao I would upvote User#15029 30 — 7y
Ad

Answer this question