sawgamer1

Untitled

Jun 24th, 2018
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.00 KB | None | 0 0
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors:
  11. local runDummyScript = function(f,scri)
  12. local oldenv = getfenv(f)
  13. local newenv = setmetatable({}, {
  14. __index = function(_, k)
  15. if k:lower() == 'script' then
  16. return scri
  17. else
  18. return oldenv[k]
  19. end
  20. end
  21. })
  22. setfenv(f, newenv)
  23. ypcall(function() f() end)
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. mas.Name = "CompiledModel"
  28. o1 = Instance.new("Model")
  29. o2 = Instance.new("Part")
  30. o3 = Instance.new("SpecialMesh")
  31. o4 = Instance.new("Decal")
  32. o5 = Instance.new("BodyColors")
  33. o6 = Instance.new("Part")
  34. o7 = Instance.new("Part")
  35. o8 = Instance.new("Part")
  36. o9 = Instance.new("Weld")
  37. o10 = Instance.new("Weld")
  38. o11 = Instance.new("Weld")
  39. o12 = Instance.new("Weld")
  40. o13 = Instance.new("Weld")
  41. o14 = Instance.new("Weld")
  42. o15 = Instance.new("Weld")
  43. o16 = Instance.new("Weld")
  44. o17 = Instance.new("Weld")
  45. o18 = Instance.new("Weld")
  46. o19 = Instance.new("Weld")
  47. o20 = Instance.new("Weld")
  48. o21 = Instance.new("Weld")
  49. o22 = Instance.new("Weld")
  50. o23 = Instance.new("Weld")
  51. o24 = Instance.new("Weld")
  52. o25 = Instance.new("Weld")
  53. o26 = Instance.new("Weld")
  54. o27 = Instance.new("Weld")
  55. o28 = Instance.new("Weld")
  56. o29 = Instance.new("Weld")
  57. o30 = Instance.new("Weld")
  58. o31 = Instance.new("Weld")
  59. o32 = Instance.new("Weld")
  60. o33 = Instance.new("Weld")
  61. o34 = Instance.new("Weld")
  62. o35 = Instance.new("Weld")
  63. o36 = Instance.new("Weld")
  64. o37 = Instance.new("Weld")
  65. o38 = Instance.new("Weld")
  66. o39 = Instance.new("Weld")
  67. o40 = Instance.new("Weld")
  68. o41 = Instance.new("Weld")
  69. o42 = Instance.new("Weld")
  70. o43 = Instance.new("Weld")
  71. o44 = Instance.new("Weld")
  72. o45 = Instance.new("Part")
  73. o46 = Instance.new("Part")
  74. o47 = Instance.new("Snap")
  75. o48 = Instance.new("Motor")
  76. o49 = Instance.new("Motor")
  77. o50 = Instance.new("Motor")
  78. o51 = Instance.new("Motor")
  79. o52 = Instance.new("Script")
  80. o53 = Instance.new("Script")
  81. o54 = Instance.new("ScreenGui")
  82. o55 = Instance.new("ImageLabel")
  83. o56 = Instance.new("Frame")
  84. o57 = Instance.new("LocalScript")
  85. o58 = Instance.new("Sound")
  86. o59 = Instance.new("Sound")
  87. o60 = Instance.new("Humanoid")
  88. o61 = Instance.new("Configuration")
  89. o62 = Instance.new("NumberValue")
  90. o63 = Instance.new("StringValue")
  91. o64 = Instance.new("Sound")
  92. o1.Name = ""
  93. o1.Parent = mas
  94. o2.Name = "Head"
  95. o2.Parent = o1
  96. o2.Material = Enum.Material.SmoothPlastic
  97. o2.BrickColor = BrickColor.new("Really black")
  98. o2.Position = Vector3.new(-37.9800339, 6.50000906, 88.9100571)
  99. o2.Rotation = Vector3.new(0, 45, 0)
  100. o2.FormFactor = Enum.FormFactor.Symmetric
  101. o2.Friction = 0
  102. o2.Size = Vector3.new(2, 1, 1)
  103. o2.CFrame = CFrame.new(-37.9800339, 6.50000906, 88.9100571, 0.707110345, 1.06415979e-23, 0.707110345, -1.45688978e-23, 1, -4.80657486e-25, -0.707110345, -9.9620053e-24, 0.707110345)
  104. o2.TopSurface = Enum.SurfaceType.Smooth
  105. o2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  106. o2.Position = Vector3.new(-37.9800339, 6.50000906, 88.9100571)
  107. o3.Parent = o2
  108. o3.Scale = Vector3.new(1.25, 1.25, 1.25)
  109. o4.Parent = o2
  110. o4.Texture = "http://www.roblox.com/asset/?id=121958034"
  111. o5.Parent = o1
  112. o5.HeadColor = BrickColor.new("Olive")
  113. o5.LeftArmColor = BrickColor.new("Olive")
  114. o5.LeftLegColor = BrickColor.new("Olive")
  115. o5.RightArmColor = BrickColor.new("Olive")
  116. o5.RightLegColor = BrickColor.new("Olive")
  117. o5.TorsoColor = BrickColor.new("Olive")
  118. o6.Name = "Left Arm"
  119. o6.Parent = o1
  120. o6.Material = Enum.Material.SmoothPlastic
  121. o6.BrickColor = BrickColor.new("Really black")
  122. o6.Position = Vector3.new(-39.0406952, 5.00000906, 89.9707184)
  123. o6.Rotation = Vector3.new(0, 45, 0)
  124. o6.CanCollide = false
  125. o6.FormFactor = Enum.FormFactor.Symmetric
  126. o6.Size = Vector3.new(1, 2, 1)
  127. o6.CFrame = CFrame.new(-39.0406952, 5.00000906, 89.9707184, 0.707107902, 1.09863925e-23, 0.707107902, -1.469474e-23, 1, -8.4238354e-25, -0.707107902, -9.79513361e-24, 0.707107902)
  128. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  129. o6.Position = Vector3.new(-39.0406952, 5.00000906, 89.9707184)
  130. o7.Name = "Left Leg"
  131. o7.Parent = o1
  132. o7.Material = Enum.Material.SmoothPlastic
  133. o7.BrickColor = BrickColor.new("Really black")
  134. o7.Position = Vector3.new(-38.3335876, 3.00000906, 89.2636108)
  135. o7.Rotation = Vector3.new(0, 45, 0)
  136. o7.CanCollide = false
  137. o7.FormFactor = Enum.FormFactor.Symmetric
  138. o7.Size = Vector3.new(1, 2, 1)
  139. o7.CFrame = CFrame.new(-38.3335876, 3.00000906, 89.2636108, 0.707107902, 1.09863925e-23, 0.707107902, -1.469474e-23, 1, -8.4238354e-25, -0.707107902, -9.79513361e-24, 0.707107902)
  140. o7.BottomSurface = Enum.SurfaceType.Smooth
  141. o7.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  142. o7.Position = Vector3.new(-38.3335876, 3.00000906, 89.2636108)
  143. o8.Name = "Right Arm"
  144. o8.Parent = o1
  145. o8.Material = Enum.Material.SmoothPlastic
  146. o8.BrickColor = BrickColor.new("Really black")
  147. o8.Position = Vector3.new(-36.9193726, 5.00000906, 87.8493958)
  148. o8.Rotation = Vector3.new(0, 45, 0)
  149. o8.CanCollide = false
  150. o8.FormFactor = Enum.FormFactor.Symmetric
  151. o8.Size = Vector3.new(1, 2, 1)
  152. o8.CFrame = CFrame.new(-36.9193726, 5.00000906, 87.8493958, 0.707107902, 1.09863925e-23, 0.707107902, -1.469474e-23, 1, -8.4238354e-25, -0.707107902, -9.79513361e-24, 0.707107902)
  153. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  154. o8.Position = Vector3.new(-36.9193726, 5.00000906, 87.8493958)
  155. o9.Name = "RightGrip"
  156. o9.Parent = o8
  157. o9.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  158. o9.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  159. o10.Name = "RightGrip"
  160. o10.Parent = o8
  161. o10.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  162. o10.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  163. o11.Name = "RightGrip"
  164. o11.Parent = o8
  165. o11.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  166. o11.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  167. o12.Name = "RightGrip"
  168. o12.Parent = o8
  169. o12.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  170. o12.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  171. o13.Name = "RightGrip"
  172. o13.Parent = o8
  173. o13.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  174. o13.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  175. o14.Name = "RightGrip"
  176. o14.Parent = o8
  177. o14.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  178. o14.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  179. o15.Name = "RightGrip"
  180. o15.Parent = o8
  181. o15.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  182. o15.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  183. o16.Name = "RightGrip"
  184. o16.Parent = o8
  185. o16.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  186. o16.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  187. o17.Name = "RightGrip"
  188. o17.Parent = o8
  189. o17.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  190. o17.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  191. o18.Name = "RightGrip"
  192. o18.Parent = o8
  193. o18.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  194. o18.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  195. o19.Name = "RightGrip"
  196. o19.Parent = o8
  197. o19.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  198. o19.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  199. o20.Name = "RightGrip"
  200. o20.Parent = o8
  201. o20.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  202. o20.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  203. o21.Name = "RightGrip"
  204. o21.Parent = o8
  205. o21.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  206. o21.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  207. o22.Name = "RightGrip"
  208. o22.Parent = o8
  209. o22.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  210. o22.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  211. o23.Name = "RightGrip"
  212. o23.Parent = o8
  213. o23.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  214. o23.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  215. o24.Name = "RightGrip"
  216. o24.Parent = o8
  217. o24.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  218. o24.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  219. o25.Name = "RightGrip"
  220. o25.Parent = o8
  221. o25.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  222. o25.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  223. o26.Name = "RightGrip"
  224. o26.Parent = o8
  225. o26.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  226. o26.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  227. o27.Name = "RightGrip"
  228. o27.Parent = o8
  229. o27.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  230. o27.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  231. o28.Name = "RightGrip"
  232. o28.Parent = o8
  233. o28.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  234. o28.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  235. o29.Name = "RightGrip"
  236. o29.Parent = o8
  237. o29.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  238. o29.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  239. o30.Name = "RightGrip"
  240. o30.Parent = o8
  241. o30.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  242. o30.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  243. o31.Name = "RightGrip"
  244. o31.Parent = o8
  245. o31.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  246. o31.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  247. o32.Name = "RightGrip"
  248. o32.Parent = o8
  249. o32.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  250. o32.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  251. o33.Name = "RightGrip"
  252. o33.Parent = o8
  253. o33.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  254. o33.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  255. o34.Name = "RightGrip"
  256. o34.Parent = o8
  257. o34.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  258. o34.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  259. o35.Name = "RightGrip"
  260. o35.Parent = o8
  261. o35.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  262. o35.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  263. o36.Name = "RightGrip"
  264. o36.Parent = o8
  265. o36.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  266. o36.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  267. o37.Name = "RightGrip"
  268. o37.Parent = o8
  269. o37.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  270. o37.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  271. o38.Name = "RightGrip"
  272. o38.Parent = o8
  273. o38.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  274. o38.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  275. o39.Name = "RightGrip"
  276. o39.Parent = o8
  277. o39.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  278. o39.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  279. o40.Name = "RightGrip"
  280. o40.Parent = o8
  281. o40.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  282. o40.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  283. o41.Name = "RightGrip"
  284. o41.Parent = o8
  285. o41.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  286. o41.C1 = CFrame.new(0, 0, -1.5, 0, 0, 1, 1, 0, 0, 0, 1, 0)
  287. o42.Name = "RightGrip"
  288. o42.Parent = o8
  289. o42.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  290. o42.C1 = CFrame.new(0, 0, 1.5, 0.996552646, 0, -0.0829627588, 0.0829627588, 0, 0.996552646, 0, -1, 0)
  291. o43.Name = "RightGrip"
  292. o43.Parent = o8
  293. o43.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  294. o43.C1 = CFrame.new(0, 0, 1.5, 0.996552646, 0, -0.0829627588, 0.0829627588, 0, 0.996552646, 0, -1, 0)
  295. o44.Name = "RightGrip"
  296. o44.Parent = o8
  297. o44.C0 = CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  298. o44.C1 = CFrame.new(0, 0, 1.5, 0.996552646, 0, -0.0829627588, 0.0829627588, 0, 0.996552646, 0, -1, 0)
  299. o45.Name = "Right Leg"
  300. o45.Parent = o1
  301. o45.Material = Enum.Material.SmoothPlastic
  302. o45.BrickColor = BrickColor.new("Really black")
  303. o45.Position = Vector3.new(-37.6264801, 3.00000906, 88.5565033)
  304. o45.Rotation = Vector3.new(0, 45, 0)
  305. o45.CanCollide = false
  306. o45.FormFactor = Enum.FormFactor.Symmetric
  307. o45.Size = Vector3.new(1, 2, 1)
  308. o45.CFrame = CFrame.new(-37.6264801, 3.00000906, 88.5565033, 0.707107902, 1.09863925e-23, 0.707107902, -1.469474e-23, 1, -8.4238354e-25, -0.707107902, -9.79513361e-24, 0.707107902)
  309. o45.BottomSurface = Enum.SurfaceType.Smooth
  310. o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  311. o45.Position = Vector3.new(-37.6264801, 3.00000906, 88.5565033)
  312. o46.Name = "Torso"
  313. o46.Parent = o1
  314. o46.Material = Enum.Material.SmoothPlastic
  315. o46.BrickColor = BrickColor.new("Really black")
  316. o46.Position = Vector3.new(-37.9800339, 5.00000906, 88.9100571)
  317. o46.Rotation = Vector3.new(0, 45, 0)
  318. o46.FormFactor = Enum.FormFactor.Symmetric
  319. o46.Friction = 0
  320. o46.Size = Vector3.new(2, 2, 1)
  321. o46.CFrame = CFrame.new(-37.9800339, 5.00000906, 88.9100571, 0.707107902, 1.09863925e-23, 0.707107902, -1.469474e-23, 1, -8.4238354e-25, -0.707107902, -9.79513361e-24, 0.707107902)
  322. o46.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  323. o46.Position = Vector3.new(-37.9800339, 5.00000906, 88.9100571)
  324. o47.Name = "Neck"
  325. o47.Parent = o46
  326. o47.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  327. o47.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  328. o48.Name = "Left Shoulder"
  329. o48.Parent = o46
  330. o48.C0 = CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  331. o48.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  332. o48.Part0 = o6
  333. o48.Part1 = o46
  334. o48.DesiredAngle = 0.068711988627911
  335. o48.MaxVelocity = 0.15000000596046
  336. o49.Name = "Right Shoulder"
  337. o49.Parent = o46
  338. o49.C0 = CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  339. o49.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  340. o49.Part0 = o8
  341. o49.Part1 = o46
  342. o49.DesiredAngle = 1.5700000524521
  343. o49.MaxVelocity = 0.15000000596046
  344. o50.Name = "Right Hip"
  345. o50.Parent = o46
  346. o50.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  347. o50.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  348. o50.Part0 = o46
  349. o50.Part1 = o45
  350. o50.DesiredAngle = -0.068711988627911
  351. o50.MaxVelocity = 0.5
  352. o51.Name = "Left Hip"
  353. o51.Parent = o46
  354. o51.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  355. o51.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  356. o51.Part0 = o46
  357. o51.Part1 = o7
  358. o51.DesiredAngle = -0.068711988627911
  359. o51.MaxVelocity = 0.5
  360. o52.Name = "Animate"
  361. o52.Parent = o1
  362. table.insert(cors,coroutine.create(function()
  363. wait()
  364. runDummyScript(function()
  365. function waitForChild(parent, childName)
  366. local child = parent:findFirstChild(childName)
  367. if child then return child end
  368. while true do
  369. child = parent.ChildAdded:wait()
  370. if child.Name==childName then return child end
  371. end
  372. end
  373.  
  374. -- ANIMATION
  375.  
  376. -- declarations
  377.  
  378. local Figure = script.Parent
  379. local Torso = waitForChild(Figure, "Torso")
  380. local RightShoulder = waitForChild(Torso, "Right Shoulder")
  381. local LeftShoulder = waitForChild(Torso, "Left Shoulder")
  382. local RightHip = waitForChild(Torso, "Right Hip")
  383. local LeftHip = waitForChild(Torso, "Left Hip")
  384. local Neck = waitForChild(Torso, "Neck")
  385. local Humanoid = waitForChild(Figure, "Zombie")
  386. local pose = "Standing"
  387.  
  388. local toolAnim = "None"
  389. local toolAnimTime = 0
  390.  
  391. -- functions
  392.  
  393. function onRunning(speed)
  394. if speed>0 then
  395. pose = "Running"
  396. else
  397. pose = "Standing"
  398. end
  399. end
  400.  
  401. function onDied()
  402. pose = "Dead"
  403. end
  404.  
  405. function onJumping()
  406. pose = "Jumping"
  407. end
  408.  
  409. function onClimbing()
  410. pose = "Climbing"
  411. end
  412.  
  413. function onGettingUp()
  414. pose = "GettingUp"
  415. end
  416.  
  417. function onFreeFall()
  418. pose = "FreeFall"
  419. end
  420.  
  421. function onFallingDown()
  422. pose = "FallingDown"
  423. end
  424.  
  425. function onSeated()
  426. pose = "Seated"
  427. end
  428.  
  429. function onPlatformStanding()
  430. pose = "PlatformStanding"
  431. end
  432.  
  433. function moveJump()
  434. RightShoulder.MaxVelocity = 0.5
  435. LeftShoulder.MaxVelocity = 0.5
  436. RightShoulder.DesiredAngle = 3.14
  437. LeftShoulder.DesiredAngle = -3.14
  438. RightHip.DesiredAngle = 0
  439. LeftHip.DesiredAngle = 0
  440. end
  441.  
  442.  
  443. -- same as jump for now
  444.  
  445. function moveFreeFall()
  446. RightShoulder.MaxVelocity = 0.5
  447. LeftShoulder.MaxVelocity = 0.5
  448. RightShoulder.DesiredAngle = 3.14
  449. LeftShoulder.DesiredAngle = -3.14
  450. RightHip.DesiredAngle = 0
  451. LeftHip.DesiredAngle = 0
  452. end
  453.  
  454. function moveSit()
  455. RightShoulder.MaxVelocity = 0.15
  456. LeftShoulder.MaxVelocity = 0.15
  457. RightShoulder.DesiredAngle = 3.14/2
  458. LeftShoulder.DesiredAngle = -3.14/2
  459. RightHip.DesiredAngle = 3.14/2
  460. LeftHip.DesiredAngle = -3.14/2
  461. end
  462.  
  463. function getTool()
  464. for _, kid in ipairs(Figure:GetChildren()) do
  465. if kid.className == "Tool" then return kid end
  466. end
  467. return nil
  468. end
  469.  
  470. function getToolAnim(tool)
  471. for _, c in ipairs(tool:GetChildren()) do
  472. if c.Name == "toolanim" and c.className == "StringValue" then
  473. return c
  474. end
  475. end
  476. return nil
  477. end
  478.  
  479. function animateTool()
  480.  
  481. if (toolAnim == "None") then
  482. RightShoulderdDesiredAngle = 1.57
  483. return
  484. end
  485.  
  486. if (toolAnim == "Slash") then
  487. RightShoulder.MaxVelocity = 0.5
  488. RightShoulder.DesiredAngle = 0
  489. return
  490. end
  491.  
  492. if (toolAnim == "Lunge") then
  493. RightShoulder.MaxVelocity = 0.5
  494. LeftShoulder.MaxVelocity = 0.5
  495. RightHip.MaxVelocity = 0.5
  496. LeftHip.MaxVelocity = 0.5
  497. RightShoulder.DesiredAngle = 1.57
  498. LeftShoulder.DesiredAngle = 0
  499. RightHip.DesiredAngle = 1.57
  500. LeftHip.DesiredAngle = 1.0
  501. return
  502. end
  503. end
  504.  
  505. function move(time)
  506. local amplitude
  507. local frequency
  508.  
  509. if (pose == "Jumping") then
  510. moveJump()
  511. return
  512. end
  513.  
  514. if (pose == "FreeFall") then
  515. moveFreeFall()
  516. return
  517. end
  518.  
  519. if (pose == "Seated") then
  520. moveSit()
  521. return
  522. end
  523.  
  524. local climbFudge = 0
  525.  
  526. if (pose == "Running") then
  527. RightShoulder.MaxVelocity = 0.15
  528. LeftShoulder.MaxVelocity = 0.15
  529. amplitude = 1
  530. frequency = 9
  531. elseif (pose == "Climbing") then
  532. RightShoulder.MaxVelocity = 0.5
  533. LeftShoulder.MaxVelocity = 0.5
  534. amplitude = 1
  535. frequency = 9
  536. climbFudge = 3.14
  537. else
  538. amplitude = 0.1
  539. frequency = 1
  540. end
  541.  
  542. desiredAngle = amplitude * math.sin(time*frequency)
  543.  
  544. RightShoulder.DesiredAngle = desiredAngle + climbFudge
  545. LeftShoulder.DesiredAngle = desiredAngle - climbFudge
  546. RightHip.DesiredAngle = -desiredAngle
  547. LeftHip.DesiredAngle = -desiredAngle
  548.  
  549. local tool = getTool()
  550.  
  551. if tool then
  552.  
  553. animStringValueObject = getToolAnim(tool)
  554.  
  555. if animStringValueObject then
  556. toolAnim = animStringValueObject.Value
  557. -- message recieved, delete StringValue
  558. animStringValueObject.Parent = nil
  559. toolAnimTime = time + .3
  560. end
  561.  
  562. if time > toolAnimTime then
  563. toolAnimTime = 0
  564. toolAnim = "None"
  565. end
  566.  
  567. animateTool()
  568.  
  569.  
  570. else
  571. toolAnim = "None"
  572. toolAnimTime = 0
  573. end
  574. end
  575.  
  576.  
  577. -- connect events
  578.  
  579. Humanoid.Died:connect(onDied)
  580. Humanoid.Running:connect(onRunning)
  581. Humanoid.Jumping:connect(onJumping)
  582. Humanoid.Climbing:connect(onClimbing)
  583. Humanoid.GettingUp:connect(onGettingUp)
  584. Humanoid.FreeFalling:connect(onFreeFall)
  585. Humanoid.FallingDown:connect(onFallingDown)
  586. Humanoid.Seated:connect(onSeated)
  587. Humanoid.PlatformStanding:connect(onPlatformStanding)
  588.  
  589. -- main program
  590.  
  591. local runService = game:service("RunService");
  592.  
  593. while Figure.Parent~=nil do
  594. local _, time = wait(0.1)
  595. move(time)
  596. end
  597.  
  598. end,o52)
  599. end))
  600. o53.Name = "Animatronic_AI"
  601. o53.Parent = o1
  602. table.insert(cors,coroutine.create(function()
  603. wait()
  604. runDummyScript(function()
  605. local zomb = script.Parent:WaitForChild("Zombie")
  606. local info = script.Parent:WaitForChild("Info")
  607. local jumpscare = script:WaitForChild("ONO")
  608. local shades = nil
  609.  
  610.  
  611.  
  612.  
  613. local distance = 100
  614. local detectdistance = 80
  615. local detectspeed = 5
  616.  
  617. Spawn(function()
  618. if script.Parent:FindFirstChild("Hair") then
  619. local W = Instance.new("Weld")
  620. W.Part0 = script.Parent.Head
  621. W.Part1 = script.Parent.Hair
  622. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  623. W.C1 = script.Parent.Hair.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  624. W.Parent = script.Parent.Torso
  625. script.Parent:FindFirstChild("Hair").Anchored = false
  626. end
  627. if script.Parent:FindFirstChild("Eye1") then
  628. local W = Instance.new("Weld")
  629. W.Part0 = script.Parent.Head
  630. W.Part1 = script.Parent.Eye1
  631. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  632. W.C1 = script.Parent.Eye1.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  633. W.Parent = script.Parent.Torso
  634. script.Parent:FindFirstChild("Eye1").Anchored = false
  635. end
  636. if script.Parent:FindFirstChild("Eye2") then
  637. local W = Instance.new("Weld")
  638. W.Part0 = script.Parent.Head
  639. W.Part1 = script.Parent.Eye2
  640. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  641. W.C1 = script.Parent.Eye2.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  642. W.Parent = script.Parent.Torso
  643. script.Parent:FindFirstChild("Eye2").Anchored = false
  644. end
  645. if script.Parent:FindFirstChild("Top") then
  646. local W = Instance.new("Weld")
  647. W.Part0 = script.Parent.Head
  648. W.Part1 = script.Parent.Top
  649. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  650. W.C1 = script.Parent.Top.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  651. W.Parent = script.Parent.Torso
  652. script.Parent:FindFirstChild("Top").Anchored = false
  653. end
  654. if script.Parent:FindFirstChild("Jaw") then
  655. local W = Instance.new("Weld")
  656. W.Part0 = script.Parent.Head
  657. W.Part1 = script.Parent.Jaw
  658. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  659. W.C1 = script.Parent.Jaw.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  660. W.Parent = script.Parent.Torso
  661. script.Parent:FindFirstChild("Jaw").Anchored = false
  662. end
  663. if script.Parent:FindFirstChild("Shades") then
  664. shades = script.Parent:FindFirstChild("Shades")
  665. local W = Instance.new("Weld")
  666. W.Part0 = script.Parent.Head
  667. W.Part1 = script.Parent.Shades
  668. W.C0 = script.Parent.Head.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  669. W.C1 = script.Parent.Shades.CFrame:inverse()*CFrame.new(script.Parent.Head.Position)
  670. W.Parent = script.Parent.Torso
  671. shades.Anchored = false
  672. shades.Transparency = 0
  673. end
  674. end)
  675.  
  676. function findNearestTorso(pos)
  677. local list = game.Workspace:children()
  678. local torso = nil
  679. local dist = distance
  680. local temp = nil
  681. local human = nil
  682. local temp2 = nil
  683. for x = 1, #list do
  684. temp2 = list[x]
  685. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  686. temp = temp2:findFirstChild("Torso")
  687. human = temp2:findFirstChild("Humanoid")
  688. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  689. if (temp.Position - pos).magnitude < dist then
  690. torso = temp
  691. dist = (temp.Position - pos).magnitude
  692. end
  693. end
  694. end
  695. end
  696. return torso
  697. end
  698.  
  699. damage = true
  700. function Hit(hit)
  701. local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
  702. if plr and damage == true and info.Mode.Value == "Angry" then
  703. damage = false
  704. jumpscare:Clone().Parent = plr.PlayerGui
  705. info.Mode.Value = "Walk"
  706. wait(2)
  707. damage = true
  708. end
  709. end
  710.  
  711. script.Parent["Left Arm"].Touched:connect(Hit)
  712. script.Parent["Right Arm"].Touched:connect(Hit)
  713. script.Parent["Left Leg"].Touched:connect(Hit)
  714. script.Parent["Right Leg"].Touched:connect(Hit)
  715. script.Parent["Torso"].Touched:connect(Hit)
  716. script.Parent["Head"].Touched:connect(Hit)
  717.  
  718. walked = true
  719. low = true
  720.  
  721. info.Mode.Changed:connect(function()
  722. while info.Mode.Value == "Walk" do
  723. wait(0.1)
  724. Spawn(function()
  725. if walked == true then
  726. walked = false
  727. a = 1024
  728. zomb:MoveTo(Vector3.new(math.random(-a, a), 0, math.random(-a, a)), game.Workspace.Terrain)
  729. wait(12)
  730. walked = true
  731. end
  732. end)
  733. Spawn(function()
  734. if info.DetectPercent.Value > 0 and low == true then
  735. low = false
  736. wait(5)
  737. info.DetectPercent.Value = info.DetectPercent.Value - 5
  738. low = true
  739. end
  740. end)
  741.  
  742. if shades then shades.Transparency = 0 end
  743. zomb.WalkSpeed = 6
  744. local target = findNearestTorso(script.Parent.Head.Position)
  745. if target ~= nil then
  746. info.DetectPercent.Value = info.DetectPercent.Value + detectspeed
  747.  
  748. if info.DetectPercent.Value >= 100 then
  749. info.DetectPercent.Value = 100
  750. info.Mode.Value = "Angry"
  751. game:GetService("Chat"):Chat(script.Parent.Head,lines[math.random(1, #lines)],"Red")
  752. end
  753.  
  754. if info.DetectPercent.Value < 0 then
  755. info.DetectPercent.Value = 0
  756. end
  757.  
  758. end
  759. target = nil
  760. end
  761.  
  762. while info.Mode.Value == "Angry" do
  763. wait(0.1)
  764. if shades then shades.Transparency = 1 end
  765. zomb.WalkSpeed = 30
  766. local target = findNearestTorso(script.Parent.Head.Position)
  767. if target ~= nil then
  768. zomb:MoveTo(target.Position+(Vector3.new(1,1,1)*(2*((math.random()*2)-1))),target)
  769. else
  770. info.Mode.Value = "Walk"
  771. info.DetectPercent.Value = 0
  772. end
  773. target = nil
  774. end
  775. end)
  776. info.Mode.Value = "Walk"
  777. end,o53)
  778. end))
  779. o54.Name = "ONO"
  780. o54.Parent = o53
  781. o55.Parent = o54
  782. o55.Position = UDim2.new(0.5,-575,0.5,-380)
  783. o55.Size = UDim2.new(0,1150,0,790)
  784. o55.Position = UDim2.new(0.5,-575,0.5,-380)
  785. o55.BackgroundColor3 = Color3.new(1, 1, 1)
  786. o55.BackgroundTransparency = 1
  787. o55.ZIndex = 8
  788. o55.Image = "rbxassetid://121958034"
  789. o56.Parent = o54
  790. o56.Position = UDim2.new(0,-100,0,-100)
  791. o56.Size = UDim2.new(0,9999,0,9999)
  792. o56.Position = UDim2.new(0,-100,0,-100)
  793. o56.BackgroundColor3 = Color3.new(0, 0, 0)
  794. o56.BorderSizePixel = 0
  795. o56.ZIndex = 7
  796. o57.Parent = o54
  797. table.insert(cors,coroutine.create(function()
  798. wait()
  799. runDummyScript(function()
  800. local Loleris = script.Parent:WaitForChild("ImageLabel")
  801. oldpos = Loleris.Position
  802. local Frame = script.Parent:WaitForChild("Frame")
  803.  
  804. local scream = script.Parent:WaitForChild("XSCREAM")
  805. local boom = script.Parent:WaitForChild("Boom")
  806.  
  807.  
  808.  
  809. if game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  810. scream:Play()
  811. Spawn(function()
  812. wait(.7) boom:Play()
  813. wait(.1) scream:Stop()
  814. Frame.ZIndex = 9
  815. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  816. end)
  817. game:GetService("RunService").RenderStepped:connect(function()
  818. Loleris.Position = oldpos + UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  819. end)
  820. end
  821. end,o57)
  822. end))
  823. o58.Name = "Boom"
  824. o58.Parent = o54
  825. o58.SoundId = "rbxassetid://130976109"
  826. o58.Volume = 1
  827. o59.Name = "XSCREAM"
  828. o59.Parent = o54
  829. o59.SoundId = "rbxassetid://515093461"
  830. o59.Volume = 1
  831. o60.Name = "Zombie"
  832. o60.Parent = o1
  833. o60.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  834. o60.RightLeg = o45
  835. o60.LeftLeg = o7
  836. o60.Torso = o46
  837. o60.WalkSpeed = 6
  838. o61.Name = "Info"
  839. o61.Parent = o1
  840. o62.Name = "DetectPercent"
  841. o62.Parent = o61
  842. o63.Name = "Mode"
  843. o63.Parent = o61
  844. o64.Parent = o1
  845. o64.SoundId = "rbxassetid://163417981"
  846. o64.Looped = true
  847. mas.Parent = workspace
  848. mas:MakeJoints()
  849. local mas1 = mas:GetChildren()
  850. for i=1,#mas1 do
  851. mas1[i].Parent = workspace
  852. ypcall(function() mas1[i]:MakeJoints() end)
  853. end
  854. mas:Destroy()
  855. for i=1,#cors do
  856. coroutine.resume(cors[i])
  857. end
  858.  
  859. game:GetService("Lighting").Ambient = Color3.new(0.498039, 0.498039, 0.498039)
  860. game:GetService("Lighting").Brightness = 5
  861. game:GetService("Lighting").ColorShift_Bottom = Color3.new(1, 1, 1)
  862. game:GetService("Lighting").ColorShift_Top = Color3.new(1, 1, 1)
  863. game:GetService("Lighting").GlobalShadows = true
  864. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.631373, 0.631373, 0.631373)
  865. game:GetService("Lighting").Outlines = false
  866. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  867. game:GetService("Lighting").TimeOfDay = "16:00:00"
  868. game:GetService("Lighting").FogColor = Color3.new(0, -7.50588, 0)
  869. game:GetService("Lighting").FogEnd = 1.0000000037683e+14
  870. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment