This script has been working before, and then it just happened to stop working. No output is shown.
NOTE: There is an IntValue in every player that joins the game named "AutoClickers". NOTE: The AutoClickerID is a Developer Product.
local MarketplaceService = game:GetService("MarketplaceService") local AutoClickerID = 20436449 local PurchaseHistory = game:GetService("DataStoreService"):GetDataStore("PurchaseHistory") DataStore = game:GetService("DataStoreService"):GetDataStore("PlayerStats") MarketplaceService.ProcessReceipt = function(receiptInfo) local playerProductKey = receiptInfo.PlayerId .. ":" .. receiptInfo.PurchaseId if PurchaseHistory:GetAsync(playerProductKey) then return Enum.ProductPurchaseDecision.PurchaseGranted end for i, player in ipairs(game.Players:GetPlayers()) do if player.userId == receiptInfo.PlayerId then if receiptInfo.ProductId == AutoClickerID then repeat wait(.001) until player:findFirstChild("AutoClickers") ~= nil player.AutoClickers.Value = player.AutoClickers.Value + 1 DataStore:SetAsync("AutoClickers_" ..player.Name.. "", player.AutoClickers.Value) end end end PurchaseHistory:SetAsync(playerProductKey, true) return Enum.ProductPurchaseDecision.PurchaseGranted end
I'm pretty sure that you need to enable HTTP api. I was reading through some ROBLOX core code, and that seems like the likely culprit.
Either that, or somewhere down the line, you're using animations that don't want to work. If you have any non-default ROBLOX animations, try disabling them for the time being.
JSON encoder/parser core code. Maybe you can find something I wasn't able to.