Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.64 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Part2 = Instance.new("Part")
  22. SpecialMesh3 = Instance.new("SpecialMesh")
  23. Sound4 = Instance.new("Sound")
  24. Sound5 = Instance.new("Sound")
  25. Sound6 = Instance.new("Sound")
  26. Decal7 = Instance.new("Decal")
  27. Weld8 = Instance.new("Weld")
  28. Weld9 = Instance.new("Weld")
  29. Part10 = Instance.new("Part")
  30. Decal11 = Instance.new("Decal")
  31. Motor6D12 = Instance.new("Motor6D")
  32. Motor6D13 = Instance.new("Motor6D")
  33. Motor6D14 = Instance.new("Motor6D")
  34. Motor6D15 = Instance.new("Motor6D")
  35. Motor6D16 = Instance.new("Motor6D")
  36. Part17 = Instance.new("Part")
  37. Part18 = Instance.new("Part")
  38. Weld19 = Instance.new("Weld")
  39. Part20 = Instance.new("Part")
  40. Part21 = Instance.new("Part")
  41. Humanoid22 = Instance.new("Humanoid")
  42. Model23 = Instance.new("Model")
  43. Model24 = Instance.new("Model")
  44. Part25 = Instance.new("Part")
  45. Motor6D26 = Instance.new("Motor6D")
  46. Script27 = Instance.new("Script")
  47. Script28 = Instance.new("Script")
  48. StringValue29 = Instance.new("StringValue")
  49. Animation30 = Instance.new("Animation")
  50. StringValue31 = Instance.new("StringValue")
  51. Animation32 = Instance.new("Animation")
  52. StringValue33 = Instance.new("StringValue")
  53. Animation34 = Instance.new("Animation")
  54. NumberValue35 = Instance.new("NumberValue")
  55. Animation36 = Instance.new("Animation")
  56. NumberValue37 = Instance.new("NumberValue")
  57. StringValue38 = Instance.new("StringValue")
  58. Animation39 = Instance.new("Animation")
  59. StringValue40 = Instance.new("StringValue")
  60. Animation41 = Instance.new("Animation")
  61. StringValue42 = Instance.new("StringValue")
  62. Animation43 = Instance.new("Animation")
  63. StringValue44 = Instance.new("StringValue")
  64. Animation45 = Instance.new("Animation")
  65. StringValue46 = Instance.new("StringValue")
  66. Animation47 = Instance.new("Animation")
  67. Animation48 = Instance.new("Animation")
  68. Script49 = Instance.new("Script")
  69. BodyColors50 = Instance.new("BodyColors")
  70. Part51 = Instance.new("Part")
  71. Sound52 = Instance.new("Sound")
  72. Sound53 = Instance.new("Sound")
  73. Sound54 = Instance.new("Sound")
  74. Sound55 = Instance.new("Sound")
  75. SpecialMesh56 = Instance.new("SpecialMesh")
  76. Script57 = Instance.new("Script")
  77. Sound58 = Instance.new("Sound")
  78. Script59 = Instance.new("Script")
  79. Accessory60 = Instance.new("Accessory")
  80. Part61 = Instance.new("Part")
  81. SpecialMesh62 = Instance.new("SpecialMesh")
  82. Attachment63 = Instance.new("Attachment")
  83. Pants64 = Instance.new("Pants")
  84. Shirt65 = Instance.new("Shirt")
  85. Accessory66 = Instance.new("Accessory")
  86. Part67 = Instance.new("Part")
  87. SpecialMesh68 = Instance.new("SpecialMesh")
  88. Attachment69 = Instance.new("Attachment")
  89. Model0.Name = "Killer Clown"
  90. Model0.Parent = mas
  91. Model1.Name = "Clown"
  92. Model1.Parent = Model0
  93. Model1.PrimaryPart = Part2
  94. Part2.Name = "Head"
  95. Part2.Parent = Model1
  96. Part2.Material = Enum.Material.SmoothPlastic
  97. Part2.BrickColor = BrickColor.new("Institutional white")
  98. Part2.CanCollide = false
  99. Part2.Elasticity = 0
  100. Part2.FormFactor = Enum.FormFactor.Symmetric
  101. Part2.Friction = 0
  102. Part2.Size = Vector3.new(2, 1, 1)
  103. Part2.CFrame = CFrame.new(-12.4995098, 4.50002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  104. Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  105. Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  106. Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  107. Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  108. Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  109. Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  110. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  111. Part2.Position = Vector3.new(-12.4995098, 4.50002193, 14.47995)
  112. Part2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  113. SpecialMesh3.Parent = Part2
  114. SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
  115. SpecialMesh3.Scale = Vector3.new(1.25, 1.25, 1.25)
  116. Sound4.Name = "Jeff_Step"
  117. Sound4.Parent = Part2
  118. Sound4.SoundId = "rbxassetid://379611235"
  119. Sound4.Volume = 1
  120. Sound5.Name = "Jeff_Laugh"
  121. Sound5.Parent = Part2
  122. Sound5.SoundId = "rbxassetid://139455448"
  123. Sound5.Volume = 1
  124. Sound5.Looped = true
  125. Sound6.Name = "Jeff_Susto2"
  126. Sound6.Parent = Part2
  127. Sound6.SoundId = "rbxassetid://275467912"
  128. Sound6.Volume = 1
  129. Sound6.Looped = true
  130. Decal7.Parent = Part2
  131. Decal7.Texture = "http://www.roblox.com/asset/?id=144873321"
  132. Weld8.Name = "HeadWeld"
  133. Weld8.Parent = Part2
  134. Weld8.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  135. Weld8.C1 = CFrame.new(0, 0.5, 0.600000024, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  136. Weld8.Part0 = Part2
  137. Weld8.Part1 = Part61
  138. Weld9.Name = "HeadWeld"
  139. Weld9.Parent = Part2
  140. Weld9.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  141. Weld9.C1 = CFrame.new(0, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  142. Weld9.Part0 = Part2
  143. Weld9.Part1 = Part67
  144. Part10.Name = "Torso"
  145. Part10.Parent = Model1
  146. Part10.Material = Enum.Material.SmoothPlastic
  147. Part10.BrickColor = BrickColor.new("Institutional white")
  148. Part10.CanCollide = false
  149. Part10.Elasticity = 0
  150. Part10.FormFactor = Enum.FormFactor.Symmetric
  151. Part10.Friction = 2
  152. Part10.Size = Vector3.new(2, 2, 1)
  153. Part10.CFrame = CFrame.new(-12.4995098, 3.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  154. Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  155. Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  156. Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  157. Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  158. Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  159. Part10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  160. Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  161. Part10.Position = Vector3.new(-12.4995098, 3.00002193, 14.47995)
  162. Part10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  163. Decal11.Name = "roblox"
  164. Decal11.Parent = Part10
  165. Motor6D12.Name = "Right Shoulder"
  166. Motor6D12.Parent = Part10
  167. Motor6D12.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  168. Motor6D12.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  169. Motor6D12.Part0 = Part10
  170. Motor6D12.Part1 = Part18
  171. Motor6D12.MaxVelocity = 0.10000000149012
  172. Motor6D13.Name = "Left Shoulder"
  173. Motor6D13.Parent = Part10
  174. Motor6D13.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  175. Motor6D13.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  176. Motor6D13.Part0 = Part10
  177. Motor6D13.Part1 = Part17
  178. Motor6D13.MaxVelocity = 0.10000000149012
  179. Motor6D14.Name = "Right Hip"
  180. Motor6D14.Parent = Part10
  181. Motor6D14.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  182. Motor6D14.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  183. Motor6D14.Part0 = Part10
  184. Motor6D14.Part1 = Part21
  185. Motor6D14.MaxVelocity = 0.10000000149012
  186. Motor6D15.Name = "Left Hip"
  187. Motor6D15.Parent = Part10
  188. Motor6D15.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  189. Motor6D15.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  190. Motor6D15.Part0 = Part10
  191. Motor6D15.Part1 = Part20
  192. Motor6D15.MaxVelocity = 0.10000000149012
  193. Motor6D16.Name = "Neck"
  194. Motor6D16.Parent = Part10
  195. Motor6D16.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  196. Motor6D16.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  197. Motor6D16.Part0 = Part10
  198. Motor6D16.Part1 = Part2
  199. Motor6D16.MaxVelocity = 0.10000000149012
  200. Part17.Name = "Left Arm"
  201. Part17.Parent = Model1
  202. Part17.Material = Enum.Material.SmoothPlastic
  203. Part17.BrickColor = BrickColor.new("Institutional white")
  204. Part17.CanCollide = false
  205. Part17.Elasticity = 0
  206. Part17.FormFactor = Enum.FormFactor.Symmetric
  207. Part17.Friction = 2
  208. Part17.Size = Vector3.new(1, 2, 1)
  209. Part17.CFrame = CFrame.new(-13.9995098, 3.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  210. Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  211. Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  212. Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  213. Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  214. Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  215. Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  216. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  217. Part17.Position = Vector3.new(-13.9995098, 3.00002193, 14.47995)
  218. Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  219. Part18.Name = "Right Arm"
  220. Part18.Parent = Model1
  221. Part18.Material = Enum.Material.SmoothPlastic
  222. Part18.BrickColor = BrickColor.new("Institutional white")
  223. Part18.CanCollide = false
  224. Part18.Elasticity = 0
  225. Part18.FormFactor = Enum.FormFactor.Symmetric
  226. Part18.Friction = 2
  227. Part18.Size = Vector3.new(1, 2, 1)
  228. Part18.CFrame = CFrame.new(-10.9995098, 3.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  229. Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  230. Part18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  231. Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  232. Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  233. Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  234. Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  235. Part18.Color = Color3.new(0.972549, 0.972549, 0.972549)
  236. Part18.Position = Vector3.new(-10.9995098, 3.00002193, 14.47995)
  237. Part18.Color = Color3.new(0.972549, 0.972549, 0.972549)
  238. Weld19.Name = "RightGripWeld"
  239. Weld19.Parent = Part18
  240. Weld19.C0 = CFrame.new(-1.29999995, 1.16840947, 0.750634551, 1, 0, 0, 0, 0.968409479, 0.249365434, 0, -0.249365434, 0.968409479)
  241. Weld19.C1 = CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  242. Weld19.Part0 = Part51
  243. Weld19.Part1 = Part18
  244. Part20.Name = "Left Leg"
  245. Part20.Parent = Model1
  246. Part20.Material = Enum.Material.SmoothPlastic
  247. Part20.BrickColor = BrickColor.new("Really black")
  248. Part20.CanCollide = false
  249. Part20.Elasticity = 0
  250. Part20.FormFactor = Enum.FormFactor.Symmetric
  251. Part20.Friction = 2
  252. Part20.Size = Vector3.new(1, 2, 1)
  253. Part20.CFrame = CFrame.new(-12.9995098, 1.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  254. Part20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  255. Part20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  256. Part20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  257. Part20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  258. Part20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  259. Part20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  260. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  261. Part20.Position = Vector3.new(-12.9995098, 1.00002193, 14.47995)
  262. Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  263. Part21.Name = "Right Leg"
  264. Part21.Parent = Model1
  265. Part21.Material = Enum.Material.SmoothPlastic
  266. Part21.BrickColor = BrickColor.new("Really black")
  267. Part21.CanCollide = false
  268. Part21.Elasticity = 0
  269. Part21.FormFactor = Enum.FormFactor.Symmetric
  270. Part21.Friction = 2
  271. Part21.Size = Vector3.new(1, 2, 1)
  272. Part21.CFrame = CFrame.new(-11.9995098, 1.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  273. Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  274. Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  275. Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  276. Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  277. Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  278. Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  279. Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  280. Part21.Position = Vector3.new(-11.9995098, 1.00002193, 14.47995)
  281. Part21.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  282. Humanoid22.Name = "ColdBloodedKiller"
  283. Humanoid22.Parent = Model1
  284. Humanoid22.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  285. Humanoid22.HealthDisplayDistance = 0
  286. Humanoid22.NameDisplayDistance = 0
  287. Humanoid22.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
  288. Humanoid22.RightLeg = Part21
  289. Humanoid22.LeftLeg = Part20
  290. Humanoid22.Torso = Part25
  291. Humanoid22.Health = 500
  292. Humanoid22.MaxHealth = 500
  293. Model23.Name = "Status"
  294. Model23.Parent = Humanoid22
  295. Model24.Name = "AvalibleSpawns"
  296. Model24.Parent = Model23
  297. Part25.Name = "HumanoidRootPart"
  298. Part25.Parent = Model1
  299. Part25.Material = Enum.Material.SmoothPlastic
  300. Part25.BrickColor = BrickColor.new("Bright blue")
  301. Part25.Transparency = 1
  302. Part25.CanCollide = false
  303. Part25.Elasticity = 0
  304. Part25.FormFactor = Enum.FormFactor.Symmetric
  305. Part25.Friction = 0
  306. Part25.Size = Vector3.new(2, 2, 1)
  307. Part25.CFrame = CFrame.new(-12.4995098, 3.00002193, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  308. Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  309. Part25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  310. Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  311. Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  312. Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  313. Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  314. Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  315. Part25.Position = Vector3.new(-12.4995098, 3.00002193, 14.47995)
  316. Part25.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  317. Motor6D26.Name = "RootJoint"
  318. Motor6D26.Parent = Part25
  319. Motor6D26.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  320. Motor6D26.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  321. Motor6D26.Part0 = Part25
  322. Motor6D26.Part1 = Part10
  323. Motor6D26.MaxVelocity = 0.10000000149012
  324. Script27.Name = "Health"
  325. Script27.Parent = Model1
  326. table.insert(cors,sandbox(Script27,function()
  327. --Responsible for regening a player's humanoid's health
  328.  
  329. -- declarations
  330. local Figure = script.Parent
  331. local Head = Figure:WaitForChild("Head")
  332. local Humanoid;
  333. for _,Child in pairs(Figure:GetChildren())do
  334. if Child and Child.ClassName=="Humanoid"then
  335. Humanoid=Child;
  336. end;
  337. end;
  338. local regening = false
  339.  
  340. -- regeneration
  341. function regenHealth()
  342. if regening then return end
  343. regening = true
  344.  
  345. while Humanoid.Health < Humanoid.MaxHealth do
  346. local s = wait(1)
  347. local health = Humanoid.Health
  348. if health~=0 and health < Humanoid.MaxHealth then
  349. local newHealthDelta = 0.01 * s * Humanoid.MaxHealth
  350. health = health + newHealthDelta
  351. Humanoid.Health = math.min(health,Humanoid.MaxHealth)
  352. end
  353. end
  354.  
  355. if Humanoid.Health > Humanoid.MaxHealth then
  356. Humanoid.Health = Humanoid.MaxHealth
  357. end
  358.  
  359. regening = false
  360. end
  361.  
  362. Humanoid.HealthChanged:connect(regenHealth)
  363.  
  364. end))
  365. Script28.Name = "AnimateSauce"
  366. Script28.Parent = Model1
  367. table.insert(cors,sandbox(Script28,function()
  368. function waitForChild(parent, childName)
  369. local child = parent:findFirstChild(childName)
  370. if child then return child end
  371. while true do
  372. child = parent.ChildAdded:wait()
  373. if child.Name==childName then return child end
  374. end
  375. end
  376. local Figure = script.Parent
  377. local Torso = waitForChild(Figure, "Torso")
  378. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  379. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  380. local RightHip = waitForChild(Torso, "Right Hip")
  381. local LeftHip = waitForChild(Torso, "Left Hip")
  382. local Neck = waitForChild(Torso, "Neck")
  383. local Humanoid;
  384. for _,Child in pairs(Figure:GetChildren())do
  385. if Child and Child.ClassName=="Humanoid"then
  386. Humanoid=Child;
  387. end;
  388. end;
  389. local pose = "Standing"
  390. local currentAnim = ""
  391. local currentAnimInstance = nil
  392. local currentAnimTrack = nil
  393. local currentAnimKeyframeHandler = nil
  394. local currentAnimSpeed = 1.0
  395. local animTable = {}
  396. local animNames = {
  397. idle = {
  398. { id = "http://www.roblox.com/asset/?id=180435571", weight = 9 },
  399. { id = "http://www.roblox.com/asset/?id=180435792", weight = 1 }
  400. },
  401. walk = {
  402. { id = "http://www.roblox.com/asset/?id=579934862", weight = 10 }
  403. },
  404. run = {
  405. { id = "http://www.roblox.com/asset/?id=579934862", weight = 20 }
  406. },
  407. jump = {
  408. { id = "http://www.roblox.com/asset/?id=423921247", weight = 10 }
  409. },
  410. fall = {
  411. { id = "http://www.roblox.com/asset/?id=180436148", weight = 10 }
  412. },
  413. climb = {
  414. { id = "http://www.roblox.com/asset/?id=180436334", weight = 10 }
  415. },
  416. sit = {
  417. { id = "http://www.roblox.com/asset/?id=178130996", weight = 10 }
  418. },
  419. toolnone = {
  420. { id = "http://www.roblox.com/asset/?id=182393478", weight = 10 }
  421. },
  422. toolslash = {
  423. { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
  424. --{ id = "slash.xml", weight = 10 }
  425. },
  426. toollunge = {
  427. { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
  428. },
  429. wave = {
  430. { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
  431. },
  432. point = {
  433. { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
  434. },
  435. dance1 = {
  436. { id = "http://www.roblox.com/asset/?id=182435998", weight = 10 },
  437. { id = "http://www.roblox.com/asset/?id=182491037", weight = 10 },
  438. { id = "http://www.roblox.com/asset/?id=182491065", weight = 10 }
  439. },
  440. dance2 = {
  441. { id = "http://www.roblox.com/asset/?id=182436842", weight = 10 },
  442. { id = "http://www.roblox.com/asset/?id=182491248", weight = 10 },
  443. { id = "http://www.roblox.com/asset/?id=182491277", weight = 10 }
  444. },
  445. dance3 = {
  446. { id = "http://www.roblox.com/asset/?id=182436935", weight = 10 },
  447. { id = "http://www.roblox.com/asset/?id=182491368", weight = 10 },
  448. { id = "http://www.roblox.com/asset/?id=182491423", weight = 10 }
  449. },
  450. laugh = {
  451. { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
  452. },
  453. cheer = {
  454. { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
  455. },
  456. }
  457. local dances = {"dance1", "dance2", "dance3"}
  458.  
  459. -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
  460. local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
  461.  
  462. function configureAnimationSet(name, fileList)
  463. if (animTable[name] ~= nil) then
  464. for _, connection in pairs(animTable[name].connections) do
  465. connection:disconnect()
  466. end
  467. end
  468. animTable[name] = {}
  469. animTable[name].count = 0
  470. animTable[name].totalWeight = 0
  471. animTable[name].connections = {}
  472.  
  473. -- check for config values
  474. local config = script:FindFirstChild(name)
  475. if (config ~= nil) then
  476. --print("Loading anims " .. name)
  477. table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
  478. table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
  479. local idx = 1
  480. for _, childPart in pairs(config:GetChildren()) do
  481. if (childPart:IsA("Animation")) then
  482. table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
  483. animTable[name][idx] = {}
  484. animTable[name][idx].anim = childPart
  485. local weightObject = childPart:FindFirstChild("Weight")
  486. if (weightObject == nil) then
  487. animTable[name][idx].weight = 1
  488. else
  489. animTable[name][idx].weight = weightObject.Value
  490. end
  491. animTable[name].count = animTable[name].count + 1
  492. animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
  493. --print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
  494. idx = idx + 1
  495. end
  496. end
  497. end
  498.  
  499. -- fallback to defaults
  500. if (animTable[name].count <= 0) then
  501. for idx, anim in pairs(fileList) do
  502. animTable[name][idx] = {}
  503. animTable[name][idx].anim = Instance.new("Animation")
  504. animTable[name][idx].anim.Name = name
  505. animTable[name][idx].anim.AnimationId = anim.id
  506. animTable[name][idx].weight = anim.weight
  507. animTable[name].count = animTable[name].count + 1
  508. animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
  509. --print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
  510. end
  511. end
  512. end
  513.  
  514. -- Setup animation objects
  515. function scriptChildModified(child)
  516. local fileList = animNames[child.Name]
  517. if (fileList ~= nil) then
  518. configureAnimationSet(child.Name, fileList)
  519. end
  520. end
  521.  
  522. script.ChildAdded:connect(scriptChildModified)
  523. script.ChildRemoved:connect(scriptChildModified)
  524.  
  525.  
  526. for name, fileList in pairs(animNames) do
  527. configureAnimationSet(name, fileList)
  528. end
  529.  
  530. -- ANIMATION
  531.  
  532. -- declarations
  533. local toolAnim = "None"
  534. local toolAnimTime = 0
  535.  
  536. local jumpAnimTime = 0
  537. local jumpAnimDuration = 0.3
  538.  
  539. local toolTransitionTime = 0.1
  540. local fallTransitionTime = 0.3
  541. local jumpMaxLimbVelocity = 0.75
  542.  
  543. -- functions
  544.  
  545. function stopAllAnimations()
  546. local oldAnim = currentAnim
  547.  
  548. -- return to idle if finishing an emote
  549. if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
  550. oldAnim = "idle"
  551. end
  552.  
  553. currentAnim = ""
  554. currentAnimInstance = nil
  555. if (currentAnimKeyframeHandler ~= nil) then
  556. currentAnimKeyframeHandler:disconnect()
  557. end
  558.  
  559. if (currentAnimTrack ~= nil) then
  560. currentAnimTrack:Stop()
  561. currentAnimTrack:Destroy()
  562. currentAnimTrack = nil
  563. end
  564. return oldAnim
  565. end
  566.  
  567. function setAnimationSpeed(speed)
  568. if speed ~= currentAnimSpeed then
  569. currentAnimSpeed = speed
  570. currentAnimTrack:AdjustSpeed(currentAnimSpeed)
  571. end
  572. end
  573.  
  574. function keyFrameReachedFunc(frameName)
  575. if (frameName == "End") then
  576.  
  577. local repeatAnim = currentAnim
  578. -- return to idle if finishing an emote
  579. if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] == false) then
  580. repeatAnim = "idle"
  581. end
  582.  
  583. local animSpeed = currentAnimSpeed
  584. playAnimation(repeatAnim, 0.0, Humanoid)
  585. setAnimationSpeed(animSpeed)
  586. end
  587. end
  588.  
  589. -- Preload animations
  590. function playAnimation(animName, transitionTime, humanoid)
  591.  
  592. local roll = math.random(1, animTable[animName].totalWeight)
  593. local origRoll = roll
  594. local idx = 1
  595. while (roll > animTable[animName][idx].weight) do
  596. roll = roll - animTable[animName][idx].weight
  597. idx = idx + 1
  598. end
  599. --print(animName .. " " .. idx .. " [" .. origRoll .. "]")
  600. local anim = animTable[animName][idx].anim
  601. -- switch animation
  602. if (anim ~= currentAnimInstance) then
  603. if (currentAnimTrack ~= nil) then
  604. currentAnimTrack:Stop(transitionTime)
  605. currentAnimTrack:Destroy()
  606. end
  607. currentAnimSpeed = 1.0
  608. -- load it to the humanoid; get AnimationTrack
  609. currentAnimTrack = humanoid:LoadAnimation(anim)
  610. -- play the animation
  611. currentAnimTrack:Play(transitionTime)
  612. currentAnim = animName
  613. currentAnimInstance = anim
  614. -- set up keyframe name triggers
  615. if (currentAnimKeyframeHandler ~= nil) then
  616. currentAnimKeyframeHandler:disconnect()
  617. end
  618. currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
  619. end
  620. end
  621. -------------------------------------------------------------------------------------------
  622. -------------------------------------------------------------------------------------------
  623. local toolAnimName = ""
  624. local toolAnimTrack = nil
  625. local toolAnimInstance = nil
  626. local currentToolAnimKeyframeHandler = nil
  627. function toolKeyFrameReachedFunc(frameName)
  628. if (frameName == "End") then
  629. --print("Keyframe : ".. frameName)
  630. playToolAnimation(toolAnimName, 0.0, Humanoid)
  631. end
  632. end
  633. function playToolAnimation(animName, transitionTime, humanoid)
  634. local roll = math.random(1, animTable[animName].totalWeight)
  635. local origRoll = roll
  636. local idx = 1
  637. while (roll > animTable[animName][idx].weight) do
  638. roll = roll - animTable[animName][idx].weight
  639. idx = idx + 1
  640. end
  641. --print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
  642. local anim = animTable[animName][idx].anim
  643. if (toolAnimInstance ~= anim) then
  644. if (toolAnimTrack ~= nil) then
  645. toolAnimTrack:Stop()
  646. toolAnimTrack:Destroy()
  647. transitionTime = 0
  648. end
  649. -- load it to the humanoid; get AnimationTrack
  650. toolAnimTrack = humanoid:LoadAnimation(anim)
  651. -- play the animation
  652. toolAnimTrack:Play(transitionTime)
  653. toolAnimName = animName
  654. toolAnimInstance = anim
  655. currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
  656. end
  657. end
  658. function stopToolAnimations()
  659. local oldAnim = toolAnimName
  660. if (currentToolAnimKeyframeHandler ~= nil) then
  661. currentToolAnimKeyframeHandler:disconnect()
  662. end
  663. toolAnimName = ""
  664. toolAnimInstance = nil
  665. if (toolAnimTrack ~= nil) then
  666. toolAnimTrack:Stop()
  667. toolAnimTrack:Destroy()
  668. toolAnimTrack = nil
  669. end
  670. return oldAnim
  671. end
  672. -------------------------------------------------------------------------------------------
  673. -------------------------------------------------------------------------------------------
  674. function onRunning(speed)
  675. if speed>0.01 then
  676. if Figure and Humanoid and Humanoid.WalkSpeed<17 then
  677. playAnimation("walk", 0.1, Humanoid);
  678. elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
  679. playAnimation("run", 0.1, Humanoid);
  680. end;
  681. if currentAnimInstance and currentAnimInstance.AnimationId == "http://www.roblox.com/asset/?id=180426354" then
  682. setAnimationSpeed(speed / 14.5)
  683. end
  684. pose = "Running"
  685. else
  686. playAnimation("idle", 0.1, Humanoid)
  687. pose = "Standing"
  688. end
  689. end
  690. function onDied()
  691. pose = "Dead"
  692. end
  693. function onJumping()
  694. playAnimation("jump", 0.1, Humanoid)
  695. jumpAnimTime = jumpAnimDuration
  696. pose = "Jumping"
  697. end
  698. function onClimbing(speed)
  699. playAnimation("climb", 0.1, Humanoid)
  700. setAnimationSpeed(speed / 12.0)
  701. pose = "Climbing"
  702. end
  703. function onGettingUp()
  704. pose = "GettingUp"
  705. end
  706. function onFreeFall()
  707. if (jumpAnimTime <= 0) then
  708. playAnimation("fall", fallTransitionTime, Humanoid)
  709. end
  710. pose = "FreeFall"
  711. end
  712. function onFallingDown()
  713. pose = "FallingDown"
  714. end
  715. function onSeated()
  716. pose = "Seated"
  717. end
  718. function onPlatformStanding()
  719. pose = "PlatformStanding"
  720. end
  721. function onSwimming(speed)
  722. if speed>0 then
  723. pose = "Running"
  724. else
  725. pose = "Standing"
  726. end
  727. end
  728.  
  729. function getTool()
  730. for _, kid in ipairs(Figure:GetChildren()) do
  731. if kid.className == "Tool" then return kid end
  732. end
  733. return nil
  734. end
  735.  
  736. function getToolAnim(tool)
  737. for _, c in ipairs(tool:GetChildren()) do
  738. if c.Name == "toolanim" and c.className == "StringValue" then
  739. return c
  740. end
  741. end
  742. return nil
  743. end
  744.  
  745. function animateTool()
  746.  
  747. if (toolAnim == "None") then
  748. playToolAnimation("toolnone", toolTransitionTime, Humanoid)
  749. return
  750. end
  751.  
  752. if (toolAnim == "Slash") then
  753. playToolAnimation("toolslash", 0, Humanoid)
  754. return
  755. end
  756.  
  757. if (toolAnim == "Lunge") then
  758. playToolAnimation("toollunge", 0, Humanoid)
  759. return
  760. end
  761. end
  762.  
  763. function moveSit()
  764. RightShoulder.MaxVelocity = 0.15
  765. LeftShoulder.MaxVelocity = 0.15
  766. RightShoulder:SetDesiredAngle(3.14 /2)
  767. LeftShoulder:SetDesiredAngle(-3.14 /2)
  768. RightHip:SetDesiredAngle(3.14 /2)
  769. LeftHip:SetDesiredAngle(-3.14 /2)
  770. end
  771.  
  772. local lastTick = 0
  773.  
  774. function move(time)
  775. local amplitude = 1
  776. local frequency = 1
  777. local deltaTime = time - lastTick
  778. lastTick = time
  779.  
  780. local climbFudge = 0
  781. local setAngles = false
  782.  
  783. if (jumpAnimTime > 0) then
  784. jumpAnimTime = jumpAnimTime - deltaTime
  785. end
  786.  
  787. if (pose == "FreeFall" and jumpAnimTime <= 0) then
  788. playAnimation("fall", fallTransitionTime, Humanoid)
  789. elseif (pose == "Seated") then
  790. playAnimation("sit", 0.5, Humanoid)
  791. return
  792. elseif (pose == "Running") then
  793. if Figure and Humanoid and Humanoid.WalkSpeed<17 then
  794. playAnimation("walk", 0.1, Humanoid);
  795. elseif Figure and Humanoid and Humanoid.WalkSpeed>17 then
  796. playAnimation("run", 0.1, Humanoid);
  797. end;
  798. elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
  799. stopAllAnimations()
  800. amplitude = 0.1
  801. frequency = 1
  802. setAngles = true
  803. end
  804. if (setAngles) then
  805. local desiredAngle = amplitude * math.sin(time * frequency)
  806. RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
  807. LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
  808. RightHip:SetDesiredAngle(-desiredAngle)
  809. LeftHip:SetDesiredAngle(-desiredAngle)
  810. end
  811. -- Tool Animation handling
  812. local tool = getTool()
  813. if tool and tool:FindFirstChild("Handle") then
  814. local animStringValueObject = getToolAnim(tool)
  815. if animStringValueObject then
  816. toolAnim = animStringValueObject.Value
  817. -- message recieved, delete StringValue
  818. animStringValueObject.Parent = nil
  819. toolAnimTime = time + .3
  820. end
  821. if time > toolAnimTime then
  822. toolAnimTime = 0
  823. toolAnim = "None"
  824. end
  825. animateTool()
  826. else
  827. stopToolAnimations()
  828. toolAnim = "None"
  829. toolAnimInstance = nil
  830. toolAnimTime = 0
  831. end
  832. end
  833. -- connect events
  834. Humanoid.Died:connect(onDied)
  835. Humanoid.Running:connect(onRunning)
  836. Humanoid.Jumping:connect(onJumping)
  837. Humanoid.Climbing:connect(onClimbing)
  838. Humanoid.GettingUp:connect(onGettingUp)
  839. Humanoid.FreeFalling:connect(onFreeFall)
  840. Humanoid.FallingDown:connect(onFallingDown)
  841. Humanoid.Seated:connect(onSeated)
  842. Humanoid.PlatformStanding:connect(onPlatformStanding)
  843. Humanoid.Swimming:connect(onSwimming)
  844. local runService = game:GetService("RunService");
  845. playAnimation("idle", 0.1, Humanoid)
  846. pose = "Standing"
  847. while Wait(0)do
  848. local _,time=wait(0)
  849. move(time)
  850. end
  851. end))
  852. StringValue29.Name = "climb"
  853. StringValue29.Parent = Script28
  854. Animation30.Name = "ClimbAnim"
  855. Animation30.Parent = StringValue29
  856. Animation30.AnimationId = "http://www.roblox.com/asset/?id=180436334"
  857. StringValue31.Name = "fall"
  858. StringValue31.Parent = Script28
  859. Animation32.Name = "FallAnim"
  860. Animation32.Parent = StringValue31
  861. Animation32.AnimationId = "http://www.roblox.com/asset/?id=180436148"
  862. StringValue33.Name = "idle"
  863. StringValue33.Parent = Script28
  864. Animation34.Name = "Animation1"
  865. Animation34.Parent = StringValue33
  866. Animation34.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  867. NumberValue35.Name = "Weight"
  868. NumberValue35.Parent = Animation34
  869. NumberValue35.Value = 9
  870. Animation36.Name = "Animation2"
  871. Animation36.Parent = StringValue33
  872. Animation36.AnimationId = "http://www.roblox.com/asset/?id=180435792"
  873. NumberValue37.Name = "Weight"
  874. NumberValue37.Parent = Animation36
  875. NumberValue37.Value = 1
  876. StringValue38.Name = "jump"
  877. StringValue38.Parent = Script28
  878. Animation39.Name = "JumpAnim"
  879. Animation39.Parent = StringValue38
  880. Animation39.AnimationId = "http://www.roblox.com/asset/?id=423921247"
  881. StringValue40.Name = "run"
  882. StringValue40.Parent = Script28
  883. Animation41.Name = "RunAnim"
  884. Animation41.Parent = StringValue40
  885. Animation41.AnimationId = "http://www.roblox.com/asset/?id=579934862"
  886. StringValue42.Name = "sit"
  887. StringValue42.Parent = Script28
  888. Animation43.Name = "SitAnim"
  889. Animation43.Parent = StringValue42
  890. Animation43.AnimationId = "http://www.roblox.com/asset/?id=178130996"
  891. StringValue44.Name = "toolnone"
  892. StringValue44.Parent = Script28
  893. Animation45.Name = "ToolNoneAnim"
  894. Animation45.Parent = StringValue44
  895. Animation45.AnimationId = "http://www.roblox.com/asset/?id=182393478"
  896. StringValue46.Name = "walk"
  897. StringValue46.Parent = Script28
  898. Animation47.Name = "WalkAnim"
  899. Animation47.Parent = StringValue46
  900. Animation47.AnimationId = "http://www.roblox.com/asset/?id=579934862"
  901. Animation48.Name = "Swing"
  902. Animation48.Parent = Model1
  903. Animation48.AnimationId = "rbxassetid://579931435"
  904. Script49.Name = "JeffTheKillerMain"
  905. Script49.Parent = Model1
  906. table.insert(cors,sandbox(Script49,function()
  907. --[[ By: Brutez. ]]--
  908. local JeffTheKillerScript=script;
  909. repeat Wait(0)until JeffTheKillerScript and JeffTheKillerScript.Parent and JeffTheKillerScript.Parent.ClassName=="Model"and JeffTheKillerScript.Parent:FindFirstChild("Head")and JeffTheKillerScript.Parent:FindFirstChild("Torso");
  910. local JeffTheKiller=JeffTheKillerScript.Parent;
  911. function raycast(Spos,vec,currentdist)
  912. local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),JeffTheKiller);
  913. if hit2~=nil and pos2 then
  914. if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
  915. local currentdist=currentdist-(pos2-Spos).magnitude;
  916. return raycast(pos2,vec,currentdist);
  917. end;
  918. end;
  919. return hit2,pos2;
  920. end;
  921. function RayCast(Position,Direction,MaxDistance,IgnoreList)
  922. return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
  923. end;
  924. --[[if JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then]]--
  925. --[[JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();]]--
  926. --[[end;]]--
  927. local JeffTheKillerHumanoid;
  928. for _,Child in pairs(JeffTheKiller:GetChildren())do
  929. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  930. JeffTheKillerHumanoid=Child;
  931. end;
  932. end;
  933. local AttackDebounce=false;
  934. local JeffTheKillerKnife=JeffTheKiller:FindFirstChild("Knife");
  935. local JeffTheKillerHead=JeffTheKiller:FindFirstChild("Head");
  936. local JeffTheKillerHumanoidRootPart=JeffTheKiller:FindFirstChild("HumanoidRootPart");
  937. local WalkDebounce=false;
  938. local Notice=false;
  939. local JeffLaughDebounce=false;
  940. local MusicDebounce=false;
  941. local NoticeDebounce=false;
  942. local ChosenMusic;
  943. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
  944. local OriginalC0=JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0;
  945. function FindNearestBae()
  946. local NoticeDistance=158;
  947. local TargetMain;
  948. for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
  949. 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
  950. local TargetPart=TargetModel:FindFirstChild("Torso");
  951. local FoundHumanoid;
  952. for _,Child in pairs(TargetModel:GetChildren())do
  953. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  954. FoundHumanoid=Child;
  955. end;
  956. end;
  957. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<NoticeDistance then
  958. TargetMain=TargetPart;
  959. NoticeDistance=(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude;
  960. local hit,pos=raycast(JeffTheKillerHumanoidRootPart.Position,(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).unit,500)
  961. if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
  962. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<9 and not AttackDebounce then
  963. Spawn(function()
  964. AttackDebounce=true;
  965. local SwingAnimation=JeffTheKillerHumanoid:LoadAnimation(JeffTheKiller:FindFirstChild("Swing"));
  966. local SwingChoice=math.random(1,2);
  967. local HitChoice=math.random(1,3);
  968. SwingAnimation:Play();
  969. SwingAnimation:AdjustSpeed(1.5+(math.random()*0.1));
  970. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Swing")then
  971. local SwingSound=JeffTheKillerKnife:FindFirstChild("Swing");
  972. SwingSound.Pitch=1+(math.random()*0.04);
  973. SwingSound:Play();
  974. end;
  975. Wait(0.3);
  976. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<8 then
  977. FoundHumanoid:TakeDamage(37);
  978. if HitChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit1")then
  979. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit1");
  980. HitSound.Pitch=1+(math.random()*0.04);
  981. HitSound:Play();
  982. elseif HitChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit2")then
  983. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit2");
  984. HitSound.Pitch=1+(math.random()*0.04);
  985. HitSound:Play();
  986. elseif HitChoice==3 and JeffTheKillerScript and JeffTheKiller and JeffTheKillerKnife and JeffTheKillerKnife:FindFirstChild("Hit3")then
  987. local HitSound=JeffTheKillerKnife:FindFirstChild("Hit3");
  988. HitSound.Pitch=1+(math.random()*0.04);
  989. HitSound:Play();
  990. end;
  991. end;
  992. Wait(0.1);
  993. AttackDebounce=false;
  994. end);
  995. end;
  996. end;
  997. end;
  998. end;
  999. end;
  1000. return TargetMain;
  1001. end;
  1002. while Wait(0)do
  1003. local TargetPoint=JeffTheKillerHumanoid.TargetPoint;
  1004. 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})
  1005. local Jumpable=false;
  1006. if Blockage then
  1007. Jumpable=true;
  1008. if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
  1009. local BlockageHumanoid;
  1010. for _,Child in pairs(Blockage.Parent:GetChildren())do
  1011. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  1012. BlockageHumanoid=Child;
  1013. end;
  1014. end;
  1015. if Blockage and Blockage:IsA("Terrain")then
  1016. local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
  1017. local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
  1018. if CellMaterial==Enum.CellMaterial.Water then
  1019. Jumpable=false;
  1020. end;
  1021. 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
  1022. Jumpable=false;
  1023. end;
  1024. end;
  1025. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and not JeffTheKillerHumanoid.Sit and Jumpable then
  1026. JeffTheKillerHumanoid.Jump=true;
  1027. end;
  1028. end;
  1029. 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
  1030. Spawn(function()
  1031. WalkDebounce=true;
  1032. local FiredRay=Ray.new(JeffTheKillerHumanoidRootPart.Position,Vector3.new(0,-4,0));
  1033. local RayTarget,endPoint=Game:GetService("Workspace"):FindPartOnRay(FiredRay,JeffTheKiller);
  1034. if RayTarget then
  1035. local JeffTheKillerHeadFootStepClone=JeffTheKillerHead:FindFirstChild("Jeff_Step"):Clone();
  1036. JeffTheKillerHeadFootStepClone.Parent=JeffTheKillerHead;
  1037. JeffTheKillerHeadFootStepClone:Play();
  1038. JeffTheKillerHeadFootStepClone:Destroy();
  1039. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed<17 then
  1040. Wait(0.4);
  1041. elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and JeffTheKillerHumanoid.WalkSpeed>17 then
  1042. Wait(0.15);
  1043. end
  1044. end;
  1045. WalkDebounce=false;
  1046. end);
  1047. end;
  1048. local MainTarget=FindNearestBae();
  1049. local FoundHumanoid;
  1050. if MainTarget then
  1051. for _,Child in pairs(MainTarget.Parent:GetChildren())do
  1052. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  1053. FoundHumanoid=Child;
  1054. end;
  1055. end;
  1056. end;
  1057. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and MainTarget.Parent and FoundHumanoid and FoundHumanoid.Jump then
  1058. JeffTheKillerHumanoid.Jump=true;
  1059. end;
  1060. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<99999999999999999999 then
  1061. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and not JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
  1062. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=1;
  1063. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Play();
  1064. end;
  1065. elseif JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 and MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>9999999999999999999 then
  1066. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Laugh")and JeffTheKillerHead:FindFirstChild("Jeff_Laugh").IsPlaying then
  1067. if not JeffLaughDebounce then
  1068. Spawn(function()
  1069. JeffLaughDebounce=true;
  1070. 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;
  1071. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
  1072. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
  1073. JeffLaughDebounce=false;
  1074. end);
  1075. end;
  1076. end;
  1077. end;
  1078. 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
  1079. local MusicChoice=math.random(1,2);
  1080. if MusicChoice==1 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1")then
  1081. ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound1");
  1082. elseif MusicChoice==2 and JeffTheKillerScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2")then
  1083. ChosenMusic=JeffTheKiller:FindFirstChild("Jeff_Scene_Sound2");
  1084. end;
  1085. if JeffTheKillerScript and JeffTheKiller and ChosenMusic and not ChosenMusic.IsPlaying then
  1086. ChosenMusic.Volume=0.5;
  1087. ChosenMusic:Play();
  1088. end;
  1089. 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
  1090. if JeffTheKillerScript and JeffTheKiller and ChosenMusic and ChosenMusic.IsPlaying then
  1091. if not MusicDebounce then
  1092. Spawn(function()
  1093. MusicDebounce=true;
  1094. 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;
  1095. if ChosenMusic then
  1096. ChosenMusic.Volume=0;
  1097. ChosenMusic:Stop();
  1098. end;
  1099. ChosenMusic=nil;
  1100. MusicDebounce=false;
  1101. end);
  1102. end;
  1103. end;
  1104. end;
  1105. if not MainTarget and not JeffLaughDebounce then
  1106. Spawn(function()
  1107. JeffLaughDebounce=true;
  1108. 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;
  1109. JeffTheKillerHead:FindFirstChild("Jeff_Laugh").Volume=0;
  1110. JeffTheKillerHead:FindFirstChild("Jeff_Laugh"):Stop();
  1111. JeffLaughDebounce=false;
  1112. end);
  1113. end;
  1114. if not MainTarget and not MusicDebounce then
  1115. Spawn(function()
  1116. MusicDebounce=true;
  1117. 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;
  1118. if ChosenMusic then
  1119. ChosenMusic.Volume=0;
  1120. ChosenMusic:Stop();
  1121. end;
  1122. ChosenMusic=nil;
  1123. MusicDebounce=false;
  1124. end);
  1125. end;
  1126. if MainTarget then
  1127. Notice=true;
  1128. if Notice and not NoticeDebounce and JeffTheKillerScript and JeffTheKiller and JeffTheKillerHead and JeffTheKillerHead:FindFirstChild("Jeff_Susto2")then
  1129. JeffTheKillerHead:FindFirstChild("Jeff_Susto2"):Play();
  1130. NoticeDebounce=true;
  1131. end
  1132. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
  1133. if MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude>5 then
  1134. JeffTheKillerHumanoid.WalkSpeed=30;
  1135. elseif MainTarget and FoundHumanoid and FoundHumanoid.Health~=0 and(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).magnitude<5 then
  1136. JeffTheKillerHumanoid.WalkSpeed=0.004;
  1137. end;
  1138. JeffTheKillerHumanoid:MoveTo(MainTarget.Position+(MainTarget.Position-JeffTheKillerHumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
  1139. local NeckRotation=(JeffTheKiller:FindFirstChild("Torso").Position.Y-MainTarget.Parent:FindFirstChild("Head").Position.Y)/10;
  1140. if NeckRotation>-1.5 and NeckRotation<1.5 then
  1141. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=OriginalC0*CFrame.fromEulerAnglesXYZ(NeckRotation,0,0);
  1142. end;
  1143. if NeckRotation<-1.5 then
  1144. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,-0.993636549,0.112633869,0,0.112633869,0.993636549);
  1145. elseif NeckRotation>1.5 then
  1146. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0.996671617,0.081521146,0,0.081521146,-0.996671617);
  1147. end;
  1148. else
  1149. end;
  1150. else
  1151. Notice=false;
  1152. NoticeDebounce=false;
  1153. JeffTheKiller:FindFirstChild("Torso"):FindFirstChild("Neck").C0=CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,-0);
  1154. local RandomWalk=math.random(1,150);
  1155. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Health~=0 then
  1156. JeffTheKillerHumanoid.WalkSpeed=12;
  1157. if RandomWalk==1 then
  1158. JeffTheKillerHumanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
  1159. end;
  1160. end;
  1161. end;
  1162. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid then
  1163. JeffTheKillerHumanoid.DisplayDistanceType="None";
  1164. JeffTheKillerHumanoid.HealthDisplayDistance=0;
  1165. JeffTheKillerHumanoid.Name="ColdBloodedKiller";
  1166. JeffTheKillerHumanoid.NameDisplayDistance=0;
  1167. JeffTheKillerHumanoid.NameOcclusion="EnemyOcclusion";
  1168. JeffTheKillerHumanoid.AutoJumpEnabled=true;
  1169. JeffTheKillerHumanoid.AutoRotate=true;
  1170. JeffTheKillerHumanoid.MaxHealth=500;
  1171. JeffTheKillerHumanoid.JumpPower=60;
  1172. JeffTheKillerHumanoid.MaxSlopeAngle=89.9;
  1173. end;
  1174. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoJumpEnabled then
  1175. JeffTheKillerHumanoid.AutoJumpEnabled=true;
  1176. end;
  1177. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and not JeffTheKillerHumanoid.AutoRotate then
  1178. JeffTheKillerHumanoid.AutoRotate=true;
  1179. end;
  1180. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.PlatformStand then
  1181. JeffTheKillerHumanoid.PlatformStand=false;
  1182. end;
  1183. if JeffTheKillerScript and JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid.Sit then
  1184. JeffTheKillerHumanoid.Sit=false;
  1185. end;
  1186. end;
  1187. --[[ By: Brutez. ]]--
  1188. end))
  1189. BodyColors50.Parent = Model1
  1190. BodyColors50.HeadColor = BrickColor.new("Institutional white")
  1191. BodyColors50.LeftArmColor = BrickColor.new("Institutional white")
  1192. BodyColors50.LeftLegColor = BrickColor.new("Really black")
  1193. BodyColors50.RightArmColor = BrickColor.new("Institutional white")
  1194. BodyColors50.RightLegColor = BrickColor.new("Really black")
  1195. BodyColors50.TorsoColor = BrickColor.new("Institutional white")
  1196. Part51.Name = "Knife"
  1197. Part51.Parent = Model1
  1198. Part51.Material = Enum.Material.Metal
  1199. Part51.BrickColor = BrickColor.new("Mid gray")
  1200. Part51.Rotation = Vector3.new(14.4399996, 0, 0)
  1201. Part51.CanCollide = false
  1202. Part51.Elasticity = 0
  1203. Part51.FormFactor = Enum.FormFactor.Custom
  1204. Part51.Friction = 2
  1205. Part51.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  1206. Part51.CFrame = CFrame.new(-11.1995096, 2.05570555, 13.4616671, 1, 0, 0, 0, 0.968409479, -0.249365434, 0, 0.249365434, 0.968409479)
  1207. Part51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1208. Part51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1209. Part51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1210. Part51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1211. Part51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1212. Part51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1213. Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1214. Part51.Position = Vector3.new(-11.1995096, 2.05570555, 13.4616671)
  1215. Part51.Orientation = Vector3.new(14.4399996, 0, 0)
  1216. Part51.Color = Color3.new(0.803922, 0.803922, 0.803922)
  1217. Sound52.Name = "Hit1"
  1218. Sound52.Parent = Part51
  1219. Sound52.Pitch = 1.0225422382355
  1220. Sound52.SoundId = "rbxassetid://282343826"
  1221. Sound52.Volume = 1
  1222. Sound53.Name = "Hit2"
  1223. Sound53.Parent = Part51
  1224. Sound53.Pitch = 1.0092434883118
  1225. Sound53.SoundId = "rbxassetid://258741257"
  1226. Sound53.Volume = 1
  1227. Sound54.Name = "Hit3"
  1228. Sound54.Parent = Part51
  1229. Sound54.Pitch = 1.0101846456528
  1230. Sound54.SoundId = "rbxassetid://223016494"
  1231. Sound54.Volume = 1
  1232. Sound55.Name = "Swing"
  1233. Sound55.Parent = Part51
  1234. Sound55.SoundId = "rbxassetid://248088589"
  1235. Sound55.Volume = 1
  1236. SpecialMesh56.Name = "KnifeMesh"
  1237. SpecialMesh56.Parent = Part51
  1238. SpecialMesh56.MeshId = "rbxassetid://536945307"
  1239. SpecialMesh56.Offset = Vector3.new(0, -0.200000003, 0)
  1240. SpecialMesh56.Scale = Vector3.new(0.111000001, 0.111000001, 0.111000001)
  1241. SpecialMesh56.TextureId = "rbxassetid://536945378"
  1242. SpecialMesh56.MeshType = Enum.MeshType.FileMesh
  1243. SpecialMesh56.Scale = Vector3.new(0.111000001, 0.111000001, 0.111000001)
  1244. Script57.Name = "Respawn"
  1245. Script57.Parent = Model1
  1246. table.insert(cors,sandbox(Script57,function()
  1247. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  1248. 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. ]]--
  1249. local AdvancedRespawnScript=script;
  1250. repeat Wait(0)until script and script.Parent and script.Parent.ClassName=="Model";
  1251. local JeffTheKiller=AdvancedRespawnScript.Parent;
  1252. if AdvancedRespawnScript and JeffTheKiller and JeffTheKiller:FindFirstChild("Thumbnail")then
  1253. JeffTheKiller:FindFirstChild("Thumbnail"):Destroy();
  1254. end;
  1255. local GameDerbis=Game:GetService("Debris");
  1256. local JeffTheKillerHumanoid;
  1257. for _,Child in pairs(JeffTheKiller:GetChildren())do
  1258. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  1259. JeffTheKillerHumanoid=Child;
  1260. end;
  1261. end;
  1262. local Respawndant=JeffTheKiller:Clone();
  1263. if PlayerSpawning then --[[ LOOK AT LINE: 2. ]]--
  1264. coroutine.resume(coroutine.create(function()
  1265. if JeffTheKiller and JeffTheKillerHumanoid and JeffTheKillerHumanoid:FindFirstChild("Status")and not JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns")then
  1266. SpawnModel=Instance.new("Model");
  1267. SpawnModel.Parent=JeffTheKillerHumanoid.Status;
  1268. SpawnModel.Name="AvalibleSpawns";
  1269. else
  1270. SpawnModel=JeffTheKillerHumanoid:FindFirstChild("Status"):FindFirstChild("AvalibleSpawns");
  1271. end;
  1272. function FindSpawn(SearchValue)
  1273. local PartsArchivable=SearchValue:GetChildren();
  1274. for AreaSearch=1,#PartsArchivable do
  1275. if PartsArchivable[AreaSearch].className=="SpawnLocation"then
  1276. local PositionValue=Instance.new("Vector3Value",SpawnModel);
  1277. PositionValue.Value=PartsArchivable[AreaSearch].Position;
  1278. PositionValue.Name=PartsArchivable[AreaSearch].Duration;
  1279. end;
  1280. FindSpawn(PartsArchivable[AreaSearch]);
  1281. end;
  1282. end;
  1283. FindSpawn(Game:GetService("Workspace"));
  1284. local SpawnChilden=SpawnModel:GetChildren();
  1285. if#SpawnChilden>0 then
  1286. local SpawnItself=SpawnChilden[math.random(1,#SpawnChilden)];
  1287. local RespawningForceField=Instance.new("ForceField");
  1288. RespawningForceField.Parent=JeffTheKiller;
  1289. RespawningForceField.Name="SpawnForceField";
  1290. GameDerbis:AddItem(RespawningForceField,SpawnItself.Name);
  1291. JeffTheKiller:MoveTo(SpawnItself.Value+Vector3.new(0,3.5,0));
  1292. else
  1293. if JeffTheKiller:FindFirstChild("SpawnForceField")then
  1294. JeffTheKiller:FindFirstChild("SpawnForceField"):Destroy();
  1295. end;
  1296. JeffTheKiller:MoveTo(Vector3.new(0,115,0));
  1297. end;
  1298. end));
  1299. end;
  1300. function Respawn()
  1301. Wait(5);
  1302. Respawndant.Parent=JeffTheKiller.Parent;
  1303. Respawndant:makeJoints();
  1304. Respawndant:FindFirstChild("Head"):MakeJoints();
  1305. Respawndant:FindFirstChild("Torso"):MakeJoints();
  1306. JeffTheKiller:remove();
  1307. end;
  1308. if AdvancedRespawnScript and JeffTheKiller and JeffTheKillerHumanoid then
  1309. JeffTheKillerHumanoid.Died:connect(Respawn);
  1310. end;
  1311. --[[ By: Brutez, 2/28/2015, 1:34 AM, (UTC-08:00) Pacific Time (US & Canada) ]]--
  1312. end))
  1313. Sound58.Parent = Model1
  1314. Sound58.SoundId = "rbxassetid://304235605"
  1315. Sound58.Volume = 1
  1316. Sound58.Looped = true
  1317. Script59.Parent = Sound58
  1318. table.insert(cors,sandbox(Script59,function()
  1319. script.Parent:Play()
  1320. end))
  1321. Accessory60.Name = "HappyMask"
  1322. Accessory60.Parent = Model1
  1323. Accessory60.AttachmentPos = Vector3.new(0, 0.5, 0.600000024)
  1324. Part61.Name = "Handle"
  1325. Part61.Parent = Accessory60
  1326. Part61.CanCollide = false
  1327. Part61.FormFactor = Enum.FormFactor.Symmetric
  1328. Part61.Size = Vector3.new(1, 1, 1)
  1329. Part61.CFrame = CFrame.new(-12.4995098, 4.50002193, 13.8799496, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1330. Part61.BottomSurface = Enum.SurfaceType.Smooth
  1331. Part61.TopSurface = Enum.SurfaceType.Smooth
  1332. Part61.Position = Vector3.new(-12.4995098, 4.50002193, 13.8799496)
  1333. SpecialMesh62.Parent = Part61
  1334. SpecialMesh62.MeshId = "http://www.roblox.com/asset/?id=13520257"
  1335. SpecialMesh62.Scale = Vector3.new(1.10000002, 1, 1)
  1336. SpecialMesh62.TextureId = "http://www.roblox.com/asset/?id=13520260"
  1337. SpecialMesh62.MeshType = Enum.MeshType.FileMesh
  1338. SpecialMesh62.Scale = Vector3.new(1.10000002, 1, 1)
  1339. Attachment63.Name = "FaceFrontAttachment"
  1340. Attachment63.Parent = Part61
  1341. Attachment63.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1342. Attachment63.CFrame = CFrame.new(3.93538357e-09, 0, -0.000272274017, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1343. Attachment63.Position = Vector3.new(3.93538357e-09, 0, -0.000272274017)
  1344. Attachment63.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1345. Attachment63.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1346. Pants64.Name = "Pants"
  1347. Pants64.Parent = Model1
  1348. Pants64.PantsTemplate = "http://www.roblox.com/asset/?id=518831386"
  1349. Shirt65.Name = "Shirt"
  1350. Shirt65.Parent = Model1
  1351. Shirt65.ShirtTemplate = "http://www.roblox.com/asset/?id=546606894"
  1352. Accessory66.Name = "Clown"
  1353. Accessory66.Parent = Model1
  1354. Accessory66.AttachmentPos = Vector3.new(0, 0.649999976, 0)
  1355. Part67.Name = "Handle"
  1356. Part67.Parent = Accessory66
  1357. Part67.CanCollide = false
  1358. Part67.FormFactor = Enum.FormFactor.Symmetric
  1359. Part67.Size = Vector3.new(2, 2, 2)
  1360. Part67.CFrame = CFrame.new(-12.4995098, 4.35002184, 14.47995, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1361. Part67.BottomSurface = Enum.SurfaceType.Smooth
  1362. Part67.TopSurface = Enum.SurfaceType.Smooth
  1363. Part67.Position = Vector3.new(-12.4995098, 4.35002184, 14.47995)
  1364. SpecialMesh68.Parent = Part67
  1365. SpecialMesh68.MeshId = "http://www.roblox.com/asset/?id=15393031"
  1366. SpecialMesh68.TextureId = "http://www.roblox.com/asset/?id=15393013"
  1367. SpecialMesh68.MeshType = Enum.MeshType.FileMesh
  1368. Attachment69.Name = "HairAttachment"
  1369. Attachment69.Parent = Part67
  1370. Attachment69.Rotation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1371. Attachment69.CFrame = CFrame.new(8.65838956e-09, 0.75, -0.000272244215, 1, 7.87137555e-09, -3.26223034e-24, -7.87137555e-09, 1, -4.1444221e-16, 0, 4.1444221e-16, 1)
  1372. Attachment69.Position = Vector3.new(8.65838956e-09, 0.75, -0.000272244215)
  1373. Attachment69.Axis = Vector3.new(1, -7.87137555e-09, 0)
  1374. Attachment69.Orientation = Vector3.new(2.37457894e-14, -1.86912034e-22, -4.50996595e-07)
  1375. for i,v in pairs(mas:GetChildren()) do
  1376. v.Parent = script
  1377. pcall(function() v:MakeJoints() end)
  1378. end
  1379. mas:Destroy()
  1380. for i,v in pairs(cors) do
  1381. spawn(function()
  1382. pcall(v)
  1383. end)
  1384. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement