I am trying too make a unlimited cash script can somebody help me, quickly? Heres the script:
local player = nil--Provide the player I think local MS = game:GetService("MarketplaceService") local Gamepass Id = 0 MS:PromptProductPurchase(player,Id) MS.ProcessReceipt = function(receiptInfo) if Enum.ProductPurchaseDecision.PurchaseGranted and recieptInfo.PlayerId == Player.userId then Player.leaderstats.Cash.Value = 999999 end
I know its missing a reset so it's unlimited, but I have the script that I typed
i believe if you are trying to give the player infinite money the correct way to give them infinite money is by using math.huge
which basically means infinite i guess.
so for the infinite stats line you would instead write:
Player.leaderstats.Cash.Value = Player.leaderstats.Cash.Value + math.huge
im not 100% sure if this works or not but the stat should say INF after this code runs. thats what i got at least from tests i ran.