sawgamer1

Untitled

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