Posted: Tue Jun 10, 2025 2:41 pm Post subject: Mouse Click as Hotkey
i know theres a way to set left mouse button as hotkey as i have done it before, but i got nooooo idea how to do it now
but, just incase im wrong and the only way to do it is by scripting (which i doubt)
this is what i have
[ENABLE]
luacall(speedhack_setSpeed(1.15))
[DISABLE]
luacall(speedhack_setSpeed(1.1))
i have seen the code below, but that makes no sense to me, and it keeps getting error messages
first i have to add enable and dissable, so i copy pasta it to where "luacall(speedhack_setSpeed(1.15))" was
then it says line 10 isnt working, which would be "last speed"?
so id really like if someone knows how to just add LMB as hotkey rather than any coding
wantedSpeed=10
lastSpeed=1
function checkKeys(timer)
if isKeyPressed(VK_LBUTTON) then
if lastSpeed==1 then
speedhack_setSpeed(wantedSpeed)
lastSpeed=wantedSpeed
end
else
if lastSpeed~=1 then
speedhack_setSpeed(1)
lastSpeed=1
end
end
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum