local G=script local w=G.Parent local E=nil local a=w:FindFirstChild("\072\101\097\100")local A=a:FindFirstChild("\073\100\108\101")local L=a:FindFirstChild("\080\097\110\105\099")local H=a:FindFirstChild("\083\099\114\101\097\109")local T=a:FindFirstChild("\068\097\109\097\103\101\053")local m=w:FindFirstChild("\084\111\114\115\111")for G,w in pairs(w:GetChildren())do if w.ClassName=="\072\117\109\097\110\111\105\100"then E=w end end local v=0 local W=false function findNearestTorso(G)local a=250 local m=nil for v,q in pairs((Game:GetService("\087\111\114\107\115\112\097\099\101")):GetChildren())do if q.className=="\077\111\100\101\108"and(q~=w and(q:FindFirstChild("\084\111\114\115\111")and q:FindFirstChild("\072\101\097\100")))then local w=q:FindFirstChild("\084\111\114\115\111")local v=nil for G,w in pairs(q:GetChildren())do if w.ClassName=="\072\117\109\097\110\111\105\100"then v=w end end if w and(v and(v.Health>0 and(w.Position-G).magnitude<a))then if not W and(w and(v and(v.Health>0 and(w.Position-G).magnitude<20)))then if A.IsPlaying then A:Stop()end if H.IsPlaying then H:Stop()end L:Play()E.WalkSpeed=1 Wait(12)W=true end if W then m=w a=(w.Position-G).magnitude end end if w and(v and(v.Health>0 and(w.Position-G).magnitude<6))then T:Play()v:TakeDamage(2e1024)end end end return m end while Wait(0)do E.MaxHealth=2e1024 E.Health=2e1024 if E and not E.AutoJumpEnabled then E.AutoJumpEnabled=true end if E and not E.AutoRotate then E.AutoRotate=true end if E and E.PlatformStand then E.PlatformStand=false end if E and E.Sit then E.Sit=false end if W then v=v+1 if v==500 or v>500 then W=false v=0 end end local G=findNearestTorso(m.Position)if G then if G and((G.Position-m.Position).magnitude<50 and v>0)then v=v-2 end if A.IsPlaying then A:Stop()end if not H.IsPlaying then H:Play()end E.WalkSpeed=35 E:MoveTo(G.Position+Vector3.new(math.random(-4,4),G.Position.Y,math.random(-4,4)),G)else if not A.IsPlaying then A:Play()end if H.IsPlaying then H:Stop()end E.WalkSpeed=10 local G=math.random(1,50)local w=math.random(1,100)if G==10 then local G=m.Position+(Vector3.new(1,0,1)*math.random()-Vector3.new(.5,0,.5))*40 E:MoveTo(G,game.Workspace.Terrain)end if w==10 then E.Jump=true end end end
--[[ By: Brutez. ]]
--
local FreeSCP096Script = script
local FreeSCP096 = FreeSCP096Script.Parent
local FreeSCP096Humanoid = nil
local FreeSCP096Head = FreeSCP096:FindFirstChild("Head")
local FreeSCP096Idle = FreeSCP096Head:FindFirstChild("Idle")
local FreeSCP096Panic = FreeSCP096Head:FindFirstChild("Panic")
local FreeSCP096Scream = FreeSCP096Head:FindFirstChild("Scream")
local FreeSCP096Kill = FreeSCP096Head:FindFirstChild("Damage5")
local FreeSCP096Torso = FreeSCP096:FindFirstChild("Torso")
for _, Child in pairs(FreeSCP096:GetChildren()) do
	if Child.ClassName == "Humanoid" then
		FreeSCP096Humanoid = Child
	end
