How to make strong anti-cheat?

I recently created free UGC game.
N i published my first UGC limited item.
Mobile and PC hackers took all copies.
And I made anti-cheat but It didn’t work well.
So I exploiters took all copies of my 2nd UGC limited.
And I made anti-expoit for PC exploiters and it worked kinda good.
But mobile exploiters are taking copies in some way and IDK how to stop them.
How should I make strong anti-cheat for PC and mobile?

1 Like

how exactly are they taking copies? what did u do for pc

Mobile and PC hackers took all copies.

This is most likely because an error on the servers side to check if the player meets the necessary prerequisites to get the UGC. Do you mind sharing the code that rewards players?

1 Like


this is localscript


this is serverscript
L3Coin is kind of point for buying UGC and BIMBIMBAMBAM is password kinda something for prompting purchase

1 Like

Firstly, I should say that exploiters can view information stored on everything clientside. Passwords do not work.

Other than that this is a pretty solid serverside check. The L3Coin value is most likely what’s causing your issue here. What is responsible for giving/managing players L3Coins? Would you be able to provide code for that as well?


This code gives player L3Coin. it is located in part

This is code that decreases players’ L3Coin
it is located in ServerScriptService

2 Likes

This is for the tower game right?
They can probably just teleport all the way up and get the coins like that

Also, do not use PromptPurchaseFinished, instead use MarketplaceService | Documentation - Roblox Creator Hub

2 Likes

Exploiters (to my knowledge) can easily fire the Touched event multiple times without actually having to touch the part (even in server environments). I would recommend adding a system of sorts to check and limit how many times someone can fire the event.

1 Like

AKA: do a crap ton of sanity checks and add a movement anti cheat

2 Likes

IDK how it works, but exploiters just prompt purchase with code and I have no Idea about it :frowning:

1 Like

Im willing to look at the game if you send a copy

Nice
Can I have your discord?
And thanks for helping me
mine is l2dnhk

its just @hzodx

(aaaaaaaaaaaaa)

1 Like