local L for w,F in pairs(JeffTheKiller:GetChildren())do if F and(F.ClassName=="\072\117\109\097\110\111\105\100"and F.Health~=0)then L=F end end local w=false local F=JeffTheKiller:FindFirstChild("\075\110\105\102\101")local K=JeffTheKiller:FindFirstChild("\072\101\097\100")local z=JeffTheKiller:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local b=false local A=false local B=false local m=false local q=false local Y function FindNearestBae()local K=100 local b for A,B in pairs((Game:GetService("\087\111\114\107\115\112\097\099\101")):GetChildren())do if JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(B.className=="\077\111\100\101\108"and(B~=JeffTheKiller and(B.Name~=JeffTheKiller.Name and(B:FindFirstChild("\084\111\114\115\111")and B:FindFirstChild("\072\101\097\100"))))))))then local A=B:FindFirstChild("\084\111\114\115\111")local m for L,w in pairs(B:GetChildren())do if w and(w.ClassName=="\072\117\109\097\110\111\105\100"and w.Health~=0)then m=w end end if B and(A and(m and(m.Health~=0 and(A.Position-z.Position).magnitude<K)))then b=A K=(A.Position-z.Position).magnitude local q,Y=raycast(z.Position,(A.Position-z.Position).unit,500)if q and(q.Parent and(q.Parent.ClassName=="\077\111\100\101\108"and(q.Parent:FindFirstChild("\084\111\114\115\111")and q.Parent:FindFirstChild("\072\101\097\100"))))then if B and(A and(m and(m.Health~=0 and((A.Position-z.Position).magnitude<9 and not w))))then Spawn(function()w=true local K=L:LoadAnimation(JeffTheKiller:FindFirstChild("\083\119\105\110\103"))local b=math.random(1,2)local q=math.random(1,3)K:Play()K:AdjustSpeed(1.5+math.random()*.1)if JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\083\119\105\110\103")))then local L=F:FindFirstChild("\083\119\105\110\103")L.Pitch=1+math.random()*.04 L:Play()end Wait(.3)if B and(A and(m and(m.Health~=0 and(A.Position-z.Position).magnitude<8)))then m:TakeDamage(15)if q==1 and(JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\072\105\116\049"))))then local L=F:FindFirstChild("\072\105\116\049")L.Pitch=1+math.random()*.04 L:Play()elseif q==2 and(JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\072\105\116\050"))))then local L=F:FindFirstChild("\072\105\116\050")L.Pitch=1+math.random()*.04 L:Play()elseif q==3 and(JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\072\105\116\051"))))then local L=F:FindFirstChild("\072\105\116\051")L.Pitch=1+math.random()*.04 L:Play()end end Wait(.1)w=false end)end end end end end return b end while Wait(0)do local w=L.TargetPoint local F,E=RayCast((z.CFrame+(CFrame.new(z.Position,Vector3.new(w.X,z.Position.Y,w.Z))).lookVector*(z.Size.Z/2)).p,z.CFrame.lookVector,z.Size.Z*2.5,{JeffTheKiller,JeffTheKiller})local G=false if F then G=true if F and(F.Parent and F.Parent.ClassName~="\087\111\114\107\115\112\097\099\101")then local L for w,F in pairs(F.Parent:GetChildren())do if F and(F.ClassName=="\072\117\109\097\110\111\105\100"and F.Health~=0)then L=F end end if F and F:IsA("\084\101\114\114\097\105\110")then local L=F:WorldToCellPreferSolid(E-Vector3.new(0,2,0))local w,K,z=F:GetCell(L.X,L.Y,L.Z)if w==Enum.CellMaterial.Water then G=false end elseif L or F.ClassName=="\084\114\117\115\115\080\097\114\116"or F.ClassName=="\087\101\100\103\101\080\097\114\116"or F.Name=="\072\097\110\100\108\101"and F.Parent.ClassName=="\072\097\116"or F.Name=="\072\097\110\100\108\101"and F.Parent.ClassName=="\084\111\111\108"then G=false end end if JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(not L.Sit and G))))then L.Jump=true end end if JeffTheKillerScript and(JeffTheKiller and(K and(z and(K:FindFirstChild("\074\101\102\102\095\083\116\101\112")and((z.Velocity-Vector3.new(0,z.Velocity.y,0)).magnitude>=5 and(not b and(L and L.Health~=0)))))))then Spawn(function()b=true local w=Ray.new(z.Position,Vector3.new(0,-4,0))local F,A=(Game:GetService("\087\111\114\107\115\112\097\099\101")):FindPartOnRay(w,JeffTheKiller)if F then local w=(K:FindFirstChild("\074\101\102\102\095\083\116\101\112")):Clone()w.Parent=K w:Play()w:Destroy()if JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and L.WalkSpeed<17)))then Wait(.5)elseif JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and L.WalkSpeed>17)))then Wait(.2)end end b=false end)end local U=FindNearestBae()local M if U then for L,w in pairs(U.Parent:GetChildren())do if w and(w.ClassName=="\072\117\109\097\110\111\105\100"and w.Health~=0)then M=w end end end if JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(U and(U.Parent and(M and M.Jump))))))then L.Jump=true end if JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude<25))))))then if JeffTheKillerScript and(JeffTheKiller and(K and(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and not(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).IsPlaying)))then(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=1;(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Play()end elseif JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude>25))))))then if JeffTheKillerScript and(JeffTheKiller and(K and(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and(K: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(K and K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()B=false end)end end end if not Y and(JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude<50)))))))then local L=math.random(1,2)if L==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 Y=JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\049")elseif L==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 Y=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(Y and not Y.IsPlaying))then Y.Volume=.5 Y:Play()end elseif JeffTheKillerScript and(JeffTheKiller and(L and(L.Health~=0 and(U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude>50))))))then if JeffTheKillerScript and(JeffTheKiller and(Y and Y.IsPlaying))then if not m then Spawn(function()m=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and Y)then Y.Volume=Y.Volume-.01 else break end until Y.Volume==0 or Y.Volume<0 if Y then Y.Volume=0 Y:Stop()end Y=nil m=false end)end end end if not U and not B then Spawn(function()B=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and(K and K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(K:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()B=false end)end if not U and not m then Spawn(function()m=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and Y)then Y.Volume=Y.Volume-.01 else break end until Y.Volume==0 or Y.Volume<0 if Y then Y.Volume=0 Y:Stop()end Y=nil m=false end)end if U then A=true if A and(not q and(JeffTheKillerScript and(JeffTheKiller and(K and K:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")))))then(K:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")):Play()q=true end if JeffTheKillerScript and(JeffTheKiller and(L and L.Health~=0))then if U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude>5))then L.WalkSpeed=13 elseif U and(M and(M.Health~=0 and(U.Position-z.Position).magnitude<5))then L.WalkSpeed=.013 end L:MoveTo(U.Position+(U.Position-z.Position).unit*2,(Game:GetService("\087\111\114\107\115\112\097\099\101")):FindFirstChild("\084\101\114\114\097\105\110"))end else A=false q=false local w=math.random(1,150)if JeffTheKillerScript and(JeffTheKiller and(L and L.Health~=0))then L.WalkSpeed=12 if w==1 then L: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 L)then L.DisplayDistanceType="\078\111\110\101"L.HealthDisplayDistance=0 L.Name="\067\111\108\100\066\108\111\111\100\101\100\075\105\108\108\101\114"L.NameDisplayDistance=0 L.NameOcclusion="\069\110\101\109\121\079\099\099\108\117\115\105\111\110"L.AutoJumpEnabled=true L.AutoRotate=true L.MaxHealth=500 L.JumpPower=60 L.MaxSlopeAngle=89.9 end if JeffTheKillerScript and(JeffTheKiller and(L and not L.AutoJumpEnabled))then L.AutoJumpEnabled=true end if JeffTheKillerScript and(JeffTheKiller and(L and not L.AutoRotate))then L.AutoRotate=true end if JeffTheKillerScript and(JeffTheKiller and(L and L.PlatformStand))then L.PlatformStand=false end if JeffTheKillerScript and(JeffTheKiller and(L and L.Sit))then L.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=100;
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("Torso")and TargetModel:FindFirstChild("Head")then
local TargetPart=TargetModel:FindFirstChild("Torso");
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("Torso")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<8 then
FoundHumanoid:TakeDamage(15);
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
JeffTheKillerHumanoid.WalkSpeed=13;
elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
JeffTheKillerHumanoid.WalkSpeed=0.013;
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=12;
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="ColdBloodedKiller";
JeffTheKillerHumanoid.NameDisplayDistance=0;
JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion";
JeffTheKillerHumanoid.AutoJumpEnabled=true;
JeffTheKillerHumanoid.AutoRotate=true;
JeffTheKillerHumanoid.MaxHealth=500;
JeffTheKillerHumanoid.JumpPower=60;
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;