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?
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