Advertisement
End_Wolf

Untitled

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