Dark_EccentricYT

Untitled

Jan 3rd, 2019
330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.70 KB | None | 0 0
  1. --SazErenos
  2. --BeepBopBoop
  3. Player=game.Players.LocalPlayer
  4. Character=Player.Character
  5. mouse = Player:GetMouse()
  6. attack = false
  7. function clerp(a, b, t)
  8. return a:lerp(b, t)
  9. end
  10. for _,v in pairs(Character:children()) do
  11. if v:IsA("Part") then
  12. v:Remove()
  13. elseif v:IsA("Humanoid") then
  14. v:Remove()
  15. end
  16. end
  17. wait(1)
  18.  
  19.  
  20. --[[function sandbox(var,func)
  21. local env = getfenv(func)
  22. local newenv = setmetatable({},{
  23. __index = function(self,k)
  24. if k=="script" then
  25. return var
  26. else
  27. return env[k]
  28. end
  29. end,
  30. })
  31. setfenv(func,newenv)
  32. return func
  33. end
  34. cors = {}
  35. mas = Instance.new("Model",game:GetService("Lighting"))]]
  36. --Character = Instance.new("Model")
  37. Part1 = Instance.new("Part")
  38. Part2 = Instance.new("Part")
  39. Part3 = Instance.new("Part")
  40. Motor6D4 = Instance.new("Motor6D")
  41. Part5 = Instance.new("Part")
  42. Motor6D6 = Instance.new("Motor6D")
  43. Part7 = Instance.new("Part")
  44. Part8 = Instance.new("Part")
  45. CylinderMesh9 = Instance.new("CylinderMesh")
  46. Motor6D10 = Instance.new("Motor6D")
  47. Part11 = Instance.new("Part")
  48. CylinderMesh12 = Instance.new("CylinderMesh")
  49. Motor6D13 = Instance.new("Motor6D")
  50. Part14 = Instance.new("Part")
  51. BodyPosition15 = Instance.new("BodyPosition")
  52. Sound16 = Instance.new("Sound")
  53. BodyGyro17 = Instance.new("BodyGyro")
  54. Motor6D18 = Instance.new("Motor6D")
  55. Motor6D19 = Instance.new("Motor6D")
  56. Motor6D20 = Instance.new("Motor6D")
  57. Motor6D21 = Instance.new("Motor6D")
  58. Motor6D22 = Instance.new("Motor6D")
  59. Vector3Value23 = Instance.new("Vector3Value")
  60. Part24 = Instance.new("Part")
  61. Motor6D25 = Instance.new("Motor6D")
  62. Part26 = Instance.new("Part")
  63. CylinderMesh27 = Instance.new("CylinderMesh")
  64. Motor6D28 = Instance.new("Motor6D")
  65. Motor6D29 = Instance.new("Motor6D")
  66. Part30 = Instance.new("Part")
  67. Motor6D31 = Instance.new("Motor6D")
  68. Part32 = Instance.new("Part")
  69. CylinderMesh33 = Instance.new("CylinderMesh")
  70. Sound34 = Instance.new("Sound")
  71. Part35 = Instance.new("Part")
  72. CylinderMesh36 = Instance.new("CylinderMesh")
  73. Part37 = Instance.new("Part")
  74. CylinderMesh38 = Instance.new("CylinderMesh")
  75. --[[Character.Name = "Character"
  76. Character.Parent = mas]]
  77. Part1.Name = "Left Leg2"
  78. Part1.Parent = Character
  79. Part1.Material = Enum.Material.DiamondPlate
  80. Part1.BrickColor = BrickColor.new("Dark stone grey")
  81. Part1.Rotation = Vector3.new(180, 15, -180)
  82. Part1.CanCollide = false
  83. Part1.FormFactor = Enum.FormFactor.Custom
  84. Part1.Size = Vector3.new(10, 10, 10)
  85. Part1.CFrame = CFrame.new(-12.5179701, 117.012268, 3.21098304, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
  86. Part1.BottomSurface = Enum.SurfaceType.Smooth
  87. Part1.TopSurface = Enum.SurfaceType.Smooth
  88. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  89. Part1.Position = Vector3.new(-12.5179701, 117.012268, 3.21098304)
  90. Part1.Orientation = Vector3.new(0, 165, 0)
  91. Part1.Color = Color3.new(0.388235, 0.372549, 0.384314)
  92. Part2.Name = "Right Leg2"
  93. Part2.Parent = Character
  94. Part2.Material = Enum.Material.DiamondPlate
  95. Part2.BrickColor = BrickColor.new("Dark stone grey")
  96. Part2.Rotation = Vector3.new(0, -15, 0)
  97. Part2.CanCollide = false
  98. Part2.FormFactor = Enum.FormFactor.Custom
  99. Part2.Size = Vector3.new(10, 10, 10)
  100. Part2.CFrame = CFrame.new(-9.92998791, 117.012268, -6.4490509, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  101. Part2.BottomSurface = Enum.SurfaceType.Smooth
  102. Part2.TopSurface = Enum.SurfaceType.Smooth
  103. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  104. Part2.Position = Vector3.new(-9.92998791, 117.012268, -6.4490509)
  105. Part2.Orientation = Vector3.new(0, -15, 0)
  106. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  107. Part3.Name = "Left Leg1"
  108. Part3.Parent = Character
  109. Part3.Material = Enum.Material.DiamondPlate
  110. Part3.BrickColor = BrickColor.new("Dark stone grey")
  111. Part3.Rotation = Vector3.new(180, 15, -180)
  112. Part3.CanCollide = false
  113. Part3.FormFactor = Enum.FormFactor.Custom
  114. Part3.Size = Vector3.new(10, 10, 10)
  115. Part3.CFrame = CFrame.new(-12.518177, 127.012268, 3.21020746, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
  116. Part3.BottomSurface = Enum.SurfaceType.Smooth
  117. Part3.TopSurface = Enum.SurfaceType.Smooth
  118. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  119. Part3.Position = Vector3.new(-12.518177, 127.012268, 3.21020746)
  120. Part3.Orientation = Vector3.new(0, 165, 0)
  121. Part3.Color = Color3.new(0.388235, 0.372549, 0.384314)
  122. Motor6D4.Name = "LHip2"
  123. Motor6D4.Parent = Part3
  124. Motor6D4.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  125. Motor6D4.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  126. Motor6D4.Part0 = Part3
  127. Motor6D4.Part1 = Part1
  128. Motor6D4.DesiredAngle = -0.15241381525993
  129. Motor6D4.MaxVelocity = 0.30000001192093
  130. Part5.Name = "Right Leg1"
  131. Part5.Parent = Character
  132. Part5.Material = Enum.Material.DiamondPlate
  133. Part5.BrickColor = BrickColor.new("Dark stone grey")
  134. Part5.Rotation = Vector3.new(0, -15, 0)
  135. Part5.CanCollide = false
  136. Part5.FormFactor = Enum.FormFactor.Custom
  137. Part5.Size = Vector3.new(10, 10, 10)
  138. Part5.CFrame = CFrame.new(-9.929986, 127.012268, -6.44905043, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  139. Part5.BottomSurface = Enum.SurfaceType.Smooth
  140. Part5.TopSurface = Enum.SurfaceType.Smooth
  141. Part5.Color = Color3.new(0.388235, 0.372549, 0.384314)
  142. Part5.Position = Vector3.new(-9.929986, 127.012268, -6.44905043)
  143. Part5.Orientation = Vector3.new(0, -15, 0)
  144. Part5.Color = Color3.new(0.388235, 0.372549, 0.384314)
  145. Motor6D6.Name = "RHip2"
  146. Motor6D6.Parent = Part5
  147. Motor6D6.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  148. Motor6D6.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  149. Motor6D6.Part0 = Part5
  150. Motor6D6.Part1 = Part2
  151. Motor6D6.DesiredAngle = -0.15241381525993
  152. Motor6D6.MaxVelocity = 0.30000001192093
  153. Part7.Name = "Left Arm2"
  154. Part7.Parent = Character
  155. Part7.Material = Enum.Material.DiamondPlate
  156. Part7.BrickColor = BrickColor.new("Dark stone grey")
  157. Part7.Rotation = Vector3.new(180, 15, -180)
  158. Part7.CanCollide = false
  159. Part7.FormFactor = Enum.FormFactor.Custom
  160. Part7.Size = Vector3.new(10, 10, 10)
  161. Part7.CFrame = CFrame.new(-7.34179354, 137.012268, -16.1083069, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
  162. Part7.BottomSurface = Enum.SurfaceType.Smooth
  163. Part7.TopSurface = Enum.SurfaceType.Smooth
  164. Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  165. Part7.Position = Vector3.new(-7.34179354, 137.012268, -16.1083069)
  166. Part7.Orientation = Vector3.new(0, 165, 0)
  167. Part7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  168. Part8.Name = "Head"
  169. Part8.Parent = Character
  170. Part8.Material = Enum.Material.DiamondPlate
  171. Part8.BrickColor = BrickColor.new("Dark stone grey")
  172. Part8.Rotation = Vector3.new(-180, -75, -180)
  173. Part8.FormFactor = Enum.FormFactor.Custom
  174. Part8.Friction = 0
  175. Part8.Size = Vector3.new(20, 15, 10)
  176. Part8.CFrame = CFrame.new(-11.2240744, 159.512268, -1.61942053, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
  177. Part8.BottomSurface = Enum.SurfaceType.Smooth
  178. Part8.TopSurface = Enum.SurfaceType.Smooth
  179. Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  180. Part8.Position = Vector3.new(-11.2240744, 159.512268, -1.61942053)
  181. Part8.Orientation = Vector3.new(0, -105, 0)
  182. Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
  183. CylinderMesh9.Parent = Part8
  184. CylinderMesh9.Scale = Vector3.new(2, 1, 2)
  185. CylinderMesh9.Scale = Vector3.new(2, 1, 2)
  186. Motor6D10.Name = "VisorWeld"
  187. Motor6D10.Parent = Part8
  188. Motor6D10.C0 = CFrame.new(0, 1.29999995, -1, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  189. Motor6D10.Part0 = Part8
  190. Motor6D10.Part1 = Part37
  191. Part11.Name = "Right Arm1"
  192. Part11.Parent = Character
  193. Part11.Material = Enum.Material.DiamondPlate
  194. Part11.BrickColor = BrickColor.new("Dark stone grey")
  195. Part11.Rotation = Vector3.new(0, -15, 0)
  196. Part11.CanCollide = false
  197. Part11.FormFactor = Enum.FormFactor.Custom
  198. Part11.Size = Vector3.new(10, 10, 10)
  199. Part11.CFrame = CFrame.new(-15.1063633, 147.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  200. Part11.BottomSurface = Enum.SurfaceType.Smooth
  201. Part11.TopSurface = Enum.SurfaceType.Smooth
  202. Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  203. Part11.Position = Vector3.new(-15.1063633, 147.012268, 12.8694658)
  204. Part11.Orientation = Vector3.new(0, -15, 0)
  205. Part11.Color = Color3.new(0.388235, 0.372549, 0.384314)
  206. CylinderMesh12.Parent = Part11
  207. CylinderMesh12.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
  208. CylinderMesh12.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
  209. Motor6D13.Name = "RShoulder2"
  210. Motor6D13.Parent = Part11
  211. Motor6D13.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  212. Motor6D13.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  213. Motor6D13.Part0 = Part11
  214. Motor6D13.Part1 = Part26
  215. Motor6D13.DesiredAngle = 0.52359879016876
  216. Motor6D13.MaxVelocity = 0.30000001192093
  217. Part14.Name = "Torso"
  218. Part14.Parent = Character
  219. Part14.Material = Enum.Material.DiamondPlate
  220. Part14.BrickColor = BrickColor.new("Dark stone grey")
  221. Part14.Rotation = Vector3.new(-180, -75, -180)
  222. Part14.CanCollide = false
  223. Part14.FormFactor = Enum.FormFactor.Custom
  224. Part14.Size = Vector3.new(2, 2, 1)
  225. Part14.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
  226. Part14.BottomSurface = Enum.SurfaceType.Smooth
  227. Part14.TopSurface = Enum.SurfaceType.Smooth
  228. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  229. Part14.Position = Vector3.new(-11.2240782, 142.012268, -1.61942101)
  230. Part14.Orientation = Vector3.new(0, -105, 0)
  231. Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
  232. BodyPosition15.Parent = Part14
  233. BodyPosition15.D = 200
  234. BodyPosition15.position = Vector3.new(0, 0, 0)
  235. BodyPosition15.Position = Vector3.new(0, 0, 0)
  236. Sound16.Name = "Walk"
  237. Sound16.Parent = Part14
  238. Sound16.Pitch = 0.60000002384186
  239. Sound16.SoundId = "http://www.roblox.com/asset/?id=10730819"
  240. Sound16.Volume = 1
  241. BodyGyro17.Parent = Part14
  242. BodyGyro17.CFrame = CFrame.new(96, 36.1000023, 46, 0.422321469, 0, 0.906446099, -0, 1, -0, -0.906446099, 0, 0.422321469)
  243. BodyGyro17.maxTorque = Vector3.new(40000, 400000, 40000)
  244. BodyGyro17.P = 800
  245. BodyGyro17.D = 100
  246. BodyGyro17.MaxTorque = Vector3.new(40000, 400000, 40000)
  247. Motor6D18.Name = "Neck"
  248. Motor6D18.Parent = Part14
  249. Motor6D18.C0 = CFrame.new(0, 7.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  250. Motor6D18.C1 = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  251. Motor6D18.Part0 = Part14
  252. Motor6D18.Part1 = Part8
  253. Motor6D19.Name = "LHip1"
  254. Motor6D19.Parent = Part14
  255. Motor6D19.C0 = CFrame.new(5, -10, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
  256. Motor6D19.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  257. Motor6D19.Part0 = Part14
  258. Motor6D19.Part1 = Part3
  259. Motor6D19.DesiredAngle = -0.30482763051987
  260. Motor6D19.MaxVelocity = 0.30000001192093
  261. Motor6D20.Name = "RHip1"
  262. Motor6D20.Parent = Part14
  263. Motor6D20.C0 = CFrame.new(-5, -10, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  264. Motor6D20.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  265. Motor6D20.Part0 = Part14
  266. Motor6D20.Part1 = Part5
  267. Motor6D20.DesiredAngle = -0.30482763051987
  268. Motor6D20.MaxVelocity = 0.30000001192093
  269. Motor6D21.Name = "RShoulder1"
  270. Motor6D21.Parent = Part14
  271. Motor6D21.C0 = CFrame.new(15, 10, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  272. Motor6D21.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  273. Motor6D21.Part0 = Part14
  274. Motor6D21.Part1 = Part11
  275. Motor6D21.DesiredAngle = -0.30482763051987
  276. Motor6D21.MaxVelocity = 0.30000001192093
  277. Motor6D22.Name = "LShoulder1"
  278. Motor6D22.Parent = Part14
  279. Motor6D22.C0 = CFrame.new(-15, 10, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
  280. Motor6D22.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  281. Motor6D22.Part0 = Part14
  282. Motor6D22.Part1 = Part24
  283. Motor6D22.DesiredAngle = -0.30482763051987
  284. Motor6D22.MaxVelocity = 0.30000001192093
  285. Vector3Value23.Parent = Part14
  286. Vector3Value23.Value = Vector3.new(-11.224, 142.011993, -1.61899996)
  287. Part24.Name = "Left Arm1"
  288. Part24.Parent = Character
  289. Part24.Material = Enum.Material.DiamondPlate
  290. Part24.BrickColor = BrickColor.new("Dark stone grey")
  291. Part24.Rotation = Vector3.new(180, 15, -180)
  292. Part24.CanCollide = false
  293. Part24.FormFactor = Enum.FormFactor.Custom
  294. Part24.Size = Vector3.new(10, 10, 10)
  295. Part24.CFrame = CFrame.new(-7.34179163, 147.012268, -16.1083069, -0.965925813, 2.10972814e-07, 0.258819073, 2.10972814e-07, 1, -2.77751191e-08, -0.258819073, 2.77751102e-08, -0.965925813)
  296. Part24.BottomSurface = Enum.SurfaceType.Smooth
  297. Part24.TopSurface = Enum.SurfaceType.Smooth
  298. Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
  299. Part24.Position = Vector3.new(-7.34179163, 147.012268, -16.1083069)
  300. Part24.Orientation = Vector3.new(0, 165, 0)
  301. Part24.Color = Color3.new(0.388235, 0.372549, 0.384314)
  302. Motor6D25.Name = "LShoulder2"
  303. Motor6D25.Parent = Part24
  304. Motor6D25.C0 = CFrame.new(0, -5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  305. Motor6D25.C1 = CFrame.new(0, 5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  306. Motor6D25.Part0 = Part24
  307. Motor6D25.Part1 = Part7
  308. Motor6D25.DesiredAngle = -0.15241381525993
  309. Motor6D25.MaxVelocity = 0.30000001192093
  310. Part26.Name = "Right Arm2"
  311. Part26.Parent = Character
  312. Part26.Material = Enum.Material.DiamondPlate
  313. Part26.BrickColor = BrickColor.new("Dark stone grey")
  314. Part26.Rotation = Vector3.new(0, -15, 0)
  315. Part26.CanCollide = false
  316. Part26.FormFactor = Enum.FormFactor.Custom
  317. Part26.Size = Vector3.new(10, 10, 10)
  318. Part26.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  319. Part26.BottomSurface = Enum.SurfaceType.Smooth
  320. Part26.TopSurface = Enum.SurfaceType.Smooth
  321. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  322. Part26.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
  323. Part26.Orientation = Vector3.new(0, -15, 0)
  324. Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
  325. CylinderMesh27.Parent = Part26
  326. CylinderMesh27.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
  327. CylinderMesh27.Scale = Vector3.new(1.29999995, 1.20000005, 1.29999995)
  328. Motor6D28.Name = "RShoulder2H"
  329. Motor6D28.Parent = Part26
  330. Motor6D28.Part0 = Part26
  331. Motor6D28.Part1 = Part32
  332. Motor6D29.Name = "RShoulder3H"
  333. Motor6D29.Parent = Part26
  334. Motor6D29.Part0 = Part26
  335. Motor6D29.Part1 = Part35
  336. Part30.Name = "HumanoidRootPart"
  337. Part30.Parent = Character
  338. Part30.Material = Enum.Material.DiamondPlate
  339. Part30.BrickColor = BrickColor.new("Dark stone grey")
  340. Part30.Transparency = 1
  341. Part30.Rotation = Vector3.new(-180, -75, -180)
  342. Part30.FormFactor = Enum.FormFactor.Custom
  343. Part30.Friction = 0
  344. Part30.Size = Vector3.new(20, 20, 10)
  345. Part30.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
  346. Part30.BottomSurface = Enum.SurfaceType.Smooth
  347. Part30.TopSurface = Enum.SurfaceType.Universal
  348. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  349. Part30.Position = Vector3.new(-11.2240782, 142.012268, -1.61942101)
  350. Part30.Orientation = Vector3.new(0, -105, 0)
  351. Part30.Color = Color3.new(0.388235, 0.372549, 0.384314)
  352. Motor6D31.Name = "RootJoint"
  353. Motor6D31.Parent = Part30
  354. Motor6D31.Part0 = Part30
  355. Motor6D31.Part1 = Part14
  356. Part32.Name = "Right ArmHole"
  357. Part32.Parent = Character
  358. Part32.Material = Enum.Material.SmoothPlastic
  359. Part32.BrickColor = BrickColor.new("Black")
  360. Part32.Rotation = Vector3.new(0, -15, 0)
  361. Part32.CanCollide = false
  362. Part32.FormFactor = Enum.FormFactor.Custom
  363. Part32.Size = Vector3.new(10, 10, 10)
  364. Part32.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  365. Part32.BottomSurface = Enum.SurfaceType.Smooth
  366. Part32.TopSurface = Enum.SurfaceType.Smooth
  367. Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  368. Part32.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
  369. Part32.Orientation = Vector3.new(0, -15, 0)
  370. Part32.Color = Color3.new(0.105882, 0.164706, 0.207843)
  371. CylinderMesh33.Parent = Part32
  372. CylinderMesh33.Offset = Vector3.new(0, -0.0299999993, 0)
  373. CylinderMesh33.Scale = Vector3.new(0.600000024, 1.20000005, 0.600000024)
  374. CylinderMesh33.Scale = Vector3.new(0.600000024, 1.20000005, 0.600000024)
  375. Sound34.Name = "Laser"
  376. Sound34.Parent = Part32
  377. Sound34.Pitch = 0.69999998807907
  378. Sound34.SoundId = "http://www.roblox.com/asset/?id=135249156"
  379. Sound34.Volume = 1
  380. Part35.Name = "Right Arm3"
  381. Part35.Parent = Character
  382. Part35.Material = Enum.Material.DiamondPlate
  383. Part35.BrickColor = BrickColor.new("Dark stone grey")
  384. Part35.Rotation = Vector3.new(0, -15, 0)
  385. Part35.CanCollide = false
  386. Part35.FormFactor = Enum.FormFactor.Custom
  387. Part35.Size = Vector3.new(10, 10, 10)
  388. Part35.CFrame = CFrame.new(-15.1063652, 137.012268, 12.8694658, 0.965925813, 2.10972814e-07, -0.258819014, -2.10972814e-07, 1, 2.77751013e-08, 0.258819014, 2.77751102e-08, 0.965925813)
  389. Part35.BottomSurface = Enum.SurfaceType.Smooth
  390. Part35.TopSurface = Enum.SurfaceType.Smooth
  391. Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
  392. Part35.Position = Vector3.new(-15.1063652, 137.012268, 12.8694658)
  393. Part35.Orientation = Vector3.new(0, -15, 0)
  394. Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
  395. CylinderMesh36.Parent = Part35
  396. CylinderMesh36.Offset = Vector3.new(0, 1, 0)
  397. CylinderMesh36.Scale = Vector3.new(1.39999998, 1, 1.39999998)
  398. CylinderMesh36.Scale = Vector3.new(1.39999998, 1, 1.39999998)
  399. Part37.Name = "Visor"
  400. Part37.Parent = Character
  401. Part37.Material = Enum.Material.SmoothPlastic
  402. Part37.BrickColor = BrickColor.new("Bright bluish green")
  403. Part37.Reflectance = 0.5
  404. Part37.Rotation = Vector3.new(-180, -75, -180)
  405. Part37.CanCollide = false
  406. Part37.FormFactor = Enum.FormFactor.Custom
  407. Part37.Size = Vector3.new(20, 5, 10)
  408. Part37.CFrame = CFrame.new(-10.2581482, 160.812271, -1.36060143, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
  409. Part37.BottomSurface = Enum.SurfaceType.Smooth
  410. Part37.TopSurface = Enum.SurfaceType.Smooth
  411. Part37.Color = Color3.new(0, 0.560784, 0.611765)
  412. Part37.Position = Vector3.new(-10.2581482, 160.812271, -1.36060143)
  413. Part37.Orientation = Vector3.new(0, -105, 0)
  414. Part37.Color = Color3.new(0, 0.560784, 0.611765)
  415. CylinderMesh38.Parent = Part37
  416. CylinderMesh38.Scale = Vector3.new(1.89999998, 1, 1.89999998)
  417. CylinderMesh38.Scale = Vector3.new(1.89999998, 1, 1.89999998)
  418. asdf=Instance.new("Part")
  419. asdf.Name = "Torso1"
  420. asdf.Parent = Character
  421. asdf.Material = Enum.Material.DiamondPlate
  422. asdf.BrickColor = BrickColor.new("Dark stone grey")
  423. asdf.Rotation = Vector3.new(-180, -75, -180)
  424. asdf.CanCollide = false
  425. asdf.FormFactor = Enum.FormFactor.Custom
  426. asdf.Size = Vector3.new(20, 20, 10)
  427. asdf.CFrame = CFrame.new(-11.2240782, 142.012268, -1.61942101, -0.258819044, 2.10972814e-07, -0.965925813, 2.77751102e-08, 1, 2.10972814e-07, 0.965925813, 2.77751102e-08, -0.258819044)
  428. aaaa=Instance.new("Weld",asdf)
  429. aaaa.Part0=asdf
  430. aaaa.Part1=Part14
  431.  
  432. --[[for i,v in pairs(mas:GetChildren()) do
  433. v.Parent = workspace
  434. pcall(function() v:MakeJoints() end)
  435. end
  436. mas:Destroy()
  437. for i,v in pairs(cors) do
  438. spawn(function()
  439. pcall(v)
  440. end)
  441. end]]
  442.  
  443. wait(1)
  444. local Create = LoadLibrary("RbxUtility").Create
  445. ArtificialHB = Create("BindableEvent", script){
  446. Parent = script,
  447. Name = "Heartbeat",
  448. }
  449.  
  450. script:WaitForChild("Heartbeat")
  451.  
  452. frame = 1 / 30
  453. tf = 0
  454. allowframeloss = false
  455. tossremainder = false
  456. lastframe = tick()
  457. script.Heartbeat:Fire()
  458.  
  459. game:GetService("RunService").Heartbeat:connect(function(s, p)
  460. tf = tf + s
  461. if tf >= frame then
  462. if allowframeloss then
  463. script.Heartbeat:Fire()
  464. lastframe = tick()
  465. else
  466. for i = 1, math.floor(tf / frame) do
  467. script.Heartbeat:Fire()
  468. end
  469. lastframe = tick()
  470. end
  471. if tossremainder then
  472. tf = 0
  473. else
  474. tf = tf - frame * math.floor(tf / frame)
  475. end
  476. end
  477. end)
  478.  
  479. function swait(num)
  480. if num == 0 or num == nil then
  481. ArtificialHB.Event:wait()
  482. else
  483. for i = 0, num do
  484. ArtificialHB.Event:wait()
  485. end
  486. end
  487. end
  488. waitFor=function(Name)
  489. while Character:FindFirstChild(Name)==nil do
  490. swait()
  491. end
  492. return Character:FindFirstChild(Name)
  493. end
  494.  
  495. Head=waitFor("Head")
  496. Torso=waitFor("Torso")
  497. RootPart=waitFor("HumanoidRootPart")
  498. LA1=waitFor("Left Arm1")
  499. LA2=waitFor("Left Arm2")
  500. RA1=waitFor("Right Arm1")
  501. RA2=waitFor("Right Arm2")
  502.  
  503. LL1=waitFor("Left Leg1")
  504. LL2=waitFor("Left Leg2")
  505. RL1=waitFor("Right Leg1")
  506. RL2=waitFor("Right Leg2")
  507.  
  508. Neck=Instance.new("Motor6D")
  509. Neck.Name="Neck"
  510. Neck.Part0=Torso
  511. Neck.Part1=Head
  512. Neck.C0=CFrame.new(0,7.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
  513. Neck.C1=CFrame.new(0,-10,0)
  514. Neck.Parent=Neck.Part0
  515.  
  516. LHip1=Instance.new("Motor6D")
  517. LHip1.Name="LHip1"
  518. LHip1.Part0=Torso
  519. LHip1.Part1=LL1
  520. LHip1.C0=CFrame.new(5,-10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),-math.pi/2,0)
  521. LHip1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  522. LHip1.Parent=Torso
  523.  
  524. LHip2=Instance.new("Motor6D")
  525. LHip2.Name="LHip2"
  526. LHip2.Part0=LL1
  527. LHip2.Part1=LL2
  528. LHip2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
  529. LHip2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  530. LHip2.Parent=LL1
  531.  
  532. LHip1.MaxVelocity=.3
  533. LHip2.MaxVelocity=.3
  534. LHip1.DesiredAngle=.3
  535. LHip2.DesiredAngle=.3
  536.  
  537.  
  538. RHip1=Instance.new("Motor6D")
  539. RHip1.Name="RHip1"
  540. RHip1.Part0=Torso
  541. RHip1.Part1=RL1
  542. RHip1.C0=CFrame.new(-5,-10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),math.pi/2,0)
  543. RHip1.C1=CFrame.new(0,5,0)
  544. RHip1.Parent=Torso
  545.  
  546. RHip2=Instance.new("Motor6D")
  547. RHip2.Name="RHip2"
  548. RHip2.Part0=RL1
  549. RHip2.Part1=RL2
  550. RHip2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
  551. RHip2.C1=CFrame.new(0,5,0)
  552. RHip2.Parent=RL1
  553.  
  554. RHip1.MaxVelocity=.3
  555. RHip2.MaxVelocity=.3
  556. RHip1.DesiredAngle=.3
  557. RHip2.DesiredAngle=.3
  558.  
  559.  
  560.  
  561.  
  562. RShoulder1=Instance.new("Motor6D")
  563. RShoulder1.Name="RShoulder1"
  564. RShoulder1.Part0=Torso
  565. RShoulder1.Part1=RA1
  566. RShoulder1.C0=CFrame.new(15,10,0) * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  567. RShoulder1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  568. RShoulder1.Parent=Torso
  569.  
  570. RShoulder2=Instance.new("Motor6D")
  571. RShoulder2.Name="RShoulder2"
  572. RShoulder2.Part0=RA1
  573. RShoulder2.Part1=RA2
  574. RShoulder2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  575. RShoulder2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  576. RShoulder2.Parent=RA1
  577.  
  578. RShoulder1.MaxVelocity=.3
  579. RShoulder2.MaxVelocity=.3
  580. RShoulder1.DesiredAngle=.3
  581. RShoulder2.DesiredAngle=.3
  582.  
  583. LShoulder1=Instance.new("Motor6D")
  584. LShoulder1.Name="LShoulder1"
  585. LShoulder1.Part0=Torso
  586. LShoulder1.Part1=LA1
  587. LShoulder1.C0=CFrame.new(-15,10,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),-math.pi/2,0)
  588. LShoulder1.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  589. LShoulder1.Parent=Torso
  590.  
  591. LShoulder2=Instance.new("Motor6D")
  592. LShoulder2.Name="LShoulder2"
  593. LShoulder2.Part0=LA1
  594. LShoulder2.Part1=LA2
  595. LShoulder2.C0=CFrame.new(0,-5,0) * CFrame.fromEulerAnglesXYZ(math.rad(0),0,0)
  596. LShoulder2.C1=CFrame.new(0,5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  597. LShoulder2.Parent=LA1
  598.  
  599. LShoulder1.MaxVelocity=.3
  600. LShoulder2.MaxVelocity=.3
  601. LShoulder1.DesiredAngle=.3
  602. LShoulder2.DesiredAngle=.3
  603.  
  604.  
  605.  
  606. ArmHoleWeld=Instance.new("Motor6D")
  607. ArmHoleWeld.Name="RShoulder2H"
  608. ArmHoleWeld.Part0=RA2
  609. ArmHoleWeld.Part1=script.Parent["Right ArmHole"]
  610. ArmHoleWeld.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  611. ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  612. ArmHoleWeld.Parent=RA2
  613.  
  614. ArmHoleWeld=Instance.new("Motor6D")
  615. ArmHoleWeld.Name="RShoulder3H"
  616. ArmHoleWeld.Part0=RA2
  617. ArmHoleWeld.Part1=script.Parent["Right Arm3"]
  618. ArmHoleWeld.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  619. ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  620. ArmHoleWeld.Parent=RA2
  621.  
  622. ArmHoleWeld=Instance.new("Motor6D")
  623. ArmHoleWeld.Name="VisorWeld"
  624. ArmHoleWeld.Part0=Head
  625. ArmHoleWeld.Part1=script.Parent["Visor"]
  626. ArmHoleWeld.C0=CFrame.new(0,1.3,-1) * CFrame.fromEulerAnglesXYZ(0,0,0)
  627. ArmHoleWeld.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  628. ArmHoleWeld.Parent=Head
  629.  
  630. RootJoint=Instance.new("Motor6D")
  631. RootJoint.Name="RootJoint"
  632. RootJoint.Part0=RootPart
  633. RootJoint.Part1=Torso
  634. RootJoint.C0=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  635. RootJoint.C1=CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  636. RootJoint.Parent=RootPart
  637.  
  638. h=Instance.new("Humanoid")
  639. h.MaxHealth=6000
  640. h.WalkSpeed=30
  641. h.Parent=Character
  642.  
  643. --Anti OHKO
  644. LastHealth=6000
  645. onChanged=function(Num)
  646. if LastHealth-Num > 80 then
  647. script.Parent.Humanoid.Health=LastHealth-80
  648. end
  649. LastHealth=script.Parent.Humanoid.Health
  650. end
  651. --[[coroutine.resume(coroutine.create(function()
  652. while true do
  653. swait()
  654. if script.Parent.Humanoid.Health <= 0 then
  655. for _,i in pairs(game.Players:children()) do
  656. game:GetService("BadgeService"):AwardBadge(i.userId, BadgeID)
  657. print("GIMME BOODGE")
  658. end
  659. end
  660. end
  661. end))]]
  662. script.Parent.Humanoid.HealthChanged:connect(onChanged)
  663.  
  664.  
  665. --Animations
  666.  
  667. Effects = { }
  668.  
  669. CFuncs = {
  670. Part = {
  671. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  672. local Part = Create("Part"){
  673. Parent = Parent,
  674. Reflectance = Reflectance,
  675. Transparency = Transparency,
  676. CanCollide = false,
  677. Locked = true,
  678. BrickColor = BrickColor.new(tostring(BColor)),
  679. Name = Name,
  680. Size = Size,
  681. Material = Material,
  682. }
  683. RemoveOutlines(Part)
  684. return Part
  685. end;
  686. };
  687.  
  688. Mesh = {
  689. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  690. local Msh = Create(Mesh){
  691. Parent = Part,
  692. Offset = OffSet,
  693. Scale = Scale,
  694. }
  695. if Mesh == "SpecialMesh" then
  696. Msh.MeshType = MeshType
  697. Msh.MeshId = MeshId
  698. end
  699. return Msh
  700. end;
  701. };
  702. }
  703. EffectModel = Create("Model"){
  704. Parent = Character,
  705. Name = "Effects",
  706. }
  707.  
  708. Effects = {
  709.  
  710. Fire = {
  711. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  712. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(.2,.2,.2))
  713. prt.Anchored = true
  714. prt.CFrame = cframe
  715. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. game:GetService("Debris"):AddItem(prt, 10)
  717. table.insert(Effects, {
  718. prt,
  719. "Fire",
  720. delay,
  721. 1,
  722. 1,
  723. 1,
  724. msh
  725. })
  726. end;
  727. };
  728. }
  729.  
  730.  
  731.  
  732. po=0
  733. Walk=function()
  734.  
  735. ctime=math.sin(time() * 5) * .5
  736. RHip1.DesiredAngle=ctime
  737. RHip2.DesiredAngle=ctime/2
  738. LHip1.DesiredAngle=ctime
  739. LHip2.DesiredAngle=ctime/2
  740.  
  741. RHip1.DesiredAngle=ctime
  742. RHip2.DesiredAngle=ctime/2
  743. LHip1.DesiredAngle=ctime
  744. LHip2.DesiredAngle=ctime/2
  745.  
  746. RShoulder1.DesiredAngle=ctime
  747. RShoulder2.DesiredAngle=math.rad(30)
  748. LShoulder1.DesiredAngle=ctime
  749. LShoulder2.DesiredAngle=ctime/2
  750.  
  751. BodyPos.position=BodyPos.position + (BodyPos.position-Destination).unit*-1
  752. BodyGyro.cframe=CFrame.new(Torso.Position,Vector3.new(Destination.x,Torso.Position.y,Destination.z))
  753.  
  754. po=po+1
  755. if po>=18 then
  756. Torso.Walk:Play()
  757. po=0
  758.  
  759. for _,v in pairs(workspace:children()) do
  760. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
  761. if (v.Torso.Position-RL2.Position).magnitude < 12 then
  762. v.Humanoid:TakeDamage(40)
  763. end
  764. end
  765. end
  766. for _,v in pairs(workspace:children()) do
  767. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
  768. if (v.Torso.Position-LL2.Position).magnitude < 12 then
  769. v.Humanoid:TakeDamage(40)
  770. end
  771. end
  772. end
  773.  
  774. for _,v in pairs(workspace:children()) do
  775. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil and v~=script.Parent then
  776. if (v.Torso.Position-(Torso.Position-Vector3.new(0,33,0))).magnitude < 40 then
  777. print("DAI")
  778. r=Instance.new("BodyAngularVelocity")
  779. r.P=3000
  780. r.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  781. r.maxTorque=Vector3.new(500000,500000,500000)*5000
  782. r.Parent=v.Torso
  783. game:GetService("Debris"):AddItem(r,.2)
  784. r=Instance.new("BodyVelocity")
  785. r.P=3000
  786. r.velocity=Vector3.new(math.random(-10,10)/2,math.random(10,40),math.random(-10,10)/2)
  787. r.maxForce=Vector3.new(500000,500000,500000)*5000
  788. r.Parent=v.Torso
  789. game:GetService("Debris"):AddItem(r,.33)
  790. end
  791. end
  792. end
  793.  
  794. end
  795.  
  796. end
  797.  
  798. WalkTo=function(pos)
  799.  
  800. local cpos=pos+Vector3.new(0,5,0)
  801. par,loc=workspace:FindPartOnRayWithIgnoreList(Ray.new(cpos,Vector3.new(0,-60,0)),ignore)
  802.  
  803. Destination=loc + Vector3.new(0,30,0)
  804.  
  805. --print(Destination,"NEW")
  806.  
  807. end
  808.  
  809. Destination=Torso.Position
  810.  
  811. ignore={}
  812. updateIgnore=function()
  813. ignore={}
  814. lol=function(p)
  815. for i=1, #p do
  816. if p[i]:IsA("BasePart") then
  817. if p[i].CanCollide==false or p[i]:GetMass()<100 then
  818. table.insert(ignore,p[i])
  819. end
  820. end
  821. k=p[i]:GetChildren()
  822. if #k>0 then
  823. lol(k)
  824. end
  825. end
  826. end
  827. lol(workspace:children())
  828. end
  829. updateIgnore()
  830.  
  831. FireAt=function(pos)
  832. attack = true
  833. ctime=math.sin(time() * 5) * .5
  834. RHip1.CurrentAngle=0
  835. RHip2.CurrentAngle=0
  836. LHip1.CurrentAngle=0
  837. LHip2.CurrentAngle=0
  838.  
  839. RHip1.CurrentAngle=0
  840. RHip2.CurrentAngle=0
  841. LHip1.CurrentAngle=0
  842. LHip2.CurrentAngle=0
  843.  
  844. RShoulder1.CurrentAngle=0
  845. RShoulder2.CurrentAngle=math.rad(30)
  846. LShoulder1.CurrentAngle=0
  847. LShoulder2.CurrentAngle=0
  848.  
  849. RHip1.DesiredAngle=0
  850. RHip2.DesiredAngle=0
  851. LHip1.DesiredAngle=0
  852. LHip2.DesiredAngle=0
  853.  
  854. RHip1.DesiredAngle=0
  855. RHip2.DesiredAngle=0
  856. LHip1.DesiredAngle=0
  857. LHip2.DesiredAngle=0
  858.  
  859. RShoulder1.DesiredAngle=.6
  860. RShoulder2.DesiredAngle=0
  861. LShoulder1.DesiredAngle=.2
  862. LShoulder2.DesiredAngle=-.3
  863.  
  864.  
  865. BodyGyro.cframe=CFrame.new(Torso.Position,Vector3.new(pos.x,Torso.Position.y,pos.z))
  866.  
  867. swait(.3)
  868.  
  869. Dist=(Torso.Position.y-pos.y)
  870. if Dist>20 then
  871. Dist=20
  872. end
  873. RShoulder1.DesiredAngle=math.rad(Dist)
  874.  
  875. Dist=(Torso.Position-pos).magnitude / 3
  876. if Dist>40 then
  877. Dist=40
  878. end
  879. RShoulder1.DesiredAngle=RShoulder1.DesiredAngle + math.rad(Dist) + math.rad(7)
  880. RShoulder2.DesiredAngle=math.rad(5)
  881.  
  882. for i=1, 10 do
  883. Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(-math.rad(3),0,0)
  884. RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(-math.rad(5),0,0)
  885. swait(.03)
  886. end
  887.  
  888. Sound34:Play()
  889.  
  890. las=Instance.new("Part")
  891. las.Name="Pew"
  892. las.BrickColor=BrickColor.new("Really red")
  893. las.Reflectance=0
  894. las.Transparency=.2
  895. las.TopSurface=0
  896. las.BottomSurface=0
  897. las.formFactor="Symmetric"
  898. las.Size=Vector3.new(1,1,1)
  899. las.CFrame=script.Parent["Right ArmHole"].CFrame
  900. w=Instance.new("Weld")
  901. w.C1=CFrame.new(0,5,0)
  902. w.Part0=script.Parent["Right ArmHole"]
  903. w.Part1=las
  904. w.Parent=las
  905. c=Instance.new("CylinderMesh")
  906. c.Scale=Vector3.new(5,5,5)
  907. c.Parent=las
  908. las.Parent=script.Parent
  909.  
  910. las2=Instance.new("Part")
  911. las2.Name="Pew"
  912. las2.BrickColor=BrickColor.new("Bright red")
  913. las2.Reflectance=0
  914. las2.Transparency=.2
  915. las2.TopSurface=0
  916. las2.BottomSurface=0
  917. las2.formFactor="Symmetric"
  918. las2.Size=Vector3.new(1,1,1)
  919. las2.CFrame=script.Parent["Right ArmHole"].CFrame
  920. w=Instance.new("Weld")
  921. w.C1=CFrame.new(0,0,0)
  922. w.Part0=las
  923. w.Part1=las2
  924. w.Parent=las
  925. c=Instance.new("CylinderMesh")
  926. c.Scale=Vector3.new(4,5,4)
  927. c.Parent=las2
  928. las2.Parent=las
  929.  
  930. las2=Instance.new("Part")
  931. las2.Name="Pew"
  932. las2.BrickColor=BrickColor.new("Bright orange")
  933. las2.Reflectance=0
  934. las2.Transparency=.2
  935. las2.TopSurface=0
  936. las2.BottomSurface=0
  937. las2.formFactor="Symmetric"
  938. las2.Size=Vector3.new(1,1,1)
  939. las2.CFrame=script.Parent["Right ArmHole"].CFrame
  940. w=Instance.new("Weld")
  941. w.C1=CFrame.new(0,0,0)
  942. w.Part0=las
  943. w.Part1=las2
  944. w.Parent=las
  945. c=Instance.new("CylinderMesh")
  946. c.Scale=Vector3.new(3,5,3)
  947. c.Parent=las2
  948. las2.Parent=las
  949.  
  950. las2=Instance.new("Part")
  951. las2.Name="Pew"
  952. las2.BrickColor=BrickColor.new("Bright yellow")
  953. las2.Reflectance=0
  954. las2.Transparency=0
  955. las2.TopSurface=0
  956. las2.BottomSurface=0
  957. las2.formFactor="Symmetric"
  958. las2.Size=Vector3.new(1,1,1)
  959. las2.CFrame=script.Parent["Right ArmHole"].CFrame
  960. w=Instance.new("Weld")
  961. w.C1=CFrame.new(0,0,0)
  962. w.Part0=las
  963. w.Part1=las2
  964. w.Parent=las
  965. c=Instance.new("CylinderMesh")
  966. c.Scale=Vector3.new(2,5,2)
  967. c.Parent=las2
  968. las2.Parent=las
  969.  
  970. for i=1, 40 do
  971. RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(math.rad(2.5),0,0)
  972.  
  973. indir=(script.Parent["Right ArmHole"].CFrame.p - (script.Parent["Right ArmHole"].CFrame * CFrame.new(0,5,0)).p).unit
  974.  
  975. par,loc=workspace:FindPartOnRay(Ray.new(script.Parent["Right ArmHole"].Position,indir*500),script.Parent)
  976. dist=(las.Position-loc).magnitude
  977. las.Mesh.Scale=Vector3.new(5.5,dist + 10,5.5)
  978. las.Mesh.Offset=Vector3.new(0,-dist/2,0)
  979.  
  980. for _,v in pairs(las:children()) do
  981. if v.Name=="Pew" then
  982. v.Mesh.Scale=Vector3.new(v.Mesh.Scale.x,dist + 10,v.Mesh.Scale.z)
  983. v.Mesh.Offset=Vector3.new(0,-dist/2,0)
  984. end
  985. end
  986.  
  987. for _,v in pairs(workspace:children()) do
  988. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
  989. if (v.Torso.Position-loc).magnitude < 8 then
  990. v.Humanoid:TakeDamage(10)
  991. end
  992. end
  993. end
  994.  
  995. if math.floor(i/3)==i/3 then
  996. p=Instance.new("Part")
  997. p.Name="FIYAH"
  998. p.Anchored=true
  999. p.CanCollide=false
  1000. p.CFrame=CFrame.new(loc)
  1001. p.Transparency=1
  1002. p.Parent=script.Parent
  1003. game:GetService("Debris"):AddItem(p,2.4)
  1004. Effects.Fire.Create(BrickColor.new("Bright red"), p.CFrame, 40, 40, 40, -1.5, -1.5, -1.5, .03)
  1005. --coroutine.resume(coroutine.create(function(f) swait(1.5) f.Enabled=false end),f)
  1006. --s=script.Demege:clone() s.Disabled=false s.Parent=p
  1007. coroutine.resume(coroutine.create(function(sus)
  1008. while p~=nil do
  1009. swait(.2)
  1010. for _,v in pairs(workspace:children()) do
  1011. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil then
  1012. if (v.Torso.Position-sus.Position).magnitude < 11 then
  1013. v.Humanoid:TakeDamage(.5)
  1014. coroutine.resume(coroutine.create(function()
  1015. swait(.1)
  1016.  
  1017. hum=v.Humanoid
  1018. for i=1, 30 do
  1019. swait(.1)
  1020. --Effects.Fire.Create(BrickColor.new("Bright red"), v.Torso.CFrame, 15, 15, 15, -2, -2, -2, .06)
  1021. hum:TakeDamage(.5)
  1022. end
  1023.  
  1024. swait(2)
  1025.  
  1026. end))
  1027. --if v.Torso:FindFirstChild("BScript")==nil then
  1028. --[[s=script.BScript:clone() s.Disabled=false
  1029. s.Parent=v.Torso]]
  1030. --end
  1031. end
  1032. end
  1033. end
  1034. end
  1035. end), p)
  1036. s=Instance.new("Sound")
  1037. s.SoundId="http://www.roblox.com/asset/?id=146767808"
  1038. s.Volume=.33
  1039. s.Parent=p
  1040. s:Play()
  1041.  
  1042. p=Instance.new("Part")
  1043. p.Name="KABEWM"
  1044. p.Anchored=true
  1045. p.CanCollide=false
  1046. p.CFrame=CFrame.new(loc)
  1047. p.formFactor="Symmetric"
  1048. p.TopSurface=0
  1049. p.BottomSurface=0
  1050. p.Reflectance=0
  1051. p.BrickColor=BrickColor.new("Really red")
  1052. p.Transparency=.8
  1053. p.Parent=script.Parent
  1054. p.Size=Vector3.new(2.2,2.2,2.2)
  1055. m=Instance.new("SpecialMesh")
  1056. m.Parent=p
  1057. m.MeshType="Sphere"
  1058. game:GetService("Debris"):AddItem(p,3)
  1059. coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.5 + i/20 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
  1060.  
  1061. p=Instance.new("Part")
  1062. p.Name="KABEWM"
  1063. p.Anchored=true
  1064. p.CanCollide=false
  1065. p.CFrame=CFrame.new(loc)
  1066. p.formFactor="Symmetric"
  1067. p.TopSurface=0
  1068. p.BottomSurface=0
  1069. p.Reflectance=0
  1070. p.BrickColor=BrickColor.new("Bright red")
  1071. p.Transparency=.8
  1072. p.Parent=script.Parent
  1073. p.Size=Vector3.new(1.8,3,1.8)
  1074. m=Instance.new("SpecialMesh")
  1075. m.Parent=p
  1076. m.MeshType="Sphere"
  1077. game:GetService("Debris"):AddItem(p,3)
  1078. coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.5 + i/20 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
  1079.  
  1080.  
  1081. p=Instance.new("Part")
  1082. p.Name="KABEWM"
  1083. p.Anchored=true
  1084. p.CanCollide=false
  1085. p.CFrame=CFrame.new(loc)
  1086. p.formFactor="Symmetric"
  1087. p.TopSurface=0
  1088. p.BottomSurface=0
  1089. p.Reflectance=0
  1090. p.BrickColor=BrickColor.new("Bright yellow")
  1091. p.Transparency=.33
  1092. p.Parent=script.Parent
  1093. p.Size=Vector3.new(1,1,1)
  1094. m=Instance.new("SpecialMesh")
  1095. m.Parent=p
  1096. m.MeshType="Sphere"
  1097. game:GetService("Debris"):AddItem(p,3)
  1098. coroutine.resume(coroutine.create(function(p) for i=1, 10 do p.Transparency=.33 p.Mesh.Scale=p.Mesh.Scale+Vector3.new(1,1,1) swait(.05) end p:Remove() end),p)
  1099.  
  1100. end
  1101.  
  1102. swait(.03)
  1103. end
  1104.  
  1105. las:Remove()
  1106.  
  1107. swait(.5)
  1108.  
  1109. for i=1, 20 do
  1110. Neck.C0=Neck.C0*CFrame.fromEulerAnglesXYZ(math.rad(1.5),0,0)
  1111. RShoulder1.C0=RShoulder1.C0*CFrame.fromEulerAnglesXYZ(-math.rad(2.5),0,0)
  1112. swait(.03)
  1113. end
  1114.  
  1115. RShoulder1.DesiredAngle=0
  1116. RShoulder2.DesiredAngle=0.3
  1117. attack = false
  1118. end
  1119.  
  1120. function RemoveOutlines(part)
  1121. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1122. end
  1123.  
  1124. while Character.Humanoid.Health~=Character.Humanoid.MaxHealth do
  1125. Character.Humanoid.Health=Character.Humanoid.maxHealth
  1126. swait(.05)
  1127. end
  1128. function onKeyDown(key)
  1129. if attack == false then
  1130. if key == "z" then
  1131. h.WalkSpeed=0
  1132. FireAt(mouse.Hit.p)
  1133. h.WalkSpeed=30
  1134. end
  1135. end
  1136. end
  1137.  
  1138. mouse.KeyDown:connect(onKeyDown)
  1139. BodyPos=Torso.BodyPosition
  1140. BodyGyro=Torso.BodyGyro
  1141. StartPos=Torso.Value.Value
  1142. Destination=StartPos
  1143. while true do
  1144. swait()
  1145. if attack == false then
  1146. WalkTo(StartPos+mouse.Hit.p)
  1147. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 20, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1148. if (BodyPos.position - Destination).magnitude > 10 then
  1149. Walk()
  1150. end
  1151. end
  1152. if #Effects > 0 then
  1153. for e = 1, #Effects do
  1154. if Effects[e] ~= nil then
  1155. local Thing = Effects[e]
  1156. if Thing ~= nil then
  1157. Part = Thing[1]
  1158. Moder = Thing[2]
  1159. Delay = Thing[3]
  1160. IncX = Thing[4]
  1161. IncY = Thing[5]
  1162. IncZ = Thing[6]
  1163. if Thing[1].Transparency <= 1 then
  1164. if Thing[2] == "Fire" then
  1165.  
  1166. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.3, 0)
  1167. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1168. Thing[1].Transparency = Thing[1].Transparency + .05--Thing[3]
  1169. end
  1170. end
  1171. else
  1172. Part.Parent = nil
  1173. table.remove(Effects, e)
  1174. end
  1175. end
  1176. end
  1177.  
  1178. end
  1179. end
  1180. --[[WalkTo(StartPos+Vector3.new(math.random(-150,150)/2,0,math.random(-150,150)/2))
  1181. elapse=0
  1182.  
  1183.  
  1184. math.randomseed(time())
  1185. if math.random(1,20)>=17 or elapse>=100 then
  1186. for _,v in pairs(workspace:children()) do
  1187. if v:FindFirstChild("Humanoid")~=nil and v:FindFirstChild("Torso")~=nil and v~=script.Parent then
  1188. if (v.Torso.Position-loc).magnitude < 100 then
  1189. FireAt(v.Torso.Position)
  1190. end
  1191. end
  1192. end
  1193. elapse=0
  1194. else
  1195. elapse=elapse+1
  1196. if (BodyPos.position - Destination).magnitude > 10 then
  1197. print("WALKING")
  1198. Walk()
  1199. else
  1200. print("NEWPOSTIME")
  1201. WalkTo(StartPos+Vector3.new(math.random(-140,140),0,math.random(-50,50)))
  1202. end
  1203. swait(.03)
  1204. end]]
Add Comment
Please, Sign In to add comment