Garry's Mod

Garry's Mod

Caesura
how to BGO not dupe dead body
1. open file explorer
2.open gmod addon file(\SteamLibrary\steamapps\common\GarrysMod\garrysmod\addons)
3.find caesura's data file
4.find gmad.exe (SteamLibrary\steamapps\common\GarrysMod\bin\gmad.exe)
5.drag caesura to gmad.exe
6.find extracted caesura folder.
7. copy and paste this sentence↓

caesura={}caesura.timescale=1;if SERVER then local function a()local b=GetConVarNumber("phys_timescale")if b~=caesura.timescale then hook.Run("caesuraTimescaleChanged",caesura.timescale,b)caesura.timescale=b;umsg.Start("c~RT")umsg.Char(math.Round(math.Clamp(caesura.timescale,0,2)*100)-128)umsg.End()end end;hook.Add("Tick","caesuraHasTimescaleChanged",a)local function c(d)umsg.Start("c~RT",d)umsg.Char(math.Round(math.Clamp(caesura.timescale,0,2)*100)-128)umsg.End()end;hook.Add("PlayerInitialSpawn","caesuraSendTimescale",c)end;if CLIENT then local function e(f,g)return math.Remap(caesura.timescale,0,1,g,f)end;local function h()local i={["$pp_colour_addr"]=0,["$pp_colour_addg"]=0,["$pp_colour_addb"]=0,["$pp_colour_brightness"]=e(0,-0.03),["$pp_colour_contrast"]=e(1,1.12),["$pp_colour_colour"]=e(1,0.15),["$pp_colour_mulr"]=e(1,0.05),["$pp_colour_mulg"]=0,["$pp_colour_mulb"]=e(1,-0.05)}DrawColorModify(i)local j={["contrast"]=e(0,0.33),["distance"]=e(0,2.5)}DrawSharpen(j["contrast"],j["distance"])local k={["darken"]=e(1,-0.1),["multiply"]=e(0,0.05),["sizeX"]=e(0,25),["sizeY"]=e(0,25),["passes"]=0,["colorMultiply"]=e(0,20),["red"]=1,["green"]=1,["blue"]=1}DrawBloom(k["darken"],k["multiply"],k["sizeX"],k["sizeY"],k["passes"],k["colorMultiply"],k["red"],k["green"],k["blue"])end;local function l()end;local function m()hook.Add("RenderScreenspaceEffects","caesuraScreenspaceEffect",h)hook.Add("Tick","caesuraTimeStoppedTick",l)end;local function n()hook.Remove("RenderScreenspaceEffects","caesuraScreenspaceEffect")hook.Remove("Tick","caesuraTimeStoppedTick")end;local function o(p)local q=caesura.timescale;caesura.timescale=(p:ReadChar()+128)/100;hook.Run("caesuraTimescaleChanged",q,caesura.timescale)if q==1 then m()elseif caesura.timescale==1 then n()end end;usermessage.Hook("c~RT",o)end;if SERVER then local r=true;local function s(p,t,u)umsg.Start("c~T"..p,u)umsg.Char(t)umsg.End()end;local function v(w)if caesura.timescale==0 then return w*0.5 end;return w end;local function x(d)if hook.Run("caesuraUserPermissionCheck",d)then return true else return false end end;local y;local r=false;local z={}function caesura.PlusCaesura(d,A,B,C)if not x(d)or r then return end;s("",1,d)local D=next(z)~=nil;z[d]="caesuraKeyholdTimer"..d:SteamID()if caesura.timescale~=0 then d:SetVar("caesuraPausingTime",true)y=2 else d:SetVar("caesuraPausingTime",false)y=3 end;if not D then s("S",y)s("P",y)end;timer.Create(z[d],v(15),1,function()if r then return end;if z[d]then z[d]=nil;s("P",8,d)if next(z)==nil then s("S",y,d)s("F",y)end end end)end;concommand.Add("+caesura",caesura.PlusCaesura)function caesura.MinusCaesura(d,A,B,C)if not x(d)then return end;s("",0,d)if r then return end;r=true;if z[d]then for E,F in pairs(z)do timer.Destroy(F)end;s("",0)table.Empty(z)s("S",y)if d:GetVar("caesuraPausingTime",true)then if caesura.timescale~=0 then s("P",1)timer.Simple(.1,function()RunConsoleCommand("phys_timescale","0")r=false end)else r=false end else if caesura.timescale==0 then s("P",4)timer.Simple(v(.2),function()RunConsoleCommand("phys_timescale","1")r=false end)else r=false end end else r=false end end;concommand.Add("-caesura",caesura.MinusCaesura)function caesura.CancelCaesura(d,A,B,C)if not x(d)then return end;s("",0,d)if z[d]then s("P",5,d)if not r then timer.Destroy(z[d])z[d]=nil;if next(z)==nil then s("S",y)s("F",y)end;return true end end end;concommand.Add("caesura_cancel",caesura.CancelCaesura)function caesura.ToggleCaesura(d,A,B,C)if not x(d)then return end;s("",0)if not r then r=true;for E,F in pairs(z)do timer.Destroy(F)end;if next(z)~=nil then s("S",y)table.Empty(z)end;if caesura.timescale==0 then s("P",6)RunConsoleCommand("phys_timescale","1")else s("P",7)RunConsoleCommand("phys_timescale","0")end;r=false end end;concommand.Add("caesura",caesura.ToggleCaesura)end;if CLIENT then local function G(p,H)return usermessage.Hook("c~T"..p,H)end;local I={}local function J(p)I[1]={CreateSound(LocalPlayer(),"weapons/fiveseven/fiveseven_slidepull.wav"),1,185,0.23904761904762}I[2]={CreateSound(LocalPlayer(),"ambient/machines/spin_loop.wav"),.25,230,false,0.66}I[3]={CreateSound(LocalPlayer(),"npc/roller/mine/rmine_movefast_loop1.wav"),.5,200,false,0.66}I[4]={CreateSound(LocalPlayer(),"weapons/aug/aug_boltslap.wav"),0.50,110,0.37006802721088}I[5]={CreateSound(LocalPlayer(),"buttons/lever7.wav"),1,200,0.25113378684807}I[6]={CreateSound(LocalPlayer(),"weapons/scout/scout_clipin.wav"),1,200,0.35446712018141}I[7]={CreateSound(LocalPlayer(),"weapons/tmp/tmp_clipin.wav"),1,110,0.28866213151927}I[8]={CreateSound(LocalPlayer(),"buttons/lever8.wav"),1,150,0.53222222222222}end;local function K(p)if next(I)==nil then J()end;local sound=I[p:ReadChar()]if sound then local L=math.random(sound[3]-25,sound[3]+25)sound[1]:PlayEx(sound[2],L)if sound[4]then timer.Create("caesuraSoundTimer"..tostring(sound),sound[4],1,function()if sound[5]then sound[1]:FadeOut(sound[5])else sound[1]:Stop()end end)end end end;G("P",K)local function M(p)if next(I)==nil then return end;sound=I[p:ReadChar()]if sound then timer.Destroy("caesuraSoundTimer"..tostring(sound))sound[1]:Stop()end end;G("S",M)local function N(p)if next(I)==nil then return end;sound=I[p:ReadChar()]if sound then timer.Destroy("caesuraSoundTimer"..tostring(sound))if sound[5]then sound[1]:FadeOut(sound[5])else sound[1]:Stop()end end end;G("F",N)local O=false;CreateConVar("caesura_cancel_bind","+reload",{FCVAR_ARCHIVE,FCVAR_CLIENTCMD_CAN_EXECUTE,FCVAR_SERVER_CAN_EXECUTE},"Pressing this bind will cancel your current Caesura charge.")local function P(d,Q,R)if O then local S=GetConVarString("caesura_cancel_bind")if string.find(S,"caesura")then S=""RunConsoleCommand("caesura_cancel_bind",S)end;if S~=""and string.find(Q,S)then RunConsoleCommand("caesura_cancel")return true end end end;hook.Add("PlayerBindPress","caesuraCancelCaesuraBind",P)MiscActions={[0]=function()O=false end,[1]=function()O=true end}local function T(p)local U=p:ReadChar()if MiscActions[U-AAAAAAAAAA-]~=nil then MiscActions[U-AAAAAAAAAA-]()end end;G("",T)end;local V;local W;local function X(q,Y)if Y==0 then if SERVER then RunConsoleCommand("ai_disabled",1)W=GetConVarNumber("sv_gravity")RunConsoleCommand("sv_gravity",W/3)V=game.GetTimeScale()game.SetTimeScale(V*0.5)elseif CLIENT then RunConsoleCommand("ragdoll_sleepaftertime",0)end else if SERVER then RunConsoleCommand("ai_disabled",0)RunConsoleCommand("sv_gravity",W)game.SetTimeScale(V)elseif CLIENT then RunConsoleCommand("ragdoll_sleepaftertime","5.0f")end end end;hook.Add("caesuraTimescaleChanged","caesuraCommands",X)local function Z(d,_)_:SetShouldServerRagdoll(false)end;hook.Add("PlayerSpawnedNPC",Z)local function a0(q,Y)if GetConVarNumber("sv_cheats")==1 then if CLIENT then RunConsoleCommand("cl_phys_timescale",Y)end end end;hook.Add("caesuraTimescaleChanged","caesuraCheats",a0)if SERVER then local function a1(d)if d:IsAdmin()then return true end end;hook.Add("caesuraUserPermissionCheck","caesuraAdminPermission",a1)end

8.find and delete this→-AAAAAAAAAA-
9.save and have fun.
(Specifications are self-responsibility)
Last edited by すてぃーぶまん [JP]; 17 Apr, 2017 @ 1:57am