Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Sound3 = Instance.new("Sound")
- Sound4 = Instance.new("Sound")
- Sound5 = Instance.new("Sound")
- Weld6 = Instance.new("Weld")
- Weld7 = Instance.new("Weld")
- PointLight8 = Instance.new("PointLight")
- Decal9 = Instance.new("Decal")
- Part10 = Instance.new("Part")
- Decal11 = Instance.new("Decal")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Motor6D14 = Instance.new("Motor6D")
- Motor6D15 = Instance.new("Motor6D")
- Motor6D16 = Instance.new("Motor6D")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Weld19 = Instance.new("Weld")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- Humanoid22 = Instance.new("Humanoid")
- Model23 = Instance.new("Model")
- Model24 = Instance.new("Model")
- Part25 = Instance.new("Part")
- Motor6D26 = Instance.new("Motor6D")
- Part27 = Instance.new("Part")
- SpecialMesh28 = Instance.new("SpecialMesh")
- Sound29 = Instance.new("Sound")
- Sound30 = Instance.new("Sound")
- ParticleEmitter31 = Instance.new("ParticleEmitter")
- ParticleEmitter32 = Instance.new("ParticleEmitter")
- Sound33 = Instance.new("Sound")
- Sound34 = Instance.new("Sound")
- Script35 = Instance.new("Script")
- Script36 = Instance.new("Script")
- StringValue37 = Instance.new("StringValue")
- Animation38 = Instance.new("Animation")
- StringValue39 = Instance.new("StringValue")
- Animation40 = Instance.new("Animation")
- StringValue41 = Instance.new("StringValue")
- Animation42 = Instance.new("Animation")
- NumberValue43 = Instance.new("NumberValue")
- Animation44 = Instance.new("Animation")
- NumberValue45 = Instance.new("NumberValue")
- StringValue46 = Instance.new("StringValue")
- Animation47 = Instance.new("Animation")
- StringValue48 = Instance.new("StringValue")
- Animation49 = Instance.new("Animation")
- StringValue50 = Instance.new("StringValue")
- Animation51 = Instance.new("Animation")
- StringValue52 = Instance.new("StringValue")
- Animation53 = Instance.new("Animation")
- StringValue54 = Instance.new("StringValue")
- Animation55 = Instance.new("Animation")
- Animation56 = Instance.new("Animation")
- Sound57 = Instance.new("Sound")
- Pants58 = Instance.new("Pants")
- BodyColors59 = Instance.new("BodyColors")
- Part60 = Instance.new("Part")
- SpecialMesh61 = Instance.new("SpecialMesh")
- Decal62 = Instance.new("Decal")
- Script63 = Instance.new("Script")
- Sound64 = Instance.new("Sound")
- Part65 = Instance.new("Part")
- SpecialMesh66 = Instance.new("SpecialMesh")
- Decal67 = Instance.new("Decal")
- Script68 = Instance.new("Script")
- Shirt69 = Instance.new("Shirt")
- CharacterMesh70 = Instance.new("CharacterMesh")
- CharacterMesh71 = Instance.new("CharacterMesh")
- Model0.Name = "Chara."
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(207.87999, 4.49999905, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part1.Position = Vector3.new(207.87999, 4.49999905, 196.689941)
- Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.BackParamA = -99999
- Part1.BackParamB = 99999
- Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BottomParamA = -99999
- Part1.BottomParamB = 99999
- Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.BrickColor = BrickColor.new("Institutional white")
- Part1.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part1.Elasticity = 0
- Part1.Friction = 0
- Part1.FrontParamA = -99999
- Part1.FrontParamB = 99999
- Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.LeftParamA = -99999
- Part1.LeftParamB = 99999
- Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.Locked = true
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.RightParamA = -99999
- Part1.RightParamB = 99999
- Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.TopParamA = -99999
- Part1.TopParamB = 99999
- Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part1.brickColor = BrickColor.new("Institutional white")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- Sound3.Name = "Jeff_Step"
- Sound3.Parent = Part1
- Sound3.EmitterSize = 0
- Sound3.MinDistance = 0
- Sound3.SoundId = "rbxassetid://379611235"
- Sound3.Volume = 1
- Sound4.Name = "Jeff_Laugh"
- Sound4.Parent = Part1
- Sound4.Looped = true
- Sound4.EmitterSize = 0
- Sound4.MinDistance = 0
- Sound4.Pitch = 1.2000000476837
- Sound4.PlaybackSpeed = 1.2000000476837
- Sound4.SoundId = "rbxassetid://385276374"
- Sound4.Volume = 1
- Sound5.Name = "Jeff_Susto2"
- Sound5.Parent = Part1
- Sound5.EmitterSize = 0
- Sound5.MinDistance = 0
- Sound5.SoundId = "rbxassetid://320355925"
- Sound5.Volume = 1
- Weld6.Name = "HeadWeld"
- Weld6.Parent = Part1
- Weld6.C0 = CFrame.new(-0, -1.70000005, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld6.C1 = CFrame.new(-0, -1.5, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld6.Part0 = Part60
- Weld6.Part1 = Part1
- Weld6.part1 = Part1
- Weld7.Name = "HeadWeld"
- Weld7.Parent = Part1
- Weld7.C0 = CFrame.new(-0, -1.79999995, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.C1 = CFrame.new(-0, -1.5, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld7.Part0 = Part65
- Weld7.Part1 = Part1
- Weld7.part1 = Part1
- PointLight8.Parent = Part1
- PointLight8.Color = Color3.new(1, 0, 0.027451)
- PointLight8.Range = 9
- PointLight8.Brightness = inf
- Decal9.Parent = Part1
- Decal9.Texture = "http://www.roblox.com/asset/?id=381193106"
- Part10.Name = "Torso"
- Part10.Parent = Model0
- Part10.CFrame = CFrame.new(207.87999, 2.99999905, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part10.Position = Vector3.new(207.87999, 2.99999905, 196.689941)
- Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part10.Size = Vector3.new(2, 2, 1)
- Part10.BackParamA = -99999
- Part10.BackParamB = 99999
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomParamA = -99999
- Part10.BottomParamB = 99999
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BrickColor = BrickColor.new("Institutional white")
- Part10.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part10.Elasticity = 0
- Part10.Friction = 2
- Part10.FrontParamA = -99999
- Part10.FrontParamB = 99999
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftParamA = -99999
- Part10.LeftParamB = 99999
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Locked = true
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.RightParamA = -99999
- Part10.RightParamB = 99999
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.TopParamA = -99999
- Part10.TopParamB = 99999
- Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.brickColor = BrickColor.new("Institutional white")
- Part10.FormFactor = Enum.FormFactor.Symmetric
- Part10.formFactor = Enum.FormFactor.Symmetric
- Decal11.Name = "roblox"
- Decal11.Parent = Part10
- Motor6D12.Name = "Right Shoulder"
- Motor6D12.Parent = Part10
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D12.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.Part0 = Part10
- Motor6D12.Part1 = Part18
- Motor6D12.part1 = Part18
- Motor6D13.Name = "Left Shoulder"
- Motor6D13.Parent = Part10
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D13.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.Part0 = Part10
- Motor6D13.Part1 = Part17
- Motor6D13.part1 = Part17
- Motor6D14.Name = "Right Hip"
- Motor6D14.Parent = Part10
- Motor6D14.MaxVelocity = 0.10000000149012
- Motor6D14.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D14.Part0 = Part10
- Motor6D14.Part1 = Part21
- Motor6D14.part1 = Part21
- Motor6D15.Name = "Left Hip"
- Motor6D15.Parent = Part10
- Motor6D15.MaxVelocity = 0.10000000149012
- Motor6D15.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D15.Part0 = Part10
- Motor6D15.Part1 = Part20
- Motor6D15.part1 = Part20
- Motor6D16.Name = "Neck"
- Motor6D16.Parent = Part10
- Motor6D16.MaxVelocity = 0.10000000149012
- Motor6D16.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D16.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D16.Part0 = Part10
- Motor6D16.Part1 = Part1
- Motor6D16.part1 = Part1
- Part17.Name = "Left Arm"
- Part17.Parent = Model0
- Part17.CFrame = CFrame.new(206.37999, 2.99999905, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part17.Position = Vector3.new(206.37999, 2.99999905, 196.689941)
- Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part17.Size = Vector3.new(1, 2, 1)
- Part17.BackParamA = -99999
- Part17.BackParamB = 99999
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomParamA = -99999
- Part17.BottomParamB = 99999
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BrickColor = BrickColor.new("Institutional white")
- Part17.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part17.Elasticity = 0
- Part17.Friction = 2
- Part17.FrontParamA = -99999
- Part17.FrontParamB = 99999
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftParamA = -99999
- Part17.LeftParamB = 99999
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Locked = true
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.RightParamA = -99999
- Part17.RightParamB = 99999
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopParamA = -99999
- Part17.TopParamB = 99999
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.brickColor = BrickColor.new("Institutional white")
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.formFactor = Enum.FormFactor.Symmetric
- Part18.Name = "Right Arm"
- Part18.Parent = Model0
- Part18.CFrame = CFrame.new(209.37999, 2.99999905, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part18.Position = Vector3.new(209.37999, 2.99999905, 196.689941)
- Part18.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part18.Size = Vector3.new(1, 2, 1)
- Part18.BackParamA = -99999
- Part18.BackParamB = 99999
- Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BottomParamA = -99999
- Part18.BottomParamB = 99999
- Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BrickColor = BrickColor.new("Institutional white")
- Part18.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part18.Elasticity = 0
- Part18.Friction = 2
- Part18.FrontParamA = -99999
- Part18.FrontParamB = 99999
- Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.LeftParamA = -99999
- Part18.LeftParamB = 99999
- Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.Locked = true
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.RightParamA = -99999
- Part18.RightParamB = 99999
- Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.TopParamA = -99999
- Part18.TopParamB = 99999
- Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.brickColor = BrickColor.new("Institutional white")
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.formFactor = Enum.FormFactor.Symmetric
- Weld19.Name = "RightGripWeld"
- Weld19.Parent = Part18
- Weld19.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 3.41111408e-05, -2.64397204e-05, -2.64397204e-05, 0.96840477, 0.249382511, 3.41111408e-05, -0.249382511, 0.96840477)
- Weld19.C1 = CFrame.new(-1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Weld19.Part0 = Part27
- Weld19.Part1 = Part18
- Weld19.part1 = Part18
- Part20.Name = "Left Leg"
- Part20.Parent = Model0
- Part20.CFrame = CFrame.new(207.37999, 0.999999046, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part20.Position = Vector3.new(207.37999, 0.999999046, 196.689941)
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part20.Size = Vector3.new(1, 2, 1)
- Part20.BackParamA = -99999
- Part20.BackParamB = 99999
- Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BottomParamA = -99999
- Part20.BottomParamB = 99999
- Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.BrickColor = BrickColor.new("Really black")
- Part20.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part20.Elasticity = 0
- Part20.Friction = 2
- Part20.FrontParamA = -99999
- Part20.FrontParamB = 99999
- Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.LeftParamA = -99999
- Part20.LeftParamB = 99999
- Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.Locked = true
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.RightParamA = -99999
- Part20.RightParamB = 99999
- Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.TopParamA = -99999
- Part20.TopParamB = 99999
- Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part20.brickColor = BrickColor.new("Really black")
- Part20.FormFactor = Enum.FormFactor.Symmetric
- Part20.formFactor = Enum.FormFactor.Symmetric
- Part21.Name = "Right Leg"
- Part21.Parent = Model0
- Part21.CFrame = CFrame.new(208.37999, 0.999999046, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part21.Position = Vector3.new(208.37999, 0.999999046, 196.689941)
- Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part21.Size = Vector3.new(1, 2, 1)
- Part21.BackParamA = -99999
- Part21.BackParamB = 99999
- Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BottomParamA = -99999
- Part21.BottomParamB = 99999
- Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BrickColor = BrickColor.new("Really black")
- Part21.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part21.Elasticity = 0
- Part21.Friction = 2
- Part21.FrontParamA = -99999
- Part21.FrontParamB = 99999
- Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.LeftParamA = -99999
- Part21.LeftParamB = 99999
- Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.Locked = true
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.RightParamA = -99999
- Part21.RightParamB = 99999
- Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.TopParamA = -99999
- Part21.TopParamB = 99999
- Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.brickColor = BrickColor.new("Really black")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- Humanoid22.Name = "ColdBloodedKiller"
- Humanoid22.Parent = Model0
- Humanoid22.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid22.Health = 500
- Humanoid22.HealthDisplayDistance = 0
- Humanoid22.JumpPower = 60
- Humanoid22.LeftLeg = Part20
- Humanoid22.MaxHealth = 500
- Humanoid22.MaxSlopeAngle = 89.900001525879
- Humanoid22.NameDisplayDistance = 0
- Humanoid22.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid22.RightLeg = Part21
- Humanoid22.Torso = Part25
- Humanoid22.maxHealth = 500
- Model23.Name = "Status"
- Model23.Parent = Humanoid22
- Model24.Name = "AvalibleSpawns"
- Model24.Parent = Model23
- Part25.Name = "HumanoidRootPart"
- Part25.Parent = Model0
- Part25.CFrame = CFrame.new(207.87999, 2.99999905, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part25.Position = Vector3.new(207.87999, 2.99999905, 196.689941)
- Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part25.Transparency = 1
- Part25.Size = Vector3.new(2, 2, 1)
- Part25.BackParamA = -99999
- Part25.BackParamB = 99999
- Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BottomParamA = -99999
- Part25.BottomParamB = 99999
- Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.BrickColor = BrickColor.new("Bright blue")
- Part25.CanCollide = false
- Part25.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part25.Elasticity = 0
- Part25.Friction = 0
- Part25.FrontParamA = -99999
- Part25.FrontParamB = 99999
- Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.LeftParamA = -99999
- Part25.LeftParamB = 99999
- Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.Locked = true
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.RightParamA = -99999
- Part25.RightParamB = 99999
- Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.TopParamA = -99999
- Part25.TopParamB = 99999
- Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.brickColor = BrickColor.new("Bright blue")
- Part25.FormFactor = Enum.FormFactor.Symmetric
- Part25.formFactor = Enum.FormFactor.Symmetric
- Motor6D26.Name = "RootJoint"
- Motor6D26.Parent = Part25
- Motor6D26.MaxVelocity = 0.10000000149012
- Motor6D26.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D26.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D26.Part0 = Part25
- Motor6D26.Part1 = Part10
- Motor6D26.part1 = Part10
- Part27.Name = "Knife"
- Part27.Parent = Model0
- Part27.CFrame = CFrame.new(209.179993, 2.05574512, 195.671616, 1, -2.64397204e-05, 3.41111408e-05, 3.41111408e-05, 0.96840477, -0.249382511, -2.64397204e-05, 0.249382511, 0.96840477)
- Part27.Orientation = Vector3.new(14.4399996, 0, 0)
- Part27.Position = Vector3.new(209.179993, 2.05574512, 195.671616)
- Part27.Rotation = Vector3.new(14.4399996, 0, 0)
- Part27.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part27.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part27.BackParamA = -99999
- Part27.BackParamB = 99999
- Part27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BottomParamA = -99999
- Part27.BottomParamB = 99999
- Part27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.BrickColor = BrickColor.new("Mid gray")
- Part27.CanCollide = false
- Part27.CustomPhysicalProperties = 0.699999988, 2, 0, 1, 1
- Part27.Elasticity = 0
- Part27.Friction = 2
- Part27.FrontParamA = -99999
- Part27.FrontParamB = 99999
- Part27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.LeftParamA = -99999
- Part27.LeftParamB = 99999
- Part27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.Locked = true
- Part27.Material = Enum.Material.Metal
- Part27.RightParamA = -99999
- Part27.RightParamB = 99999
- Part27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.TopParamA = -99999
- Part27.TopParamB = 99999
- Part27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part27.brickColor = BrickColor.new("Mid gray")
- Part27.FormFactor = Enum.FormFactor.Custom
- Part27.formFactor = Enum.FormFactor.Custom
- SpecialMesh28.Name = "KnifeMesh"
- SpecialMesh28.Parent = Part27
- SpecialMesh28.MeshId = "rbxassetid://165710339"
- SpecialMesh28.Scale = Vector3.new(0.5, 0.5, 0.699999988)
- SpecialMesh28.TextureId = "http://www.roblox.com/asset/?id=338106795"
- SpecialMesh28.MeshType = Enum.MeshType.FileMesh
- Sound29.Name = "Hit1"
- Sound29.Parent = Part27
- Sound29.EmitterSize = 0
- Sound29.MinDistance = 0
- Sound29.SoundId = "rbxassetid://406913243"
- Sound29.Volume = 1
- Sound30.Name = "Swing"
- Sound30.Parent = Part27
- Sound30.EmitterSize = 0
- Sound30.MinDistance = 0
- Sound30.Pitch = 1.1000000238419
- Sound30.PlaybackSpeed = 1.1000000238419
- Sound30.SoundId = "http://www.roblox.com/Asset?ID=357417055"
- Sound30.Volume = 1
- ParticleEmitter31.Name = "Hit Particles"
- ParticleEmitter31.Parent = Part27
- ParticleEmitter31.Speed = NumberRange.new(9, 9)
- ParticleEmitter31.Color = ColorSequence.new(Color3.new(1, 0, 0.0352941),Color3.new(1, 0, 0.0352941))
- ParticleEmitter31.LightEmission = 1
- ParticleEmitter31.Texture = "http://www.roblox.com/asset/?id=141116476"
- ParticleEmitter31.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter31.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter31.Rate = inf
- ParticleEmitter32.Name = "Light Particles"
- ParticleEmitter32.Parent = Part27
- ParticleEmitter32.LightEmission = 1
- ParticleEmitter32.Texture = "http://www.roblox.com/asset/?id=162595515"
- ParticleEmitter32.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter32.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
- ParticleEmitter32.Rate = 9999
- ParticleEmitter32.RotSpeed = NumberRange.new(99999, 99999)
- ParticleEmitter32.SpreadAngle = Vector2.new(99, 99)
- ParticleEmitter32.VelocitySpread = 99
- Sound33.Name = "Hit3"
- Sound33.Parent = Part27
- Sound33.EmitterSize = 0
- Sound33.MinDistance = 0
- Sound33.SoundId = "rbxassetid://406913243"
- Sound33.Volume = 1
- Sound34.Name = "Hit2"
- Sound34.Parent = Part27
- Sound34.EmitterSize = 0
- Sound34.MinDistance = 0
- Sound34.SoundId = "rbxassetid://406913243"
- Sound34.Volume = 1
- Script35.Name = "Health"
- Script35.Parent = Model0
- table.insert(cors,sandbox(Script35,function()
- --Responsible for regening a player's humanoid's health
- -- declarations
- local Figure = script.Parent
- local Head = Figure:WaitForChild("Head")
- local Humanoid;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local regening = false
- -- regeneration
- function regenHealth()
- if regening then return end
- regening = true
- while Humanoid.Health < Humanoid.MaxHealth do
- local s = wait(1)
- local health = Humanoid.Health
- if health~=0 and health < Humanoid.MaxHealth then
- local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
- health = health + newHealthDelta
- Humanoid.Health = math.min(health,Humanoid.MaxHealth)
- end
- end
- if Humanoid.Health > Humanoid.MaxHealth then
- Humanoid.Health = Humanoid.MaxHealth
- end
- regening = false
- end
- Humanoid.HealthChanged:connect(regenHealth)
- end))
- Script36.Name = "AnimateSauce"
- Script36.Parent = Model0
- table.insert(cors,sandbox(Script36,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid;
- for _,Child in pairs(Figure:GetChildren())do
- if Child and Child.ClassName=="Humanoid"then
- Humanoid=Child;
- end;
- end;
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimInstance = nil
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=180426354", weight = 10 }
- },
- run = {
- { id = "http://www.roblox.com/asset/?id=252557606", weight = 20 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
- },
- sit = {
- { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- --{ id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance1 = {
- { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- local dances = {"dance1", "dance2", "dance3"}
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- --print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- --print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- --print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- currentAnimInstance = nil
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- local repeatAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
- repeatAnim = "idle"
- end
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- --print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- switch animation
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- currentAnimInstance = anim
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local toolAnimInstance = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- --print("Keyframe : ".. frameName)
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- --print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- if (toolAnimInstance ~= anim) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- toolAnimInstance = anim
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- toolAnimInstance = nil
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- if Figure and Humanoid and Humanoid.WalkSpeed<17 then
- playAnimation("walk", 0.1, Humanoid);
- elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
- playAnimation("run", 0.1, Humanoid);
- end;
- if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
- setAnimationSpeed(speed / 14.5)
- end
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- playAnimation("sit", 0.5, Humanoid)
- return
- elseif (pose == "Running") then
- if Figure and Humanoid and Humanoid.WalkSpeed<17 then
- playAnimation("walk", 0.1, Humanoid);
- elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
- playAnimation("run", 0.1, Humanoid);
- end;
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- stopAllAnimations()
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- local desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool and tool:FindFirstChild("Handle") then
- local animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimInstance = nil
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- local runService = game:GetService("RunService");
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Wait(0)do
- local _,time=wait(0)
- move(time)
- end
- end))
- StringValue37.Name = "climb"
- StringValue37.Parent = Script36
- Animation38.Name = "ClimbAnim"
- Animation38.Parent = StringValue37
- Animation38.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue39.Name = "fall"
- StringValue39.Parent = Script36
- Animation40.Name = "FallAnim"
- Animation40.Parent = StringValue39
- Animation40.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue41.Name = "idle"
- StringValue41.Parent = Script36
- Animation42.Name = "Animation1"
- Animation42.Parent = StringValue41
- Animation42.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue43.Name = "Weight"
- NumberValue43.Parent = Animation42
- NumberValue43.Value = 9
- Animation44.Name = "Animation2"
- Animation44.Parent = StringValue41
- Animation44.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue45.Name = "Weight"
- NumberValue45.Parent = Animation44
- NumberValue45.Value = 1
- StringValue46.Name = "jump"
- StringValue46.Parent = Script36
- Animation47.Name = "JumpAnim"
- Animation47.Parent = StringValue46
- Animation47.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue48.Name = "run"
- StringValue48.Parent = Script36
- Animation49.Name = "RunAnim"
- Animation49.Parent = StringValue48
- Animation49.AnimationId = "http://www.roblox.com/asset/?id=252557606"
- StringValue50.Name = "sit"
- StringValue50.Parent = Script36
- Animation51.Name = "SitAnim"
- Animation51.Parent = StringValue50
- Animation51.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue52.Name = "toolnone"
- StringValue52.Parent = Script36
- Animation53.Name = "ToolNoneAnim"
- Animation53.Parent = StringValue52
- Animation53.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue54.Name = "walk"
- StringValue54.Parent = Script36
- Animation55.Name = "WalkAnim"
- Animation55.Parent = StringValue54
- Animation55.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Animation56.Name = "Swing"
- Animation56.Parent = Model0
- Animation56.AnimationId = "rbxassetid://54584713"
- Sound57.Name = "Jeff_Scene_Sound1"
- Sound57.Parent = Model0
- Sound57.Looped = true
- Sound57.EmitterSize = 0
- Sound57.MinDistance = 0
- Sound57.SoundId = "rbxassetid://304426684"
- Pants58.Name = "Pants"
- Pants58.Parent = Model0
- Pants58.PantsTemplate = "http://www.roblox.com/asset/?id=344084364"
- BodyColors59.Parent = Model0
- BodyColors59.HeadColor = BrickColor.new("Institutional white")
- BodyColors59.HeadColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors59.LeftArmColor = BrickColor.new("Institutional white")
- BodyColors59.LeftArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors59.LeftLegColor = BrickColor.new("Really black")
- BodyColors59.LeftLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BodyColors59.RightArmColor = BrickColor.new("Institutional white")
- BodyColors59.RightArmColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- BodyColors59.RightLegColor = BrickColor.new("Really black")
- BodyColors59.RightLegColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BodyColors59.TorsoColor = BrickColor.new("Institutional white")
- BodyColors59.TorsoColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- Part60.Name = "DarkHairBottom"
- Part60.Parent = Model0
- Part60.CFrame = CFrame.new(207.87999, 4.69999886, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part60.Position = Vector3.new(207.87999, 4.69999886, 196.689941)
- Part60.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part60.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part60.BackParamA = -99999
- Part60.BackParamB = 99999
- Part60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.BottomParamA = -99999
- Part60.BottomParamB = 99999
- Part60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.BrickColor = BrickColor.new("Really black")
- Part60.CanCollide = false
- Part60.FrontParamA = -99999
- Part60.FrontParamB = 99999
- Part60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.LeftParamA = -99999
- Part60.LeftParamB = 99999
- Part60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.Locked = true
- Part60.Material = Enum.Material.SmoothPlastic
- Part60.RightParamA = -99999
- Part60.RightParamB = 99999
- Part60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.TopParamA = -99999
- Part60.TopParamB = 99999
- Part60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.brickColor = BrickColor.new("Really black")
- Part60.FormFactor = Enum.FormFactor.Custom
- Part60.formFactor = Enum.FormFactor.Custom
- SpecialMesh61.Parent = Part60
- SpecialMesh61.MeshId = "http://roblox.com/asset/?id=82348216"
- SpecialMesh61.Scale = Vector3.new(1, 1.75, 0.800000012)
- SpecialMesh61.VertexColor = Vector3.new(0, 0, 0)
- SpecialMesh61.TextureId = "http://www.roblox.com/asset/?id=75975464"
- SpecialMesh61.MeshType = Enum.MeshType.FileMesh
- Decal62.Parent = Part60
- Decal62.Texture = "http://www.roblox.com/asset/?id=101992031"
- Decal62.Face = Enum.NormalId.Top
- Script63.Name = "Respawn"
- Script63.Parent = Model0
- table.insert(cors,sandbox(Script63,function()
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- local PlayerSpawning=false; --[[ Change this to true if you want the NPC to spawn like a player, and change this to false if you want the NPC to spawn at it's current position. ]]--
- local AdvancedRespawnScript=script;
- repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
- local JeffTheKiller=AdvancedRespawnScript.Parent;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
- JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
- end;
- local GameDerbis=Game:GetService("Debris");
- 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 Respawndant=JeffTheKiller:Clone();
- if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
- coroutine.resume(coroutine.create(function()
- if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
- SpawnModel=Instance.new("Model");
- SpawnModel.Parent=JeffTheKillerHumanoid.Status;
- SpawnModel.Name="AvalibleSpawns";
- else
- SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
- end;
- function FindSpawn(SearchValue)
- local PartsArchivable=SearchValue:GetChildren();
- for AreaSearch=1,#PartsArchivable do
- if PartsArchivable[AreaSearch].className=="SpawnLocation"then
- local PositionValue=Instance.new("Vector3Value",SpawnModel);
- PositionValue.Value=PartsArchivable[AreaSearch].Position;
- PositionValue.Name=PartsArchivable[AreaSearch].Duration;
- end;
- FindSpawn(PartsArchivable[AreaSearch]);
- end;
- end;
- FindSpawn(Game:GetService("Workspace"));
- local SpawnChilden=SpawnModel:GetChildren();
- if#SpawnChilden>0 then
- local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
- local RespawningForceField=Instance.new("ForceField");
- RespawningForceField.Parent=JeffTheKiller;
- RespawningForceField.Name="SpawnForceField";
- GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
- JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
- else
- if JeffTheKiller:FindFirstChild("SpawnForceField")then
- JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
- end;
- JeffTheKiller:MoveTo(Vector3.new(0,115,0));
- end;
- end));
- end;
- function Respawn()
- Wait(5);
- Respawndant.Parent=JeffTheKiller.Parent;
- Respawndant:makeJoints();
- Respawndant:FindFirstChild("Head"):MakeJoints();
- Respawndant:FindFirstChild("Torso"):MakeJoints();
- JeffTheKiller:remove();
- end;
- if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
- JeffTheKillerHumanoid.Died:connect(Respawn);
- end;
- --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
- end))
- Sound64.Name = "Jeff_Scene_Sound2"
- Sound64.Parent = Model0
- Sound64.Looped = true
- Sound64.EmitterSize = 0
- Sound64.MinDistance = 0
- Sound64.SoundId = "rbxassetid://380103076"
- Part65.Name = "DarkHairTop"
- Part65.Parent = Model0
- Part65.CFrame = CFrame.new(207.87999, 4.79999924, 196.689941, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part65.Position = Vector3.new(207.87999, 4.79999924, 196.689941)
- Part65.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part65.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part65.BackParamA = -99999
- Part65.BackParamB = 99999
- Part65.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.BottomParamA = -99999
- Part65.BottomParamB = 99999
- Part65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.BrickColor = BrickColor.new("Really black")
- Part65.CanCollide = false
- Part65.FrontParamA = -99999
- Part65.FrontParamB = 99999
- Part65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.LeftParamA = -99999
- Part65.LeftParamB = 99999
- Part65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.Locked = true
- Part65.Material = Enum.Material.SmoothPlastic
- Part65.RightParamA = -99999
- Part65.RightParamB = 99999
- Part65.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.TopParamA = -99999
- Part65.TopParamB = 99999
- Part65.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part65.brickColor = BrickColor.new("Really black")
- Part65.FormFactor = Enum.FormFactor.Custom
- Part65.formFactor = Enum.FormFactor.Custom
- SpecialMesh66.Parent = Part65
- SpecialMesh66.MeshId = "http://www.roblox.com/asset/?id=13332444"
- SpecialMesh66.Scale = Vector3.new(1.04999995, 1, 1.04999995)
- SpecialMesh66.VertexColor = Vector3.new(0, 0, 0)
- SpecialMesh66.TextureId = "http://www.roblox.com/asset/?id=75975464"
- SpecialMesh66.MeshType = Enum.MeshType.FileMesh
- Decal67.Parent = Part65
- Decal67.Texture = "http://www.roblox.com/asset/?id=101992031"
- Decal67.Face = Enum.NormalId.Top
- Script68.Name = "JeffTheKillerMain"
- Script68.Parent = Model0
- table.insert(cors,sandbox(Script68,function()
- --[[ By: Brutez. ]]--
- local JeffTheKillerScript=script;
- repeat Wait(0)until JeffTheKillerScript and JeffTheKillerScript.Parent and JeffTheKillerScript.Parent.ClassName=="Model"and JeffTheKillerScript.Parent:FindFirstChild("Head")and JeffTheKillerScript.Parent:FindFirstChild("Torso");
- local JeffTheKiller=JeffTheKillerScript.Parent;
- function raycast(Spos,vec,currentdist)
- local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),JeffTheKiller);
- if hit2~=nil and pos2 then
- if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
- local currentdist=currentdist-(pos2-Spos).magnitude;
- return raycast(pos2,vec,currentdist);
- end;
- end;
- return hit2,pos2;
- end;
- function RayCast(Position,Direction,MaxDistance,IgnoreList)
- return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
- end;
- --[[if JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then]]--
- --[[JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();]]--
- --[[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;
- --[[ By: Brutez. ]]--
- end))
- Shirt69.Name = "Shirt"
- Shirt69.Parent = Model0
- Shirt69.ShirtTemplate = "http://www.roblox.com/asset/?id=344089667"
- CharacterMesh70.Parent = Model0
- CharacterMesh70.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh70.MeshId = 27111864
- CharacterMesh71.Parent = Model0
- CharacterMesh71.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh71.MeshId = 27111419
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement