即使在我释放鼠标左键后,脚本有时也会自行单击如何停止。
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if IsMouseButtonPressed(1) then
repeat
Sleep(math.random(50, 75))
PressMouseButton(1)
Sleep(math.random(50, 75))
ReleaseMouseButton(1)
until not IsMouseButtonPressed(1)
end
end