Tutorial | Logitech | Make your own Lua No-Recoil | Part #1

  Рет қаралды 108,766

KripT AEP

KripT AEP

Күн бұрын

Пікірлер: 125
@kriptaep212
@kriptaep212 3 жыл бұрын
Hello guys, I will begin uploading videos again. Got another warning from freaking PUBG corp. Anyway.. new discord link: discord.gg/KWMGgPr
@dema669
@dema669 3 жыл бұрын
Hi, I want to make a script to move the mouse down clicks and then moves to the right and click again when I click the G-shift do you think you can help me?
@alam300
@alam300 2 жыл бұрын
how can i do the same thing but making recoil work only when click left click without right click ?
@alam300
@alam300 2 жыл бұрын
and if i want to to move to the left for 2 sec then go to right after 2 sec would it be possible ?
@despradothegho
@despradothegho 3 жыл бұрын
thx bro, I hope u contiue in lua and give us more advanced tutorials first comment first like
@kriptaep212
@kriptaep212 3 жыл бұрын
Thank you, I will
@roflbofl
@roflbofl Жыл бұрын
thank you, you're a good teacher :)
@_gino
@_gino 3 жыл бұрын
Thanks for the tutorial, you help me a lot to start to know about that. i will wacht the next two tutorial! 👍
@helloworld_23102
@helloworld_23102 3 жыл бұрын
Hi Krip, the script seems is not working on latest G hub software. It seems can't detect the IsMouseButtonPresses(1) the left click of the mouse.
@triplettjon
@triplettjon 2 жыл бұрын
EnablePrimaryMouseButtonEvents(true) add this to the top of the script
@ddw1518
@ddw1518 2 жыл бұрын
@@triplettjon Thanks the snipet code is work. but in the lastest G hub software, the middle mouse button is 3, right mouse button is 2, and there is the new 6 for the middle-bottom mouse. And, my mouse dones't work for the code in this video: EnablePrimaryMouseButtonEvents(true) function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.." ") if IsMouseButtonPressed(3) then repeat if IsMouseButtonPressed(1) then repeat Sleep(10) MoveMouseto(150,150) until not IsMouseButtonPressed(1) end until not IsMouseButtonPressed(3) end end
@triplettjon
@triplettjon 2 жыл бұрын
@@ddw1518 thanks for the update 😉
@ddw1518
@ddw1518 2 жыл бұрын
@@triplettjon u r welcome, I appreciate ur information too. But the snippet code in this video is still work at nowaday G-hut software version? As I tried this code yesterday but it don't work for me.😣
@jacksparrow9744
@jacksparrow9744 2 жыл бұрын
How can I speed up my mouse on the horizontal axis?
@wikindog
@wikindog 3 жыл бұрын
Thanks for the tutorial. I have a G512 carbon keyboard and I want program to change colour while the Caps-Lock button is on. Do you have ideas or suggestions I could try? Thank you.
@zjaranyjoe7456
@zjaranyjoe7456 2 жыл бұрын
You can use the love.graphics.setColor function to change the color in Lua. To do this, simply call the function with four arguments which are the RGB values: love.graphics.setColor(r, g, b, a) where r, g, b and a are the red, green, blue and alpha components respectively. Each of these arguments can have a value from 0.0 to 1.0. For example, to set the color to white you can use the following code: love.graphics.setColor(1.0, 1.0, 1.0, 1.0)
@RO-BO
@RO-BO Жыл бұрын
Thanks Mate 🙌
@muhamedomerovic6667
@muhamedomerovic6667 3 жыл бұрын
[string "LuaVM"]:246: attempt to call a nil value (field 'pow') Line Number:1 Can you help me fix it?
@pablozambrano7716
@pablozambrano7716 Жыл бұрын
I have a question, is posible to use insted MoveMouseRelative(0, 5) use MoveMouseRelative(0, 5.5745) is posble to use decimals?
@ionutmarian5044
@ionutmarian5044 3 ай бұрын
what i not understand how to assign the button for ON/OFF the script...can explain pls?
@Th3SecretLady
@Th3SecretLady 8 ай бұрын
How i make a general script like 1 button for increase and 1 button for decrease recoil....10 20,30% per click higher or lower...
@lajm_183
@lajm_183 2 жыл бұрын
Hey, I have a question, can I detect if the scroll wheel is being used? I wanted the script to press "LMB (left mouse button)" whenever I scroll with my scroll wheel.
@deadmta5433
@deadmta5433 7 ай бұрын
Could you help me need to make a macro that quickly presses the "wheel up" key in a loop logitech
@blogJM
@blogJM 2 жыл бұрын
Is there a function in LUA to detect whether the cursor/mouse is shown on screen?
@paulsonhanel6369
@paulsonhanel6369 3 жыл бұрын
right at 7:20 I am having a problem. When I click control S, which I assume is the equivilant to save and run (have also tried) it tells me loaded then event provile_deativated args 0 and it doesnt' update when I click or anything. Seems like it is just done there. Any shuggestions?
@LittleJT123
@LittleJT123 2 жыл бұрын
newer versions of HUB are Bugged, try downloading an older version like ( version: 2021.3.5264 )
@paulsonhanel6369
@paulsonhanel6369 2 жыл бұрын
@@LittleJT123 thanks
@soccerjonesy
@soccerjonesy 3 жыл бұрын
So I'm trying to set up a script to introduce a random delay between clicks on my keyboard, rather than a list of attempted random inputs on cycle I currently have for a macro. Right now, I have Press A (~100ms) Release A (~1200ms) Press Spacebar (~100ms) Release Spacebar (~12500 ms), and then repeat that cycle. Any idea how to set that up as a script so that the times, especially after Release A and Release Spacebar, becomes random times between 1150-1300 ms and 12000-14000 ms? So far, I have... PressKey("a") Sleep(math.random(70, 120)) ReleaseKey("a") Sleep(math.random(1150, 1300)) PressKey("spacebar") Sleep(math.random(70, 120)) ReleaseKey("spacebar") Sleep(math.random(12000, 14000)) Thoughts?
@bipbopking1101
@bipbopking1101 3 жыл бұрын
The script pasting/writing window doesnt open for some reason and it says to close it to save script even though it doesnt even open, please help
@user-kf5fo8zr6n
@user-kf5fo8zr6n 3 жыл бұрын
x2
@LittleJT123
@LittleJT123 2 жыл бұрын
minimize the current window, it should be underneath
@kaantek499
@kaantek499 2 жыл бұрын
hello, something wrong I put save when I finish when i"m on the game first shoot work but when i change weapons not working... why its going off ?
@mikelowry2254
@mikelowry2254 3 жыл бұрын
Hi, I’m getting an error at 18mins in telling me profile activated arg:0 line 1/ any help?
@authgarauthgar1501
@authgarauthgar1501 Жыл бұрын
i appreciate you bud
@IgorBasilius
@IgorBasilius 3 жыл бұрын
Other mice * (Razer, Redragon, Hyper-x ...) * can also be programmable with this type of script? If not with .lua, at least with another language?
@ImsoloTURK
@ImsoloTURK 11 ай бұрын
any thoughts on this?
@Schniebel89
@Schniebel89 2 жыл бұрын
Cool 😎
@ReckqWow
@ReckqWow 2 жыл бұрын
is this recoil too harsh for CoD Vanguard guns or would this work?
@kriptaep212
@kriptaep212 2 жыл бұрын
You can modify it!
@Rayan---il5pf
@Rayan---il5pf 9 ай бұрын
If a lua script is made for logitech mouse, is there any way to run that lua script without logitech mouse?
@MrChiamera
@MrChiamera 3 жыл бұрын
Sometimes i have it on but sometimes its off,than its on again.. i past the same thing as u have.. any button im pressing that is turning off?
@liam8715
@liam8715 2 жыл бұрын
How to do it without logitech mouse?
@KirbyGriffin98
@KirbyGriffin98 Жыл бұрын
I copied this exactly and it does nothing at all even though there are no syntax errors did i do something wrong?
@rodrigaumm
@rodrigaumm 3 жыл бұрын
Are you from Brazil?
@TheWantedUnknown
@TheWantedUnknown 3 жыл бұрын
incrivel como um brasileiro sabe detectar outro brasileiro falando em ingles UEHUEAHAUEHEAUH
@rodrigaumm
@rodrigaumm 3 жыл бұрын
@@TheWantedUnknown ahsuhwskkwd tem um sotaque de leve
@K1nd0mRush
@K1nd0mRush Жыл бұрын
Why sleep disable all function for all time?
@fabiansaavedra1008
@fabiansaavedra1008 3 жыл бұрын
friend when I create the script and save it, the difference is not felt in the game and the lua comes out dark in color
@sahinalyami
@sahinalyami 2 жыл бұрын
I have a script that used to work then I deleted it but I try to use it again it says that [string "LuaVM"]:256: attempt to call a nil value (field 'pow') Line Number:1
@Gandy_cfw
@Gandy_cfw 9 ай бұрын
Ok cool!
@fathaan-hikanu
@fathaan-hikanu 2 жыл бұрын
new Ghub version can not save the script
@kriptaep212
@kriptaep212 2 жыл бұрын
Now you can!
@SLID3R040
@SLID3R040 3 жыл бұрын
[string "LuaVM"]:3: attempt to call a nil value (global 'IsMousebuttonPressed') Line Number:1
@jjs.b4322
@jjs.b4322 3 жыл бұрын
i have the same problem
@mohammadhack997
@mohammadhack997 3 жыл бұрын
I make macro like you but but not working. What is problem?
@Tee-mf8ug
@Tee-mf8ug 3 жыл бұрын
when i press edit script dosent openingthe second tab what can i do
@Alcamps
@Alcamps 2 жыл бұрын
have a script in xml is possible convert in lua?
@jackijackdarth1938
@jackijackdarth1938 11 ай бұрын
i only see when my mouse is pressed... why dont i see when my logitech g920 is pressed?
@_bools
@_bools 2 жыл бұрын
I wrote a script for instalocking in valorant I have no interest in no recoil, it was working perfectly and I was able to instantly select my character but the next day it stopped working I think valorant has blocked Lua scripts from working is there any way to bypass this? its strange bc it was just working last night.
@gonzalonahuelgomezarrua6035
@gonzalonahuelgomezarrua6035 3 жыл бұрын
The script will work in PS4 with a Logitech G PRO HERO or It is impossible?
@slashersdodo4823
@slashersdodo4823 3 жыл бұрын
lmao
@rondo_numba_5865
@rondo_numba_5865 3 жыл бұрын
Just get a Cronus zen
@keNNyEM
@keNNyEM 3 жыл бұрын
For people who have a problem like this "attempt to call a nil value (global 'IsMousebuttonPressed') Line Number:1" The simple solution is to change your Logitech G Hub language settings to english.
@_shawn_insan3468
@_shawn_insan3468 Жыл бұрын
Mines is set to English and still having that problem
@Demona3330
@Demona3330 Жыл бұрын
Hello i hope someone can help me with this lua script. I got a logictech g600 and i want a script that makes "press G12" "press G12" again but the second click is left mouse button to fire in a game. Hope you understand me and are willing to help me.
@alessior.3943
@alessior.3943 2 жыл бұрын
is it possible to create a script for PUBG? or is this compatible?
@kriptaep212
@kriptaep212 2 жыл бұрын
You can create a script for any game.
@IANC4EVER
@IANC4EVER 3 жыл бұрын
Really interesting tutorial, thank you! however, why doenst assigning to bottom 1 work?? Is this not allowed? if IsMouseButtonPressed(1) then repeat MoveMouseRelative(0, 2) Sleep(8) until not IsMouseButtonPressed(1) end
@dragondavide1914
@dragondavide1914 3 жыл бұрын
yeah would be easier, right?
@dragondavide1914
@dragondavide1914 3 жыл бұрын
actually i tried and i still have to press the button 3 to start it, i don't understand how to use it just with the button 1 and activate it with the numlock key
@shark1988shark
@shark1988shark 2 жыл бұрын
hi, i tried to install the script, in the logitech screen it works, the ursor moves down, but in the game not, why?
@kriptaep212
@kriptaep212 2 жыл бұрын
Run Logitech Gaming Hub as Administrator =)
@shark1988shark
@shark1988shark 2 жыл бұрын
@@kriptaep212 but is there a way to trigger this query?
@shark1988shark
@shark1988shark 2 жыл бұрын
@@kriptaep212 perfect
@shark1988shark
@shark1988shark 2 жыл бұрын
@@kriptaep212 hello sorry, could the ping have risen during games for entering the query?
@dragondavide1914
@dragondavide1914 3 жыл бұрын
doen anyone know how to always have the recoil scrypt with the button 1 ? without have to press button 3? thanks
@getmeoutofsanfrancisco9917
@getmeoutofsanfrancisco9917 3 жыл бұрын
Change the 3 to something else, or just get rid of that initial function altogether and just keep the second one.
@simkim608
@simkim608 Жыл бұрын
Is this applicable to deathadder essential
@Kourzz
@Kourzz 2 ай бұрын
You can use a XML
@Kourzz
@Kourzz 2 ай бұрын
On razers software
@WoysfuL
@WoysfuL Жыл бұрын
Thank you very much! It's really sad that Logitech didn't bother to add cursor movement to the UI, so we have to learn lua
@Mike-ij5vf
@Mike-ij5vf 3 жыл бұрын
ty
@kriptaep212
@kriptaep212 3 жыл бұрын
Hello, This is a pretty long tutorial but with the knowledge in this video you should be able to make your own simple script. If you just wish to download the code: www.kriptaep.com/member -> Click on "Download" for Simple Recoil
@skim0o88
@skim0o88 3 жыл бұрын
some of the scripts arent working, like endfunction, event and arg
@skim0o88
@skim0o88 3 жыл бұрын
and there's also an error on line 2
@dababbs3381
@dababbs3381 3 жыл бұрын
okay so i did everything you did and now i cant even play battlefeild.....my guy is just staring at the ground and cant get him to look up or down...tried deleting the script, uninstalling battlefield ands logitech g hub and nothing is working....PLEASE HELP ME
@rvgGhost
@rvgGhost 3 жыл бұрын
If this is on Battlfield 2042, and you cant look up or down while staring at the ground. Its either a controller is plugged in which is a known issue, or you have to blow away your battlefield 2042 folder in your documents folder and redo all your in game settings. Unfortunately these are the only fixes for this glitch
@dabom-g2c
@dabom-g2c 8 ай бұрын
make one for rust
@roguehorizon6607
@roguehorizon6607 7 ай бұрын
what is the chance i get bannned
@markwolf9408
@markwolf9408 2 жыл бұрын
hello brother, thank you very much for your videos, it's what I was looking for, could you show us some autoclick code to add to the script..
@kriptaep212
@kriptaep212 2 жыл бұрын
I will try
@nikolazupa6216
@nikolazupa6216 Жыл бұрын
i have a g903 and dont work
@sashavanvehmendahl2356
@sashavanvehmendahl2356 3 жыл бұрын
Side ways recoil ?
@oofin4304
@oofin4304 3 жыл бұрын
Same thing but change the x axis of MoveMouseRelative() function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.." ") if IsKeyLockOn("numlock") then if IsMouseButtonPressed(3) then repeat if IsMouseButtonPressed(1) then repeat MoveMouseRelative(2, 0) Sleep(10) until not IsMouseButtonPressed(1) end until not IsMouseButtonPressed(3) end end end
@sashavanvehmendahl2356
@sashavanvehmendahl2356 3 жыл бұрын
O ok cool thanks will try that
@alam300
@alam300 2 жыл бұрын
@@oofin4304 how can i do the same thing but making recoil work only when click left click without right click ?
@alam300
@alam300 2 жыл бұрын
@@oofin4304 and if i want to to move to the left for 2 sec then go to right after 2 sec would it be possible ?
@matiastorti8357
@matiastorti8357 2 жыл бұрын
Hello! I have a problem. I have the g502 lightspeed mouse which has 11 buttons. I want the if condition to be pressing button 6 (sniper button) but it gives me an error. Excuse me if it is badly written but my native language is not English.
@Dat09real
@Dat09real 3 жыл бұрын
wow you back i thought your channel was reported
@kriptaep212
@kriptaep212 3 жыл бұрын
It was
@jonathanhilliard971
@jonathanhilliard971 2 жыл бұрын
This is not working...I have it copied EXACTLY, but i keep getting [string "LuaVM"]:9: attempt to call a nil value (global 'IsMousebuttonPressed') Line Number:1
@kriptaep212
@kriptaep212 2 жыл бұрын
IsMouseButtonPressed , the "b" needs to be capital
@mikelowry2254
@mikelowry2254 3 жыл бұрын
Scrap my last comment managed to get it working but it doesn’t work every time. Every suggestions ?
@AstraQwQ
@AstraQwQ 3 жыл бұрын
i dont see an edit script button pls help
@AstraQwQ
@AstraQwQ 3 жыл бұрын
nvm inm stupid
@derrickrose2667
@derrickrose2667 3 жыл бұрын
I dont se it?
@Blackbeard223
@Blackbeard223 Жыл бұрын
Can anyone make make me a lua zero recoil for PUBG so I can use any gun with any scope plz
@shiva__2679
@shiva__2679 2 жыл бұрын
please make one for valorant recoil
@ZeroCool22
@ZeroCool22 3 жыл бұрын
Hi, i'm trying to make this macro: In WarZone when you AIM with a sniper weapon you also need to hold another key to stabilize de AIM, i want to do this macro: Just pressing the *Right Click* Mouse it "AIM + Stabilize", in other words Right Click do 2 actions simultaneously: AIM + STABILIZE AIM. Can you teach how do this? Thx.
@ankit3375
@ankit3375 3 жыл бұрын
Add keystrokes on macros section on same profile or record macro
@skengmoosa8906
@skengmoosa8906 3 жыл бұрын
@@ankit3375 whats ur discord maybe i can add u and u can show me how its done coz im after the same thing thanks
@ahsiong1990
@ahsiong1990 3 жыл бұрын
any pubg latest patchs LUA for sale?
@darkstrange
@darkstrange 3 жыл бұрын
One question how can I make a macro I need for warface but I play on ps4
@jannenKoodivideot
@jannenKoodivideot 3 жыл бұрын
WTF!!! I HAVE EXACTLY THE SAME MOUSE AND KEYBOARD111!!!11!1
@videos40058
@videos40058 3 жыл бұрын
dude i got banned with out even using these damn scripts. Only like opened the app once and nothing else now i got to answer for it lol.
@elimgarak1127
@elimgarak1127 Жыл бұрын
Zero games ban people for having Logitech software.
@R4mbones
@R4mbones 3 жыл бұрын
ooooo here are all the pro players from Pubg:))))) 1234 1234 1234 :)))) NOOOOOOBBBBBBSSSSSSSSS
@philslaya
@philslaya 2 жыл бұрын
cool cool lamo
@1703gato
@1703gato 3 жыл бұрын
siempre pensando en el dinero
@Lbezerra82
@Lbezerra82 Жыл бұрын
Vai Brasilllll
@Just1kOoL
@Just1kOoL 3 жыл бұрын
Mouse movements are being blocked by anticheats lately so.. Yea.
@4funrc11
@4funrc11 3 жыл бұрын
_Spoiler Alert_ - Sadly this guy is only doing these Lua videos for 💰 income. Meh...
@fayezswilam5917
@fayezswilam5917 3 жыл бұрын
discord link dosent work ?
@pejcaa_
@pejcaa_ 2 жыл бұрын
function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.." ") end not working for some reason! Output: Event: PROFILE_ACTIVATED Arg: 0
Learn Reverse Engineering (for hacking games)
7:26
cazz
Рет қаралды 1,1 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН
How I Beat Minecraft From One Grass Block
35:27
Beppo
Рет қаралды 3,4 МЛН
Making a Game in Lua with No Experience
5:52
Goodgis
Рет қаралды 361 М.
How pro Roblox developers learnt to script
10:03
AlvinBlox
Рет қаралды 868 М.
How to get Double Click on a Logitech G502 Hero
4:08
Lua in 100 Seconds
2:24
Fireship
Рет қаралды 2,2 МЛН
Cheat Engine for Idiots
10:48
Kian Brose
Рет қаралды 1,4 МЛН
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 911 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
Хаги Ваги говорит разными голосами
0:22
Фани Хани
Рет қаралды 2,2 МЛН