local o={}function ScreenShake()return true end local v=require(game.ReplicatedStorage.Modules:WaitForChild("\067\097\109\101\114\097\083\104\097\107\101\114"))local j=workspace.CurrentCamera local S=game.Players.LocalPlayer function o.SmallBump(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=20 then V:Start()V:Shake(v.Presets.Bump)end end end function o.TinyShake(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=20 then V:Start()V:Shake(v.Presets.Bump)end end end function o.TinyShake3(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=100 then V:Start()V:Shake(v.Presets.Bump2)end end end function o.TinyShake4(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=100 then V:Start()V:Shake(v.Presets.Bump2)end end end function o.TinyShake5(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=100 then V:Start()V:Shake(v.Presets.Bump4)end end end function o.Bump(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=40 then V:Start()V:Shake(v.Presets.Bump2)end end end function o.Explosion(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=125 then V:Start()V:Shake(v.Presets.Explosion)end end end function o.StrongExplosion(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=125 then V:Start()V:Shake(v.Presets.StrongExplosion)end end end function o.SmallExplosion(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=125 then V:Start()V:Shake(v.Presets.Explosion2)end end end function o.CamShakeBig(o)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local V=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=125 then V:Start()V:Shake(v.Presets.Explosion)end end end function o.CamShakeBig2(o,V)if ScreenShake()==true then if typeof(o)~="\086\101\099\116\111\114\051"then o=o.Position end local P=v.new(Enum.RenderPriority.Camera.Value,function(o)j.CFrame=j.CFrame*o end)if(S.Character.HumanoidRootPart.Position-o).Magnitude<=(V or 125)then P:Start()P:Shake(v.Presets.Explosion2)end end end return o
-- Script GUID: {A9313008-ED82-4E7E-86EA-83A84F627A60}
-- Decompiled with the Synapse X Luau decompiler.

local v1 = {}
function ScreenShake()
	return true
end
local u1 = require(game.ReplicatedStorage.Modules:WaitForChild("CameraShaker"))
local l__CurrentCamera__2 = workspace.CurrentCamera
local l__LocalPlayer__3 = game.Players.LocalPlayer
function v1.SmallBump(p1)
	if ScreenShake() == true then
		if typeof(p1) ~= "Vector3" then
			p1 = p1.Position
		end
		local v2 = u1.new(Enum.RenderPriority.Camera.Value, function(p2)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p2
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p1).Magnitude <= 20 then
			v2:Start()
			v2:Shake(u1.Presets.Bump)
		end
	end
end
function v1.TinyShake(p3)
	if ScreenShake() == true then
		if typeof(p3) ~= "Vector3" then
			p3 = p3.Position
		end
		local v3 = u1.new(Enum.RenderPriority.Camera.Value, function(p4)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p4
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p3).Magnitude <= 20 then
			v3:Start()
			v3:Shake(u1.Presets.Bump)
		end
	end
end
function v1.TinyShake3(p5)
	if ScreenShake() == true then
		if typeof(p5) ~= "Vector3" then
			p5 = p5.Position
		end
		local v4 = u1.new(Enum.RenderPriority.Camera.Value, function(p6)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p6
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p5).Magnitude <= 100 then
			v4:Start()
			v4:Shake(u1.Presets.Bump2)
		end
	end
end
function v1.TinyShake4(p7)
	if ScreenShake() == true then
		if typeof(p7) ~= "Vector3" then
			p7 = p7.Position
		end
		local v5 = u1.new(Enum.RenderPriority.Camera.Value, function(p8)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p8
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p7).Magnitude <= 100 then
			v5:Start()
			v5:Shake(u1.Presets.Bump2)
		end
	end
end
function v1.TinyShake5(p9)
	if ScreenShake() == true then
		if typeof(p9) ~= "Vector3" then
			p9 = p9.Position
		end
		local v6 = u1.new(Enum.RenderPriority.Camera.Value, function(p10)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p10
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p9).Magnitude <= 100 then
			v6:Start()
			v6:Shake(u1.Presets.Bump4)
		end
	end
end
function v1.Bump(p11)
	if ScreenShake() == true then
		if typeof(p11) ~= "Vector3" then
			p11 = p11.Position
		end
		local v7 = u1.new(Enum.RenderPriority.Camera.Value, function(p12)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p12
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p11).Magnitude <= 40 then
			v7:Start()
			v7:Shake(u1.Presets.Bump2)
		end
	end
end
function v1.Explosion(p13)
	if ScreenShake() == true then
		if typeof(p13) ~= "Vector3" then
			p13 = p13.Position
		end
		local v8 = u1.new(Enum.RenderPriority.Camera.Value, function(p14)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p14
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p13).Magnitude <= 125 then
			v8:Start()
			v8:Shake(u1.Presets.Explosion)
		end
	end
end
function v1.StrongExplosion(p15)
	if ScreenShake() == true then
		if typeof(p15) ~= "Vector3" then
			p15 = p15.Position
		end
		local v9 = u1.new(Enum.RenderPriority.Camera.Value, function(p16)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p16
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p15).Magnitude <= 125 then
			v9:Start()
			v9:Shake(u1.Presets.StrongExplosion)
		end
	end
end
function v1.SmallExplosion(p17)
	if ScreenShake() == true then
		if typeof(p17) ~= "Vector3" then
			p17 = p17.Position
		end
		local v10 = u1.new(Enum.RenderPriority.Camera.Value, function(p18)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p18
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p17).Magnitude <= 125 then
			v10:Start()
			v10:Shake(u1.Presets.Explosion2)
		end
	end
end
function v1.CamShakeBig(p19)
	if ScreenShake() == true then
		if typeof(p19) ~= "Vector3" then
			p19 = p19.Position
		end
		local v11 = u1.new(Enum.RenderPriority.Camera.Value, function(p20)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p20
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p19).Magnitude <= 125 then
			v11:Start()
			v11:Shake(u1.Presets.Explosion)
		end
	end
end
function v1.CamShakeBig2(p21, p22)
	if ScreenShake() == true then
		if typeof(p21) ~= "Vector3" then
			p21 = p21.Position
		end
		local v12 = u1.new(Enum.RenderPriority.Camera.Value, function(p23)
			l__CurrentCamera__2.CFrame = l__CurrentCamera__2.CFrame * p23
		end)
		if (l__LocalPlayer__3.Character.HumanoidRootPart.Position - p21).Magnitude <= (p22 or 125) then
			v12:Start()
			v12:Shake(u1.Presets.Explosion2)
		end
	end
end
return v1
