- 58
- 1
local toggle = false
function main()
while true do
wait(150)
if wasKeyPressed(0x7A) then -- F11
toggle = not toggle
end
if toggle then
setVirtualKeyDown(0x12, true)
wait(10)
setVirtualKeyDown(0x12, false)
end
end
end
function main()
while true do
wait(150)
if wasKeyPressed(0x7A) then -- F11
toggle = not toggle
end
if toggle then
setVirtualKeyDown(0x12, true)
wait(10)
setVirtualKeyDown(0x12, false)
end
end
end