Triggerbot?

Posts 115 of 32 · Page 1 of 3
Triggerbot?
Hello guys, another question, I know there are Triggerbots... but I only find those which you have to toggle and then it shoots until you toggle it off... I don't know much about coding... so... I'm searching for someone who has a Triggerbot which is bindable and only shoots when you press the button its binded to... if anyone could help me, it would be very nice..
Would you mind to post the code of your actual triggerbot?
I'm pretty sure it'd be easy to take away the toggle.
Quote Originally Posted by LukeKesnaw View Post
Hello guys, another question, I know there are Triggerbots... but I only find those which you have to toggle and then it shoots until you toggle it off... I don't know much about coding... so... I'm searching for someone who has a Triggerbot which is bindable and only shoots when you press the button its binded to... if anyone could help me, it would be very nice..
didn't you "code" an entire "cheat"?
Yeah but friends helped me, anyways its... well.. detected/gone now.
Post your script, I'll make it toggle easily.
I only has my not so old wich is bugged, duh.. well I got a old one... but dat is really basic n shit..


CreateClientConVar("bsic_triggerbot", 0, true, false)

function triggeerbot()
if GetConVarNumber("bsic_triggerbot") == 1 then
target = LocalPlayer():GetEyeTrace().Entity
if LocalPlayer():Alive() and LocalPlayer():GetActiveWeapon():IsValid() and (target:IsPlayer() or target:IsNPC()) then
if !Firing then
RunConsoleCommand( "+attack" )
LocalPlayer():GetActiveWeapon().SetNextPrimaryFire ( LocalPlayer():GetActiveWeapon() ) // idunno.
Firing = true
else
RunConsoleCommand( "-attack" )
Firing = false
end
end
end
end


hook.Add("Think", "Triggeerbothook", triggeerbot)
alias triggeron "bsic_triggerbot 1; alias toggletrigger triggeron"
alias triggeroff "bsic_triggerbot 0; alias toggletrigger triggeron"
alias toggletrigger "triggeron"
Umm.... sorry, this post was an accident lol... didnt even type anything in here !?

---------- Post added at 02:18 PM ---------- Previous post was at 02:01 PM ----------

Quote Originally Posted by D3M0L1T10N View Post
alias triggeron "bsic_triggerbot 1; alias toggletrigger triggeron"
alias triggeroff "bsic_triggerbot 0; alias toggletrigger triggeron"
alias toggletrigger "triggeron"
Where to put that? been trying everything, don't know what im doing wrong or what the matter is..
Quote Originally Posted by LukeKesnaw View Post
Umm.... sorry, this post was an accident lol... didnt even type anything in here !?

---------- Post added at 02:18 PM ---------- Previous post was at 02:01 PM ----------



Where to put that? been trying everything, don't know what im doing wrong or what the matter is..
Put it in cfg/autoexec.cfg then type in console exec autoexec.cfg or just restart.

edit: and then bind triggeron to a key, bind v triggeron
Great job copying the Wiki triggerbot that doesn't even work.
I did not do that one, as I said I were doin thingz with ma fwends. I dunno if its copied

---------- Post added at 02:59 PM ---------- Previous post was at 02:55 PM ----------

Quote Originally Posted by D3M0L1T10N View Post
Put it in cfg/autoexec.cfg then type in console exec autoexec.cfg or just restart.

edit: and then bind triggeron to a key, bind v triggeron

[ERROR] lua/trigger.lua:8: bad argument #2 to 'SetNextPrimaryFire' (number expected, got no value)
1. SetNextPrimaryFire - [C]:-1
2. fn - lua/trigger.lua:8
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
Quote Originally Posted by LukeKesnaw View Post
I did not do that one, as I said I were doin thingz with ma fwends. I dunno if its copied

---------- Post added at 02:59 PM ---------- Previous post was at 02:55 PM ----------




[ERROR] lua/trigger.lua:8: bad argument #2 to 'SetNextPrimaryFire' (number expected, got no value)
1. SetNextPrimaryFire - [C]:-1
2. fn - lua/trigger.lua:8
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
go download hake v2 and use that trigger.
Quote Originally Posted by D3M0L1T10N View Post
go download hake v2 and use that trigger.

[ERROR] lua/hake/triggerbot.lua:10: attempt to index global 'hack' (a nil value)
1. unknown - lua/hake/triggerbot.lua:10
put at the top of the document hack = ""
Quote Originally Posted by D3M0L1T10N View Post
put at the top of the document hack = ""
Where should I add it? doesn't work where I tried... DUH

---------- Post added at 06:17 PM ---------- Previous post was at 05:15 PM ----------

Comeon guys... does no one know?
Posts 115 of 32 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?