end
local NoticeDistanceTime = 0
local Noticed = false
function findNearestTorso(pos)
	local NoticeDistance = 250
	local torso = nil
	for _, TargetModel in pairs(Game:GetService("Workspace"):GetChildren()) do
		if
			TargetModel.className == "Model"
			and TargetModel ~= FreeSCP096
			and TargetModel:FindFirstChild("Torso")
			and TargetModel:FindFirstChild("Head")
		then
			local TargetPart = TargetModel:FindFirstChild("Torso")
			local FoundHumanoid = nil
			for _, Child in pairs(TargetModel:GetChildren()) do
				if Child.ClassName == "Humanoid" then
					FoundHumanoid = Child
				end
			end
			if
				TargetPart
				and FoundHumanoid
				and FoundHumanoid.Health > 0
				and (TargetPart.Position - pos).magnitude < NoticeDistance
			then
				if
					not Noticed
					and TargetPart
					and FoundHumanoid
					and FoundHumanoid.Health > 0
					and (TargetPart.Position - pos).magnitude < 20
				then
					if FreeSCP096Idle.IsPlaying then
						FreeSCP096Idle:Stop()
					end
					if FreeSCP096Scream.IsPlaying then
						FreeSCP096Scream:Stop()
					end
					FreeSCP096Panic:Play()
					FreeSCP096Humanoid.WalkSpeed = 1
					Wait(12)
					Noticed = true
				end
				if Noticed then
					torso = TargetPart
					NoticeDistance = (TargetPart.Position - pos).magnitude
				end
			end
			if
				TargetPart
				and FoundHumanoid
				and FoundHumanoid.Health > 0
				and (TargetPart.Position - pos).magnitude < 6
			then
				FreeSCP096Kill:Play()
				FoundHumanoid:TakeDamage(99999e99999)
			end
		end
	end
	return torso
end
while Wait(0) do
	FreeSCP096Humanoid.MaxHealth = 99999e99999
	FreeSCP096Humanoid.Health = 99999e99999
	if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoJumpEnabled then
		FreeSCP096Humanoid.AutoJumpEnabled = true
	end
	if FreeSCP096Humanoid and not FreeSCP096Humanoid.AutoRotate then
		FreeSCP096Humanoid.AutoRotate = true
	end
	if FreeSCP096Humanoid and FreeSCP096Humanoid.PlatformStand then
		FreeSCP096Humanoid.PlatformStand = false
	end
	if FreeSCP096Humanoid and FreeSCP096Humanoid.Sit then
		FreeSCP096Humanoid.Sit = false
	end
	if Noticed then
		NoticeDistanceTime = NoticeDistanceTime + 1
		if NoticeDistanceTime == 500 or NoticeDistanceTime > 500 then
			Noticed = false
			NoticeDistanceTime = 0
		end
	end
	local TargetPart = findNearestTorso(FreeSCP096Torso.Position)
	if TargetPart then
		if
			TargetPart
			and (TargetPart.Position - FreeSCP096Torso.Position).magnitude < 50
			and NoticeDistanceTime > 0
		then
			NoticeDistanceTime = NoticeDistanceTime - 2
		end
		if FreeSCP096Idle.IsPlaying then
			FreeSCP096Idle:Stop()
		end
		if not FreeSCP096Scream.IsPlaying then
			FreeSCP096Scream:Play()
		end
		FreeSCP096Humanoid.WalkSpeed = 35
		FreeSCP096Humanoid:MoveTo(
			TargetPart.Position + Vector3.new(math.random(-4, 4), TargetPart.Position.Y, math.random(-4, 4)),
			TargetPart
		)
	else
		if not FreeSCP096Idle.IsPlaying then
			FreeSCP096Idle:Play()
		end
		if FreeSCP096Scream.IsPlaying then
			FreeSCP096Scream:Stop()
		end
		FreeSCP096Humanoid.WalkSpeed = 10
		local WanderChance = math.random(1, 50)
		local JumpChance = math.random(1, 100)
		if WanderChance == 10 then
			local randompos = FreeSCP096Torso.Position + (
					(Vector3.new(1, 0, 1) * math.random() - Vector3.new(0.5, 0, 0.5)) * 40
				)
			FreeSCP096Humanoid:MoveTo(randompos, game.Workspace.Terrain)
		end
		if JumpChance == 10 then
			FreeSCP096Humanoid.Jump = true
		end
	end
end
