local F={}local D=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function F.stuff(F,t,O)local y=O spawn(function()if F.dead==true then return end if not y then y=math.random(1,500)end y=Random.new(y)local t=game.Players.LocalPlayer local O=t.Character.PrimaryPart local k=(F.cam.CFrame.LookVector*Vector3.new(1,0,1)).unit*-1 local J=F.cam.CFrame.p;(D:Create(F.cam,TweenInfo.new(.9,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{CFrame=CFrame.new(J+k*2,J+k*10)})):Play()O.Anchored=true F.stopcam=true F.hideplayers=1 local E=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Entities.Glitch:Clone()local B=(O.Position+Vector3.new(0,7,0))+k*150 E:SetPrimaryPartCFrame(CFrame.new(B,B-k))E.Parent=F.cam E.Root.SoundHurt:Play();(E.AnimationController:LoadAnimation(E.Animations.Run)):Play(0);(D:Create(E.Root,TweenInfo.new(.7,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{CFrame=CFrame.new(B-k*140,B-k*250)})):Play()F.camShaker:ShakeOnce(4,15,1,1)F.camShaker:ShakeOnce(12,3,1,1)game.Lighting.FogEnd=1000;(D: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 s=tick()+2 task.spawn(function()local F=t.PlayerGui.MainUI.MainFrame.GlitchEffect:Clone()for D=1,60,1 do for D=1,8,1 do local O=F:Clone()O.Name="\070\097\107\101\071\108\105\116\099\104\076\105\118\101"O.Position=UDim2.new(math.random(0,100)/100,0,math.random(0,100)/100,0)O.Rotation=math.random(0,1)*180 O.Visible=true O.Parent=t.PlayerGui.MainUI game.Debris:AddItem(O,math.random(1,20)/100)end task.wait(.016666666666667)if s<=tick()then break end end end)script.Sound:Play()wait(.7);(E.AnimationController:LoadAnimation(E.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 E:Destroy()F.hideplayers=0;(D: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()F.stopcam=false O.Anchored=false task.wait(.05)game.Lighting.Ambience_Glitch.Enabled=false end)end return F


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;
