0

# Hi guys, im not good at scripting, still learning, I was wondering if this script contains a virus?

local MPS = game:GetService("MarketplaceService") local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Products = { [0] = function(receipt,player) ReplicatedStorage.GrappleHook:Clone().Parent = player.Backpack ReplicatedStorage.GrappleHook:Clone().Parent = player.StarterGear end; }

function MPS.ProcessReceipt(receiptinfo) local playerProductKey = receiptinfo.PlayerId..":"..receiptinfo.PurchaseId local plr = game:GetService("Players"):GetPlayerByUserId(receiptinfo.PlayerId)

local handler
for ProductId,func in pairs(Products) do
if ProductId == receiptinfo.ProductId then
handler = func break
end
end

local suc = pcall(handler,receiptinfo,plr)
return Enum.ProductPurchaseDecision.PurchaseGranted


end

0

I do not believe so. It just looks like a dev product handler. Or part of one at least. It seems to be a custom receipt handler, so that when someone purchases the dev product from the table, it runs the function provided which looks to just be giving the player the tool they purchased.

1
yeah thought so, it wasnt made by me, i took it from somewhere, it did have a lot of spaces in line 25, like a lot, and at the end of the script it had some weird numbers, so it probably had a virus, but can i use it now? zqqru 1 — 14d
0
In that case, it may be hiding something that you didn't paste in your post. I would avoid using it for now. You can most likely find a usable script on the Roblox devfroum that is virus-free if you do not want to risk it. namespace25 594 — 14d
0
theres no viruses from what you've sent here so if there was anything else inside the script, you could just delete it and paste in whatever was posted here. BulletproofVast 776 — 14d
0
Same, it doesn't seem harmful. fiddyfiddler 18 — 14d