Made a little five-second script that I thought was worth releasing.
[b][u]- What is it? -[/u][/b]
A simple client-side script (you can use it on most servers) that makes you jump as soon as you touch the ground (BunnyHopping) or crouch rapidly (TeaBagging).
[b][u]- How to install and use -[/u][/b]
1. Place the file contained in the zip into this folder:
[quote]
C:/Program Files/Steam/steamapps/YOUR_STEAM_NAME/garrysmod/garrysmod/lua/autorun/
[/quote]
2. Load Garry's Mod (Restart or go into a new game (map change/reconnect))
3. Open up console (If you don't know how to do this, then you can't use this!)
4. Type "hop 1" ("hop 0" to turn it off)
5. Exit console and hold jump while walking around!
6. In console, type "teabag 1" ("teabag 0" to turn it off)
7. Exit console and hold crouch while walking around or stand still! Preferably do this over dead bodies and say in chat "YOU JUST GOT TEABAGGED"
8. To change how fast you teabag, use the command "teabag_interval #" where # is a number in seconds (default is 0.5)
[b][u]- Notes -[/u][/b]
[list]
[*] There may be a glitch where you can't jump nor can you use hop to enable jumping. This is a bug I'm too lazy to fix and reupload for, just open console and enter "-jump" and it'll work!
[*] This is just a five-second script, it is not something I want to use in a job application :/
[/list]
[b][u]- Download -[/u][/b]
[url=http://www.garrysmod.org/downloads/?a=view&id=49507][img]http://www.garrysmod.org/img/?t=dll&id=49507[/img][/url]
[b]Enjoy![/b]
Nice i will be using this alot :D
[lua]local bhopenabled = false
local bhoptoggle = true
local function bhopon()
bhopenabled = true
end
local function bhopoff()
bhopenabled = false
bhoptoggle = true
RunConsoleCommand("-jump")
end
concommand.Add("+bhop", bhopon)
concommand.Add("-bhop", bhopoff)
local function bhop()
if not bhopenabled then return end
RunConsoleCommand((bhoptoggle and "+" or "-").."jump","")
bhoptoggle = not bhoptoggle
end
hook.Add("Think", "jamhopper", bhop)[/lua]
this is a better bhop script. just bind a key to +bhop and you're ready to go.
[QUOTE=GAY_LAU_DAD][lua]local bhopenabled = false
local bhoptoggle = true
local function bhopon()
bhopenabled = true
end
local function bhopoff()
bhopenabled = false
bhoptoggle = true
RunConsoleCommand("-jump")
end
concommand.Add("+bhop", bhopon)
concommand.Add("-bhop", bhopoff)
local function bhop()
if not bhopenabled then return end
RunConsoleCommand((bhoptoggle and "+" or "-").."jump","")
bhoptoggle = not bhoptoggle
end
hook.Add("Think", "jamhopper", bhop)[/lua]
this is a better bhop script. just bind a key to +bhop and you're ready to go.[/QUOTE]
Oh really hehe.
They both work pretty much the same!
Mine should actually be better as yours may run -jump as they hit the ground, causing them to have friction that frame.
Mine however, runs checks.
Well they both work, good work on yours ;)
Looks great. I'm just wondering... Because this is an lua which is a kind of script thingy built into Garrys mod it cannot get you VAC banned, Right?
nope
You might find this useful. It's a script me and ZpankR made. It enables bunny hopping in muliplayer by giving players momentum when jumping.
[lua]
if CLIENT then return end
local function BunnyHop(Ply, Key)
if Key == IN_JUMP and Ply:IsOnGround() then
local divide = 3
local vel = Ply:GetVelocity()/divide
Ply:SetVelocity(vel)
end
end
hook.Add("KeyPress", "BunnyHopHook", BunnyHop)
[/lua]
Goes in shared
[b]Edit:[/b]
uhh.. now that I look at it, I don't know why it's shared. But oh well, it works.
Seems like a really good thing to have. I can't access Gmod right now, but I will download it and try it once I have the chance.
And on the topic of bunny-hopping, there I found this Turbo-TF2 server in Team Fortress 2, lots of mods, and usually they have parachute, but instead they had bunny hopping.
[QUOTE=owen1150]Looks great. I'm just wondering... Because this is an lua which is a kind of script thingy built into Garrys mod it cannot get you VAC banned, Right?[/QUOTE]
Garry's Mod is not VAC secured. If it was, every one of it's users would be VAC banned. The way Lua works is just too much like a hack (changes memory).
[QUOTE=CapsAdmin]uhh.. now that I look at it, I don't know why it's shared. But oh well, it works.[/QUOTE]
It's server-side D: Can't use it on any server, and it's only shared to make the client predict.
Good script, anyway ;)
:lol: Awesome :D
[QUOTE=Deco Da Man]Garry's Mod is not VAC secured. If it was, every one of it's users would be VAC banned. The way Lua works is just too much like a hack (changes memory).
It's server-side D: Can't use it on any server, and it's only shared to make the client predict.
Good script, anyway ;)[/QUOTE]
Do you even know how VAC works? It detects hacks that it "knows". VAC2 is the only anti-cheat that bans you for hooking into the game etc... But I'm pretty sure that you still wouldn't get b& because Lua is [B]part[/B] of the game, not an 3rd party hack.
[QUOTE=Hemuli]Do you even know how VAC works? It detects hacks that it "knows". VAC2 is the only anti-cheat that bans you for hooking into the game etc... But I'm pretty sure that you still wouldn't get b& because Lua is [B]part[/B] of the game, not an 3rd party hack.[/QUOTE]
I don't really want to start an argument, but VAC has no idea what is what with hacks. VAC just detects changes in the application's memory space. Lua dynamically allocates alot of memory in a way that causes VAC to not know if it's application or data space. I'm quite sure that it would activate.
On Topic: Maybe I need a video to make this a bigger hit.
VAC knows when you inject stuff into the hl2.exe.
[QUOTE=Diaklu]VAC knows when you inject stuff into the hl2.exe.[/QUOTE]
That's what I said!
Garry's Mod is VAC secure, along with other mods that use Lua.
VAC doesn't detect memory modification though.
It detects programs like Cheat Engine that modify memory in a certain way.
But it can be modified without being detected when you use Delphi and/or Assembly.
[QUOTE=Panda X]Garry's Mod is VAC secure, along with other mods that use Lua.[/QUOTE]
it's "secure" in the sense that it will detect cheats but if you get vac banned you can still play on any garry's mod server regardless of its anti-cheat status thus negating the point of even implementing VAC at all.
[QUOTE=GAY_LAU_DAD]it's "secure" in the sense that it will detect cheats but if you get vac banned you can still play on any garry's mod server regardless of its anti-cheat status thus negating the point of even implementing VAC at all.[/QUOTE]
You can play on garrysmod when VAC banned, but not on other games.
[QUOTE=kevkev]You can play on garrysmod when VAC banned, but not on other games.[/QUOTE]
REALLY
[QUOTE=CapsAdmin]You might find this useful. It's a script me and ZpankR made. It enables bunny hopping in muliplayer by giving players momentum when jumping.
[lua]
if CLIENT then return end
local function BunnyHop(Ply, Key)
if Key == IN_JUMP and Ply:IsOnGround() then
local divide = 3
local vel = Ply:GetVelocity()/divide
Ply:SetVelocity(vel)
end
end
hook.Add("KeyPress", "BunnyHopHook", BunnyHop)
[/lua]
[/QUOTE]
Is this similar to the bunny hop that used to have in Team Fortress Classic? You had to strafe jump in circles in order to "build" speed, and the maximum speed you could reach was topped at 170% of your class's normal speed.
:lol: nice script
You could check the last post date before posting, you know...
what bad about it?
[QUOTE=Noodle man;15515631]what bad about it?[/QUOTE]
It is over a half year old.
better to bump than make a new thread
[QUOTE=rieda1589;11435572]VAC doesn't detect memory modification though.
It detects programs like Cheat Engine that modify memory in a certain way.
But it can be modified without being detected when you use Delphi and/or Assembly.[/QUOTE]
I love paradoxes.
[QUOTE=Deco Da Man;11409807]Made a little five-second script that I thought was worth releasing.
[b][u]- What is it? -[/u][/b]
A simple client-side script (you can use it on most servers) that makes you jump as soon as you touch the ground (BunnyHopping) or crouch rapidly (TeaBagging).
[b][u]- How to install and use -[/u][/b]
1. Place the file contained in the zip into this folder:
2. Load Garry's Mod (Restart or go into a new game (map change/reconnect))
3. Open up console (If you don't know how to do this, then you can't use this!)
4. Type "hop 1" ("hop 0" to turn it off)
5. Exit console and hold jump while walking around!
6. In console, type "teabag 1" ("teabag 0" to turn it off)
7. Exit console and hold crouch while walking around or stand still! Preferably do this over dead bodies and say in chat "YOU JUST GOT TEABAGGED"
8. To change how fast you teabag, use the command "teabag_interval #" where # is a number in seconds (default is 0.5)
[b][u]- Notes -[/u][/b]
[list]
[*] There may be a glitch where you can't jump nor can you use hop to enable jumping. This is a bug I'm too lazy to fix and reupload for, just open console and enter "-jump" and it'll work!
[*] This is just a five-second script, it is not something I want to use in a job application :/
[/list]
[b][u]- Download -[/u][/b]
[url=http://www.garrysmod.org/downloads/?a=view&id=49507][img]http://www.garrysmod.org/img/?t=dll&id=49507[/img][/url]
[b]Enjoy![/b][/QUOTE]
it says it was not found when i click on the download box
[QUOTE=ice_delnorte;18418506]it says it was not found when i click on the download box[/QUOTE]
Because the thread is from 2008... Please look at dates before you decide to post.
were i need to put this cuz i don't have autorun in lua.
Sorry, you need to Log In to post a reply to this thread.