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")
- Decal3 = Instance.new("Decal")
- Sound4 = Instance.new("Sound")
- Sound5 = Instance.new("Sound")
- Sound6 = Instance.new("Sound")
- PointLight7 = Instance.new("PointLight")
- Part8 = Instance.new("Part")
- Decal9 = Instance.new("Decal")
- Motor6D10 = Instance.new("Motor6D")
- Motor6D11 = Instance.new("Motor6D")
- Motor6D12 = Instance.new("Motor6D")
- Motor6D13 = Instance.new("Motor6D")
- Weld14 = Instance.new("Weld")
- Weld15 = Instance.new("Weld")
- Weld16 = Instance.new("Weld")
- Weld17 = Instance.new("Weld")
- Weld18 = Instance.new("Weld")
- Weld19 = Instance.new("Weld")
- Motor6D20 = Instance.new("Motor6D")
- Part21 = Instance.new("Part")
- Weld22 = Instance.new("Weld")
- Weld23 = Instance.new("Weld")
- Weld24 = Instance.new("Weld")
- Weld25 = Instance.new("Weld")
- Part26 = Instance.new("Part")
- Weld27 = Instance.new("Weld")
- Weld28 = Instance.new("Weld")
- Part29 = Instance.new("Part")
- Weld30 = Instance.new("Weld")
- Fire31 = Instance.new("Fire")
- Script32 = Instance.new("Script")
- Part33 = Instance.new("Part")
- Weld34 = Instance.new("Weld")
- Fire35 = Instance.new("Fire")
- Script36 = Instance.new("Script")
- BodyColors37 = Instance.new("BodyColors")
- Shirt38 = Instance.new("Shirt")
- Pants39 = Instance.new("Pants")
- Model40 = Instance.new("Model")
- Part41 = Instance.new("Part")
- Weld42 = Instance.new("Weld")
- Model43 = Instance.new("Model")
- Part44 = Instance.new("Part")
- Weld45 = Instance.new("Weld")
- Model46 = Instance.new("Model")
- MeshPart47 = Instance.new("MeshPart")
- MeshPart48 = Instance.new("MeshPart")
- MeshPart49 = Instance.new("MeshPart")
- Fire50 = Instance.new("Fire")
- Script51 = Instance.new("Script")
- MeshPart52 = Instance.new("MeshPart")
- Fire53 = Instance.new("Fire")
- Script54 = Instance.new("Script")
- Part55 = Instance.new("Part")
- SpecialMesh56 = Instance.new("SpecialMesh")
- Decal57 = Instance.new("Decal")
- Part58 = Instance.new("Part")
- Weld59 = Instance.new("Weld")
- Weld60 = Instance.new("Weld")
- Weld61 = Instance.new("Weld")
- Weld62 = Instance.new("Weld")
- Weld63 = Instance.new("Weld")
- Weld64 = Instance.new("Weld")
- Model65 = Instance.new("Model")
- Part66 = Instance.new("Part")
- Fire67 = Instance.new("Fire")
- Script68 = Instance.new("Script")
- Weld69 = Instance.new("Weld")
- Model70 = Instance.new("Model")
- Part71 = Instance.new("Part")
- Fire72 = Instance.new("Fire")
- Weld73 = Instance.new("Weld")
- Part74 = Instance.new("Part")
- Sound75 = Instance.new("Sound")
- Sound76 = Instance.new("Sound")
- Sound77 = Instance.new("Sound")
- Sound78 = Instance.new("Sound")
- ParticleEmitter79 = Instance.new("ParticleEmitter")
- ParticleEmitter80 = Instance.new("ParticleEmitter")
- SpecialMesh81 = Instance.new("SpecialMesh")
- Sound82 = Instance.new("Sound")
- ReverbSoundEffect83 = Instance.new("ReverbSoundEffect")
- Sound84 = Instance.new("Sound")
- ReverbSoundEffect85 = Instance.new("ReverbSoundEffect")
- Part86 = Instance.new("Part")
- Motor6D87 = Instance.new("Motor6D")
- Script88 = Instance.new("Script")
- StringValue89 = Instance.new("StringValue")
- Animation90 = Instance.new("Animation")
- StringValue91 = Instance.new("StringValue")
- Animation92 = Instance.new("Animation")
- StringValue93 = Instance.new("StringValue")
- Animation94 = Instance.new("Animation")
- NumberValue95 = Instance.new("NumberValue")
- Animation96 = Instance.new("Animation")
- NumberValue97 = Instance.new("NumberValue")
- StringValue98 = Instance.new("StringValue")
- Animation99 = Instance.new("Animation")
- StringValue100 = Instance.new("StringValue")
- Animation101 = Instance.new("Animation")
- StringValue102 = Instance.new("StringValue")
- Animation103 = Instance.new("Animation")
- StringValue104 = Instance.new("StringValue")
- Animation105 = Instance.new("Animation")
- StringValue106 = Instance.new("StringValue")
- Animation107 = Instance.new("Animation")
- Humanoid108 = Instance.new("Humanoid")
- Model109 = Instance.new("Model")
- Model110 = Instance.new("Model")
- Script111 = Instance.new("Script")
- Script112 = Instance.new("Script")
- Script113 = Instance.new("Script")
- Animation114 = Instance.new("Animation")
- CharacterMesh115 = Instance.new("CharacterMesh")
- CharacterMesh116 = Instance.new("CharacterMesh")
- Sound117 = Instance.new("Sound")
- ReverbSoundEffect118 = Instance.new("ReverbSoundEffect")
- Script119 = Instance.new("Script")
- Model0.Name = "Josem"
- Model0.Parent = mas
- Model0.PrimaryPart = Part1
- Part1.Name = "Head"
- Part1.Parent = Model0
- Part1.CFrame = CFrame.new(46.7204323, 4.590271, 148.359116, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part1.Orientation = Vector3.new(0, 144.059998, 0)
- Part1.Position = Vector3.new(46.7204323, 4.590271, 148.359116)
- Part1.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part1.Color = Color3.new(0, 1, 1)
- Part1.Transparency = 0.98000001907349
- Part1.Size = Vector3.new(2, 1, 1)
- Part1.BrickColor = BrickColor.new("Toothpaste")
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.brickColor = BrickColor.new("Toothpaste")
- Part1.FormFactor = Enum.FormFactor.Symmetric
- Part1.formFactor = Enum.FormFactor.Symmetric
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
- Decal3.Name = "face"
- Decal3.Parent = Part1
- Decal3.Texture = "0"
- Sound4.Name = "Jeff_Laugh"
- Sound4.Parent = Part1
- Sound4.Looped = true
- Sound4.Pitch = 1.2999999523163
- Sound4.PlaybackSpeed = 1.2999999523163
- Sound4.SoundId = "rbxassetid://385276374"
- Sound4.Volume = 1
- Sound5.Name = "Jeff_Susto2"
- Sound5.Parent = Part1
- Sound5.Pitch = 0.5
- Sound5.PlaybackSpeed = 0.5
- Sound5.SoundId = "rbxassetid://320355925"
- Sound5.Volume = 1
- Sound6.Name = "Jeff_Step"
- Sound6.Parent = Part1
- Sound6.SoundId = "rbxassetid://379611235"
- Sound6.Volume = 1
- PointLight7.Parent = Part1
- PointLight7.Color = Color3.new(0.141176, 0.745098, 0.745098)
- PointLight7.Range = 9
- PointLight7.Brightness = 33
- Part8.Name = "Torso"
- Part8.Parent = Model0
- Part8.CFrame = CFrame.new(46.7204323, 3.090271, 148.359116, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part8.Orientation = Vector3.new(0, 144.059998, 0)
- Part8.Position = Vector3.new(46.7204323, 3.090271, 148.359116)
- Part8.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part8.Color = Color3.new(0, 1, 1)
- Part8.Transparency = 1
- Part8.Size = Vector3.new(2, 2, 1)
- Part8.BrickColor = BrickColor.new("Toothpaste")
- Part8.LeftParamA = 0
- Part8.LeftParamB = 0
- Part8.LeftSurface = Enum.SurfaceType.Weld
- Part8.RightParamA = 0
- Part8.RightParamB = 0
- Part8.RightSurface = Enum.SurfaceType.Weld
- Part8.brickColor = BrickColor.new("Toothpaste")
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.formFactor = Enum.FormFactor.Symmetric
- Decal9.Name = "roblox"
- Decal9.Parent = Part8
- Motor6D10.Name = "Right Shoulder"
- Motor6D10.Parent = Part8
- Motor6D10.MaxVelocity = 0.10000000149012
- Motor6D10.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D10.Part0 = Part8
- Motor6D10.Part1 = Part26
- Motor6D10.part1 = Part26
- Motor6D11.Name = "Left Shoulder"
- Motor6D11.Parent = Part8
- Motor6D11.MaxVelocity = 0.10000000149012
- Motor6D11.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D11.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D11.Part0 = Part8
- Motor6D11.Part1 = Part21
- Motor6D11.part1 = Part21
- Motor6D12.Name = "Right Hip"
- Motor6D12.Parent = Part8
- Motor6D12.MaxVelocity = 0.10000000149012
- Motor6D12.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Motor6D12.Part0 = Part8
- Motor6D12.Part1 = Part33
- Motor6D12.part1 = Part33
- Motor6D13.Name = "Left Hip"
- Motor6D13.Parent = Part8
- Motor6D13.MaxVelocity = 0.10000000149012
- Motor6D13.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor6D13.Part0 = Part8
- Motor6D13.Part1 = Part29
- Motor6D13.part1 = Part29
- Weld14.Parent = Part8
- Weld14.Part0 = Part8
- Weld14.Part1 = Part58
- Weld14.part1 = Part58
- Weld15.Parent = Part8
- Weld15.Part0 = Part8
- Weld15.Part1 = Part58
- Weld15.part1 = Part58
- Weld16.Parent = Part8
- Weld16.Part0 = Part8
- Weld16.Part1 = Part58
- Weld16.part1 = Part58
- Weld17.Parent = Part8
- Weld17.Part0 = Part8
- Weld17.Part1 = Part58
- Weld17.part1 = Part58
- Weld18.Parent = Part8
- Weld18.Part0 = Part8
- Weld18.Part1 = Part58
- Weld18.part1 = Part58
- Weld19.Parent = Part8
- Weld19.Part0 = Part8
- Weld19.Part1 = Part58
- Weld19.part1 = Part58
- Motor6D20.Name = "Neck"
- Motor6D20.Parent = Part8
- Motor6D20.MaxVelocity = 0.10000000149012
- Motor6D20.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D20.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D20.Part0 = Part8
- Motor6D20.Part1 = Part1
- Motor6D20.part1 = Part1
- Part21.Name = "Left Arm"
- Part21.Parent = Model0
- Part21.CFrame = CFrame.new(47.9348717, 3.090271, 149.239532, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part21.Orientation = Vector3.new(0, 144.059998, 0)
- Part21.Position = Vector3.new(47.9348717, 3.090271, 149.239532)
- Part21.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part21.Color = Color3.new(0, 1, 1)
- Part21.Transparency = 1
- Part21.Size = Vector3.new(1, 2, 1)
- Part21.BrickColor = BrickColor.new("Toothpaste")
- Part21.CanCollide = false
- Part21.brickColor = BrickColor.new("Toothpaste")
- Part21.FormFactor = Enum.FormFactor.Symmetric
- Part21.formFactor = Enum.FormFactor.Symmetric
- Weld22.Parent = Part21
- Weld22.Part0 = Part21
- Weld22.Part1 = Part44
- Weld22.part1 = Part44
- Weld23.Parent = Part21
- Weld23.Part0 = Part21
- Weld23.Part1 = Part44
- Weld23.part1 = Part44
- Weld24.Parent = Part21
- Weld24.Part0 = Part21
- Weld24.Part1 = Part44
- Weld24.part1 = Part44
- Weld25.Parent = Part21
- Weld25.Part0 = Part21
- Weld25.Part1 = Part44
- Weld25.part1 = Part44
- Part26.Name = "Right Arm"
- Part26.Parent = Model0
- Part26.CFrame = CFrame.new(45.5059929, 3.090271, 147.478699, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part26.Orientation = Vector3.new(0, 144.059998, 0)
- Part26.Position = Vector3.new(45.5059929, 3.090271, 147.478699)
- Part26.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part26.Color = Color3.new(0, 1, 1)
- Part26.Transparency = 1
- Part26.Size = Vector3.new(1, 2, 1)
- Part26.BrickColor = BrickColor.new("Toothpaste")
- Part26.CanCollide = false
- Part26.brickColor = BrickColor.new("Toothpaste")
- Part26.FormFactor = Enum.FormFactor.Symmetric
- Part26.formFactor = Enum.FormFactor.Symmetric
- Weld27.Parent = Part26
- Weld27.Part0 = Part26
- Weld27.Part1 = Part41
- Weld27.part1 = Part41
- Weld28.Parent = Part26
- Weld28.Part0 = Part26
- Weld28.Part1 = Part74
- Weld28.part1 = Part74
- Part29.Name = "Left Leg"
- Part29.Parent = Model0
- Part29.CFrame = CFrame.new(47.1252441, 1.090271, 148.652588, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part29.Orientation = Vector3.new(0, 144.059998, 0)
- Part29.Position = Vector3.new(47.1252441, 1.090271, 148.652588)
- Part29.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part29.Color = Color3.new(0, 1, 1)
- Part29.Transparency = 1
- Part29.Size = Vector3.new(1, 2, 1)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.BrickColor = BrickColor.new("Toothpaste")
- Part29.CanCollide = false
- Part29.brickColor = BrickColor.new("Toothpaste")
- Part29.FormFactor = Enum.FormFactor.Symmetric
- Part29.formFactor = Enum.FormFactor.Symmetric
- Weld30.Parent = Part29
- Weld30.Part0 = Part29
- Weld30.Part1 = Part71
- Weld30.part1 = Part71
- Fire31.Parent = Part29
- Fire31.Color = Color3.new(1, 0.678431, 0)
- Fire31.Enabled = false
- Fire31.Size = 30
- Fire31.Heat = 25
- Fire31.SecondaryColor = Color3.new(1, 0, 0)
- Fire31.size = 30
- Script32.Name = "Spread"
- Script32.Parent = Fire31
- table.insert(cors,sandbox(Script32,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1000000
- check.Heat = check.Heat +1000000
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Part33.Name = "Right Leg"
- Part33.Parent = Model0
- Part33.CFrame = CFrame.new(46.3156204, 1.090271, 148.065643, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part33.Orientation = Vector3.new(0, 144.059998, 0)
- Part33.Position = Vector3.new(46.3156204, 1.090271, 148.065643)
- Part33.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part33.Color = Color3.new(0, 1, 1)
- Part33.Transparency = 1
- Part33.Size = Vector3.new(1, 2, 1)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.BrickColor = BrickColor.new("Toothpaste")
- Part33.CanCollide = false
- Part33.brickColor = BrickColor.new("Toothpaste")
- Part33.FormFactor = Enum.FormFactor.Symmetric
- Part33.formFactor = Enum.FormFactor.Symmetric
- Weld34.Parent = Part33
- Weld34.Part0 = Part33
- Weld34.Part1 = Part66
- Weld34.part1 = Part66
- Fire35.Parent = Part33
- Fire35.Color = Color3.new(1, 0.678431, 0)
- Fire35.Enabled = false
- Fire35.Size = 30
- Fire35.Heat = 25
- Fire35.SecondaryColor = Color3.new(1, 0, 0)
- Fire35.size = 30
- Script36.Name = "Spread"
- Script36.Parent = Fire35
- table.insert(cors,sandbox(Script36,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1000000
- check.Heat = check.Heat +1000000
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- BodyColors37.Parent = Model0
- BodyColors37.HeadColor = BrickColor.new("Toothpaste")
- BodyColors37.HeadColor3 = Color3.new(0, 1, 1)
- BodyColors37.LeftArmColor = BrickColor.new("Toothpaste")
- BodyColors37.LeftArmColor3 = Color3.new(0, 1, 1)
- BodyColors37.LeftLegColor = BrickColor.new("Toothpaste")
- BodyColors37.LeftLegColor3 = Color3.new(0, 1, 1)
- BodyColors37.RightArmColor = BrickColor.new("Toothpaste")
- BodyColors37.RightArmColor3 = Color3.new(0, 1, 1)
- BodyColors37.RightLegColor = BrickColor.new("Toothpaste")
- BodyColors37.RightLegColor3 = Color3.new(0, 1, 1)
- BodyColors37.TorsoColor = BrickColor.new("Toothpaste")
- BodyColors37.TorsoColor3 = Color3.new(0, 1, 1)
- Shirt38.Name = "Shirt"
- Shirt38.Parent = Model0
- Shirt38.ShirtTemplate = "http://www.roblox.com/asset/?id=512424043"
- Pants39.Name = "Pants"
- Pants39.Parent = Model0
- Pants39.PantsTemplate = "http://www.roblox.com/asset/?id=482332709"
- Model40.Name = "Arm2"
- Model40.Parent = Model0
- Part41.Name = "Middle"
- Part41.Parent = Model40
- Part41.CFrame = CFrame.new(45.5059929, 3.090271, 147.478699, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part41.Orientation = Vector3.new(0, 144.059998, 0)
- Part41.Position = Vector3.new(45.5059929, 3.090271, 147.478699)
- Part41.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part41.Transparency = 1
- Part41.Size = Vector3.new(1, 2, 1)
- Part41.BrickColor = BrickColor.new("Institutional white")
- Part41.CanCollide = false
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.brickColor = BrickColor.new("Institutional white")
- Part41.FormFactor = Enum.FormFactor.Symmetric
- Part41.formFactor = Enum.FormFactor.Symmetric
- Weld42.Parent = Part41
- Weld42.C0 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld42.C1 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld42.Part0 = Part41
- Weld42.Part1 = Part41
- Weld42.part1 = Part41
- Model43.Name = "Arm1"
- Model43.Parent = Model0
- Part44.Name = "Middle"
- Part44.Parent = Model43
- Part44.CFrame = CFrame.new(47.9348717, 3.090271, 149.239532, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part44.Orientation = Vector3.new(0, 144.059998, 0)
- Part44.Position = Vector3.new(47.9348717, 3.090271, 149.239532)
- Part44.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part44.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part44.Transparency = 1
- Part44.Size = Vector3.new(1, 2, 1)
- Part44.BrickColor = BrickColor.new("Institutional white")
- Part44.CanCollide = false
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.brickColor = BrickColor.new("Institutional white")
- Part44.FormFactor = Enum.FormFactor.Symmetric
- Part44.formFactor = Enum.FormFactor.Symmetric
- Weld45.Parent = Part44
- Weld45.C0 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld45.C1 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld45.Part0 = Part44
- Weld45.Part1 = Part44
- Weld45.part1 = Part44
- Model46.Name = "Chest"
- Model46.Parent = Model0
- MeshPart47.Name = "Face"
- MeshPart47.Parent = Model46
- MeshPart47.CFrame = CFrame.new(46.5248528, 7.12286377, 148.587875, 0.809626877, 0, -0.586944938, 0, 1, 0, 0.586944938, 0, 0.809626877)
- MeshPart47.Orientation = Vector3.new(0, -35.9399986, 0)
- MeshPart47.Position = Vector3.new(46.5248528, 7.12286377, 148.587875)
- MeshPart47.Rotation = Vector3.new(0, -35.9399986, 0)
- MeshPart47.Size = Vector3.new(0.949306726, 1.26484644, 0.789053321)
- MeshPart47.CanCollide = false
- MeshPart47.TextureID = "rbxassetid://430089174"
- MeshPart48.Name = "Hair"
- MeshPart48.Parent = Model46
- MeshPart48.CFrame = CFrame.new(46.7341194, 4.08540344, 148.29921, 0.809626877, 0, -0.586944938, 0, 1, 0, 0.586944938, 0, 0.809626877)
- MeshPart48.Orientation = Vector3.new(0, -35.9399986, 0)
- MeshPart48.Position = Vector3.new(46.7341194, 4.08540344, 148.29921)
- MeshPart48.Rotation = Vector3.new(0, -35.9399986, 0)
- MeshPart48.Size = Vector3.new(2.82111788, 7.48921871, 1.71355844)
- MeshPart48.CanCollide = false
- MeshPart48.TextureID = "rbxassetid://430089440"
- MeshPart49.Name = "Meshes/foot"
- MeshPart49.Parent = Model46
- MeshPart49.CFrame = CFrame.new(45.7182999, 0.705855131, 148.286072, -0.830326021, 0, 0.557278037, 0, 1, 0, -0.557278037, 0, -0.830326021)
- MeshPart49.Orientation = Vector3.new(0, 146.130005, 0)
- MeshPart49.Position = Vector3.new(45.7182999, 0.705855131, 148.286072)
- MeshPart49.Rotation = Vector3.new(-180, 33.8699989, -180)
- MeshPart49.Color = Color3.new(0.141176, 0.745098, 0.745098)
- MeshPart49.Size = Vector3.new(1.11931646, 1.31164789, 2.852916)
- MeshPart49.BrickColor = BrickColor.new("Teal")
- MeshPart49.CanCollide = false
- MeshPart49.Material = Enum.Material.SmoothPlastic
- MeshPart49.brickColor = BrickColor.new("Teal")
- Fire50.Parent = MeshPart49
- Fire50.Color = Color3.new(1, 0.678431, 0)
- Fire50.Enabled = false
- Fire50.Size = 30
- Fire50.Heat = 25
- Fire50.SecondaryColor = Color3.new(1, 0, 0)
- Fire50.size = 30
- Script51.Name = "Spread"
- Script51.Parent = Fire50
- table.insert(cors,sandbox(Script51,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1000000
- check.Heat = check.Heat +1000000
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- MeshPart52.Name = "Meshes/leftfoot (1)"
- MeshPart52.Parent = Model46
- MeshPart52.CFrame = CFrame.new(47.150135, 0.705809832, 149.295898, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- MeshPart52.Orientation = Vector3.new(0, 144.059998, 0)
- MeshPart52.Position = Vector3.new(47.150135, 0.705809832, 149.295898)
- MeshPart52.Rotation = Vector3.new(-180, 35.9399986, -180)
- MeshPart52.Color = Color3.new(0.141176, 0.745098, 0.745098)
- MeshPart52.Size = Vector3.new(1.11931646, 1.31164789, 2.85291553)
- MeshPart52.BrickColor = BrickColor.new("Teal")
- MeshPart52.CanCollide = false
- MeshPart52.Material = Enum.Material.SmoothPlastic
- MeshPart52.brickColor = BrickColor.new("Teal")
- Fire53.Parent = MeshPart52
- Fire53.Color = Color3.new(1, 0.678431, 0)
- Fire53.Enabled = false
- Fire53.Size = 30
- Fire53.Heat = 25
- Fire53.SecondaryColor = Color3.new(1, 0, 0)
- Fire53.size = 30
- Script54.Name = "Spread"
- Script54.Parent = Fire53
- table.insert(cors,sandbox(Script54,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1000000
- check.Heat = check.Heat +1000000
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Part55.Name = "Handle"
- Part55.Parent = Model46
- Part55.CFrame = CFrame.new(46.3549042, 6.91000509, 148.821289, -0.809626877, -0.586944938, 0, 0, 0, 1, -0.586944938, 0.809626877, 0)
- Part55.Orientation = Vector3.new(-90, 144.059998, 0)
- Part55.Position = Vector3.new(46.3549042, 6.91000509, 148.821289)
- Part55.Rotation = Vector3.new(-90, 0, 144.059998)
- Part55.Color = Color3.new(0, 0.12549, 0.376471)
- Part55.Size = Vector3.new(1, 0.400000006, 1)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.BrickColor = BrickColor.new("Navy blue")
- Part55.CanCollide = false
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.brickColor = BrickColor.new("Navy blue")
- Part55.FormFactor = Enum.FormFactor.Plate
- Part55.formFactor = Enum.FormFactor.Plate
- SpecialMesh56.Parent = Part55
- SpecialMesh56.MeshId = "http://www.roblox.com/asset/?id=5158270"
- SpecialMesh56.Scale = Vector3.new(0.129999995, 0.129999995, 0.100000001)
- SpecialMesh56.MeshType = Enum.MeshType.FileMesh
- Decal57.Name = "hairs-un-e ####"
- Decal57.Parent = Part55
- Decal57.Texture = "http://www.roblox.com/asset/?id=2900387276"
- Decal57.Face = Enum.NormalId.Top
- Part58.Name = "Middle"
- Part58.Parent = Model46
- Part58.CFrame = CFrame.new(46.7204323, 3.090271, 148.359116, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part58.Orientation = Vector3.new(0, 144.059998, 0)
- Part58.Position = Vector3.new(46.7204323, 3.090271, 148.359116)
- Part58.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part58.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part58.Transparency = 1
- Part58.Size = Vector3.new(4, 1, 2)
- Part58.BrickColor = BrickColor.new("Really black")
- Part58.CanCollide = false
- Part58.brickColor = BrickColor.new("Really black")
- Part58.FormFactor = Enum.FormFactor.Symmetric
- Part58.formFactor = Enum.FormFactor.Symmetric
- Weld59.Parent = Part58
- Weld59.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld59.C1 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld59.Part0 = Part58
- Weld59.Part1 = Part58
- Weld59.part1 = Part58
- Weld60.Parent = Part58
- Weld60.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld60.C1 = CFrame.new(-0.0246734619, -0.588729858, -3.8197341, 0, 0, 1, 1, 0, 0, 0, 1, 0)
- Weld60.Part0 = Part58
- Weld60.Part1 = Part55
- Weld60.part1 = Part55
- Weld61.Parent = Part58
- Weld61.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld61.C1 = CFrame.new(0.897735596, 2.38446116, 0.506225586, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld61.Part0 = Part58
- Weld61.Part1 = MeshPart52
- Weld61.part1 = MeshPart52
- Weld62.Parent = Part58
- Weld62.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld62.C1 = CFrame.new(-0.872802734, 2.38441586, 0.497817993, 0.0361683369, 0, 0.99934572, 0, 1, 0, -0.99934572, 0, 0.0361683369)
- Weld62.Part0 = Part58
- Weld62.Part1 = MeshPart49
- Weld62.part1 = MeshPart49
- Weld63.Parent = Part58
- Weld63.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld63.C1 = CFrame.new(0.0240783691, -0.995132446, 0.0565338135, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Weld63.Part0 = Part58
- Weld63.Part1 = MeshPart48
- Weld63.part1 = MeshPart48
- Weld64.Parent = Part58
- Weld64.C0 = CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Weld64.C1 = CFrame.new(0.0240783691, -4.03259277, -0.300003052, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Weld64.Part0 = Part58
- Weld64.Part1 = MeshPart47
- Weld64.part1 = MeshPart47
- Model65.Name = "Leg2"
- Model65.Parent = Model0
- Part66.Name = "Middle"
- Part66.Parent = Model65
- Part66.CFrame = CFrame.new(46.3156204, 1.090271, 148.065643, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part66.Orientation = Vector3.new(0, 144.059998, 0)
- Part66.Position = Vector3.new(46.3156204, 1.090271, 148.065643)
- Part66.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part66.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part66.Transparency = 1
- Part66.Size = Vector3.new(1, 2, 1)
- Part66.BottomSurface = Enum.SurfaceType.Smooth
- Part66.BrickColor = BrickColor.new("Institutional white")
- Part66.CanCollide = false
- Part66.brickColor = BrickColor.new("Institutional white")
- Part66.FormFactor = Enum.FormFactor.Symmetric
- Part66.formFactor = Enum.FormFactor.Symmetric
- Fire67.Parent = Part66
- Fire67.Color = Color3.new(1, 0.678431, 0)
- Fire67.Enabled = false
- Fire67.Size = 30
- Fire67.Heat = 25
- Fire67.SecondaryColor = Color3.new(1, 0, 0)
- Fire67.size = 30
- Script68.Name = "Spread"
- Script68.Parent = Fire67
- table.insert(cors,sandbox(Script68,function()
- function Spread(part)
- check = part:findFirstChild("Fire")
- if check == nil then
- script.Parent:Clone().Parent = part
- elseif check ~= nil then
- check.Size = check.Size + 1000000
- check.Heat = check.Heat +1000000
- end
- end
- script.Parent.Parent.Touched:connect(Spread)
- end))
- Weld69.Parent = Part66
- Weld69.C0 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld69.C1 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld69.Part0 = Part66
- Weld69.Part1 = Part66
- Weld69.part1 = Part66
- Model70.Name = "Leg1"
- Model70.Parent = Model0
- Part71.Name = "Middle"
- Part71.Parent = Model70
- Part71.CFrame = CFrame.new(47.1252441, 1.090271, 148.652588, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part71.Orientation = Vector3.new(0, 144.059998, 0)
- Part71.Position = Vector3.new(47.1252441, 1.090271, 148.652588)
- Part71.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part71.Color = Color3.new(0.898039, 0.894118, 0.87451)
- Part71.Transparency = 1
- Part71.Size = Vector3.new(1, 2, 1)
- Part71.BottomSurface = Enum.SurfaceType.Smooth
- Part71.BrickColor = BrickColor.new("Light stone grey")
- Part71.CanCollide = false
- Part71.brickColor = BrickColor.new("Light stone grey")
- Part71.FormFactor = Enum.FormFactor.Symmetric
- Part71.formFactor = Enum.FormFactor.Symmetric
- Fire72.Parent = Part71
- Fire72.Color = Color3.new(1, 0.607843, 0)
- Fire72.Enabled = false
- Fire72.Size = 30
- Fire72.Heat = 25
- Fire72.SecondaryColor = Color3.new(1, 0, 0)
- Fire72.size = 30
- Weld73.Parent = Part71
- Weld73.C0 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld73.C1 = CFrame.new(0, 0, 0, -0.014595747, 0, 0.999893427, 0, 1, 0, -0.999893427, 0, -0.014595747)
- Weld73.Part0 = Part71
- Weld73.Part1 = Part71
- Weld73.part1 = Part71
- Part74.Name = "Knife"
- Part74.Parent = Model0
- Part74.CFrame = CFrame.new(45.5059929, 3.090271, 147.478699, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part74.Orientation = Vector3.new(0, 144.059998, 0)
- Part74.Position = Vector3.new(45.5059929, 3.090271, 147.478699)
- Part74.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part74.Color = Color3.new(1, 0.8, 0.6)
- Part74.Transparency = 1
- Part74.Size = Vector3.new(0.400000036, 1.12, 2.59999919)
- Part74.BottomSurface = Enum.SurfaceType.Smooth
- Part74.BrickColor = BrickColor.new("Pastel brown")
- Part74.CanCollide = false
- Part74.TopSurface = Enum.SurfaceType.Smooth
- Part74.brickColor = BrickColor.new("Pastel brown")
- Part74.FormFactor = Enum.FormFactor.Custom
- Part74.formFactor = Enum.FormFactor.Custom
- Sound75.Name = "Hit1"
- Sound75.Parent = Part74
- Sound75.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound75.Volume = 1
- Sound76.Name = "Hit2"
- Sound76.Parent = Part74
- Sound76.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound76.Volume = 1
- Sound77.Name = "Hit3"
- Sound77.Parent = Part74
- Sound77.SoundId = "http://www.roblox.com/Asset?ID=186311262"
- Sound77.Volume = 1
- Sound78.Name = "Swing"
- Sound78.Parent = Part74
- Sound78.Pitch = 1.1000000238419
- Sound78.PlaybackSpeed = 1.1000000238419
- Sound78.SoundId = "http://www.roblox.com/Asset?ID=357417055"
- Sound78.Volume = 1
- ParticleEmitter79.Name = "Hit Particles"
- ParticleEmitter79.Parent = Part74
- ParticleEmitter79.Speed = NumberRange.new(9, 9)
- ParticleEmitter79.Color = ColorSequence.new(Color3.new(0.141176, 0.745098, 0.745098),Color3.new(0.141176, 0.745098, 0.745098))
- ParticleEmitter79.LightEmission = 1
- ParticleEmitter79.Texture = "rbxassetid://141116476"
- ParticleEmitter79.EmissionDirection = Enum.NormalId.Front
- ParticleEmitter79.Lifetime = NumberRange.new(0.20000000298023, 0.20000000298023)
- ParticleEmitter79.Rate = inf
- ParticleEmitter80.Name = "Light Particles"
- ParticleEmitter80.Parent = Part74
- ParticleEmitter80.LightEmission = 1
- ParticleEmitter80.Texture = "http://www.roblox.com/asset/?id=162595515"
- ParticleEmitter80.Size = NumberSequence.new(0.20000000298023,0.20000000298023)
- ParticleEmitter80.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
- ParticleEmitter80.Rate = 9999
- ParticleEmitter80.RotSpeed = NumberRange.new(99999, 99999)
- ParticleEmitter80.SpreadAngle = Vector2.new(99, 99)
- ParticleEmitter80.VelocitySpread = 99
- SpecialMesh81.Name = "Knife Mesh"
- SpecialMesh81.Parent = Part74
- SpecialMesh81.MeshId = "rbxassetid://165710339"
- SpecialMesh81.Scale = Vector3.new(0.5, 0.5, 0.699999988)
- SpecialMesh81.TextureId = "http://www.roblox.com/asset/?id=338106795"
- SpecialMesh81.MeshType = Enum.MeshType.FileMesh
- Sound82.Name = "Jeff_Scene_Sound2"
- Sound82.Parent = Model0
- Sound82.Looped = true
- Sound82.Pitch = 1.1000000238419
- Sound82.PlaybackSpeed = 1.1000000238419
- Sound82.SoundId = "rbxassetid://552706328"
- ReverbSoundEffect83.Parent = Sound82
- Sound84.Name = "Jeff_Scene_Sound1"
- Sound84.Parent = Model0
- Sound84.Looped = true
- Sound84.SoundId = "rbxassetid://552706328"
- ReverbSoundEffect85.Parent = Sound84
- Part86.Name = "HumanoidRootPart"
- Part86.Parent = Model0
- Part86.CFrame = CFrame.new(46.7204323, 3.090271, 148.359116, -0.809626877, 0, 0.586944938, 0, 1, 0, -0.586944938, 0, -0.809626877)
- Part86.Orientation = Vector3.new(0, 144.059998, 0)
- Part86.Position = Vector3.new(46.7204323, 3.090271, 148.359116)
- Part86.Rotation = Vector3.new(-180, 35.9399986, -180)
- Part86.Transparency = 1
- Part86.Size = Vector3.new(2, 2, 1)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.CanCollide = false
- Part86.LeftParamA = 0
- Part86.LeftParamB = 0
- Part86.RightParamA = 0
- Part86.RightParamB = 0
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.FormFactor = Enum.FormFactor.Symmetric
- Part86.formFactor = Enum.FormFactor.Symmetric
- Motor6D87.Name = "RootJoint"
- Motor6D87.Parent = Part86
- Motor6D87.MaxVelocity = 0.10000000149012
- Motor6D87.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D87.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D87.Part0 = Part86
- Motor6D87.Part1 = Part8
- Motor6D87.part1 = Part8
- Script88.Name = "AnimateSauce"
- Script88.Parent = Model0
- table.insert(cors,sandbox(Script88,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))
- StringValue89.Name = "climb"
- StringValue89.Parent = Script88
- Animation90.Name = "ClimbAnim"
- Animation90.Parent = StringValue89
- Animation90.AnimationId = "http://www.roblox.com/asset/?id=180436334"
- StringValue91.Name = "fall"
- StringValue91.Parent = Script88
- Animation92.Name = "FallAnim"
- Animation92.Parent = StringValue91
- Animation92.AnimationId = "http://www.roblox.com/asset/?id=180436148"
- StringValue93.Name = "idle"
- StringValue93.Parent = Script88
- Animation94.Name = "Animation1"
- Animation94.Parent = StringValue93
- Animation94.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- NumberValue95.Name = "Weight"
- NumberValue95.Parent = Animation94
- NumberValue95.Value = 9
- Animation96.Name = "Animation2"
- Animation96.Parent = StringValue93
- Animation96.AnimationId = "http://www.roblox.com/asset/?id=180435792"
- NumberValue97.Name = "Weight"
- NumberValue97.Parent = Animation96
- NumberValue97.Value = 1
- StringValue98.Name = "jump"
- StringValue98.Parent = Script88
- Animation99.Name = "JumpAnim"
- Animation99.Parent = StringValue98
- Animation99.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue100.Name = "run"
- StringValue100.Parent = Script88
- Animation101.Name = "RunAnim"
- Animation101.Parent = StringValue100
- Animation101.AnimationId = "http://www.roblox.com/asset/?id=252557606"
- StringValue102.Name = "sit"
- StringValue102.Parent = Script88
- Animation103.Name = "SitAnim"
- Animation103.Parent = StringValue102
- Animation103.AnimationId = "http://www.roblox.com/asset/?id=178130996"
- StringValue104.Name = "toolnone"
- StringValue104.Parent = Script88
- Animation105.Name = "ToolNoneAnim"
- Animation105.Parent = StringValue104
- Animation105.AnimationId = "http://www.roblox.com/asset/?id=182393478"
- StringValue106.Name = "walk"
- StringValue106.Parent = Script88
- Animation107.Name = "WalkAnim"
- Animation107.Parent = StringValue106
- Animation107.AnimationId = "http://www.roblox.com/asset/?id=180426354"
- Humanoid108.Name = "ColdBloodedKiller"
- Humanoid108.Parent = Model0
- Humanoid108.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- Humanoid108.Health = 500
- Humanoid108.HealthDisplayDistance = 0
- Humanoid108.JumpPower = 60
- Humanoid108.LeftLeg = Part29
- Humanoid108.MaxHealth = 500
- Humanoid108.MaxSlopeAngle = 89.900001525879
- Humanoid108.NameDisplayDistance = 0
- Humanoid108.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
- Humanoid108.RightLeg = Part33
- Humanoid108.Torso = Part86
- Humanoid108.maxHealth = 500
- Model109.Name = "Status"
- Model109.Parent = Humanoid108
- Model110.Name = "AvalibleSpawns"
- Model110.Parent = Model109
- Script111.Name = "Health"
- Script111.Parent = Model0
- table.insert(cors,sandbox(Script111,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))
- Script112.Name = "JeffTheKillerMain"
- Script112.Parent = Model0
- table.insert(cors,sandbox(Script112,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))
- Script113.Name = "Respawn"
- Script113.Parent = Model0
- table.insert(cors,sandbox(Script113,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))
- Animation114.Name = "Swing"
- Animation114.Parent = Model0
- Animation114.AnimationId = "rbxassetid://54584713"
- CharacterMesh115.Parent = Model0
- CharacterMesh115.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh115.MeshId = 27111864
- CharacterMesh116.Parent = Model0
- CharacterMesh116.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh116.MeshId = 27111419
- Sound117.Name = "dajave"
- Sound117.Parent = Model0
- Sound117.Looped = true
- Sound117.SoundId = "rbxassetid://552706328"
- ReverbSoundEffect118.Parent = Sound117
- Script119.Name = "Follow"
- Script119.Parent = Model0
- table.insert(cors,sandbox(Script119,function()
- wait(0.4)
- while true do
- wait(3)
- Model0.Torso.CFrame = game.Players:findFirstChild(script.Name).Character.Shadow.CFrame*CFrame.new(Vector3.new(0, 3, 0))
- end
- end))
- 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