local n={}local u=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function n.stuff(n,t,C)local U=C spawn(function()if n.dead==true then return end if not U then U=math.random(1,500)end U=Random.new(U)local t=game.Players.LocalPlayer local C=t.Character.PrimaryPart local K=(n.cam.CFrame.LookVector*Vector3.new(1,0,1)).unit*-1 local Q=n.cam.CFrame.p;(u:Create(n.cam,TweenInfo.new(.9,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{CFrame=CFrame.new(Q+K*2,Q+K*10)})):Play()C.Anchored=true n.stopcam=true n.hideplayers=1 local Z=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Entities.Glitch:Clone()local o=(C.Position+Vector3.new(0,7,0))+K*150 Z:SetPrimaryPartCFrame(CFrame.new(o,o-K))Z.Parent=n.cam Z.Root.SoundHurt:Play();(Z.AnimationController:LoadAnimation(Z.Animations.Run)):Play(0);(u:Create(Z.Root,TweenInfo.new(.7,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{CFrame=CFrame.new(o-K*140,o-K*250)})):Play()n.camShaker:ShakeOnce(4,15,1,1)n.camShaker:ShakeOnce(12,3,1,1)game.Lighting.FogEnd=1000;(u:Create(game:GetService("\076\105\103\104\116\105\110\103"),TweenInfo.new(.9,Enum.EasingStyle.Exponential,Enum.EasingDirection.In),{FogEnd=0;FogStart=0,FogColor=Color3.new(0,0,0),Ambient=Color3.new(0,0,0)})):Play()local d=tick()+2 task.spawn(function()local n=t.PlayerGui.MainUI.MainFrame.GlitchEffect:Clone()for u=1,60,1 do for u=1,8,1 do local C=n:Clone()C.Name="\070\097\107\101\071\108\105\116\099\104\076\105\118\101"C.Position=UDim2.new(math.random(0,100)/100,0,math.random(0,100)/100,0)C.Rotation=math.random(0,1)*180 C.Visible=true C.Parent=t.PlayerGui.MainUI game.Debris:AddItem(C,math.random(1,20)/100)end task.wait(.016666666666667)if d<=tick()then break end end end)script.Sound:Play()wait(.7);(Z.AnimationController:LoadAnimation(Z.Animations.Attack)):Play(0)game.Lighting.Ambience_Glitch.Enabled=true task.wait(.05)t.PlayerGui.MainUI.MainFrame.GlitchScreen.Visible=true task.wait(.1)task.wait(1)t.PlayerGui.MainUI.MainFrame.GlitchScreen.Visible=false Z:Destroy()n.hideplayers=0;(u:Create(game:GetService("\076\105\103\104\116\105\110\103"),TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out),{FogEnd=game.Lighting.FogEnd;FogStart=15,FogColor=Color3.new(0,0,0)})):Play()n.stopcam=false C.Anchored=false task.wait(.05)game.Lighting.Ambience_Glitch.Enabled=false end)end return n
-- Decompiled with the Synapse X Luau decompiler.

local v1 = {}
local l__TweenService__1 = game:GetService("TweenService")
function v1.stuff(p1, p2, p3)
	local u2 = p3
	spawn(function()
		if p1.dead == true then
			return
		end
		if not u2 then
			u2 = math.random(1, 500)
		end
		u2 = Random.new(u2)
		local l__LocalPlayer__2 = game.Players.LocalPlayer
		local l__PrimaryPart__3 = l__LocalPlayer__2.Character.PrimaryPart
		local v4 = (p1.cam.CFrame.LookVector * Vector3.new(1, 0, 1)).unit * -1
		local l__p__5 = p1.cam.CFrame.p
		l__TweenService__1
			:Create(p1.cam, TweenInfo.new(0.9, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {
				CFrame = CFrame.new(l__p__5 + v4 * 2, l__p__5 + v4 * 10),
			})
			:Play()
		l__PrimaryPart__3.Anchored = true
		p1.stopcam = true
		p1.hideplayers = 1
		local v6 = game:GetService("ReplicatedStorage").Entities.Glitch:Clone()
		local v7 = l__PrimaryPart__3.Position + Vector3.new(0, 7, 0) + v4 * 150
		v6:SetPrimaryPartCFrame(CFrame.new(v7, v7 - v4))
		v6.Parent = p1.cam
		v6.Root.SoundHurt:Play()
		v6.AnimationController:LoadAnimation(v6.Animations.Run):Play(0)
		l__TweenService__1
			:Create(v6.Root, TweenInfo.new(0.7, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
				CFrame = CFrame.new(v7 - v4 * 140, v7 - v4 * 250),
			})
			:Play()
		p1.camShaker:ShakeOnce(4, 15, 1, 1)
		p1.camShaker:ShakeOnce(12, 3, 1, 1)
		game.Lighting.FogEnd = 1000
		l__TweenService__1
			:Create(
				game:GetService("Lighting"),
				TweenInfo.new(0.9, Enum.EasingStyle.Exponential, Enum.EasingDirection.In),
				{
					FogEnd = 0,
					FogStart = 0,
					FogColor = Color3.new(0, 0, 0),
					Ambient = Color3.new(0, 0, 0),
				}
			)
			:Play()
		local u3 = tick() + 2
		task.spawn(function()
			local v8 = l__LocalPlayer__2.PlayerGui.MainUI.MainFrame.GlitchEffect:Clone()
			for v9 = 1, 60 do
				for v10 = 1, 8 do
					local v11 = v8:Clone()
					v11.Name = "FakeGlitchLive"
					v11.Position = UDim2.new(math.random(0, 100) / 100, 0, math.random(0, 100) / 100, 0)
					v11.Rotation = math.random(0, 1) * 180
					v11.Visible = true
					v11.Parent = l__LocalPlayer__2.PlayerGui.MainUI
					game.Debris:AddItem(v11, math.random(1, 20) / 100)
				end
				task.wait(0.016666666666666666)
				if u3 <= tick() then
					break
				end
			end
		end)
		script.Sound:Play()
		wait(0.7)
		v6.AnimationController:LoadAnimation(v6.Animations.Attack):Play(0)
		game.Lighting.Ambience_Glitch.Enabled = true
		task.wait(0.05)
		l__LocalPlayer__2.PlayerGui.MainUI.MainFrame.GlitchScreen.Visible = true
		task.wait(0.1)
		task.wait(1)
		l__LocalPlayer__2.PlayerGui.MainUI.MainFrame.GlitchScreen.Visible = false
		v6:Destroy()
		p1.hideplayers = 0
		l__TweenService__1
			:Create(game:GetService("Lighting"), TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
				FogEnd = game.Lighting.FogEnd,
				FogStart = 15,
				FogColor = Color3.new(0, 0, 0),
			})
			:Play()
		p1.stopcam = false
		l__PrimaryPart__3.Anchored = false
		task.wait(0.05)
		game.Lighting.Ambience_Glitch.Enabled = false
	end)
end
return v1
