I have such a problem, every day I had exploiters with a powerful hack that used backdoor, it seems that I found and deleted backdoor, but today an exploit came to me that gave out millions to everyone and blew everyone up (Through gamepasses that I created on the server side), how is this possible? and how to make protection against this? when I disabled the script responsible for the gamepass, the attacks stopped.
#Backdoors and exploiters
117 messages · Page 1 of 1 (latest)
I don't know what to do with these hackers anymore, I really don't have any ideas anymore.
Why TF are there multiple connections
Do it in one
and why in the last u r getting player when u already got the player by the user id?
wdym?
Oh
Fr
i just new in gamepasservice.
one sec
done
What is "is"
anyway roblox doesnt recommend that connection due to yeah exploiters lol
Don't check the third parameter @proven sapphire go watch a video on gamepasses
i shouldnt check third parameter? because they can ex[loit it?
I know what can be better and simpler, but it's nicer and more pleasing to the eye for me.. I've been coding for 2 years.
I'm not too sure how it works but I haven't seen that used too much
oh yep
i deleted 3 par. and nothing changed
thanks
I mean, nothing's broken.
Oh uh
Now it'll do it even if you cancel
Which isn't ideal
let me check
It's been a while since I've done anything gamepass related
fact
Maybe try to get someone who knows how marketplace service works
But I don't see anything wrong really
And it shouldn't be exploitable because it's on the server
So unless you have a backdoor...
yes in my game was backdoor
i deleted it i think
because
when i turn off gamepass server
exploiter gone
Oh
also if i have another backdoor in game , idk how to find it , because i tried ctrl shift f and there only normal scripts
dev product
Ah
OH
Can somebody help me too?
I'm talking with pro exploiter right now and he trying to find any issues in my game.
I KNEW IT
You're using the wrong parameters
Yeah
?!
That's not how it works
oh
Read this
Ok,thanks i will read
Here's how you're supposed to do it
local MarketplaceService = game:GetService("MarketplaceService")
local Players = game:GetService("Players")
local productFunctions = {}
-- Product ID 123123 brings the user back to full health
productFunctions[123123] = function(receipt, player)
local character = player.Character
local humanoid = character and character:FindFirstChildWhichIsA("Humanoid")
if humanoid then
humanoid.Health = humanoid.MaxHealth
-- Indicate a successful purchase
return true
end
end
-- Product ID 456456 awards 100 gold to the user
productFunctions[456456] = function(receipt, player)
local leaderstats = player:FindFirstChild("leaderstats")
local gold = leaderstats and leaderstats:FindFirstChild("Gold")
if gold then
gold.Value += 100
return true
end
end
local function processReceipt(receiptInfo)
local userId = receiptInfo.PlayerId
local productId = receiptInfo.ProductId
local player = Players:GetPlayerByUserId(userId)
if player then
-- Get the handler function associated with the developer product ID and attempt to run it
local handler = productFunctions[productId]
local success, result = pcall(handler, receiptInfo, player)
if success then
-- The user has received their benefits
-- Return "PurchaseGranted" to confirm the transaction
return Enum.ProductPurchaseDecision.PurchaseGranted
else
warn("Failed to process receipt:", receiptInfo, result)
end
end
-- The user's benefits couldn't be awarded
-- Return "NotProcessedYet" to try again next time the user joins
return Enum.ProductPurchaseDecision.NotProcessedYet
end
-- Set the callback; this can only be done once by one server-side script
MarketplaceService.ProcessReceipt = processReceipt
No
ObSp
Hmm o i will try
ok
thanks
Can you please check out my problem too?
This
hm its weird
Also thanks alot , all working!
Cool!
but idk why this error appears
.
What's like 90
The error appears at line 90
No need for the pcall really
Oh your error is that
The "player" parameter in your function is already a player object
Change plrs to player?
But the player parameter isn't the user id
thans alot
It's the player
yep its not user id , its object
i understand , I'm sorry for my inattention.
also thanks alot of help
Rule number 1: Dont use free scripts
(Unless a sigma scripter made them)
I have no clue lol
I know they're used for parallel but not much else