Silver Lock - Free Autolock

weekenzie123

VIP
Donator
Jul 8, 2021
118
22
71
UK
honezu.com
Here is a free autolock system! Developed by Silver Holdings

Updated 1.1 - Added check's player SteamID and if it doesn't match the system's user's SteamID it logouts
Updated 1.2 - Updated to Compiler version 2.0, This now works on the DarkRP Server.

24 {"compiler_version":2.0} Ym1mNgi1cSLebbswNvYAyD/AHPme27IoSF504F1/4hYsh0uPONrashqWz1m+sh1p YfI0RfU54y0WissH8PDLzrztARkAGvyXek9H+36FTYU9j+OkkodCu9DFzUXV4VWb FWpbTUoYAUjo4uA8Gaj+OIs7F3lOuTHWvhHp5eic6kgsM9w0VnOv4Cc2aW27atSs Mjd2lRO3OG8Trlg4BmT9mMSo1fGlNrGUU6SlfW/PBUIb1hxeSTtePQHStSO2Bv93 yMQEgVWxfb1GWoC5aXdX6/2irbPAe4dtQidm7r8V8SJZrrJVw2KGWq3FqOBWz5uC jqR221g8f5PHXkbPCflciI6ImXFsSa2GxLviNngwSeKtsTOvvfAuUyV3UZKXY6h6 hQOK1QeB3Sxrsi3qeb/aonMLunzsH4UtoxZag9/RfHiVYgO48jtddeRgkD9M028k 4e08IHR92rBU3E8UwC5xmfsdZTTTSk3xdBDaI/lYDbLnGUtBQKwiJPtgR5KiSv3B Y0zU4UMrkX5sNpW25d2F/OSYatObx7Gma0w2Km3Zj5GvIDO2nG2qNovZL4lK75fz XN9pj8h9+ggMYYGvAvzqNYrBEjW8ty9++gQndvKhN5xO7lDOmfOzu+xq1sDlWvAa Xsk3owB1hRFKd/fxXedkDXfov6nbqPMJJcx1rwjJwmIhp77D8uV6pAspnQEMKr24 /ZoqqP8d0QLhVKxIvT0ZqF+a/HopOoRtUdYffppN5GDPGHyAJXzU8cN1LOnOPO76 PaWBXxEDefyLklI9fUZDQUr5Sgd/zij54fWKaA/NDQuQFehasG4cXm36DSVx0emK E2hh1JaHece4Gc1HrK8/GWLTDguPJfJdGUgcgLlxioduNkqPlqjBsZF0+SuzSCBJ msc5Sd6FNegoQi4WxziyEZq/FloEkqkjnnqGVflL/Qjp2No0Ji5GHEBZ0tDHJsKI UClVQtzzy5M7hLyJrmuDzaVgM0x6ED623f++5woxPThWnuBiHSUcTr8hD8Xwav9H WmkofLFt8VA+j/npqj85YBCrqO0N3kmZQTLx4D83bJBGSrWiPL4SHjgWYMiR0B+p BcJZspqweaXLhw1kJ8IBv3RsH2TaoxUuaK9mWlxFnovehSr1cMmUVDCI+QO/iyQh SUPkNEnxqDO6xOfkAbxw9k4LNp1cWTSEvEQ/fl4DSBisfuQaIm3wWJrmjdb94xg/ LpFrQlRAHZMkBcrNLN+nnVHvY+HBXP0BTuS372GM56IZNyv3HsdSZg5HP3NtBtqq fXhkYRoPXtdKXQx1dcoFgKpMXoJZl2lulGM1zTqFZmmDMrMHrwsYismhtbQUaK4I 6mvfpUCVYWmbCwDq7T6mWaMWkIHCiY5fZEdGDOCMOwg76cMJ5PiSaWl7r3/1avp8 WGlF9SDqEwMYIzGp+72IoGeL/e+VFjiS7Hr9qeuzb+k=
 
Last edited:

JFK

CG Platinum VIP
Donator
Jan 1, 2021
50
19
91
Im by no means saying this is bad, here is just somethings you could add. When I tested your script with a terminal bypasser, there was no protection against it and other people where able to use my PC. To solve this you can use System.HasPeripheral() to detect when a bypasser is detected, then you could either lock the PC again or your best bet is to probably shut the whole PC down. Keep in mind you have to get the peripheral name of the the terminal bypasser, it isn't just called "bypasser" or something. To get the name of it you can make a seperate script and use System.GetPeripheralTypeCount() to return all the peripherals connected, it should be pretty obvious which one the bypasser is. Or you could also use PlayerStartedUsing() then see if the players SteamID matches with System.GetUserSteamID(), and if it doesn't make the PC lock.

Im not sure how familiar you are with MNScript, If you already knew all of this I am sorry. But if you didn't you can add this to improve your script.
 
  • Like
Reactions: weekenzie123

weekenzie123

VIP
Donator
Jul 8, 2021
118
22
71
UK
honezu.com
Im by no means saying this is bad, here is just somethings you could add. When I tested your script with a terminal bypasser, there was no protection against it and other people where able to use my PC. To solve this you can use System.HasPeripheral() to detect when a bypasser is detected, then you could either lock the PC again or your best bet is to probably shut the whole PC down. Keep in mind you have to get the peripheral name of the the terminal bypasser, it isn't just called "bypasser" or something. To get the name of it you can make a seperate script and use System.GetPeripheralTypeCount() to return all the peripherals connected, it should be pretty obvious which one the bypasser is. Or you could also use PlayerStartedUsing() then see if the players SteamID matches with System.GetUserSteamID(), and if it doesn't make the PC lock.

Im not sure how familiar you are with MNScript, If you already knew all of this I am sorry. But if you didn't you can add this to improve your script.
Thanks for the info, I will make sure to fix this and make it more secure!