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

My code for a dev product for button simulator doesnt, work can u help?

Asked by 3 years ago
Edited 3 years ago

Hello, so i am making a button sim and i am making a dev product that does 10x Cash, but the code doesnt work for it, this is what i have so far

local id = 1119704941 game:GetService("MarketplaceService").PromptPurchaseFinished:Connect(function(plr,ido,purchased) if purchased and id == ido then end)

so after the then i dont know what to put, ill tell u guys the file names so it can work

Cash = game.plr.Stats.Cash

link to game: https://web.roblox.com/games/5966055069/Re-Design-Update-Button-Simulator-V?refPageId=dc83ce25-0875-4d61-bd01-abd7e0f43c60

Answer this question