Hello guys, I will begin uploading videos again. Got another warning from freaking PUBG corp. Anyway.. new discord link: discord.gg/KWMGgPr
@dema6693 жыл бұрын
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?
@alam3002 жыл бұрын
how can i do the same thing but making recoil work only when click left click without right click ?
@alam3002 жыл бұрын
and if i want to to move to the left for 2 sec then go to right after 2 sec would it be possible ?
@despradothegho3 жыл бұрын
thx bro, I hope u contiue in lua and give us more advanced tutorials first comment first like
@kriptaep2123 жыл бұрын
Thank you, I will
@roflbofl Жыл бұрын
thank you, you're a good teacher :)
@_gino3 жыл бұрын
Thanks for the tutorial, you help me a lot to start to know about that. i will wacht the next two tutorial! 👍
@helloworld_231023 жыл бұрын
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.
@triplettjon2 жыл бұрын
EnablePrimaryMouseButtonEvents(true) add this to the top of the script
@ddw15182 жыл бұрын
@@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
@triplettjon2 жыл бұрын
@@ddw1518 thanks for the update 😉
@ddw15182 жыл бұрын
@@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.😣
@jacksparrow97442 жыл бұрын
How can I speed up my mouse on the horizontal axis?
@wikindog3 жыл бұрын
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.
@zjaranyjoe74562 жыл бұрын
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 Жыл бұрын
Thanks Mate 🙌
@muhamedomerovic66673 жыл бұрын
[string "LuaVM"]:246: attempt to call a nil value (field 'pow') Line Number:1 Can you help me fix it?
@pablozambrano7716 Жыл бұрын
I have a question, is posible to use insted MoveMouseRelative(0, 5) use MoveMouseRelative(0, 5.5745) is posble to use decimals?
@ionutmarian50443 ай бұрын
what i not understand how to assign the button for ON/OFF the script...can explain pls?
@Th3SecretLady8 ай бұрын
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_1832 жыл бұрын
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.
@deadmta54337 ай бұрын
Could you help me need to make a macro that quickly presses the "wheel up" key in a loop logitech
@blogJM2 жыл бұрын
Is there a function in LUA to detect whether the cursor/mouse is shown on screen?
@paulsonhanel63693 жыл бұрын
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?
@LittleJT1232 жыл бұрын
newer versions of HUB are Bugged, try downloading an older version like ( version: 2021.3.5264 )
@paulsonhanel63692 жыл бұрын
@@LittleJT123 thanks
@soccerjonesy3 жыл бұрын
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?
@bipbopking11013 жыл бұрын
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-kf5fo8zr6n3 жыл бұрын
x2
@LittleJT1232 жыл бұрын
minimize the current window, it should be underneath
@kaantek4992 жыл бұрын
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 ?
@mikelowry22543 жыл бұрын
Hi, I’m getting an error at 18mins in telling me profile activated arg:0 line 1/ any help?
@authgarauthgar1501 Жыл бұрын
i appreciate you bud
@IgorBasilius3 жыл бұрын
Other mice * (Razer, Redragon, Hyper-x ...) * can also be programmable with this type of script? If not with .lua, at least with another language?
@ImsoloTURK11 ай бұрын
any thoughts on this?
@Schniebel892 жыл бұрын
Cool 😎
@ReckqWow2 жыл бұрын
is this recoil too harsh for CoD Vanguard guns or would this work?
@kriptaep2122 жыл бұрын
You can modify it!
@Rayan---il5pf9 ай бұрын
If a lua script is made for logitech mouse, is there any way to run that lua script without logitech mouse?
@MrChiamera3 жыл бұрын
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?
@liam87152 жыл бұрын
How to do it without logitech mouse?
@KirbyGriffin98 Жыл бұрын
I copied this exactly and it does nothing at all even though there are no syntax errors did i do something wrong?
@rodrigaumm3 жыл бұрын
Are you from Brazil?
@TheWantedUnknown3 жыл бұрын
incrivel como um brasileiro sabe detectar outro brasileiro falando em ingles UEHUEAHAUEHEAUH
@rodrigaumm3 жыл бұрын
@@TheWantedUnknown ahsuhwskkwd tem um sotaque de leve
@K1nd0mRush Жыл бұрын
Why sleep disable all function for all time?
@fabiansaavedra10083 жыл бұрын
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
@sahinalyami2 жыл бұрын
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_cfw9 ай бұрын
Ok cool!
@fathaan-hikanu2 жыл бұрын
new Ghub version can not save the script
@kriptaep2122 жыл бұрын
Now you can!
@SLID3R0403 жыл бұрын
[string "LuaVM"]:3: attempt to call a nil value (global 'IsMousebuttonPressed') Line Number:1
@jjs.b43223 жыл бұрын
i have the same problem
@mohammadhack9973 жыл бұрын
I make macro like you but but not working. What is problem?
@Tee-mf8ug3 жыл бұрын
when i press edit script dosent openingthe second tab what can i do
@Alcamps2 жыл бұрын
have a script in xml is possible convert in lua?
@jackijackdarth193811 ай бұрын
i only see when my mouse is pressed... why dont i see when my logitech g920 is pressed?
@_bools2 жыл бұрын
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.
@gonzalonahuelgomezarrua60353 жыл бұрын
The script will work in PS4 with a Logitech G PRO HERO or It is impossible?
@slashersdodo48233 жыл бұрын
lmao
@rondo_numba_58653 жыл бұрын
Just get a Cronus zen
@keNNyEM3 жыл бұрын
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 Жыл бұрын
Mines is set to English and still having that problem
@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.39432 жыл бұрын
is it possible to create a script for PUBG? or is this compatible?
@kriptaep2122 жыл бұрын
You can create a script for any game.
@IANC4EVER3 жыл бұрын
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
@dragondavide19143 жыл бұрын
yeah would be easier, right?
@dragondavide19143 жыл бұрын
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
@shark1988shark2 жыл бұрын
hi, i tried to install the script, in the logitech screen it works, the ursor moves down, but in the game not, why?
@kriptaep2122 жыл бұрын
Run Logitech Gaming Hub as Administrator =)
@shark1988shark2 жыл бұрын
@@kriptaep212 but is there a way to trigger this query?
@shark1988shark2 жыл бұрын
@@kriptaep212 perfect
@shark1988shark2 жыл бұрын
@@kriptaep212 hello sorry, could the ping have risen during games for entering the query?
@dragondavide19143 жыл бұрын
doen anyone know how to always have the recoil scrypt with the button 1 ? without have to press button 3? thanks
@getmeoutofsanfrancisco99173 жыл бұрын
Change the 3 to something else, or just get rid of that initial function altogether and just keep the second one.
@simkim608 Жыл бұрын
Is this applicable to deathadder essential
@Kourzz2 ай бұрын
You can use a XML
@Kourzz2 ай бұрын
On razers software
@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-ij5vf3 жыл бұрын
ty
@kriptaep2123 жыл бұрын
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
@skim0o883 жыл бұрын
some of the scripts arent working, like endfunction, event and arg
@skim0o883 жыл бұрын
and there's also an error on line 2
@dababbs33813 жыл бұрын
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
@rvgGhost3 жыл бұрын
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-g2c8 ай бұрын
make one for rust
@roguehorizon66077 ай бұрын
what is the chance i get bannned
@markwolf94082 жыл бұрын
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..
@kriptaep2122 жыл бұрын
I will try
@nikolazupa6216 Жыл бұрын
i have a g903 and dont work
@sashavanvehmendahl23563 жыл бұрын
Side ways recoil ?
@oofin43043 жыл бұрын
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
@sashavanvehmendahl23563 жыл бұрын
O ok cool thanks will try that
@alam3002 жыл бұрын
@@oofin4304 how can i do the same thing but making recoil work only when click left click without right click ?
@alam3002 жыл бұрын
@@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 ?
@matiastorti83572 жыл бұрын
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.
@Dat09real3 жыл бұрын
wow you back i thought your channel was reported
@kriptaep2123 жыл бұрын
It was
@jonathanhilliard9712 жыл бұрын
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
@kriptaep2122 жыл бұрын
IsMouseButtonPressed , the "b" needs to be capital
@mikelowry22543 жыл бұрын
Scrap my last comment managed to get it working but it doesn’t work every time. Every suggestions ?
@AstraQwQ3 жыл бұрын
i dont see an edit script button pls help
@AstraQwQ3 жыл бұрын
nvm inm stupid
@derrickrose26673 жыл бұрын
I dont se it?
@Blackbeard223 Жыл бұрын
Can anyone make make me a lua zero recoil for PUBG so I can use any gun with any scope plz
@shiva__26792 жыл бұрын
please make one for valorant recoil
@ZeroCool223 жыл бұрын
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.
@ankit33753 жыл бұрын
Add keystrokes on macros section on same profile or record macro
@skengmoosa89063 жыл бұрын
@@ankit3375 whats ur discord maybe i can add u and u can show me how its done coz im after the same thing thanks
@ahsiong19903 жыл бұрын
any pubg latest patchs LUA for sale?
@darkstrange3 жыл бұрын
One question how can I make a macro I need for warface but I play on ps4
@jannenKoodivideot3 жыл бұрын
WTF!!! I HAVE EXACTLY THE SAME MOUSE AND KEYBOARD111!!!11!1
@videos400583 жыл бұрын
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 Жыл бұрын
Zero games ban people for having Logitech software.
@R4mbones3 жыл бұрын
ooooo here are all the pro players from Pubg:))))) 1234 1234 1234 :)))) NOOOOOOBBBBBBSSSSSSSSS
@philslaya2 жыл бұрын
cool cool lamo
@1703gato3 жыл бұрын
siempre pensando en el dinero
@Lbezerra82 Жыл бұрын
Vai Brasilllll
@Just1kOoL3 жыл бұрын
Mouse movements are being blocked by anticheats lately so.. Yea.
@4funrc113 жыл бұрын
_Spoiler Alert_ - Sadly this guy is only doing these Lua videos for 💰 income. Meh...
@fayezswilam59173 жыл бұрын
discord link dosent work ?
@pejcaa_2 жыл бұрын
function OnEvent(event, arg) OutputLogMessage("Event: "..event.." Arg: "..arg.." ") end not working for some reason! Output: Event: PROFILE_ACTIVATED Arg: 0