local u for c,I in pairs(JeffTheKiller:GetChildren())do if I and(I.ClassName=="\072\117\109\097\110\111\105\100"and I.Health~=0)then u=I end end local c=false local I=JeffTheKiller:FindFirstChild("\075\110\105\102\101")local F=JeffTheKiller:FindFirstChild("\072\101\097\100")local S=JeffTheKiller:FindFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local Q=false local l=false local W=false local m=false local s=false local w;((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)local K=((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0 function FindNearestBae()local F=1e+38 local Q for l,W in pairs((Game:GetService("\087\111\114\107\115\112\097\099\101")):GetChildren())do if JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(W.className=="\077\111\100\101\108"and(W~=JeffTheKiller and(W.Name~=JeffTheKiller.Name and(W:FindFirstChild("\084\111\114\115\111")and W:FindFirstChild("\072\101\097\100"))))))))then local l=W:FindFirstChild("\084\111\114\115\111")local m for u,c in pairs(W:GetChildren())do if c and(c.ClassName=="\072\117\109\097\110\111\105\100"and c.Health~=0)then m=c end end if W and(l and(m and(m.Health~=0 and(l.Position-S.Position).magnitude<F)))then Q=l F=(l.Position-S.Position).magnitude local s,w=raycast(S.Position,(l.Position-S.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 W and(l and(m and(m.Health~=0 and((l.Position-S.Position).magnitude<9 and not c))))then Spawn(function()c=true local F=u:LoadAnimation(JeffTheKiller:FindFirstChild("\083\119\105\110\103"))local Q=math.random(1,2)local s=math.random(1,3)F:Play()F:AdjustSpeed(1.5+math.random()*.1)if JeffTheKillerScript and(JeffTheKiller and(I and I:FindFirstChild("\083\119\105\110\103")))then local u=I:FindFirstChild("\083\119\105\110\103")u.Pitch=1+math.random()*.04 u:Play()end Wait(.3)if W and(l and(m and(m.Health~=0 and(l.Position-S.Position).magnitude<8)))then m:TakeDamage(1e+24)if s==1 and(JeffTheKillerScript and(JeffTheKiller and(I and I:FindFirstChild("\072\105\116\049"))))then local u=I:FindFirstChild("\072\105\116\049")u.Pitch=1+math.random()*.04 u:Play()elseif s==2 and(JeffTheKillerScript and(JeffTheKiller and(I and I:FindFirstChild("\072\105\116\050"))))then local u=I:FindFirstChild("\072\105\116\050")u.Pitch=1+math.random()*.04 u:Play()elseif s==3 and(JeffTheKillerScript and(JeffTheKiller and(I and I:FindFirstChild("\072\105\116\051"))))then local u=I:FindFirstChild("\072\105\116\051")u.Pitch=1+math.random()*.04 u:Play()end end Wait(.1)c=false end)end end end end end return Q end while Wait(0)do local c=u.TargetPoint local I,G=RayCast((S.CFrame+(CFrame.new(S.Position,Vector3.new(c.X,S.Position.Y,c.Z))).lookVector*(S.Size.Z/2)).p,S.CFrame.lookVector,S.Size.Z*2.5,{JeffTheKiller,JeffTheKiller})local A=false if I then A=true if I and(I.Parent and I.Parent.ClassName~="\087\111\114\107\115\112\097\099\101")then local u for c,I in pairs(I.Parent:GetChildren())do if I and(I.ClassName=="\072\117\109\097\110\111\105\100"and I.Health~=0)then u=I end end if I and I:IsA("\084\101\114\114\097\105\110")then local u=I:WorldToCellPreferSolid(G-Vector3.new(0,2,0))local c,F,S=I:GetCell(u.X,u.Y,u.Z)if c==Enum.CellMaterial.Water then A=false end elseif u or I.ClassName=="\084\114\117\115\115\080\097\114\116"or I.ClassName=="\087\101\100\103\101\080\097\114\116"or I.Name=="\072\097\110\100\108\101"and I.Parent.ClassName=="\072\097\116"or I.Name=="\072\097\110\100\108\101"and I.Parent.ClassName=="\084\111\111\108"then A=false end end if JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(not u.Sit and A))))then u.Jump=true end end if JeffTheKillerScript and(JeffTheKiller and(F and(S and(F:FindFirstChild("\074\101\102\102\095\083\116\101\112")and((S.Velocity-Vector3.new(0,S.Velocity.y,0)).magnitude>=5 and(not Q and(u and u.Health~=0)))))))then Spawn(function()Q=true local c=Ray.new(S.Position,Vector3.new(0,-4,0))local I,l=(Game:GetService("\087\111\114\107\115\112\097\099\101")):FindPartOnRay(c,JeffTheKiller)if I then local c=(F:FindFirstChild("\074\101\102\102\095\083\116\101\112")):Clone()c.Parent=F c:Play()c:Destroy()if JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and u.WalkSpeed<17)))then Wait(.4)elseif JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and u.WalkSpeed>17)))then Wait(.15)end end Q=false end)end local M=FindNearestBae()local P if M then for u,c in pairs(M.Parent:GetChildren())do if c and(c.ClassName=="\072\117\109\097\110\111\105\100"and c.Health~=0)then P=c end end end if JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(M and(M.Parent and(P and P.Jump))))))then u.Jump=true end if JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude<25))))))then if JeffTheKillerScript and(JeffTheKiller and(F and(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and not(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).IsPlaying)))then(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=1;(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Play()end elseif JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude>25))))))then if JeffTheKillerScript and(JeffTheKiller and(F and(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")and(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).IsPlaying)))then if not W then Spawn(function()W=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()W=false end)end end end if not w and(JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude<50)))))))then local u=math.random(1,2)if u==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 w=JeffTheKiller:FindFirstChild("\074\101\102\102\095\083\099\101\110\101\095\083\111\117\110\100\049")elseif u==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 w=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(w and not w.IsPlaying))then w.Volume=.5 w:Play()end elseif JeffTheKillerScript and(JeffTheKiller and(u and(u.Health~=0 and(M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude>50))))))then if JeffTheKillerScript and(JeffTheKiller and(w and w.IsPlaying))then if not m then Spawn(function()m=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and w)then w.Volume=w.Volume-.01 else break end until w.Volume==0 or w.Volume<0 if w then w.Volume=1 w:Stop()end w=nil m=false end)end end end if not M and not W then Spawn(function()W=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")))then(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume-.1 else break end until(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume==0 or(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume<0;(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")).Volume=0;(F:FindFirstChild("\074\101\102\102\095\076\097\117\103\104")):Stop()W=false end)end if not M and not m then Spawn(function()m=true repeat Wait(0)if JeffTheKillerScript and(JeffTheKiller and w)then w.Volume=w.Volume-.01 else break end until w.Volume==0 or w.Volume<0 if w then w.Volume=0 w:Stop()end w=nil m=false end)end if M then l=true if l and(not s and(JeffTheKillerScript and(JeffTheKiller and(F and F:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")))))then(F:FindFirstChild("\074\101\102\102\095\083\117\115\116\111\050")):Play()s=true end if JeffTheKillerScript and(JeffTheKiller and(u and u.Health~=0))then if M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude>5))then u.WalkSpeed=15 elseif M and(P and(P.Health~=0 and(M.Position-S.Position).magnitude<5))then u.WalkSpeed=.004 end u:MoveTo(M.Position+(M.Position-S.Position).unit*2,(Game:GetService("\087\111\114\107\115\112\097\099\101")):FindFirstChild("\084\101\114\114\097\105\110"))local c=((JeffTheKiller:FindFirstChild("\084\111\114\115\111")).Position.Y-(M.Parent:FindFirstChild("\072\101\097\100")).Position.Y)/10 if c>-1.5 and c<1.5 then((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0=K*CFrame.fromEulerAnglesXYZ(c,0,0)end if c<-1.5 then((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,.112633869,0,.112633869,.993636549)elseif c>1.5 then((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0=CFrame.new(0,1,0,-1,0,0,0,.996671617,.081521146,0,.081521146,-0.996671617)end else end else l=false s=false;((JeffTheKiller:FindFirstChild("\084\111\114\115\111")):FindFirstChild("\078\101\099\107")).C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)local c=math.random(1,150)if JeffTheKillerScript and(JeffTheKiller and(u and u.Health~=0))then u.WalkSpeed=12 if c==1 then u: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 u)then u.DisplayDistanceType="\078\111\110\101"u.HealthDisplayDistance=0 u.Name="\067\111\108\100\066\108\111\111\100\101\100\075\105\108\108\101\114"u.NameDisplayDistance=0 u.NameOcclusion="\069\110\101\109\121\079\099\099\108\117\115\105\111\110"u.AutoJumpEnabled=true u.AutoRotate=true u.MaxHealth=500 u.JumpPower=60 u.MaxSlopeAngle=89.9 end if JeffTheKillerScript and(JeffTheKiller and(u and not u.AutoJumpEnabled))then u.AutoJumpEnabled=true end if JeffTheKillerScript and(JeffTheKiller and(u and not u.AutoRotate))then u.AutoRotate=true end if JeffTheKillerScript and(JeffTheKiller and(u and u.PlatformStand))then u.PlatformStand=false end if JeffTheKillerScript and(JeffTheKiller and(u and u.Sit))then u.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;
JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0;
function FindNearestBae()
local NoticeDistance=99999999999999999999999999999999999999;
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(999999999999999999999999);
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.4);
elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
Wait(0.15);
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=1;
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=15;
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"));
local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10;
if NeckRotation>-1.5 and NeckRotation<1.5 then
JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0);
end;
if NeckRotation<-1.5 then
JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,0.112633869,0,0.112633869,0.993636549);
elseif NeckRotation>1.5 then
JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0.996671617,0.081521146,0,0.081521146,-0.996671617);
end;
else
end;
else
Notice=false;
NoticeDebounce=false;
JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
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;