Advertisement
BNutty07

doot

Nov 5th, 2017
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.73 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Part1 = Instance.new("Part")
  21. SpecialMesh2 = Instance.new("SpecialMesh")
  22. Decal3 = Instance.new("Decal")
  23. Part4 = Instance.new("Part")
  24. Decal5 = Instance.new("Decal")
  25. Part6 = Instance.new("Part")
  26. Motor6D7 = Instance.new("Motor6D")
  27. Motor6D8 = Instance.new("Motor6D")
  28. Motor6D9 = Instance.new("Motor6D")
  29. Motor6D10 = Instance.new("Motor6D")
  30. Motor6D11 = Instance.new("Motor6D")
  31. Decal12 = Instance.new("Decal")
  32. Part13 = Instance.new("Part")
  33. Decal14 = Instance.new("Decal")
  34. Part15 = Instance.new("Part")
  35. Sound16 = Instance.new("Sound")
  36. Sound17 = Instance.new("Sound")
  37. Sound18 = Instance.new("Sound")
  38. Sound19 = Instance.new("Sound")
  39. SpecialMesh20 = Instance.new("SpecialMesh")
  40. Decal21 = Instance.new("Decal")
  41. SurfaceLight22 = Instance.new("SurfaceLight")
  42. SurfaceLight23 = Instance.new("SurfaceLight")
  43. Weld24 = Instance.new("Weld")
  44. Weld25 = Instance.new("Weld")
  45. Weld26 = Instance.new("Weld")
  46. CharacterMesh27 = Instance.new("CharacterMesh")
  47. Humanoid28 = Instance.new("Humanoid")
  48. Hat29 = Instance.new("Hat")
  49. Part30 = Instance.new("Part")
  50. SpecialMesh31 = Instance.new("SpecialMesh")
  51. Decal32 = Instance.new("Decal")
  52. Decal33 = Instance.new("Decal")
  53. Decal34 = Instance.new("Decal")
  54. Decal35 = Instance.new("Decal")
  55. Decal36 = Instance.new("Decal")
  56. Part37 = Instance.new("Part")
  57. Motor6D38 = Instance.new("Motor6D")
  58. Part39 = Instance.new("Part")
  59. SpecialMesh40 = Instance.new("SpecialMesh")
  60. Decal41 = Instance.new("Decal")
  61. Hat42 = Instance.new("Hat")
  62. Part43 = Instance.new("Part")
  63. SpecialMesh44 = Instance.new("SpecialMesh")
  64. Decal45 = Instance.new("Decal")
  65. Decal46 = Instance.new("Decal")
  66. Decal47 = Instance.new("Decal")
  67. Decal48 = Instance.new("Decal")
  68. Decal49 = Instance.new("Decal")
  69. Decal50 = Instance.new("Decal")
  70. Decal51 = Instance.new("Decal")
  71. Hat52 = Instance.new("Hat")
  72. Part53 = Instance.new("Part")
  73. SpecialMesh54 = Instance.new("SpecialMesh")
  74. Decal55 = Instance.new("Decal")
  75. Decal56 = Instance.new("Decal")
  76. Decal57 = Instance.new("Decal")
  77. Decal58 = Instance.new("Decal")
  78. Decal59 = Instance.new("Decal")
  79. Decal60 = Instance.new("Decal")
  80. Decal61 = Instance.new("Decal")
  81. Sound62 = Instance.new("Sound")
  82. Script63 = Instance.new("Script")
  83. Sound64 = Instance.new("Sound")
  84. Script65 = Instance.new("Script")
  85. BodyColors66 = Instance.new("BodyColors")
  86. CharacterMesh67 = Instance.new("CharacterMesh")
  87. CharacterMesh68 = Instance.new("CharacterMesh")
  88. Model0.Name = "SCP-096"
  89. Model0.Parent = mas
  90. Model0.PrimaryPart = Part15
  91. Part1.Name = "Left Arm"
  92. Part1.Parent = Model0
  93. Part1.Material = Enum.Material.SmoothPlastic
  94. Part1.BrickColor = BrickColor.new("Institutional white")
  95. Part1.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  96. Part1.CanCollide = false
  97. Part1.Locked = true
  98. Part1.Elasticity = 0
  99. Part1.FormFactor = Enum.FormFactor.Symmetric
  100. Part1.Friction = 2
  101. Part1.Size = Vector3.new(1, 4, 1)
  102. Part1.CFrame = CFrame.new(-16.2999973, 4.30000925, -54.4000092, 0.999997973, 0, -4.37112995e-08, 0, 0.99999994, 0, 4.37113883e-08, 0, 1)
  103. Part1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  104. Part1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  105. Part1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  106. Part1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  107. Part1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  108. Part1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  109. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  110. Part1.Position = Vector3.new(-16.2999973, 4.30000925, -54.4000092)
  111. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  112. SpecialMesh2.Parent = Part1
  113. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=36780032"
  114. SpecialMesh2.Scale = Vector3.new(1, 2, 2)
  115. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  116. SpecialMesh2.Scale = Vector3.new(1, 2, 2)
  117. Decal3.Parent = Part1
  118. Decal3.Texture = "http://www.roblox.com/asset/?id=378017584"
  119. Part4.Name = "Left Leg"
  120. Part4.Parent = Model0
  121. Part4.Material = Enum.Material.SmoothPlastic
  122. Part4.BrickColor = BrickColor.new("Institutional white")
  123. Part4.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  124. Part4.CanCollide = false
  125. Part4.Locked = true
  126. Part4.Elasticity = 0
  127. Part4.FormFactor = Enum.FormFactor.Symmetric
  128. Part4.Friction = 2
  129. Part4.Size = Vector3.new(1, 4, 1)
  130. Part4.CFrame = CFrame.new(-15.5999994, 2.00000906, -54.4000092, 0.999997973, 0, 4.37112995e-08, 0, 0.99999994, 0, -4.37113883e-08, 0, 1)
  131. Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  132. Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  133. Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  134. Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  135. Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  136. Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  137. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  138. Part4.Position = Vector3.new(-15.5999994, 2.00000906, -54.4000092)
  139. Part4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  140. Decal5.Parent = Part4
  141. Decal5.Texture = "http://www.roblox.com/asset/?id=378017584"
  142. Part6.Name = "Torso"
  143. Part6.Parent = Model0
  144. Part6.Material = Enum.Material.SmoothPlastic
  145. Part6.BrickColor = BrickColor.new("Institutional white")
  146. Part6.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  147. Part6.Locked = true
  148. Part6.Elasticity = 0
  149. Part6.FormFactor = Enum.FormFactor.Symmetric
  150. Part6.Friction = 2
  151. Part6.Size = Vector3.new(2, 2, 1)
  152. Part6.CFrame = CFrame.new(-15.1000004, 5.00000906, -54.4000092, 0.999997973, 0, 0, 0, 1, 0, 0, 0, 1)
  153. Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  154. Part6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  155. Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  156. Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  157. Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  158. Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  159. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  160. Part6.Position = Vector3.new(-15.1000004, 5.00000906, -54.4000092)
  161. Part6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  162. Motor6D7.Name = "Left Hip"
  163. Motor6D7.Parent = Part6
  164. Motor6D7.C0 = CFrame.new(-0.5, -2, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  165. Motor6D7.C1 = CFrame.new(0, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  166. Motor6D7.Part0 = Part6
  167. Motor6D7.Part1 = Part4
  168. Motor6D7.MaxVelocity = 0.20000000298023
  169. Motor6D8.Name = "Right Hip"
  170. Motor6D8.Parent = Part6
  171. Motor6D8.C0 = CFrame.new(0.5, -2, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  172. Motor6D8.C1 = CFrame.new(0, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  173. Motor6D8.Part0 = Part6
  174. Motor6D8.Part1 = Part13
  175. Motor6D8.MaxVelocity = 0.20000000298023
  176. Motor6D9.Name = "Left Shoulder"
  177. Motor6D9.Parent = Part6
  178. Motor6D9.C0 = CFrame.new(1.70000005, 1.20000005, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  179. Motor6D9.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  180. Motor6D9.Part0 = Part1
  181. Motor6D9.Part1 = Part6
  182. Motor6D9.MaxVelocity = 0.20000000298023
  183. Motor6D10.Name = "Right Shoulder"
  184. Motor6D10.Parent = Part6
  185. Motor6D10.C0 = CFrame.new(-1.70000005, 1.20000005, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  186. Motor6D10.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  187. Motor6D10.Part0 = Part39
  188. Motor6D10.Part1 = Part6
  189. Motor6D10.MaxVelocity = 0.20000000298023
  190. Motor6D11.Name = "Neck"
  191. Motor6D11.Parent = Part6
  192. Motor6D11.C0 = CFrame.new(0, 1, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
  193. Motor6D11.C1 = CFrame.new(0, -0.5, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
  194. Motor6D11.Part0 = Part6
  195. Motor6D11.Part1 = Part15
  196. Motor6D11.MaxVelocity = 1
  197. Decal12.Parent = Part6
  198. Decal12.Texture = "http://www.roblox.com/asset/?id=378017683"
  199. Decal12.Face = Enum.NormalId.Top
  200. Part13.Name = "Right Leg"
  201. Part13.Parent = Model0
  202. Part13.Material = Enum.Material.SmoothPlastic
  203. Part13.BrickColor = BrickColor.new("Institutional white")
  204. Part13.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  205. Part13.CanCollide = false
  206. Part13.Locked = true
  207. Part13.Elasticity = 0
  208. Part13.FormFactor = Enum.FormFactor.Symmetric
  209. Part13.Friction = 2
  210. Part13.Size = Vector3.new(1, 4, 1)
  211. Part13.CFrame = CFrame.new(-14.6000013, 2.00000906, -54.4000092, 0.999997973, 0, -4.37112995e-08, 0, 0.99999994, 0, 4.37113883e-08, 0, 1)
  212. Part13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  213. Part13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  214. Part13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  215. Part13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  216. Part13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  217. Part13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  218. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  219. Part13.Position = Vector3.new(-14.6000013, 2.00000906, -54.4000092)
  220. Part13.Color = Color3.new(0.972549, 0.972549, 0.972549)
  221. Decal14.Parent = Part13
  222. Decal14.Texture = "http://www.roblox.com/asset/?id=378017584"
  223. Part15.Name = "Head"
  224. Part15.Parent = Model0
  225. Part15.Material = Enum.Material.SmoothPlastic
  226. Part15.BrickColor = BrickColor.new("Institutional white")
  227. Part15.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  228. Part15.Locked = true
  229. Part15.Elasticity = 0
  230. Part15.FormFactor = Enum.FormFactor.Symmetric
  231. Part15.Friction = 2
  232. Part15.Size = Vector3.new(2, 1, 1)
  233. Part15.CFrame = CFrame.new(-15.1000004, 6.50000906, -54.4000092, 0.999997854, 0, 0, 0, 1, 0, 0, 0, 1)
  234. Part15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  235. Part15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  236. Part15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  237. Part15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  238. Part15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  239. Part15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  240. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  241. Part15.Position = Vector3.new(-15.1000004, 6.50000906, -54.4000092)
  242. Part15.Color = Color3.new(0.972549, 0.972549, 0.972549)
  243. Sound16.Name = "Damage5"
  244. Sound16.Parent = Part15
  245. Sound16.SoundId = "rbxassetid://256509968"
  246. Sound16.Volume = 1
  247. Sound17.Name = "Idle"
  248. Sound17.Parent = Part15
  249. Sound17.SoundId = "rbxassetid://257345390"
  250. Sound17.Volume = 1
  251. Sound17.Looped = true
  252. Sound18.Name = "Screaming"
  253. Sound18.Parent = Part15
  254. Sound18.SoundId = "rbxassetid://325096496"
  255. Sound18.Volume = 1
  256. Sound18.Looped = true
  257. Sound19.Name = "Panic"
  258. Sound19.Parent = Part15
  259. Sound19.SoundId = "rbxassetid://330944619"
  260. Sound19.Volume = 1
  261. SpecialMesh20.Parent = Part15
  262. SpecialMesh20.MeshId = "http://www.roblox.com/asset/?id=36869983"
  263. SpecialMesh20.Scale = Vector3.new(0.949999988, 0.899999976, 0.949999988)
  264. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  265. SpecialMesh20.Scale = Vector3.new(0.949999988, 0.899999976, 0.949999988)
  266. Decal21.Parent = Part15
  267. Decal21.Texture = "http://www.roblox.com/asset/?id=382210323"
  268. SurfaceLight22.Parent = Part15
  269. SurfaceLight22.Color = Color3.new(0.611765, 0, 0.00784314)
  270. SurfaceLight22.Brightness = 20
  271. SurfaceLight22.Angle = 180
  272. SurfaceLight22.Face = Enum.NormalId.Back
  273. SurfaceLight22.Color = Color3.new(0.611765, 0, 0.00784314)
  274. SurfaceLight23.Parent = Part15
  275. SurfaceLight23.Color = Color3.new(0.611765, 0, 0.00784314)
  276. SurfaceLight23.Brightness = 20
  277. SurfaceLight23.Range = 20
  278. SurfaceLight23.Angle = 180
  279. SurfaceLight23.Color = Color3.new(0.611765, 0, 0.00784314)
  280. Weld24.Name = "HeadWeld"
  281. Weld24.Parent = Part15
  282. Weld24.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  283. Weld24.C1 = CFrame.new(0, 0.5, 1.29999995, -1, 0, 0, 0, -0.000999999582, 0.999999523, 0, 0.999999523, 0.000999999582)
  284. Weld24.Part0 = Part15
  285. Weld24.Part1 = Part30
  286. Weld25.Name = "HeadWeld"
  287. Weld25.Parent = Part15
  288. Weld25.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  289. Weld25.C1 = CFrame.new(-0.25, -0.5, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
  290. Weld25.Part0 = Part15
  291. Weld25.Part1 = Part43
  292. Weld26.Name = "HeadWeld"
  293. Weld26.Parent = Part15
  294. Weld26.C0 = CFrame.new(0, 0.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  295. Weld26.C1 = CFrame.new(0.25, -0.5, 0.300000012, 1, 0, 0, 0, 0.00100100052, -0.999999523, -0, 0.999999523, 0.00100100052)
  296. Weld26.Part0 = Part15
  297. Weld26.Part1 = Part53
  298. CharacterMesh27.Name = "Zombie torso"
  299. CharacterMesh27.Parent = Model0
  300. CharacterMesh27.MeshId = 37683263
  301. CharacterMesh27.BodyPart = Enum.BodyPart.Torso
  302. CharacterMesh27.OverlayTextureId = 37686282
  303. Humanoid28.Name = "SCP"
  304. Humanoid28.Parent = Model0
  305. Humanoid28.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  306. Humanoid28.HealthDisplayDistance = 0
  307. Humanoid28.NameDisplayDistance = 0
  308. Humanoid28.NameOcclusion = Enum.NameOcclusion.EnemyOcclusion
  309. Humanoid28.RightLeg = Part13
  310. Humanoid28.LeftLeg = Part4
  311. Humanoid28.Torso = Part37
  312. Humanoid28.Health = 5000
  313. Humanoid28.MaxHealth = 5000
  314. Humanoid28.WalkSpeed = 10
  315. Hat29.Name = "Mouth"
  316. Hat29.Parent = Model0
  317. Hat29.AttachmentForward = Vector3.new(-0, -0.999999523, -0.000999999582)
  318. Hat29.AttachmentPos = Vector3.new(0, 0.5, 1.29999995)
  319. Hat29.AttachmentRight = Vector3.new(-1, 0, 0)
  320. Hat29.AttachmentUp = Vector3.new(0, -0.000999999582, 0.999999523)
  321. Part30.Name = "Handle"
  322. Part30.Parent = Hat29
  323. Part30.Material = Enum.Material.SmoothPlastic
  324. Part30.BrickColor = BrickColor.new("White")
  325. Part30.Rotation = Vector3.new(-89.9399948, 0, -180)
  326. Part30.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  327. Part30.CanCollide = false
  328. Part30.Locked = true
  329. Part30.Elasticity = 0
  330. Part30.FormFactor = Enum.FormFactor.Custom
  331. Part30.Friction = 2
  332. Part30.Size = Vector3.new(0.820000172, 0.73999989, 1.76999998)
  333. Part30.CFrame = CFrame.new(-15.1000004, 5.70050955, -54.90131, -0.999997854, 0, 0, 0, -0.000999999582, 0.999999523, 0, 0.999999523, 0.000999999582)
  334. Part30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  335. Part30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  336. Part30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  337. Part30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  338. Part30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  339. Part30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  340. Part30.Color = Color3.new(0.94902, 0.952941, 0.952941)
  341. Part30.Position = Vector3.new(-15.1000004, 5.70050955, -54.90131)
  342. Part30.Orientation = Vector3.new(-89.9399948, 0, 180)
  343. Part30.Color = Color3.new(0.94902, 0.952941, 0.952941)
  344. SpecialMesh31.Parent = Part30
  345. SpecialMesh31.MeshType = Enum.MeshType.Sphere
  346. Decal32.Parent = Part30
  347. Decal32.Texture = "http://www.roblox.com/asset/?id=369046477"
  348. Decal32.Face = Enum.NormalId.Left
  349. Decal33.Parent = Part30
  350. Decal33.Texture = "http://www.roblox.com/asset/?id=369046300"
  351. Decal33.Face = Enum.NormalId.Right
  352. Decal34.Parent = Part30
  353. Decal34.Texture = "http://www.roblox.com/asset/?id=369040970"
  354. Decal35.Parent = Part30
  355. Decal35.Texture = "http://www.roblox.com/asset/?id=402342524"
  356. Decal35.Face = Enum.NormalId.Back
  357. Decal36.Parent = Part30
  358. Decal36.Texture = "http://www.roblox.com/asset/?id=415695307"
  359. Decal36.Face = Enum.NormalId.Bottom
  360. Part37.Name = "HumanoidRootPart"
  361. Part37.Parent = Model0
  362. Part37.Material = Enum.Material.SmoothPlastic
  363. Part37.BrickColor = BrickColor.new("White")
  364. Part37.Transparency = 1
  365. Part37.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  366. Part37.CanCollide = false
  367. Part37.Locked = true
  368. Part37.Elasticity = 0
  369. Part37.FormFactor = Enum.FormFactor.Symmetric
  370. Part37.Friction = 2
  371. Part37.Size = Vector3.new(2, 2, 1)
  372. Part37.CFrame = CFrame.new(-15.1000004, 5.00000906, -54.4000092, 0.999998093, 0, 0, 0, 1, 0, 0, 0, 1)
  373. Part37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  374. Part37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  375. Part37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  376. Part37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  377. Part37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  378. Part37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  379. Part37.Color = Color3.new(0.94902, 0.952941, 0.952941)
  380. Part37.Position = Vector3.new(-15.1000004, 5.00000906, -54.4000092)
  381. Part37.Color = Color3.new(0.94902, 0.952941, 0.952941)
  382. Motor6D38.Name = "RootJoint"
  383. Motor6D38.Parent = Part37
  384. Motor6D38.C0 = CFrame.new(0, 0, 0, 0.99999994, -0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
  385. Motor6D38.C1 = CFrame.new(0, 0, 0, 0.99999994, 0, 0, 0, -4.37113883e-08, 1, 0, -1, -4.37113883e-08)
  386. Motor6D38.Part0 = Part37
  387. Motor6D38.Part1 = Part6
  388. Motor6D38.MaxVelocity = 0.10000000149012
  389. Part39.Name = "Right Arm"
  390. Part39.Parent = Model0
  391. Part39.Material = Enum.Material.SmoothPlastic
  392. Part39.BrickColor = BrickColor.new("Institutional white")
  393. Part39.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  394. Part39.CanCollide = false
  395. Part39.Locked = true
  396. Part39.Elasticity = 0
  397. Part39.FormFactor = Enum.FormFactor.Symmetric
  398. Part39.Friction = 2
  399. Part39.Size = Vector3.new(1, 4, 1)
  400. Part39.CFrame = CFrame.new(-13.9000025, 4.30000925, -54.4000092, 0.999997973, 0, 4.37112995e-08, 0, 0.99999994, 0, -4.37113883e-08, 0, 1)
  401. Part39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  402. Part39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  403. Part39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  404. Part39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  405. Part39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  406. Part39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  407. Part39.Color = Color3.new(0.972549, 0.972549, 0.972549)
  408. Part39.Position = Vector3.new(-13.9000025, 4.30000925, -54.4000092)
  409. Part39.Color = Color3.new(0.972549, 0.972549, 0.972549)
  410. SpecialMesh40.Parent = Part39
  411. SpecialMesh40.MeshId = "http://www.roblox.com/asset/?id=36780156"
  412. SpecialMesh40.Scale = Vector3.new(1, 2, 2)
  413. SpecialMesh40.MeshType = Enum.MeshType.FileMesh
  414. SpecialMesh40.Scale = Vector3.new(1, 2, 2)
  415. Decal41.Parent = Part39
  416. Decal41.Texture = "http://www.roblox.com/asset/?id=378017584"
  417. Hat42.Name = "Eye"
  418. Hat42.Parent = Model0
  419. Hat42.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
  420. Hat42.AttachmentPos = Vector3.new(-0.25, -0.5, 0.300000012)
  421. Hat42.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
  422. Part43.Name = "Handle"
  423. Part43.Parent = Hat42
  424. Part43.Material = Enum.Material.Neon
  425. Part43.BrickColor = BrickColor.new("Ghost grey")
  426. Part43.Rotation = Vector3.new(-89.9399948, 0, 0)
  427. Part43.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  428. Part43.CanCollide = false
  429. Part43.Locked = true
  430. Part43.Elasticity = 0
  431. Part43.FormFactor = Enum.FormFactor.Custom
  432. Part43.Friction = 2
  433. Part43.Size = Vector3.new(0.319999993, 0.200000003, 0.310000002)
  434. Part43.CFrame = CFrame.new(-14.8500013, 6.70050955, -54.9003105, 0.999997854, 0, 0, 0, 0.00100100052, 0.999999523, 0, -0.999999523, 0.00100100052)
  435. Part43.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  436. Part43.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  437. Part43.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  438. Part43.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  439. Part43.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  440. Part43.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  441. Part43.Color = Color3.new(0.792157, 0.796079, 0.819608)
  442. Part43.Position = Vector3.new(-14.8500013, 6.70050955, -54.9003105)
  443. Part43.Orientation = Vector3.new(-89.9399948, 0, 0)
  444. Part43.Color = Color3.new(0.792157, 0.796079, 0.819608)
  445. SpecialMesh44.Parent = Part43
  446. SpecialMesh44.MeshType = Enum.MeshType.Sphere
  447. Decal45.Parent = Part43
  448. Decal45.Texture = "http://www.roblox.com/asset/?id=402342289"
  449. Decal45.Face = Enum.NormalId.Top
  450. Decal46.Parent = Part43
  451. Decal46.Texture = "http://www.roblox.com/asset/?id=402342289"
  452. Decal46.Face = Enum.NormalId.Right
  453. Decal47.Parent = Part43
  454. Decal47.Texture = "http://www.roblox.com/asset/?id=402342289"
  455. Decal47.Face = Enum.NormalId.Top
  456. Decal48.Parent = Part43
  457. Decal48.Texture = "http://www.roblox.com/asset/?id=402342289"
  458. Decal48.Face = Enum.NormalId.Top
  459. Decal49.Parent = Part43
  460. Decal49.Texture = "http://www.roblox.com/asset/?id=402342289"
  461. Decal50.Parent = Part43
  462. Decal50.Texture = "http://www.roblox.com/asset/?id=402342289"
  463. Decal50.Face = Enum.NormalId.Back
  464. Decal51.Parent = Part43
  465. Decal51.Texture = "http://www.roblox.com/asset/?id=402342289"
  466. Decal51.Face = Enum.NormalId.Left
  467. Hat52.Name = "Eye"
  468. Hat52.Parent = Model0
  469. Hat52.AttachmentForward = Vector3.new(-0, 0.999999523, -0.00100100052)
  470. Hat52.AttachmentPos = Vector3.new(0.25, -0.5, 0.300000012)
  471. Hat52.AttachmentUp = Vector3.new(0, 0.00100100052, 0.999999523)
  472. Part53.Name = "Handle"
  473. Part53.Parent = Hat52
  474. Part53.Material = Enum.Material.Neon
  475. Part53.BrickColor = BrickColor.new("Ghost grey")
  476. Part53.Rotation = Vector3.new(-89.9399948, 0, 0)
  477. Part53.Velocity = Vector3.new(-1.40129846e-45, 0, 1.40129846e-45)
  478. Part53.CanCollide = false
  479. Part53.Locked = true
  480. Part53.Elasticity = 0
  481. Part53.FormFactor = Enum.FormFactor.Custom
  482. Part53.Friction = 2
  483. Part53.Size = Vector3.new(0.270000011, 0.200000003, 0.280000001)
  484. Part53.CFrame = CFrame.new(-15.3499994, 6.70050955, -54.9003105, 0.999997854, 0, 0, 0, 0.00100100052, 0.999999523, 0, -0.999999523, 0.00100100052)
  485. Part53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  486. Part53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  487. Part53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  488. Part53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  489. Part53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  490. Part53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  491. Part53.Color = Color3.new(0.792157, 0.796079, 0.819608)
  492. Part53.Position = Vector3.new(-15.3499994, 6.70050955, -54.9003105)
  493. Part53.Orientation = Vector3.new(-89.9399948, 0, 0)
  494. Part53.Color = Color3.new(0.792157, 0.796079, 0.819608)
  495. SpecialMesh54.Parent = Part53
  496. SpecialMesh54.MeshType = Enum.MeshType.Sphere
  497. Decal55.Parent = Part53
  498. Decal55.Texture = "http://www.roblox.com/asset/?id=402342289"
  499. Decal55.Face = Enum.NormalId.Back
  500. Decal56.Parent = Part53
  501. Decal56.Texture = "http://www.roblox.com/asset/?id=402342289"
  502. Decal56.Face = Enum.NormalId.Top
  503. Decal57.Parent = Part53
  504. Decal57.Texture = "http://www.roblox.com/asset/?id=402342289"
  505. Decal57.Face = Enum.NormalId.Top
  506. Decal58.Parent = Part53
  507. Decal58.Texture = "http://www.roblox.com/asset/?id=402342289"
  508. Decal58.Face = Enum.NormalId.Top
  509. Decal59.Parent = Part53
  510. Decal59.Texture = "http://www.roblox.com/asset/?id=402342289"
  511. Decal59.Face = Enum.NormalId.Right
  512. Decal60.Parent = Part53
  513. Decal60.Texture = "http://www.roblox.com/asset/?id=402342289"
  514. Decal60.Face = Enum.NormalId.Left
  515. Decal61.Parent = Part53
  516. Decal61.Texture = "http://www.roblox.com/asset/?id=402342289"
  517. Sound62.Name = "Hush"
  518. Sound62.Parent = Model0
  519. Sound62.SoundId = "rbxassetid://306207443"
  520. Sound62.Volume = 1
  521. Sound62.Looped = true
  522. Script63.Name = "Main"
  523. Script63.Parent = Model0
  524. table.insert(cors,sandbox(Script63,function()
  525. --[[ By: Brutez. ]]--
  526. local SCP096Script=script;
  527. repeat Wait(0);until script and script.Parent and script.Parent.ClassName=="Model"and script.Parent:FindFirstChild("Head")and script.Parent:FindFirstChild("Torso")and script.Parent:FindFirstChild("HumanoidRootPart");
  528. local SCP096=SCP096Script.Parent;
  529. if SCP096Script and SCP096 and SCP096:FindFirstChild("Thumbnail")then
  530. SCP096:FindFirstChild("Thumbnail"):Destroy();
  531. end
  532. local Hush=SCP096:FindFirstChild("Hush");
  533. local Notice=SCP096:FindFirstChild("Notice");
  534. local SCP096Humanoid;
  535. for _,Child in pairs(SCP096:GetChildren())do
  536. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  537. SCP096Humanoid=Child;
  538. end;
  539. end;
  540. local CanSee=false;
  541. local Pathing=false;
  542. local SCP096Head=SCP096:FindFirstChild("Head");
  543. local Damage5=SCP096Head:FindFirstChild("Damage5");
  544. local Idle=SCP096Head:FindFirstChild("Idle");
  545. local Panic=SCP096Head:FindFirstChild("Panic");
  546. local Screaming=SCP096Head:FindFirstChild("Screaming");
  547. local SCP096HumanoidRootPart=SCP096:FindFirstChild("HumanoidRootPart");
  548. local SCP096Torso=SCP096:FindFirstChild("Torso");
  549. local AttackDebounce=false;
  550. local Chasing=false;
  551. function raycast(Spos,vec,currentdist)
  552. local hit2,pos2=game.Workspace:FindPartOnRay(Ray.new(Spos+(vec*.05),vec*currentdist),SCP096);
  553. if hit2~=nil and pos2 then
  554. if hit2.Name=="Handle" and not hit2.CanCollide or string.sub(hit2.Name,1,6)=="Effect"and not hit2.CanCollide then
  555. local currentdist=currentdist-(pos2-Spos).magnitude;
  556. return raycast(pos2,vec,currentdist);
  557. end;
  558. end;
  559. return hit2,pos2;
  560. end;
  561. function RayCast(Position,Direction,MaxDistance,IgnoreList)
  562. return Game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position,Direction.unit*(MaxDistance or 999.999)),IgnoreList);
  563. end;
  564. Spawn(function()
  565. while Wait(0)do
  566. if SCP096Script and SCP096 and SCP096HumanoidRootPart and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 then
  567. local TargetPoint=SCP096Humanoid.TargetPoint;
  568. local Blockage,BlockagePos=RayCast((SCP096HumanoidRootPart.CFrame+CFrame.new(SCP096HumanoidRootPart.Position,Vector3.new(TargetPoint.X,SCP096HumanoidRootPart.Position.Y,TargetPoint.Z)).lookVector*(SCP096HumanoidRootPart.Size.Z/2)).p,SCP096HumanoidRootPart.CFrame.lookVector,(SCP096HumanoidRootPart.Size.Z*2.5),{SCP096,SCP096})
  569. local Jumpable=false;
  570. if Blockage then
  571. Jumpable=true;
  572. if Blockage and Blockage.Parent and Blockage.Parent.ClassName~="Workspace"then
  573. local BlockageHumanoid;
  574. for _,Child in pairs(Blockage.Parent:GetChildren())do
  575. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  576. BlockageHumanoid=Child;
  577. end;
  578. end;
  579. if Blockage and Blockage:IsA("Terrain")then
  580. local CellPos=Blockage:WorldToCellPreferSolid((BlockagePos-Vector3.new(0,2,0)));
  581. local CellMaterial,CellShape,CellOrientation=Blockage:GetCell(CellPos.X,CellPos.Y,CellPos.Z);
  582. if CellMaterial==Enum.CellMaterial.Water then
  583. Jumpable=false;
  584. end;
  585. 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
  586. Jumpable=false;
  587. end;
  588. end;
  589. if SCP096Script and SCP096 and SCP096Humanoid and SCP096Humanoid.Health~=0 and not SCP096Humanoid.Sit and Jumpable then
  590. SCP096Humanoid.Jump=true;
  591. end;
  592. end;
  593. end;
  594. end;
  595. end);
  596. local DynamicWander=true;
  597. while Wait(0)do
  598. if SCP096Script and SCP096 and SCP096Humanoid then
  599. SCP096Humanoid.CameraOffset=Vector3.new(0,0,0);
  600. SCP096Humanoid.DisplayDistanceType="None";
  601. SCP096Humanoid.HealthDisplayDistance=0;
  602. SCP096Humanoid.Name="SCP";
  603. SCP096Humanoid.NameDisplayDistance=0;
  604. SCP096Humanoid.NameOcclusion="EnemyOcclusion";
  605. SCP096Humanoid.Archivable=true;
  606. SCP096Humanoid.AutoRotate=true;
  607. SCP096Humanoid.MaxHealth=5000;
  608. SCP096Humanoid.Health=5000;
  609. SCP096Humanoid.JumpPower=0;
  610. SCP096Humanoid.MaxSlopeAngle=89.9;
  611. if not Chasing then
  612. local SwitchWander=math.random(1,2000);
  613. if SwitchWander==1 and not DynamicWander then
  614. DynamicWander=true;
  615. elseif SwitchWander==1 and DynamicWander then
  616. DynamicWander=false;
  617. end;
  618. local WalkChance=math.random(1,100);
  619. if WalkChance==1 and SCP096Script and SCP096 and SCP096:FindFirstChild("Torso")and SCP096:FindFirstChild("Head")and SCP096Humanoid and SCP096Humanoid.Health~=0 and not DynamicWander then
  620. SCP096Humanoid:MoveTo(Game:GetService("Workspace"):FindFirstChild("Terrain").Position+Vector3.new(math.random(-2048,2048),0,math.random(-2048,2048)),Game:GetService("Workspace"):FindFirstChild("Terrain"));
  621. elseif SCP096Script and SCP096 and SCP096Torso and SCP096Head and SCP096Humanoid and SCP096Humanoid.Health~=0 and DynamicWander then
  622. local WanderAngle=(math.random()-0.5)*1;
  623. local RotatingLookVector=CFrame.Angles(0,WanderAngle,0)*SCP096Torso.CFrame.lookVector;
  624. SCP096Humanoid:MoveTo(SCP096Torso.Position+6*RotatingLookVector,SCP096Torso);
  625. end;
  626. SCP096Humanoid.WalkSpeed=10;
  627. else
  628. SCP096Humanoid=35;
  629. end;
  630. end;
  631. if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
  632. Hush:Stop();
  633. end;
  634. if SCP096Script and SCP096 and Idle and not Idle.IsPlaying then
  635. Idle:Play();
  636. end;
  637. if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
  638. Panic:Stop();
  639. end;
  640. if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
  641. Screaming:Stop();
  642. end;
  643. local NoticeDistance=10;
  644. local TargetTorso;
  645. for _,TargetModel in pairs(Game:GetService("Workspace"):GetChildren())do
  646. if TargetModel.className=="Model"and TargetModel~=SCP096 and TargetModel.Name~=SCP096.Name and TargetModel:FindFirstChild("Torso")and TargetModel:FindFirstChild("Head")then
  647. local TargetPart=TargetModel:FindFirstChild("Torso");
  648. local FoundHumanoid;
  649. for _,Child in pairs(TargetModel:GetChildren())do
  650. if Child and Child.ClassName=="Humanoid"and Child.Health~=0 then
  651. FoundHumanoid=Child;
  652. end;
  653. end;
  654. if TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<NoticeDistance then
  655. TargetTorso=TargetPart;
  656. NoticeDistance=(TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude;
  657. AttackDebounce=true;
  658. Spawn(function()
  659. Chasing=true;
  660. if SCP096Script and SCP096 and Idle then
  661. Notice:Play();
  662. end;
  663. if SCP096Script and SCP096 and Hush and Hush.IsPlaying then
  664. Hush:Stop();
  665. end;
  666. if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
  667. Idle:Stop();
  668. end;
  669. if SCP096Script and SCP096 and Panic then
  670. Panic:Play();
  671. end;
  672. if SCP096Script and SCP096 and Screaming and Screaming.IsPlaying then
  673. Screaming:Stop();
  674. end;
  675. SCP096Humanoid.WalkSpeed=1;
  676. SCP096Humanoid:MoveTo(SCP096Torso.Position,Game:GetService("Workspace"):FindFirstChild("Terrain"));
  677. Wait(38);
  678. if SCP096Script and SCP096 and Hush and not Hush.IsPlaying then
  679. Hush:Play();
  680. end;
  681. if SCP096Script and SCP096 and Idle and Idle.IsPlaying then
  682. Idle:Stop();
  683. end;
  684. if SCP096Script and SCP096 and Panic and Panic.IsPlaying then
  685. Panic:Stop();
  686. end;
  687. if SCP096Script and SCP096 and Screaming and not Screaming.IsPlaying then
  688. Screaming:Play();
  689. end;
  690. SCP096Humanoid.WalkSpeed=35;
  691. Spawn(function()
  692. while Wait(0)do
  693. local hit,pos=raycast(SCP096HumanoidRootPart.Position,(TargetPart.Position-SCP096HumanoidRootPart.Position).unit,500)
  694. if hit and hit.Parent and hit.Parent.ClassName=="Model"and hit.Parent:FindFirstChild("Torso")and hit.Parent:FindFirstChild("Head")then
  695. CanSee=true;
  696. else
  697. CanSee=false;
  698. end;
  699. end;
  700. end);
  701. repeat
  702. Wait(0)
  703. if CanSee then
  704. SCP096Humanoid:MoveTo(TargetPart.Position+(TargetPart.Position-SCP096HumanoidRootPart.Position).unit*2,Game:GetService("Workspace"):FindFirstChild("Terrain"));
  705. end;
  706. if not CanSee and not Pathing then
  707. Spawn(function()
  708. Pathing=true;
  709. local RenderedPath=game:GetService("PathfindingService"):ComputeRawPathAsync(SCP096Torso.Position,TargetPart.Position,500);
  710. local RenderedPathCoordinates=RenderedPath:GetPointCoordinates();
  711. for _=1,#RenderedPathCoordinates do
  712. if not CanSee then
  713. local Point=RenderedPathCoordinates[_];
  714. local PathTimer=0;
  715. repeat Wait(0);
  716. SCP096Humanoid:MoveTo(Point);PathTimer=PathTimer+1;
  717. if PathTimer>15 or CanSee then
  718. break;
  719. end;
  720. until(SCP096Torso.Position-Point).Magnitude<5 or PathTimer>15 or CanSee;
  721. if PathTimer>15 or CanSee then
  722. break;
  723. end;
  724. end;
  725. end;
  726. Pathing=false;
  727. end);
  728. end;
  729. if TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health~=0 and (TargetPart.Position-SCP096HumanoidRootPart.Position).magnitude<10 then
  730. Damage5:Play();
  731. FoundHumanoid:TakeDamage(99999e99999);
  732. end
  733. until TargetModel.Parent==nil or TargetPart.Parent==nil or FoundHumanoid.Parent==nil or TargetModel and TargetPart and FoundHumanoid and FoundHumanoid.Health==0;
  734. Chasing=false;
  735. end);
  736. repeat Wait(0);until not Chasing;
  737. AttackDebounce=false
  738. end;
  739. end;
  740. end;
  741. end;
  742. --[[ By: Brutez. ]]--
  743. end))
  744. Sound64.Name = "Notice"
  745. Sound64.Parent = Model0
  746. Sound64.SoundId = "rbxassetid://257340849"
  747. Sound64.Volume = 1
  748. Script65.Name = "MainAnimation"
  749. Script65.Parent = Model0
  750. table.insert(cors,sandbox(Script65,function()
  751. --[[ By: Brutez. ]]--
  752. local FreeSCP096AnimationScript=script;
  753. local FreeSCP096=FreeSCP096AnimationScript.Parent
  754. local FreeSCP096Humanoid=nil;
  755. local FreeSCP096Torso=FreeSCP096:FindFirstChild("Torso")
  756. local RightShoulder=FreeSCP096Torso:FindFirstChild("Right Shoulder")
  757. local LeftShoulder=FreeSCP096Torso:FindFirstChild("Left Shoulder")
  758. local RightHip=FreeSCP096Torso:FindFirstChild("Right Hip")
  759. local LeftHip=FreeSCP096Torso:FindFirstChild("Left Hip")
  760. local Neck=FreeSCP096Torso:FindFirstChild("Neck")
  761. local pose="Standing";
  762. for _,Child in pairs(FreeSCP096:GetChildren())do
  763. if Child.ClassName=="Humanoid"then
  764. FreeSCP096Humanoid=Child;
  765. end
  766. end
  767. function onRunning(speed)
  768. if speed>0.001 then
  769. pose = "Running"
  770. else
  771. pose = "Standing"
  772. end
  773. end
  774. function onDied()
  775. pose = "Dead"
  776. end
  777. function onJumping()
  778. pose = "Jumping"
  779. end
  780. function onClimbing()
  781. pose = "Climbing"
  782. end
  783. function onGettingUp()
  784. pose = "GettingUp"
  785. end
  786. function onFreeFall()
  787. pose = "FreeFall"
  788. end
  789. function onFallingDown()
  790. pose = "FallingDown"
  791. end
  792. function onSeated()
  793. pose = "Seated"
  794. end
  795. function moveJump()
  796. RightShoulder.MaxVelocity = 0.5
  797. LeftShoulder.MaxVelocity = 0.5
  798. RightShoulder.DesiredAngle = 3.14
  799. LeftShoulder.DesiredAngle = -3.14
  800. RightHip.DesiredAngle = 0
  801. LeftHip.DesiredAngle = 0
  802. end
  803. function moveFreeFall()
  804. RightShoulder.MaxVelocity = 1
  805. LeftShoulder.MaxVelocity = 1
  806. RightShoulder.DesiredAngle = 4
  807. LeftShoulder.DesiredAngle = -4
  808. RightHip.DesiredAngle = 1
  809. LeftHip.DesiredAngle = 1
  810. end
  811. function moveSit()
  812. RightShoulder.MaxVelocity = 0.15
  813. LeftShoulder.MaxVelocity = 0.15
  814. RightShoulder.DesiredAngle = 3.14 /2
  815. LeftShoulder.DesiredAngle = -3.14 /2
  816. RightHip.DesiredAngle = 1/2
  817. LeftHip.DesiredAngle = -1/2
  818. end
  819. function move(time)
  820. local amplitude
  821. local frequency
  822. if (pose == "Jumping") then
  823. moveJump()
  824. return
  825. end
  826. if (pose == "FreeFall") then
  827. moveFreeFall()
  828. return
  829. end
  830. if (pose == "Seated") then
  831. moveSit()
  832. return
  833. end
  834. local climbFudge = 0
  835. if (pose == "Running") then
  836. RightShoulder.MaxVelocity = 0.2
  837. LeftShoulder.MaxVelocity = 0.2
  838. RightHip.MaxVelocity = 0.2
  839. LeftHip.MaxVelocity = 0.2
  840. if FreeSCP096Humanoid.WalkSpeed~=35 then
  841. amplitude = 0.4
  842. frequency = 4
  843. else
  844. amplitude = 2
  845. frequency = 12
  846. end
  847. elseif (pose == "Climbing") then
  848. RightShoulder.MaxVelocity = 0.3
  849. LeftShoulder.MaxVelocity = 0.3
  850. RightHip.MaxVelocity = 1
  851. LeftHip.MaxVelocity = 1
  852. amplitude = 0.4
  853. frequency = 6
  854. climbFudge = 3.14
  855. else
  856. amplitude = 0.1
  857. frequency = 1
  858. end
  859. local desiredAngle=amplitude*math.sin(time*frequency);
  860. if FreeSCP096Humanoid.WalkSpeed==1 then --Panic
  861. RightShoulder.MaxVelocity = 0.05
  862. LeftShoulder.MaxVelocity = 0.05
  863. RightShoulder.DesiredAngle = 3.14
  864. LeftShoulder.DesiredAngle = -3.14
  865. end
  866. if FreeSCP096Humanoid.WalkSpeed>10 then
  867. RightShoulder.MaxVelocity = 5
  868. LeftShoulder.MaxVelocity = 5
  869. RightShoulder.DesiredAngle = 1.57
  870. LeftShoulder.DesiredAngle = -1.57
  871. RightHip.MaxVelocity = 3
  872. LeftHip.MaxVelocity =3
  873. end
  874. if FreeSCP096Humanoid.WalkSpeed~=1 and FreeSCP096Humanoid.WalkSpeed~=35 then
  875. RightShoulder.DesiredAngle=desiredAngle+climbFudge;
  876. LeftShoulder.DesiredAngle=desiredAngle-climbFudge;
  877. end
  878. RightHip.DesiredAngle = -desiredAngle
  879. LeftHip.DesiredAngle = -desiredAngle
  880. end
  881. FreeSCP096Humanoid.Died:connect(onDied)
  882. FreeSCP096Humanoid.Running:connect(onRunning)
  883. FreeSCP096Humanoid.Jumping:connect(onJumping)
  884. FreeSCP096Humanoid.Climbing:connect(onClimbing)
  885. FreeSCP096Humanoid.GettingUp:connect(onGettingUp)
  886. FreeSCP096Humanoid.FreeFalling:connect(onFreeFall)
  887. FreeSCP096Humanoid.FallingDown:connect(onFallingDown)
  888. FreeSCP096Humanoid.Seated:connect(onSeated)
  889. local nextTime=0
  890. local runService=game:service("RunService");
  891. while Wait(0)do
  892. local time=runService.Stepped:wait(0);
  893. if time>nextTime then
  894. move(time);
  895. nextTime=time;
  896. end;
  897. end;
  898. --[[ By: Brutez. ]]--
  899. end))
  900. BodyColors66.Parent = Model0
  901. BodyColors66.HeadColor = BrickColor.new("Institutional white")
  902. BodyColors66.LeftArmColor = BrickColor.new("Institutional white")
  903. BodyColors66.LeftLegColor = BrickColor.new("Institutional white")
  904. BodyColors66.RightArmColor = BrickColor.new("Institutional white")
  905. BodyColors66.RightLegColor = BrickColor.new("Institutional white")
  906. BodyColors66.TorsoColor = BrickColor.new("Institutional white")
  907. CharacterMesh67.Name = "Superhero Right Leg"
  908. CharacterMesh67.Parent = Model0
  909. CharacterMesh67.MeshId = 32328627
  910. CharacterMesh67.BodyPart = Enum.BodyPart.RightLeg
  911. CharacterMesh68.Name = "Superhero Left Leg"
  912. CharacterMesh68.Parent = Model0
  913. CharacterMesh68.MeshId = 32328520
  914. CharacterMesh68.BodyPart = Enum.BodyPart.LeftLeg
  915. for i,v in pairs(mas:GetChildren()) do
  916. v.Parent = workspace
  917. pcall(function() v:MakeJoints() end)
  918. end
  919. mas:Destroy()
  920. for i,v in pairs(cors) do
  921. spawn(function()
  922. pcall(v)
  923. end)
  924. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement