Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I prevent the duplication of a LocalScript Exploit?

In my game I'm worried about hackers duplicating the localscript. In my game this would allow someone to fire attack event multiple times if they click. Any ideas on how to check to see if a player has duped their combat script?

4 comments

0

do not bother... they can also decompile the actual source then use that.

0

R.I.P

0

Just make game FE(Filtring Enabled) its gonna prevent hackers from hacking your game....but instead of normal script you must use Client and server events

0

I'm sure exploiters can still exploit your game if they know where the event handles are. FE just prevents Client replication to the Server.

1 answer

hmm turn filtering enabled on and also add this script

game:GetService("AllScriptsService")
game.Workspace.script.clone()
script.value=0 name=dn--name dont matter
if game.Workspace.Script.Changed=true then --change "script" to your script name
dn.script.value=1--makes script working again
game.Workspace.Script.value==dn.value--change script to your script name
repeat--this repeats the code
i=7
while i=7
repeat--this says they will never beable to change the code because they cannot change the script and i is 7 and until i is changed they cannot hack,which i cannot be changed

ok so this script says whenever your script is changed (in game) it restores back to what the script is supposed to be.This also makes the script unable to be edited including cloned.Im glad to help.Also if you want more script help friend me my sername is danielp533 ill be glad to help you when you need

1 comment

0

This script works perfectly,but why did you ask if you did not look at my response

This discussion is preserved as it was. New answers, comments, and votes are closed.