From 2736a1f2f0e5fca757b8e110fc3157732efc8e98 Mon Sep 17 00:00:00 2001 From: Fesiug Date: Mon, 15 Jan 2024 01:43:58 -0500 Subject: [PATCH] Stunt only one mode for now --- .../gamemode/modules/player/sh_movement_advanced.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua b/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua index f44e827..7d0e5a3 100644 --- a/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua +++ b/gamemodes/benny/gamemode/modules/player/sh_movement_advanced.lua @@ -183,16 +183,8 @@ hook.Add( "Move", "Benny_Move", function( ply, mv ) if mv:KeyDown( IN_ALT1 ) then local dig = Vector( mv:GetForwardSpeed()+0.01, mv:GetSideSpeed(), 0 ):GetNormalized() local dug = Angle( 0, ply:EyeAngles().y, 0 ) - local upspeed = 120 - local movespeed = 230 - local pitch = ply:EyeAngles().p - if pitch < -12 then - upspeed = 250 - movespeed = 320 - elseif pitch < 12 then - upspeed = 160 - movespeed = 260 - end + local upspeed = 180 + local movespeed = 250 dig:Mul( movespeed ) if !ply:OnGround() then upspeed = mv:GetVelocity().z end ply:SetGroundEntity( NULL )