NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

EnablePrimaryMouseButtonEvents(true);
--local audio1 = audio.loadSound( "audio1.wav" )


shot = true
recoil = false
rust = true

--weapon = "sar"
--weapon = "sars"
weapon = "sap"
--weapon = "saps"
--weapon = "mg"
--weapon = "ak"
--weapon = "aks"
--weapon = "tommy"
--weapon = "smg"
--weapon = "smgs"
--weapon = "lr300"
--weapon = "lr300l"

function OnEvent(event, arg, mouse)
--x,y = GetMousePosition();
--msg = string.format("Mouse position =(%d, %d)n", x, y);
--delay = 2000;
--OutputLogMessage(msg, delay) ;
--OutputLogMessage("event = %s, arg = %sn", event, arg);

if (event == "MOUSE_BUTTON_PRESSED" and arg == 9) or (event == "MOUSE_BUTTON_PRESSED" and arg == 10) then
recoil = not recoil
end

if (event == "MOUSE_BUTTON_PRESSED" and arg == 6) then
rust = not rust
recoil = false
end

--if (event == "MOUSE_BUTTON_PRESSED" and arg == 6 ) then
-- if heal then
-- MySubroutine1()
-- else
--Sleep(300)
--heal = not heal


--MySubroutine2()
-- end
-- end


-- По правой кнопке
-- if IsMouseButtonPressed(3)
-- then recoil = true
-- else recoil = false
-- end

--if event == "MOUSE_BUTTON_PRESSED" and arg == 1 then
-- if IsModifierPressed("lctrl") then
-- PressAndReleaseKey("lctrl")
-- Sleep(5)
-- PressAndReleaseKey("l")
-- Sleep(5)
-- PressAndReleaseKey("c")
-- Sleep(5)
-- PressAndReleaseKey("t")
-- Sleep(5)
-- PressAndReleaseKey("r")
-- Sleep(5)
-- PressAndReleaseKey("l")
-- Sleep(5)
-- PressAndReleaseKey("end")
-- end
-- end

if rust then
if IsMouseButtonPressed(1) and recoil then


repeat
if shot then
shot = false

RecoilScript()

end
until not IsMouseButtonPressed(1)


else if event == "MOUSE_BUTTON_PRESSED" and arg == 1 and IsMouseButtonPressed(3) then

if IsModifierPressed("lctrl") then
-- PressAndReleaseKey("lctrl")
-- Sleep(5)
-- PressAndReleaseKey("l")
-- Sleep(5)
-- PressAndReleaseKey("c")
-- Sleep(5)
-- PressAndReleaseKey("t")
-- Sleep(5)
-- PressAndReleaseKey("r")
-- Sleep(5)
-- PressAndReleaseKey("l")
-- Sleep(5)
-- PressAndReleaseKey("end")
OutputLogMessage("Ctrl pressed")
end

repeat
if shot then
shot = false

RmbRecoilScript()

end
until not IsMouseButtonPressed(1)




else if IsMouseButtonPressed(1) then
PressKey("Pause")
else
ReleaseKey("Pause")
end
end


end

end



-- if IsMouseButtonPressed(1)
-- then PressMouseButton(1)
--PressKey("Pause")
--sleep(200)
--ReleaseKey("f2")
-- else ReleaseMouseButton(1)
--end



function RecoilScript()

--PressMouseButton(3)
--Sleep(5)
PressKey("Pause")
--Sleep(5)
--ReleaseMouseButton(3)
Sleep(100)
ReleaseKey("Pause")


MoveMouseRelative(-30,100)







Sleep(100)
shot = true

-- repeat
-- RecoilScript()
-- until not IsMouseButtonPressed(1)

end


function RmbRecoilScript()

--PressMouseButton(3)
--Sleep(5)
PressKey("Pause")
--Sleep(5)
--ReleaseMouseButton(3)
Sleep(100)
ReleaseKey("Pause")
Sleep(50)
--MoveMouseRelative(-12,50) --sa laser
if weapon == "sar" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-15,58) --sa laser
--MoveMouseRelative(0,45) --mg
else
MoveMouseRelative(-31,116)
end
end

if weapon == "sars" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-15,45)
else
MoveMouseRelative(-25,95)
end
end

if weapon == "sap" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-14,35)
else
MoveMouseRelative(-22,70)
end
end

if weapon == "saps" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-10,28)
else
MoveMouseRelative(-18,55)
end
end

if weapon == "mg" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,48)
else
MoveMouseRelative(0,98)
end
end

if weapon == "ak" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,58)
else
MoveMouseRelative(0,120)
end
end

if weapon == "aks" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,47)
else
MoveMouseRelative(0,96)
end
end

if weapon == "tommy" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,13)
else
MoveMouseRelative(0,28)
end
end

if weapon == "smg" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,13)
else
MoveMouseRelative(5,28)
end
end

if weapon == "smgs" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(0,10)
else
MoveMouseRelative(-2,22)
end
end

if weapon == "lr300" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-14,40)
else
MoveMouseRelative(-26,79)
end
end

if weapon == "lr300l" then
if IsModifierPressed("lctrl") then
MoveMouseRelative(-13,30)
else
MoveMouseRelative(-26,79)
end
end
--PressKey("lctrl")
--akopt--MoveMouseRelative(0,60)
--akopt--MoveMouseRelative(0,60)
--akopt--MoveMouseRelative(0,40)

--ReleaseKey("lctrl")



Sleep(50)
shot = true

-- repeat
-- RecoilScript()
-- until not IsMouseButtonPressed(1)

end




end
--
-- if IsMouseButtonPressed(1)
-- then -- PressMouseButton(1)
-- else ReleaseMouseButton(1)
-- end
--end
-- По правой кнопке





--function RecoilScript()
-- MoveMouseTo(32786, 32741)
--PressMouseButton(3)
-- Sleep(10000)
-- PressMouseButton(1)
-- Sleep(150)
-- ReleaseMouseButton(1)
--PressMouseButton(3)
-- showMousePosition();
-- Sleep(150)
---MoveMouseRelative(-3,10)
--MoveMouseRelative(0,40)

-- end

--function MySubroutine1()

--PlayMacro("[")
--Sleep(500)
--PlayMacro("[")
--Sleep(300)
--heal = not heal





--function MySubroutine2()

--PlayMacro("]")
--Sleep(500)
--PlayMacro("]")
--end
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.