local F={}local B=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Misc.Eyes:GetChildren()F.module_events=require(script.Parent.Parent.Module_Events)local N=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function F.stuff(F,B,j)local x=j spawn(function()if F.dead==true then return end if not x then x=math.random(1,500)end x=Random.new(x)local j=game.Players.LocalPlayer local p=j.Character.PrimaryPart local b=(F.cam.CFrame.LookVector*Vector3.new(1,0,1)).unit*-1 local Z=F.cam.CFrame.p if not tonumber(B.Name)or not j:GetAttribute("\067\117\114\114\101\110\116\082\111\111\109")then return end;(N:Create(F.cam,TweenInfo.new(.9,Enum.EasingStyle.Quart,Enum.EasingDirection.InOut),{CFrame=CFrame.new(Z+b*2,Z+b*10)})):Play()p.Anchored=true F.stopcam=true F.hideplayers=1 local h=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Entities.Glitch:Clone()local k=(p.Position+Vector3.new(0,7,0))+b*150 h:SetPrimaryPartCFrame(CFrame.new(k,k-b))h.Parent=F.cam h.Root.SoundHurt:Play();(h.AnimationController:LoadAnimation(h.Animations.Run)):Play(0);(N:Create(h.Root,TweenInfo.new(.7,Enum.EasingStyle.Linear,Enum.EasingDirection.In),{CFrame=CFrame.new(k-b*140,k-b*250)})):Play()F.camShaker:ShakeOnce(4,15,1,1)F.camShaker:ShakeOnce(12,3,1,1)game.Lighting.FogEnd=1000;(N: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 q=workspace.CurrentRooms:FindFirstChild(j:GetAttribute("\067\117\114\114\101\110\116\082\111\111\109"))if q and q.Parent then task.spawn(function()for F,B in pairs(q:GetDescendants())do if B:IsA("\066\097\115\101\080\097\114\116")then delay(math.random(10,60)/100,function()B.CFrame=B.CFrame+Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))B.BrickColor=BrickColor.Random()B.Transparency=.3 end)wait(1.4)B.CFrame=B.CFrame B.BrickColor=B.BrickColor B.Transparency=B.Transparency end end end)end local g=tick()+2 task.spawn(function()local F=j.PlayerGui.MainUI.GlitchEffect:Clone()for B=1,60,1 do for B=1,8,1 do local N=F:Clone()N.Name="\070\097\107\101\071\108\105\116\099\104\076\105\118\101"N.Position=UDim2.new(math.random(0,100)/100,0,math.random(0,100)/100,0)N.Rotation=math.random(0,1)*180 N.Visible=true N.Parent=j.PlayerGui.MainUI game.Debris:AddItem(N,math.random(1,20)/100)end task.wait(.016666666666667)if g<=tick()then break end end end)script.Sound:Play()wait(.7);(h.AnimationController:LoadAnimation(h.Animations.Attack)):Play(0)game.Lighting.Ambience_Glitch.Enabled=true task.wait(.05)j.PlayerGui.MainUI.GlitchScreen.Visible=true task.wait(.1)while not(tick()+.6<=tick())do end j.PlayerGui.MainUI.GlitchScreen.Visible=false h:Destroy()F.hideplayers=0;(N:Create(game:GetService("\076\105\103\104\116\105\110\103"),TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out),{FogEnd=60000;FogStart=15;FogColor=Color3.new(0,0,0)})):Play()F.stopcam=false p.Anchored=false task.wait(.05)game.Lighting.Ambience_Glitch.Enabled=false end)end return F


local v1 = {};
local v2 = game:GetService("ReplicatedStorage").Misc.Eyes:GetChildren();
v1.module_events = require(script.Parent.Parent.Module_Events);
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__3 = game.Players.LocalPlayer;
		local l__PrimaryPart__4 = l__LocalPlayer__3.Character.PrimaryPart;
		local v5 = (p1.cam.CFrame.LookVector * Vector3.new(1, 0, 1)).unit * -1;
		local l__p__6 = p1.cam.CFrame.p;
		if not tonumber(p2.Name) or not l__LocalPlayer__3:GetAttribute("CurrentRoom") then
			return;
		end;
		l__TweenService__1:Create(p1.cam, TweenInfo.new(0.9, Enum.EasingStyle.Quart, Enum.EasingDirection.InOut), {
			CFrame = CFrame.new(l__p__6 + v5 * 2, l__p__6 + v5 * 10)
		}):Play();
		l__PrimaryPart__4.Anchored = true;
		p1.stopcam = true;
		p1.hideplayers = 1;
		local v7 = game:GetService("ReplicatedStorage").Entities.Glitch:Clone();
		local v8 = l__PrimaryPart__4.Position + Vector3.new(0, 7, 0) + v5 * 150;
		v7:SetPrimaryPartCFrame(CFrame.new(v8, v8 - v5));
		v7.Parent = p1.cam;
		v7.Root.SoundHurt:Play();
		v7.AnimationController:LoadAnimation(v7.Animations.Run):Play(0);
		l__TweenService__1:Create(v7.Root, TweenInfo.new(0.7, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {
			CFrame = CFrame.new(v8 - v5 * 140, v8 - v5 * 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 v9 = workspace.CurrentRooms:FindFirstChild(l__LocalPlayer__3:GetAttribute("CurrentRoom"));
		if v9 and v9.Parent then
			task.spawn(function()
				for v10, v11 in pairs(v9:GetDescendants()) do
					if v11:IsA("BasePart") then
						delay(math.random(10, 60) / 100, function()
							v11.CFrame = v11.CFrame + Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10));
							v11.BrickColor = BrickColor.Random();
							v11.Transparency = 0.3;
						end);
						wait(1.4);
						v11.CFrame = v11.CFrame;
						v11.BrickColor = v11.BrickColor;
						v11.Transparency = v11.Transparency;
					end;
				end;
			end);
		end;
		local u3 = tick() + 2;
		task.spawn(function()
			local v12 = l__LocalPlayer__3.PlayerGui.MainUI.GlitchEffect:Clone();
			for v13 = 1, 60 do
				for v14 = 1, 8 do
					local v15 = v12:Clone();
					v15.Name = "FakeGlitchLive";
					v15.Position = UDim2.new(math.random(0, 100) / 100, 0, math.random(0, 100) / 100, 0);
					v15.Rotation = math.random(0, 1) * 180;
					v15.Visible = true;
					v15.Parent = l__LocalPlayer__3.PlayerGui.MainUI;
					game.Debris:AddItem(v15, math.random(1, 20) / 100);
				end;
				task.wait(0.016666666666666666);
				if u3 <= tick() then
					break;
				end;
			end;
		end);
		script.Sound:Play();
		wait(0.7);
		v7.AnimationController:LoadAnimation(v7.Animations.Attack):Play(0);
		game.Lighting.Ambience_Glitch.Enabled = true;
		task.wait(0.05);
		l__LocalPlayer__3.PlayerGui.MainUI.GlitchScreen.Visible = true;
		task.wait(0.1);
		while not (tick() + 0.6 <= tick()) do

		end;
		l__LocalPlayer__3.PlayerGui.MainUI.GlitchScreen.Visible = false;
		v7:Destroy();
		p1.hideplayers = 0;
		l__TweenService__1:Create(game:GetService("Lighting"), TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
			FogEnd = 60000, 
			FogStart = 15, 
			FogColor = Color3.new(0, 0, 0)
		}):Play();
		p1.stopcam = false;
		l__PrimaryPart__4.Anchored = false;
		task.wait(0.05);
		game.Lighting.Ambience_Glitch.Enabled = false;
	end);
end;
return v1;
