Incredible release! My prediction is that this will revive the mpgh garrys mod forum and the whole hacking community by itself
This insane code took me weeks of research. It will allow you to escape handcuffs (automatically!1)
Code:
/*
CONFIG
*/
local auto_free = true -- If set to true, it will automatically remove handcuffs. Otherwise, you gotta hold the F key
-- Yes
local ply = LocalPlayer()
local releasing = false
-- Remove cuffs when letter F is pressed
local do_attack = true
local function cuff_spam(cmd)
local is_handcuffed, handcuffs = ply:IsHandcuffed()
if not is_handcuffed then
if releasing then
releasing = false
chat.AddText(Color( 255, 51, 51 ), "FOK OFF")
RunConsoleCommand("-attack")
end
return end
if input.IsKeyDown(KEY_F) or auto_free then
if not releasing then
chat.AddText(Color( 0, 204, 255 ), "Some retard just handcuffed you. Releasing...")
releasing = true
end
if do_attack then
RunConsoleCommand("+attack")
do_attack = false
else
RunConsoleCommand("-attack")
do_attack = true
end
end
end
hook.Add("CreateMove", "anticuff", cuff_spam)
-- Remove move penalty
hook.Add("SetupMove", "Cuffs Move Penalty", function()
return
end)
-- Make it so you can cuff everybody even restricted jobs (maybe cant be bothered to try)
hook.Add( "CuffsCanHandcuff", "Cuff ProtectAdmin", function()
return true
end)