Replace
GlobalActionMap.unbind(keyboard, "f11");
GlobalActionMap.bind(keyboard, "f11", "ToggleAutoClick");
with
$remapDivision[$remapCount] = "Auto Clicker";
$remapName[$remapCount] = "Toggle";
$remapCmd[$remapCount] = "ToggleAutoClick";
$remapCount++;
This way, it will allow people to use a keybind other than F11.
Of course, this will only let you use it in a server.
Besides, it's completely worthless outside of a server anyway.
And plus:
function rexec()
{
exec("./client.cs");
}
Remove this. This is not needed for finished add-ons and is only intended for unfinished ones.