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