local m for o,j in pairs(JeffTheKiller:GetChildren())do if j and(j.ClassName=="\072\117\109\097\110\111\105\100"and j.Health~=0)then m=j end end local o=false local j=JeffTheKiller:FindFirstChild("\075\110\105\102\101")local h=JeffTheKiller:FindFirstChild("\072\101\097\100")local F=JeffTheKiller:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local y=false local w=false local b=false local u=false local C=false local p function FindNearestBae()local h=math.huge local y for w,b in pairs((game:GetService("\087\111\114\107\115\112\097\099\101")):GetChildren())do if JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(b.className=="\077\111\100\101\108"and(b~=JeffTheKiller and(b.Name~=JeffTheKiller.Name and(b:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")and b:FindFirstChild("\072\101\097\100"))))))))then local w=b:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local u for m,o in pairs(b:GetChildren())do if o and(o.ClassName=="\072\117\109\097\110\111\105\100"and o.Health~=0)then u=o end end if b and(w and(u and(u.Health~=0 and(w.Position-F.Position).magnitude<h)))then y=w h=(w.Position-F.Position).magnitude local C,p=raycast(F.Position,(w.Position-F.Position).unit,500)if C and(C.Parent and(C.Parent.ClassName=="\077\111\100\101\108"and(C.Parent:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")and C.Parent:FindFirstChild("\072\101\097\100"))))then if b and(w and(u and(u.Health~=0 and((w.Position-F.Position).magnitude<9 and not o))))then spawn(function()o=true local h=m:LoadAnimation(JeffTheKiller:FindFirstChild("\083\119\105\110\103"))local y=math.random(1,2)local C=math.random(1,3)h:Play()h:AdjustSpeed(1.5+math.random()*.1)if JeffTheKillerScript and(JeffTheKiller and(j and j:FindFirstChild("\083\119\105\110\103")))then local m=j:FindFirstChild("\083\119\105\110\103")m.Pitch=1+math.random()*.04 m:Play()end wait(.3)if b and(w and(u and(u.Health~=0 and(w.Position-F.Position).magnitude<5)))then u:TakeDamage(math.huge)if C==1 and(JeffTheKillerScript and(JeffTheKiller and(j and j:FindFirstChild("\072\105\116\049"))))then local m=j:FindFirstChild("\072\105\116\049")m.Pitch=1+math.random()*.04 m:Play()elseif C==2 and(JeffTheKillerScript and(JeffTheKiller and(j and j:FindFirstChild("\072\105\116\050"))))then local m=j:FindFirstChild("\072\105\116\050")m.Pitch=1+math.random()*.04 m:Play()elseif C==3 and(JeffTheKillerScript and(JeffTheKiller and(j and j:FindFirstChild("\072\105\116\051"))))then local m=j:FindFirstChild("\072\105\116\051")m.Pitch=1+math.random()*.04 m:Play()end end wait(.1)o=false end)end end end end end return y end while wait(0)do local o=m.TargetPoint local j,n=RayCast((F.CFrame+(CFrame.new(F.Position,Vector3.new(o.X,F.Position.Y,o.Z))).lookVector*(F.Size.Z/2)).p,F.CFrame.lookVector,F.Size.Z*2.5,{JeffTheKiller,JeffTheKiller})local c=false if j then c=true if j and(j.Parent and j.Parent.ClassName~="\087\111\114\107\115\112\097\099\101")then local m for o,j in pairs(j.Parent:GetChildren())do if j and(j.ClassName=="\072\117\109\097\110\111\105\100"and j.Health~=0)then m=j end end if j and j:IsA("\084\101\114\114\097\105\110")then local m=j:WorldToCellPreferSolid(n-Vector3.new(0,2,0))local o,h,F=j:GetCell(m.X,m.Y,m.Z)if o==Enum.CellMaterial.Water then c=false end elseif m or j.ClassName=="\084\114\117\115\115\080\097\114\116"or j.ClassName=="\087\101\100\103\101\080\097\114\116"or j.Name=="\072\097\110\100\108\101"and j.Parent.ClassName=="\072\097\116"or j.Name=="\072\097\110\100\108\101"and j.Parent.ClassName=="\084\111\111\108"then c=false end end if JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(not m.Sit and c))))then m.Jump=true end end if JeffTheKillerScript and(JeffTheKiller and(h and(F and(h:FindFirstChild("\074\101\102\102\095\083\116\101\112")and((F.Velocity-Vector3.new(0,F.Velocity.y,0)).magnitude>=5 and(not y and(m and m.Health~=0)))))))then spawn(function()y=true local o=Ray.new(F.Position,Vector3.new(0,-4,0))local j,w=(game:GetService("\087\111\114\107\115\112\097\099\101")):FindPartOnRay(o,JeffTheKiller)if j then local o=(h:FindFirstChild("\074\101\102\102\095\083\116\101\112")):Clone()o.Parent=h o:Play()o:Destroy()if JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and m.WalkSpeed<17)))then wait(.5)elseif JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and m.WalkSpeed>17)))then wait(.2)end end y=false end)end local K=FindNearestBae()local Q if K then for m,o in pairs(K.Parent:GetChildren())do if o and(o.ClassName=="\072\117\109\097\110\111\105\100"and o.Health~=0)then Q=o end end end if JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(K and(K.Parent and(Q and Q.Jump))))))then m.Jump=true end if JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude<25))))))then if JeffTheKillerScript and(JeffTheKiller and(h and(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and not(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).IsPlaying)))then(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=1;(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Play()end elseif JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude>25))))))then if JeffTheKillerScript and(JeffTheKiller and(h and(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).IsPlaying)))then if not b then spawn(function()b=true repeat wait(0)if JeffTheKillerScript and(JeffTheKiller and(h and h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()b=false end)end end end if not p and(JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude<50)))))))then local m=math.random(1,2)if m==1 and(JeffTheKillerScript and(JeffTheKiller and JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\049")))then p=JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\049")elseif m==2 and(JeffTheKillerScript and(JeffTheKiller and JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\050")))then p=JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\050")end if JeffTheKillerScript and(JeffTheKiller and(p and not p.IsPlaying))then p.Volume=.5 p:Play()end elseif JeffTheKillerScript and(JeffTheKiller and(m and(m.Health~=0 and(K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude>50))))))then if JeffTheKillerScript and(JeffTheKiller and(p and p.IsPlaying))then if not u then spawn(function()u=true repeat wait(0)if JeffTheKillerScript and(JeffTheKiller and p)then p.Volume=p.Volume-.01 else break end until p.Volume==0 or p.Volume<0 if p then p.Volume=0 p:Stop()end p=nil u=false end)end end end if not K and not b then spawn(function()b=true repeat wait(0)if JeffTheKillerScript and(JeffTheKiller and(h and h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(h:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()b=false end)end if not K and not u then spawn(function()u=true repeat wait(0)if JeffTheKillerScript and(JeffTheKiller and p)then p.Volume=p.Volume-.01 else break end until p.Volume==0 or p.Volume<0 if p then p.Volume=0 p:Stop()end p=nil u=false end)end if K then w=true if w and(not C and(JeffTheKillerScript and(JeffTheKiller and(h and h:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")))))then(h:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")):Play()C=true end if JeffTheKillerScript and(JeffTheKiller and(m and m.Health~=0))then if K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude>5))then wait(2)m.WalkSpeed=30 elseif K and(Q and(Q.Health~=0 and(K.Position-F.Position).magnitude<5))then m.WalkSpeed=16 end m:MoveTo(K.Position+(K.Position-F.Position).unit*2,(game:GetService("\087\111\114\107\115\112\097\099\101")):FindFirstChild("\084\101\114\114\097\105\110"))end else w=false C=false local o=math.random(1,150)if JeffTheKillerScript and(JeffTheKiller and(m and m.Health~=0))then m.WalkSpeed=16 if o==1 then m:MoveTo(((game:GetService("\087\111\114\107\115\112\097\099\101")):FindFirstChild("\084\101\114\114\097\105\110")).Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),(game:GetService("\087\111\114\107\115\112\097\099\101")):FindFirstChild("\084\101\114\114\097\105\110"))end end end if JeffTheKillerScript and(JeffTheKiller and m)then m.DisplayDistanceType="\078\111\110\101"m.HealthDisplayDistance=0 m.Name="\090\111\109\098\105\101"m.NameDisplayDistance=0 m.NameOcclusion="\069\110\101\109\121\079\099\099\108\117\115\105\111\110"m.AutoJumpEnabled=true m.AutoRotate=true m.MaxHealth=math.huge m.JumpPower=67 m.MaxSlopeAngle=89.9 end if JeffTheKillerScript and(JeffTheKiller and(m and not m.AutoJumpEnabled))then m.AutoJumpEnabled=true end if JeffTheKillerScript and(JeffTheKiller and(m and not m.AutoRotate))then m.AutoRotate=true end if JeffTheKillerScript and(JeffTheKiller and(m and m.PlatformStand))then m.PlatformStand=false end if JeffTheKillerScript and(JeffTheKiller and(m and m.Sit))then m.Sit=false end end
--
local JeffTheKillerHumanoid;
for _,Child in pairs(JeffTheKiller:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
JeffTheKillerHumanoid=Child;
end;
end;
local AttackDebounce=false;
local JeffTheKillerKnife=JeffTheKiller:FindFirstChild("Knife");
local JeffTheKillerHead=JeffTheKiller:FindFirstChild("Head");
local JeffTheKillerHumanoidRootPart=JeffTheKiller:FindFirstChild("HumanoidRootPart");
local WalkDebounce=false;
local Notice=false;
local JeffLaughDebounce=false;
local MusicDebounce=false;
local NoticeDebounce=false;
local ChosenMusic;
function FindNearestBae()
local NoticeDistance=math.huge;
local TargetMain;
for _,TargetModel in pairs(game:GetService("Workspace"):GetChildren())do
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and TargetModel.className=="Model"and TargetModel~=JeffTheKiller and TargetModel.Name~=JeffTheKiller.Name and TargetModel:FindFirstChild("HumanoidRootPart")and TargetModel:FindFirstChild("Head")then
local TargetPart=TargetModel:FindFirstChild("HumanoidRootPart");
local FoundHumanoid;
for _,Child in pairs(TargetModel:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
FoundHumanoid=Child;
end;
end;
if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<NoticeDistance then
TargetMain=TargetPart;
NoticeDistance=(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude;
local hit,pos=raycast(JeffTheKillerHumanoidRootPart.Position,(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).unit,500)
if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("HumanoidRootPart")and hit.Parent:FindFirstChild("Head")then
if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<9 and not AttackDebounce then
spawn(function()
AttackDebounce=true;
local SwingAnimation=JeffTheKillerHumanoid:LoadAnimation(JeffTheKiller:FindFirstChild("Swing"));
local SwingChoice=math.random(1,2);
local HitChoice=math.random(1,3);
SwingAnimation:Play();
SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1));
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then
local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing");
SwingSound.Pitch=1+(math.random()*0.04);
SwingSound:Play();
end;
wait(0.3);
if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
FoundHumanoid:TakeDamage(math.huge);
if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then
local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1");
HitSound.Pitch=1+(math.random()*0.04);
HitSound:Play();
elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then
local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2");
HitSound.Pitch=1+(math.random()*0.04);
HitSound:Play();
elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then
local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3");
HitSound.Pitch=1+(math.random()*0.04);
HitSound:Play();
end;
end;
wait(0.1);
AttackDebounce=false;
end);
end;
end;
end;
end;
end;
return TargetMain;
end;
while wait(0)do
local TargetPoint=JeffTheKillerHumanoid.TargetPoint;
local Blockage,BlockagePos=RayCast((JeffTheKillerHumanoidRootPart.CFrame+CFrame.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(TargetPoint.X,JeffTheKillerHumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(JeffTheKillerHumanoidRootPart.Size.Z/2)).p,JeffTheKillerHumanoidRootPart.CFrame.lookVector,(JeffTheKillerHumanoidRootPart.Size.Z*2.5),{JeffTheKiller,JeffTheKiller})
local Jumpable=false;
if Blockage then
Jumpable=true;
if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
local BlockageHumanoid;
for _,Child in pairs(Blockage.Parent:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
BlockageHumanoid=Child;
end;
end;
if Blockage and Blockage:IsA("Terrain")then
local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
if CellMaterial==Enum.CellMaterial.Water then
Jumpable=false;
end;
elseif BlockageHumanoid or Blockage.ClassName=="TrussPart"or Blockage.ClassName=="WedgePart"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Hat"or Blockage.Name=="Handle"and Blockage.Parent.ClassName=="Tool"then
Jumpable=false;
end;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then
JeffTheKillerHumanoid.Jump=true;
end;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHumanoidRootPart and JeffTheKillerHead:FindFirstChild("Jeff_Step")and (JeffTheKillerHumanoidRootPart.Velocity-Vector3.new(0,JeffTheKillerHumanoidRootPart.Velocity.y,0)).magnitude>=5 and not WalkDebounce and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
spawn(function()
WalkDebounce=true;
local FiredRay=Ray.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(0,-4,0));
local RayTarget,endPoint = game:GetService("Workspace"):FindPartOnRay(FiredRay,JeffTheKiller);
if RayTarget then
local JeffTheKillerHeadFootStepClone=JeffTheKillerHead:FindFirstChild("Jeff_Step"):Clone();
JeffTheKillerHeadFootStepClone.Parent=JeffTheKillerHead;
JeffTheKillerHeadFootStepClone:Play();
JeffTheKillerHeadFootStepClone:Destroy();
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed<17 then
wait(0.5);
elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
wait(0.2);
end
end;
WalkDebounce=false;
end);
end;
local MainTarget=FindNearestBae();
local FoundHumanoid;
if MainTarget then
for _,Child in pairs(MainTarget.Parent:GetChildren())do
if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
FoundHumanoid=Child;
end;
end;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and MainTarget.Parent and FoundHumanoid and FoundHumanoid.Jump then
JeffTheKillerHumanoid.Jump=true;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<25 then
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and not JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=1;
JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Play();
end;
elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>25 then
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
if not JeffLaughDebounce then
spawn(function()
JeffLaughDebounce=true;
repeat wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
JeffLaughDebounce=false;
end);
end;
end;
end;
if not ChosenMusic and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<50 then
local MusicChoice=math.random(1,2);
if MusicChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1")then
ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1");
elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then
ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2");
end;
if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then
ChosenMusic.Volume=0.5;
ChosenMusic:Play();
end;
elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>50 then
if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then
if not MusicDebounce then
spawn(function()
MusicDebounce=true;
repeat wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
if ChosenMusic then
ChosenMusic.Volume=0;
ChosenMusic:Stop();
end;
ChosenMusic=nil;
MusicDebounce=false;
end);
end;
end;
end;
if not MainTarget and not JeffLaughDebounce then
spawn(function()
JeffLaughDebounce=true;
repeat wait(0);if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")then JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume-0.1;else break;end;until JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume==0 or JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume<0;
JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
JeffLaughDebounce=false;
end);
end;
if not MainTarget and not MusicDebounce then
spawn(function()
MusicDebounce=true;
repeat wait(0);if JeffTheKillerScript and JeffTheKiller and ChosenMusic then ChosenMusic.Volume=ChosenMusic.Volume-0.01;else break;end;until ChosenMusic.Volume==0 or ChosenMusic.Volume<0;
if ChosenMusic then
ChosenMusic.Volume=0;
ChosenMusic:Stop();
end;
ChosenMusic=nil;
MusicDebounce=false;
end);
end;
if MainTarget then
Notice=true;
if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then
JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play();
NoticeDebounce=true;
end
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then
wait(2)
JeffTheKillerHumanoid.WalkSpeed=30;
elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
JeffTheKillerHumanoid.WalkSpeed=16;
end;
JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,game:GetService("Workspace"):FindFirstChild("Terrain"));
end;
else
Notice=false;
NoticeDebounce=false;
local RandomWalk=math.random(1,150);
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
JeffTheKillerHumanoid.WalkSpeed=16;
if RandomWalk==1 then
JeffTheKillerHumanoid:MoveTo(game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),game:GetService("Workspace"):FindFirstChild("Terrain"));
end;
end;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then
JeffTheKillerHumanoid.DisplayDistanceType="None";
JeffTheKillerHumanoid.HealthDisplayDistance=0;
JeffTheKillerHumanoid.Name="Zombie";
JeffTheKillerHumanoid.NameDisplayDistance=0;
JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion";
JeffTheKillerHumanoid.AutoJumpEnabled=true;
JeffTheKillerHumanoid.AutoRotate=true;
JeffTheKillerHumanoid.MaxHealth=math.huge;
JeffTheKillerHumanoid.JumpPower=67;
JeffTheKillerHumanoid.MaxSlopeAngle=89.9;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then
JeffTheKillerHumanoid.AutoJumpEnabled=true;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then
JeffTheKillerHumanoid.AutoRotate=true;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then
JeffTheKillerHumanoid.PlatformStand=false;
end;
if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then
JeffTheKillerHumanoid.Sit=false;
end;
end;