iceblade125

Untitled

May 11th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 162.61 KB | None | 0 0
  1. CV="White"
  2.  
  3. p = game.Players.LocalPlayer
  4. char = p.Character
  5. local txt = Instance.new("BillboardGui", char)
  6. txt.Adornee = char .Head
  7. txt.Name = "_status"
  8. txt.Size = UDim2.new(2, 0, 1.2, 0)
  9. txt.StudsOffset = Vector3.new(-9, 6, 0)
  10. local text = Instance.new("TextLabel", txt)
  11. text.Size = UDim2.new(10, 0, 7, 0)
  12. text.FontSize = "Size24"
  13. text.TextScaled = true
  14. text.TextTransparency = 0
  15. text.BackgroundTransparency = 1
  16. text.TextTransparency = 0
  17. text.TextStrokeTransparency = 1
  18. text.Font = "Code"
  19. text.TextStrokeColor3 = Color3.new(40,0,0)
  20.  
  21. v=Instance.new("Part")
  22. v.Name = "ColorBrick"
  23. v.Parent=p.Character
  24. v.FormFactor="Symmetric"
  25. v.Anchored=true
  26. v.CanCollide=false
  27. v.BottomSurface="Smooth"
  28. v.TopSurface="Smooth"
  29. v.Size=Vector3.new(10,5,3)
  30. v.Transparency=1
  31. v.CFrame=char.Torso.CFrame
  32. v.BrickColor=BrickColor.new(CV)
  33. v.Transparency=1
  34. text.TextColor3 = Color3.fromRGB(255,140,0)
  35. v.Shape="Block"
  36. text.Text = "Nine Tailed Fox Heavy Unit"
  37. coroutine.wrap(function()
  38. while wait() do
  39. wait(3)
  40. text.Text = "WHY DOES IT HAVE TO BE ME" wait(8)
  41. text.Text = "Nine Tailed Fox Heavy Unit";
  42. wait(2)
  43. local str = ""
  44. for i = 1, math.random(3,25) do
  45. str = str..string.char(math.random(65,122))
  46. end
  47. text.Text = str
  48. wait()
  49. str = ""
  50. for i = 1, math.random(12,25) do
  51. str = str..string.char(math.random(48,122))
  52. end
  53. wait()
  54. text.Text = str
  55. wait()
  56. text.Text = "Nine Tailed Fox Heavy Unit";
  57. wait(1)
  58. text.Text = "THE PAIN"
  59. wait()
  60. text.Text = "What do you want?"
  61. wait()
  62. text.Text = "Nine Tailed Fox Heavy Unit";
  63. wait(2)
  64. text.Text = "You made me do this.";
  65. wait()
  66. text.Text = "Kill";
  67. wait()
  68. for i = 1, math.random(12,25) do
  69. str = str..string.char(math.random(48,57))
  70. end
  71. text.Text = str
  72. wait()
  73. text.Text = "Nine Tailed Fox Heavy Unit";
  74. wait(2)
  75. end
  76. end)()
  77. local Player = game.Players.localPlayer
  78. local Character = Player.Character
  79. local Torso = Character.Torso
  80. local hum = Character.Humanoid
  81. hum.MaxHealth = 1000
  82. wait(0.1)
  83. hum.Health = 1000
  84.  
  85. local Music = Instance.new("Sound")
  86.  
  87. Music.Name = "Sound"
  88. Music.SoundId = "http://roblox.com/asset/?id=714974960"
  89. Music.Volume = 4
  90. Music.Looped = false
  91. Music.Parent = Character
  92. Music:play()
  93.  
  94. GasMask = true
  95.  
  96. if GasMask == true then
  97. o1 = Instance.new("Model")
  98. o2 = Instance.new("Part")
  99. o3 = Instance.new("SpecialMesh")
  100. o4 = Instance.new("Part")
  101. o5 = Instance.new("Part")
  102. o6 = Instance.new("Part")
  103. o7 = Instance.new("SpecialMesh")
  104. o8 = Instance.new("Part")
  105. o9 = Instance.new("Part")
  106. o10 = Instance.new("SpecialMesh")
  107. o11 = Instance.new("Part")
  108. o12 = Instance.new("Part")
  109. o13 = Instance.new("SpecialMesh")
  110. o14 = Instance.new("Part")
  111. o15 = Instance.new("Part")
  112. o16 = Instance.new("Part")
  113. o17 = Instance.new("Part")
  114. o1.Name = "MODEL"
  115. o2.Name = "Middle"
  116. o2.Parent = o1
  117. o2.BrickColor = BrickColor.new("Pastel brown")
  118. o2.Transparency = 1
  119. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  120. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  121. o2.Anchored = true
  122. o2.FormFactor = Enum.FormFactor.Custom
  123. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  124. o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
  125. o2.BottomSurface = Enum.SurfaceType.Smooth
  126. o2.TopSurface = Enum.SurfaceType.Smooth
  127. o2.Color = Color3.new(1, 0.8, 0.6)
  128. o3.Parent = o2
  129. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  130. o3.MeshType = Enum.MeshType.FileMesh
  131. o4.Name = "Lense 1"
  132. o4.Parent = o1
  133. o4.Material = Enum.Material.Metal
  134. o4.Transparency = 0.050000011920929
  135. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  136. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  137. o4.Anchored = true
  138. o4.CanCollide = false
  139. o4.FormFactor = Enum.FormFactor.Custom
  140. o4.Shape = Enum.PartType.Cylinder
  141. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  142. o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
  143. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  144. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  145. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  146. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  147. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  148. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  149. o5.Name = "Lense2"
  150. o5.Parent = o1
  151. o5.Material = Enum.Material.Metal
  152. o5.Transparency = 0.050000011920929
  153. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  154. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  155. o5.Anchored = true
  156. o5.CanCollide = false
  157. o5.FormFactor = Enum.FormFactor.Custom
  158. o5.Shape = Enum.PartType.Cylinder
  159. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  160. o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
  161. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  162. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  163. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  164. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  165. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  166. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  167. o6.Name = "Handle"
  168. o6.Parent = o1
  169. o6.Material = Enum.Material.Metal
  170. o6.BrickColor = BrickColor.new("Really black")
  171. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  172. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  173. o6.Anchored = true
  174. o6.CanCollide = false
  175. o6.FormFactor = Enum.FormFactor.Plate
  176. o6.Size = Vector3.new(1, 0.400000006, 1)
  177. o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
  178. o6.BottomSurface = Enum.SurfaceType.Weld
  179. o6.TopSurface = Enum.SurfaceType.Smooth
  180. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  181. o7.Parent = o6
  182. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  183. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  184. o7.MeshType = Enum.MeshType.FileMesh
  185. o8.Name = "Straps"
  186. o8.Parent = o1
  187. o8.Material = Enum.Material.Fabric
  188. o8.BrickColor = BrickColor.new("Really black")
  189. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  190. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  191. o8.Anchored = true
  192. o8.CanCollide = false
  193. o8.FormFactor = Enum.FormFactor.Custom
  194. o8.Shape = Enum.PartType.Cylinder
  195. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  196. o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  197. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  198. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  199. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  200. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  201. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  202. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  203. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  204. o9.Name = "Ring2"
  205. o9.Parent = o1
  206. o9.BrickColor = BrickColor.new("Dark stone grey")
  207. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  208. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  209. o9.Anchored = true
  210. o9.CanCollide = false
  211. o9.FormFactor = Enum.FormFactor.Custom
  212. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  213. o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
  214. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  215. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  216. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  217. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  218. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  219. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  220. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  221. o10.Parent = o9
  222. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  223. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  224. o10.MeshType = Enum.MeshType.FileMesh
  225. o11.Name = "Straps"
  226. o11.Parent = o1
  227. o11.Material = Enum.Material.Fabric
  228. o11.BrickColor = BrickColor.new("Really black")
  229. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  230. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  231. o11.Anchored = true
  232. o11.CanCollide = false
  233. o11.FormFactor = Enum.FormFactor.Custom
  234. o11.Shape = Enum.PartType.Cylinder
  235. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  236. o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  237. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  238. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  239. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  240. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  241. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  242. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  243. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  244. o12.Name = "Ring1"
  245. o12.Parent = o1
  246. o12.BrickColor = BrickColor.new("Dark stone grey")
  247. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  248. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  249. o12.Anchored = true
  250. o12.CanCollide = false
  251. o12.FormFactor = Enum.FormFactor.Custom
  252. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  253. o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
  254. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  255. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  256. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  257. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  258. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  259. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  260. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  261. o13.Parent = o12
  262. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  263. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  264. o13.MeshType = Enum.MeshType.FileMesh
  265. o14.Name = "Breather"
  266. o14.Parent = o1
  267. o14.Material = Enum.Material.Metal
  268. o14.BrickColor = BrickColor.new("Really black")
  269. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  270. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  271. o14.Anchored = true
  272. o14.CanCollide = false
  273. o14.FormFactor = Enum.FormFactor.Custom
  274. o14.Shape = Enum.PartType.Cylinder
  275. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  276. o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  277. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  279. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  280. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  281. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  282. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  283. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  284. o15.Name = "Breather"
  285. o15.Parent = o1
  286. o15.Material = Enum.Material.Metal
  287. o15.BrickColor = BrickColor.new("Really black")
  288. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  289. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  290. o15.Anchored = true
  291. o15.CanCollide = false
  292. o15.FormFactor = Enum.FormFactor.Custom
  293. o15.Shape = Enum.PartType.Cylinder
  294. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  295. o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  296. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  297. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  298. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  299. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  300. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  301. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  303. o16.Name = "Breather"
  304. o16.Parent = o1
  305. o16.Material = Enum.Material.Metal
  306. o16.BrickColor = BrickColor.new("Really black")
  307. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  308. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  309. o16.Anchored = true
  310. o16.CanCollide = false
  311. o16.FormFactor = Enum.FormFactor.Custom
  312. o16.Shape = Enum.PartType.Cylinder
  313. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  314. o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  315. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  316. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  317. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  318. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  319. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  320. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  321. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  322. o17.Name = "Breather"
  323. o17.Parent = o1
  324. o17.Material = Enum.Material.Metal
  325. o17.BrickColor = BrickColor.new("Really black")
  326. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  327. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  328. o17.Anchored = true
  329. o17.CanCollide = false
  330. o17.FormFactor = Enum.FormFactor.Custom
  331. o17.Shape = Enum.PartType.Cylinder
  332. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  333. o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  334. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  335. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  336. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  337. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  338. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  339. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  340. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  341. function onTouched(hit)
  342. local d = hit.Parent:GetChildren()
  343. for i=1, #d do
  344. if (d[i].className == "Hat") then
  345. d[i]:remove()
  346. end
  347. end
  348. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  349. local g = o1:clone()
  350. g.Parent = hit.Parent
  351. local C = g:GetChildren()
  352. for i=1, #C do
  353. if C[i].className == "Part" then
  354. local W = Instance.new("Weld")
  355. W.Part0 = g.Middle
  356. W.Part1 = C[i]
  357. local CJ = CFrame.new(g.Middle.Position)
  358. local C0 = g.Middle.CFrame:inverse()*CJ
  359. local C1 = C[i].CFrame:inverse()*CJ
  360. W.C0 = C0
  361. W.C1 = C1
  362. W.Parent = g.Middle
  363. g.Middle.Transparency = 1
  364. end
  365. local Y = Instance.new("Weld")
  366. Y.Part0 = hit.Parent.Head
  367. Y.Part1 = g.Middle
  368. Y.C0 = CFrame.new(0, 0, 0)
  369. Y.Parent = Y.Part0
  370. end
  371.  
  372. local h = g:GetChildren()
  373. for i = 1, # h do
  374. h[i].Anchored = false
  375. h[i].CanCollide = false
  376. end
  377.  
  378. end
  379. end
  380.  
  381. onTouched(game.Players.LocalPlayer.Character.Head)
  382. end
  383. local Player = game:service'Players'.localPlayer
  384. local chara = Player.Character
  385.  
  386. shirt= Instance.new("Shirt", Character)
  387. shirt.Name = "Shirt"
  388. pants = Instance.new("Pants", Character)
  389. pants.Name = "Pants"
  390. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735"
  391. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766"
  392.  
  393. local Player = game:service'Players'.localPlayer
  394. local chara = Player.Character
  395. local Character = Player.Character
  396. torso = chara.Torso
  397.  
  398. New = function(Object, Parent, Name, Data)
  399. local Object = Instance.new(Object)
  400. for Index, Value in pairs(Data or {}) do
  401. Object[Index] = Value
  402. end
  403. Object.Parent = Parent
  404. Object.Name = Name
  405. return Object
  406. end
  407. local LoPa = game:GetService("Players").LocalPlayer
  408. local C = LoPa.Character
  409.  
  410.  
  411. LaserMinigun = New("Model",C,"LaserMinigun",{})
  412. Gunpart = New("Model",LaserMinigun,"Gunpart",{})
  413. FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  414. Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
  415. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  416. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  417. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  418. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  419. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  420. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  421. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  422. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  423. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  424. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  425. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  426. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  427. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  428. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  429. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  430. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  431. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  432. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  433. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  434. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  435. gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Pastel blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  436. Mesh = New("CylinderMesh",gun4,"Mesh",{})
  437. gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  438. Mesh = New("CylinderMesh",gun1,"Mesh",{})
  439. gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  440. Mesh = New("CylinderMesh",gun3,"Mesh",{})
  441. gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  442. Mesh = New("CylinderMesh",gun2,"Mesh",{})
  443. PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
  444. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  445. Mesh = New("CylinderMesh",Part,"Mesh",{})
  446. Model = New("Model",Part,"Model",{})
  447. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  448. Mesh = New("CylinderMesh",Part,"Mesh",{})
  449. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  450. Mesh = New("CylinderMesh",Part,"Mesh",{})
  451. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  452. Mesh = New("CylinderMesh",Part,"Mesh",{})
  453. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  454. Mesh = New("CylinderMesh",Part,"Mesh",{})
  455. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  456. Mesh = New("CylinderMesh",Part,"Mesh",{})
  457. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  458. Mesh = New("CylinderMesh",Part,"Mesh",{})
  459. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  460. Mesh = New("CylinderMesh",Part,"Mesh",{})
  461. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  462. Mesh = New("CylinderMesh",Part,"Mesh",{})
  463. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  464. Mesh = New("CylinderMesh",Part,"Mesh",{})
  465. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  466. Mesh = New("CylinderMesh",Part,"Mesh",{})
  467. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  468. Mesh = New("CylinderMesh",Part,"Mesh",{})
  469. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  470. Mesh = New("CylinderMesh",Part,"Mesh",{})
  471. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  472. Mesh = New("CylinderMesh",Part,"Mesh",{})
  473. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  474. Mesh = New("CylinderMesh",Part,"Mesh",{})
  475. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  476. Mesh = New("CylinderMesh",Part,"Mesh",{})
  477. Model = New("Model",Part,"Model",{})
  478. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  479. Mesh = New("CylinderMesh",Part,"Mesh",{})
  480. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  481. Mesh = New("CylinderMesh",Part,"Mesh",{})
  482. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  483. Mesh = New("CylinderMesh",Part,"Mesh",{})
  484. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  485. Mesh = New("CylinderMesh",Part,"Mesh",{})
  486. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  487. Mesh = New("CylinderMesh",Part,"Mesh",{})
  488. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  489. Mesh = New("CylinderMesh",Part,"Mesh",{})
  490. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  491. Mesh = New("CylinderMesh",Part,"Mesh",{})
  492. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  493. Mesh = New("CylinderMesh",Part,"Mesh",{})
  494. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  495. Mesh = New("CylinderMesh",Part,"Mesh",{})
  496. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  497. Mesh = New("CylinderMesh",Part,"Mesh",{})
  498. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  499. Mesh = New("CylinderMesh",Part,"Mesh",{})
  500. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  501. Mesh = New("CylinderMesh",Part,"Mesh",{})
  502. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  503. Mesh = New("CylinderMesh",Part,"Mesh",{})
  504. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  505. Mesh = New("CylinderMesh",Part,"Mesh",{})
  506. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  507. Mesh = New("CylinderMesh",Part,"Mesh",{})
  508. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  509. Mesh = New("CylinderMesh",Part,"Mesh",{})
  510. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  511. Mesh = New("CylinderMesh",Part,"Mesh",{})
  512. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  513. Mesh = New("CylinderMesh",Part,"Mesh",{})
  514. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  515. Mesh = New("CylinderMesh",Part,"Mesh",{})
  516. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  517. Mesh = New("CylinderMesh",Part,"Mesh",{})
  518. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  519. Mesh = New("CylinderMesh",Part,"Mesh",{})
  520. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  521. Mesh = New("CylinderMesh",Part,"Mesh",{})
  522. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  523. Mesh = New("CylinderMesh",Part,"Mesh",{})
  524. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  525. Mesh = New("CylinderMesh",Part,"Mesh",{})
  526. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  527. Mesh = New("CylinderMesh",Part,"Mesh",{})
  528. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  529. Mesh = New("CylinderMesh",Part,"Mesh",{})
  530. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  531. Mesh = New("CylinderMesh",Part,"Mesh",{})
  532. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  533. Mesh = New("CylinderMesh",Part,"Mesh",{})
  534. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  535. Mesh = New("CylinderMesh",Part,"Mesh",{})
  536. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  537. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  538. Mesh = New("CylinderMesh",Part,"Mesh",{})
  539. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  540. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  541. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  542. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  543. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  544. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  545. Mesh = New("CylinderMesh",Part,"Mesh",{})
  546. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  547. Mesh = New("CylinderMesh",Part,"Mesh",{})
  548. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  549. Mesh = New("CylinderMesh",Part,"Mesh",{})
  550. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  551. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  552. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  553. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  554. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  555. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  556. Mesh = New("CylinderMesh",Part,"Mesh",{})
  557. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  558. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  559. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  560. Mesh = New("CylinderMesh",Part,"Mesh",{})
  561. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  562. Mesh = New("CylinderMesh",Part,"Mesh",{})
  563. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  564. Mesh = New("CylinderMesh",Part,"Mesh",{})
  565. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  566. Mesh = New("CylinderMesh",Part,"Mesh",{})
  567. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  568. Mesh = New("CylinderMesh",Part,"Mesh",{})
  569. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  570. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  571. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  572. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  573. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  574. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  575. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  576. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  577. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  578. Mesh = New("CylinderMesh",Part,"Mesh",{})
  579. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  580. Mesh = New("CylinderMesh",Part,"Mesh",{})
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592. Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605. MiniDroid = New("Model",C,"MiniDroid",{})
  606. armor = New("Model",MiniDroid,"armor",{})
  607. Main = New("Model",armor,"Main",{})
  608. Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  609. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  610. Mesh = New("SpecialMesh",Part,"Mesh",{})
  611. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  612. Mesh = New("SpecialMesh",Part,"Mesh",{})
  613. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  614. Mesh = New("SpecialMesh",Part,"Mesh",{})
  615. Neon = New("Model",MiniDroid,"Neon",{})
  616. LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  617. FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Pastel Blue"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  618. miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  619.  
  620.  
  621.  
  622.  
  623.  
  624. Glow1 = Color3.fromRGB(174,198,207)
  625. Glow2 = Color3.fromRGB(119,158,203)
  626.  
  627. GlowParticle = Instance.new("ParticleEmitter",FirePart)
  628. GlowParticle.LightEmission = 1
  629. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  630. GlowParticle.Size = NumberSequence.new(0,20)
  631. GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985"
  632. GlowParticle.Transparency = NumberSequence.new(0,1)
  633. GlowParticle.LockedToPart = true
  634. GlowParticle.Lifetime = NumberRange.new(1)
  635. GlowParticle.Rate= 1
  636. GlowParticle.Speed =NumberRange.new(0)
  637. GlowParticle.Enabled = false
  638.  
  639.  
  640.  
  641.  
  642. GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
  643. GlowParticle2.LightEmission = .7
  644. GlowParticle2.Color = ColorSequence.new(Glow1,Glow2)
  645. GlowParticle2.Size = NumberSequence.new(0,1)
  646. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350"
  647. GlowParticle2.Transparency = NumberSequence.new(0,1)
  648. GlowParticle2.LockedToPart = false
  649. GlowParticle2.Lifetime = NumberRange.new(0.2)
  650. GlowParticle2.Rate= 150
  651. GlowParticle2.Speed =NumberRange.new(3)
  652. GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0)
  653.  
  654.  
  655.  
  656.  
  657.  
  658. local all,last = {}
  659. function scan(p)
  660. for _,v in pairs(p:GetChildren()) do
  661. if (v:IsA("BasePart")) then
  662. if (last) then
  663. local w = Instance.new("Weld")
  664. w.Part0,w.Part1 = last,v
  665. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  666. w.Parent = last
  667. end
  668. table.insert(all,v)
  669. last = v
  670. end
  671. scan(v)
  672. end
  673. end
  674. scan(LaserMinigun)
  675.  
  676. scan(MiniDroid)
  677. for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end
  678. MiniDroid.Parent = C
  679. LaserMinigun.Parent = C
  680.  
  681.  
  682. Main:Destroy()
  683.  
  684. Effects = { }
  685. Rapid = false
  686. local Player = game.Players.localPlayer
  687. local Character = Player.Character
  688. local Humanoid = Character.Humanoid
  689. local mouse = Player:GetMouse()
  690. local LeftArm = Character["Left Arm"]
  691. local RightArm = Character["Right Arm"]
  692. local LeftLeg = Character["Left Leg"]
  693. local RightLeg = Character["Right Leg"]
  694. local Head = Character.Head
  695. local Torso = Character.Torso
  696. local cam = game.Workspace.CurrentCamera
  697. local RootPart = Character.HumanoidRootPart
  698. local RootJoint = RootPart.RootJoint
  699. local equipped = false
  700. local attack = false
  701. local Anim = 'Idle'
  702. local idle = 0
  703. local attacktype = 1
  704. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  705. local velocity = RootPart.Velocity.y
  706. local sine = 0
  707. local change = 1
  708. local grabbed = false
  709. local cn = CFrame.new
  710. local mr = math.rad
  711. local angles = CFrame.Angles
  712. local ud = UDim2.new
  713. local c3 = Color3.new
  714. local slashDamage = 15
  715. local dir = {w = 0, s = 0, a = 0, d = 0}
  716. local dir2 = {w = 0, s = 0, a = 0, d = 0}
  717. killcom=true
  718. trans = 1
  719. sentrymode = false
  720. sentrywait = false
  721. local LightMod = Instance.new("Model", Character)
  722. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  723. Humanoid.Animator:Destroy()
  724. npcanim = Character.Animate:Clone()
  725. ultwait=false
  726.  
  727.  
  728.  
  729.  
  730. Character.Animate:Destroy()
  731.  
  732.  
  733. local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1)
  734. local oldParts = {}
  735. for _,v in pairs(Par:GetChildren()) do
  736. v.CFrame = CFrame.new(5e5, 5e5, 5e5)
  737. table.insert(oldParts, v)
  738. end
  739. local Distance = (Start-End).Magnitude
  740. local ArcScale = ArcScale or 1
  741. local RandomScale = RandomScale or 0
  742. local Last = Start
  743. local IterNum = 0
  744.  
  745. while Par.Parent do
  746. IterNum = IterNum + 1
  747. local New = nil
  748. if (Last-End).Magnitude < Length then
  749. New = CFrame.new(End)
  750. else
  751. if (End-Last).Magnitude < Length*2 then
  752. RandomScale = RandomScale*0.1
  753. ArcScale = ArcScale*0.5
  754. end
  755. local Direct = CFrame.new(Last,End)
  756. New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale)))
  757. New = New*CFrame.new(0,0,-Length)
  758. end
  759. local Trail = nil
  760. if oldParts[IterNum] then
  761. Trail = oldParts[IterNum]
  762. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
  763. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  764. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  765. oldParts[IterNum] = nil
  766. game:GetService("Debris"):AddItem(Trail, .03)
  767. else
  768. Trail = Instance.new("Part")
  769. Trail.Name = "Part"
  770. Trail.FormFactor = "Custom"
  771. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Pastel Blue")) or BrickColor.new("Pastel Blue")
  772. Trail.Transparency = 0
  773. Trail.Anchored = true
  774. Trail.CanCollide = false
  775. Trail.Locked = true
  776. Trail.BackSurface = "SmoothNoOutlines"
  777. Trail.BottomSurface = "SmoothNoOutlines"
  778. Trail.FrontSurface = "SmoothNoOutlines"
  779. Trail.LeftSurface = "SmoothNoOutlines"
  780. Trail.RightSurface = "SmoothNoOutlines"
  781. Trail.TopSurface = "SmoothNoOutlines"
  782. Trail.Material = "Neon"
  783. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  784. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  785. Trail.Parent = Par
  786. game:GetService("Debris"):AddItem(Trail, .03)
  787. end
  788. Last = New.p
  789. if (Last-End).Magnitude < 1 then
  790. break
  791. end
  792. end
  793. for _,v in pairs(oldParts) do
  794. v:Destroy()
  795. end
  796. end
  797.  
  798.  
  799.  
  800. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  801. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  802. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  803.  
  804. RSH, LSH = nil, nil
  805.  
  806.  
  807. DW = Instance.new("Weld")
  808. DW.Name = "GuW"
  809. DW.Part0 = Torso
  810. DW.C0 = cn(0, 50, 0)
  811. DW.C1 = cn(0, 0, 0)
  812. DW.Part1 = miniHandle
  813. DW.Parent = Torso
  814.  
  815.  
  816. GuW = Instance.new("Weld")
  817. GuW.Name = "GuW"
  818. GuW.Part0 = RightArm
  819. GuW.C0 = cn(0, -1, -1)
  820. GuW.C1 = cn(0, 0, 0)
  821. GuW.Part1 = Handle
  822. GuW.Parent = RightArm
  823.  
  824. RW = Instance.new("Weld")
  825. LW = Instance.new("Weld")
  826.  
  827.  
  828. RH = Torso["Right Hip"]
  829. LH = Torso["Left Hip"]
  830.  
  831. RSH = Torso["Right Shoulder"]
  832. LSH = Torso["Left Shoulder"]
  833.  
  834. RSH.Parent = nil
  835. LSH.Parent = nil
  836.  
  837. RW.Name = "RW"
  838. RW.Part0 = Torso
  839. RW.C0 = cn(1.5, 0.5, 0)
  840. RW.C1 = cn(0, 0.5, 0)
  841. RW.Part1 = RightArm
  842. RW.Parent = Torso
  843.  
  844. LW.Name = "LW"
  845. LW.Part0 = Torso
  846. LW.C0 = cn(-1.5, 0.5, 0)
  847. LW.C1 = cn(0, 0.5, 0)
  848. LW.Part1 = LeftArm
  849. LW.Parent = Torso
  850.  
  851. function clerp(a, b, t)
  852. local qa = {
  853. QuaternionFromCFrame(a)
  854. }
  855. local qb = {
  856. QuaternionFromCFrame(b)
  857. }
  858. local ax, ay, az = a.x, a.y, a.z
  859. local bx, by, bz = b.x, b.y, b.z
  860. local _t = 1 - t
  861. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  862. end
  863.  
  864. function QuaternionFromCFrame(cf)
  865. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  866. local trace = m00 + m11 + m22
  867. if trace > 0 then
  868. local s = math.sqrt(1 + trace)
  869. local recip = 0.5 / s
  870. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  871. else
  872. local i = 0
  873. if m11 > m00 then
  874. i = 1
  875. end
  876. if m22 > (i == 0 and m00 or m11) then
  877. i = 2
  878. end
  879. if i == 0 then
  880. local s = math.sqrt(m00 - m11 - m22 + 1)
  881. local recip = 0.5 / s
  882. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  883. elseif i == 1 then
  884. local s = math.sqrt(m11 - m22 - m00 + 1)
  885. local recip = 0.5 / s
  886. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  887. elseif i == 2 then
  888. local s = math.sqrt(m22 - m00 - m11 + 1)
  889. local recip = 0.5 / s
  890. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  891. end
  892. end
  893. end
  894.  
  895. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  896. local xs, ys, zs = x + x, y + y, z + z
  897. local wx, wy, wz = w * xs, w * ys, w * zs
  898. local xx = x * xs
  899. local xy = x * ys
  900. local xz = x * zs
  901. local yy = y * ys
  902. local yz = y * zs
  903. local zz = z * zs
  904. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  905. end
  906.  
  907. function QuaternionSlerp(a, b, t)
  908. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  909. local startInterp, finishInterp;
  910. if cosTheta >= 0.0001 then
  911. if (1 - cosTheta) > 0.0001 then
  912. local theta = math.acos(cosTheta)
  913. local invSinTheta = 1 / math.sin(theta)
  914. startInterp = math.sin((1 - t) * theta) * invSinTheta
  915. finishInterp = math.sin(t * theta) * invSinTheta
  916. else
  917. startInterp = 1 - t
  918. finishInterp = t
  919. end
  920. else
  921. if (1 + cosTheta) > 0.0001 then
  922. local theta = math.acos(-cosTheta)
  923. local invSinTheta = 1 / math.sin(theta)
  924. startInterp = math.sin((t - 1) * theta) * invSinTheta
  925. finishInterp = math.sin(t * theta) * invSinTheta
  926. else
  927. startInterp = t - 1
  928. finishInterp = t
  929. end
  930. end
  931. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  932. end
  933.  
  934. function swait(num)
  935. if num == 0 or num == nil then
  936. game:service'RunService'.RenderStepped:wait(0)
  937. else
  938. for i = 0, num do
  939. game:service'RunService'.RenderStepped:wait(0)
  940. end
  941. end
  942. end
  943.  
  944. local RbxUtility = LoadLibrary("RbxUtility")
  945. local Create = RbxUtility.Create
  946.  
  947. function RemoveOutlines(part)
  948. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  949. end
  950.  
  951. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  952. local Part = Create("Part"){
  953. formFactor = FormFactor,
  954. Parent = Parent,
  955. Reflectance = Reflectance,
  956. Transparency = Transparency,
  957. CanCollide = false,
  958. Locked = true,
  959. BrickColor = BrickColor.new(tostring(BColor)),
  960. Name = Name,
  961. Size = Size,
  962. Material = Material,
  963. }
  964. RemoveOutlines(Part)
  965. return Part
  966. end
  967.  
  968. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  969. local Msh = Create(Mesh){
  970. Parent = Part,
  971. Offset = OffSet,
  972. Scale = Scale,
  973. }
  974. if Mesh == "SpecialMesh" then
  975. Msh.MeshType = MeshType
  976. Msh.MeshId = MeshId
  977. end
  978. return Msh
  979. end
  980.  
  981. function CreateWeld(Parent, Part0, Part1, C0, C1)
  982. local Weld = Create("Weld"){
  983. Parent = Parent,
  984. Part0 = Part0,
  985. Part1 = Part1,
  986. C0 = C0,
  987. C1 = C1,
  988. }
  989. return Weld
  990. end
  991.  
  992. function rayCast(Position, Direction, Range, Ignore)
  993. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  994. end
  995.  
  996. function CreateSound(id, par, vol, pit)
  997. coroutine.resume(coroutine.create(function()
  998. local sou = Instance.new("Sound", par or workspace)
  999. sou.Volume = vol
  1000. sou.Pitch = pit or 1
  1001. sou.SoundId = id
  1002. wait()
  1003. sou:play()
  1004. game:GetService("Debris"):AddItem(sou, 6)
  1005. end))
  1006. end
  1007.  
  1008. local function getclosest(obj, distance)
  1009. local last, lastx = distance + 1
  1010. for i, v in pairs(workspace:GetChildren()) do
  1011. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  1012. local t = v.Torso
  1013. local dist = (t.Position - obj.Position).magnitude
  1014. if dist <= distance then
  1015. if dist < last then
  1016. last = dist
  1017. lastx = v
  1018. end
  1019. end
  1020. end
  1021. end
  1022. return lastx
  1023. end
  1024.  
  1025. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  1026. for i, v in pairs(hit:GetChildren()) do
  1027. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  1028. local find = v:FindFirstChild("Hitz")
  1029. if not find then
  1030. if v.Parent:findFirstChild("Head") then
  1031. local BillG = Create("BillboardGui"){
  1032. Parent = v.Parent.Head,
  1033. Size = UDim2.new(1, 0, 1, 0),
  1034. Adornee = v.Parent.Head,
  1035. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  1036. }
  1037. local TL = Create("TextLabel"){
  1038. Parent = BillG,
  1039. Size = UDim2.new(3, 3, 3, 3),
  1040. BackgroundTransparency = 1,
  1041. Text = tostring(damage).."-",
  1042. TextColor3 = Color1.Color,
  1043. TextStrokeColor3 = Color2.Color,
  1044. TextStrokeTransparency = 0,
  1045. TextXAlignment = Enum.TextXAlignment.Center,
  1046. TextYAlignment = Enum.TextYAlignment.Center,
  1047. FontSize = Enum.FontSize.Size18,
  1048. Font = "ArialBold",
  1049. }
  1050. coroutine.resume(coroutine.create(function()
  1051. wait(1)
  1052. for i = 0, 1, .1 do
  1053. wait(.1)
  1054. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  1055. end
  1056. BillG:Destroy()
  1057. end))
  1058. end
  1059. v.Health = v.Health - damage
  1060. local bool = Create("BoolValue"){
  1061. Parent = v,
  1062. Name = 'Hitz',
  1063. }
  1064. if HSound ~= nil and HPitch ~= nil then
  1065. CreateSound(HSound, hit, 1, HPitch)
  1066. end
  1067. game:GetService("Debris"):AddItem(bool, cooldown)
  1068. end
  1069. end
  1070. end
  1071. end
  1072.  
  1073.  
  1074. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1075. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1076. prt.Anchored = true
  1077. prt.CFrame = cframe
  1078. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1079. game:GetService("Debris"):AddItem(prt, 10)
  1080. if Type == 1 or Type == nil then
  1081. table.insert(Effects, {
  1082. prt,
  1083. "Block1",
  1084. delay,
  1085. x3,
  1086. y3,
  1087. z3,
  1088. msh
  1089. })
  1090. elseif Type == 2 then
  1091. table.insert(Effects, {
  1092. prt,
  1093. "Block2",
  1094. delay,
  1095. x3,
  1096. y3,
  1097. z3,
  1098. msh
  1099. })
  1100. end
  1101. end
  1102.  
  1103. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1104. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1105. prt.Anchored = true
  1106. prt.CFrame = cframe
  1107. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1108. game:GetService("Debris"):AddItem(prt, 10)
  1109. table.insert(Effects, {
  1110. prt,
  1111. "Cylinder",
  1112. delay,
  1113. x3,
  1114. y3,
  1115. z3,
  1116. msh
  1117. })
  1118. end
  1119.  
  1120. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1121. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1122. prt.Anchored = true
  1123. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1124. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1125. game:GetService("Debris"):AddItem(prt, 10)
  1126. table.insert(Effects, {
  1127. prt,
  1128. "Cylinder",
  1129. delay,
  1130. x3,
  1131. y3,
  1132. z3,
  1133. msh
  1134. })
  1135. end
  1136.  
  1137. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1138. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1139. prt.Anchored = true
  1140. prt.CFrame = cframe
  1141. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1142. game:GetService("Debris"):AddItem(prt, 10)
  1143. table.insert(Effects, {
  1144. prt,
  1145. "Cylinder",
  1146. delay,
  1147. x3,
  1148. y3,
  1149. z3,
  1150. msh
  1151. })
  1152. end
  1153.  
  1154. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1155. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1156. prt.Anchored = true
  1157. prt.CFrame = cframe
  1158. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1159. game:GetService("Debris"):AddItem(prt, 10)
  1160. table.insert(Effects, {
  1161. prt,
  1162. "Cylinder",
  1163. delay,
  1164. x3,
  1165. y3,
  1166. z3,
  1167. msh
  1168. })
  1169. end
  1170.  
  1171. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1172. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1173. prt.Anchored = true
  1174. prt.CFrame = cframe
  1175. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1176. game:GetService("Debris"):AddItem(prt, 10)
  1177. table.insert(Effects, {
  1178. prt,
  1179. "Cylinder",
  1180. delay,
  1181. x3,
  1182. y3,
  1183. z3,
  1184. msh
  1185. })
  1186. end
  1187.  
  1188. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1189. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1190. prt.Anchored = true
  1191. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1192. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1193. local num = math.random(10, 50) / 1000
  1194. game:GetService("Debris"):AddItem(prt, 10)
  1195. table.insert(Effects, {
  1196. prt,
  1197. "Shatter",
  1198. num,
  1199. prt.CFrame,
  1200. math.random() - math.random(),
  1201. 0,
  1202. math.random(50, 100) / 100
  1203. })
  1204. end
  1205.  
  1206.  
  1207.  
  1208.  
  1209. for i = 0, 1, 0.05 do
  1210. swait()
  1211. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  1212. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1215. if Torsovelocity > 2 then
  1216. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  1217. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1218. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  1219. elseif Torsovelocity < 1 then
  1220. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  1221. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1222. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  1223. end
  1224. end
  1225. attack = false
  1226.  
  1227.  
  1228.  
  1229. game:GetService'RunService'.Stepped:connect(function()
  1230. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1231. velocity = RootPart.Velocity.y
  1232. sine = sine + change
  1233. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1234. if equipped == true or equipped == false then
  1235. if RootPart.Velocity.y > 1 and hit == nil then
  1236. Anim = "Jump"
  1237. if attack == false then
  1238. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1239. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1240. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1241. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1242. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  1243. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  1244. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1245. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,0 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1246. end
  1247. elseif RootPart.Velocity.y < 1 and hit == nil then
  1248. Anim = "Fall"
  1249. if attack == false then
  1250. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1251. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  1252. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1253. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1254. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1255. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  1256. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1257. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,8 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1258. end
  1259. elseif Torsovelocity < 1 and hit ~= nil then
  1260. Anim = "Idle"
  1261. if attack == false then
  1262. change = 1
  1263. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  1264. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  1265. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1266. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1267. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1268. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1269. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1270.  
  1271. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1272. end
  1273. elseif Torsovelocity > 1 and hit ~= nil then
  1274. Anim = "Walk"
  1275. if attack == false then
  1276. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  1277. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  1278. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  1279. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  1280. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1281. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1282. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1283. DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5) , 3.05 - .1 * math.cos(sine / 3), 2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1284. end
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303. end
  1304. end
  1305. if #Effects > 0 then
  1306. for e = 1, #Effects do
  1307. if Effects[e] ~= nil then
  1308. local Thing = Effects[e]
  1309. if Thing ~= nil then
  1310. local Part = Thing[1]
  1311. local Mode = Thing[2]
  1312. local Delay = Thing[3]
  1313. local IncX = Thing[4]
  1314. local IncY = Thing[5]
  1315. local IncZ = Thing[6]
  1316. if Thing[1].Transparency <= 1 then
  1317. if Thing[2] == "Block1" then
  1318. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1319. local Mesh = Thing[1].Mesh
  1320. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1321. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1322. elseif Thing[2] == "Block2" then
  1323. Thing[1].CFrame = Thing[1].CFrame
  1324. local Mesh = Thing[7]
  1325. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1326. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1327. elseif Thing[2] == "Cylinder" then
  1328. local Mesh = Thing[1].Mesh
  1329. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1330. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1331. elseif Thing[2] == "Blood" then
  1332. local Mesh = Thing[7]
  1333. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1334. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1335. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1336. elseif Thing[2] == "Elec" then
  1337. local Mesh = Thing[1].Mesh
  1338. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1339. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1340. elseif Thing[2] == "Disappear" then
  1341. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1342. elseif Thing[2] == "Shatter" then
  1343. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1344. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1345. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1346. Thing[6] = Thing[6] + Thing[5]
  1347. end
  1348. else
  1349. Part.Parent = nil
  1350. table.remove(Effects, e)
  1351. end
  1352. end
  1353. end
  1354. end
  1355. end
  1356. end)
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385. RemoveOutlines = function(part)
  1386.  
  1387. part.TopSurface = 10
  1388. end
  1389.  
  1390. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1391.  
  1392. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1393. RemoveOutlines(Part)
  1394. return Part
  1395. end
  1396.  
  1397. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1398.  
  1399. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1400. if Mesh == "SpecialMesh" then
  1401. Msh.MeshType = MeshType
  1402. Msh.MeshId = MeshId
  1403. end
  1404. return Msh
  1405. end
  1406.  
  1407. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  1408.  
  1409. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1410. return Weld
  1411. end
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428. CFuncs = {
  1429. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1430.  
  1431. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1432. RemoveOutlines(Part)
  1433. return Part
  1434. end
  1435. }
  1436. ,
  1437. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1438.  
  1439. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1440. if Mesh == "SpecialMesh" then
  1441. Msh.MeshType = MeshType
  1442. Msh.MeshId = MeshId
  1443. end
  1444. return Msh
  1445. end
  1446. }
  1447. ,
  1448. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1449.  
  1450. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1451. if Mesh == "SpecialMesh" then
  1452. Msh.MeshType = MeshType
  1453. Msh.MeshId = MeshId
  1454. end
  1455. return Msh
  1456. end
  1457. }
  1458. ,
  1459. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  1460.  
  1461. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1462. return Weld
  1463. end
  1464. }
  1465. ,
  1466. Sound = {Create = function(id, par, vol, pit)
  1467.  
  1468. coroutine.resume(coroutine.create(function()
  1469.  
  1470. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  1471. wait()
  1472. S:play()
  1473. game:GetService("Debris"):AddItem(S, 6)
  1474. end
  1475. ))
  1476. end
  1477. }
  1478. ,
  1479. articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1480.  
  1481. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  1482. return fp
  1483. end
  1484. }
  1485. }
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1492.  
  1493. if hit.Parent == nil then
  1494. return
  1495. end
  1496. local h = hit.Parent:FindFirstChild("Humanoid")
  1497. for _,v in pairs(hit.Parent:children()) do
  1498. if v:IsA("Humanoid") then
  1499. h = v
  1500. end
  1501. end
  1502. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  1503. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1504. return
  1505. end
  1506. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1507. game:GetService("Debris"):AddItem(c, 0.5)
  1508. if HitSound ~= nil and HitPitch ~= nil then
  1509. CreateSound(HitSound, hit, 1, HitPitch)
  1510. end
  1511. local Damage = math.random(minim, maxim)
  1512. local blocked = false
  1513. local block = hit.Parent:findFirstChild("Block")
  1514. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1515. blocked = true
  1516. block.Value = block.Value - 1
  1517. print(block.Value)
  1518. end
  1519. if blocked == false then
  1520. h.Health = h.Health - Damage
  1521. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1522. else
  1523. h.Health = h.Health - Damage / 2
  1524. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1525. end
  1526. if Type == "Knockdown" then
  1527. local hum = hit.Parent.Humanoid
  1528. hum.PlatformStand = true
  1529. coroutine.resume(coroutine.create(function(HHumanoid)
  1530.  
  1531. swait(1)
  1532. HHumanoid.PlatformStand = false
  1533. end
  1534. ), hum)
  1535. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1536. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1537. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1538. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1539. game:GetService("Debris"):AddItem(rl, 0.5)
  1540. elseif Type == "Normal" then
  1541. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  1542. if knockback > 0 then
  1543. vp.Parent = hit.Parent.HumanoidRootPart
  1544. end
  1545. game:GetService("Debris"):AddItem(vp, 0.5)
  1546. elseif Type == "Up" then
  1547. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1548. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1549. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1550. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1551. elseif Type == "Snare" then
  1552. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1553. local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
  1554. local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})
  1555. game:GetService("Debris"):AddItem(rl2, 0.01)
  1556. game:GetService("Debris"):AddItem(bp, .1)
  1557. hit.Parent.Humanoid.PlatformStand = true
  1558.  
  1559.  
  1560. wait(.1)
  1561. hit.Parent.Humanoid.PlatformStand = false
  1562. elseif Type == "Freeze" then
  1563. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
  1564. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
  1565. hit.Parent.HumanoidRootPart.Anchored = true
  1566. coroutine.resume(coroutine.create(function(Part)
  1567.  
  1568. swait(1.5)
  1569. Part.Anchored = false
  1570. end
  1571. ), hit.Parent.HumanoidRootPart)
  1572. game:GetService("Debris"):AddItem(BodPos, 3)
  1573. game:GetService("Debris"):AddItem(BodGy, 3)
  1574. end
  1575. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1576. game:GetService("Debris"):AddItem(debounce, Delay)
  1577. c = Instance.new("ObjectValue")
  1578. c.Name = "creator"
  1579. c.Value = Player
  1580. c.Parent = h
  1581. game:GetService("Debris"):AddItem(c, 0.5)
  1582. end
  1583. end
  1584.  
  1585. ShowDamage = function(Pos, Text, Time, Color)
  1586.  
  1587. local Rate = 0.033333333333333
  1588. if not Pos then
  1589. local Pos = Vector3.new(0, 0, 0)
  1590. end
  1591. local Text = Text or ""
  1592. local Time = Time or 2
  1593. if not Color then
  1594. local Color = Color3.new(1, 0, 1)
  1595. end
  1596. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1597. EffectPart.Anchored = true
  1598. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1599. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1600. game.Debris:AddItem(EffectPart, Time + 0.1)
  1601. EffectPart.Parent = game:GetService("Workspace")
  1602. delay(0, function()
  1603.  
  1604. local Frames = Time / Rate
  1605. for Frame = 1, Frames do
  1606. wait(Rate)
  1607. local Percent = Frame / Frames
  1608. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1609. TextLabel.TextTransparency = Percent
  1610. end
  1611. if EffectPart and EffectPart.Parent then
  1612. EffectPart:Destroy()
  1613. end
  1614. end
  1615. )
  1616. end
  1617.  
  1618. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1619.  
  1620. for _,c in pairs(workspace:children()) do
  1621. local hum = c:findFirstChild("Humanoid")
  1622. if hum ~= nil then
  1623. local head = c:findFirstChild("HumanoidRootPart")
  1624. if head ~= nil then
  1625. local targ = head.Position - Part.Position
  1626. local mag = targ.magnitude
  1627. if mag <= magni and c.Name ~= Player.Name then
  1628. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  1629. end
  1630. end
  1631. end
  1632. end
  1633. end
  1634. MagniKILL = function(Part, magni, knock, Type)
  1635.  
  1636. for _,c in pairs(workspace:children()) do
  1637. local hum = c:findFirstChild("Humanoid")
  1638. if hum ~= nil then
  1639. local head = c:findFirstChild("Head")
  1640. if head ~= nil then
  1641. local targ = head.Position - Part.Position
  1642. local mag = targ.magnitude
  1643. if mag <= magni and c.Name ~= Player.Name then
  1644. hum.Health = 0
  1645. end
  1646. end
  1647. end
  1648. end
  1649. end
  1650.  
  1651. EffectModel = Instance.new("Model", Character)
  1652. EffectModel.Name = "Effects"
  1653. Effects = {
  1654. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1655.  
  1656. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1657. prt.Anchored = true
  1658. prt.CFrame = cframe
  1659. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1660. game:GetService("Debris"):AddItem(prt, 10)
  1661. if Type == 1 or Type == nil then
  1662. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1663. else
  1664. if Type == 2 then
  1665. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1666. end
  1667. end
  1668. end
  1669. }
  1670. ,
  1671. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1672.  
  1673. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1674. prt.Anchored = true
  1675. prt.CFrame = cframe
  1676. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1677. game:GetService("Debris"):AddItem(prt, 10)
  1678. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1679. end
  1680. }
  1681. ,
  1682. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1683.  
  1684. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1685. prt.Anchored = true
  1686. prt.CFrame = cframe
  1687. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1688. game:GetService("Debris"):AddItem(prt, 10)
  1689. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1690. end
  1691. }
  1692. ,
  1693. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1694.  
  1695. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1696. prt.Anchored = true
  1697. prt.CFrame = cframe
  1698. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1699. game:GetService("Debris"):AddItem(prt, 10)
  1700. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1701. end
  1702. }
  1703. ,
  1704. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1705.  
  1706. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1707. prt.Anchored = true
  1708. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1709. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1710. game:GetService("Debris"):AddItem(prt, 10)
  1711. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1712. end
  1713. }
  1714. ,
  1715. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  1716.  
  1717. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1718. prt.Anchored = true
  1719. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1720. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1721. local num = math.random(10, 50) / 1000
  1722. game:GetService("Debris"):AddItem(prt, 10)
  1723. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  1724. end
  1725. }
  1726. }
  1727. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1728.  
  1729. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1730. prt.Anchored = true
  1731. prt.CFrame = cframe
  1732. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1733. game:GetService("Debris"):AddItem(prt, 10)
  1734. if Type == 1 or Type == nil then
  1735. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1736. else
  1737. if Type == 2 then
  1738. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1739. end
  1740. end
  1741. end
  1742.  
  1743. CreateSound = function(id, par, vol, pit)
  1744.  
  1745. coroutine.resume(coroutine.create(function()
  1746.  
  1747. local sou = Instance.new("Sound", par or workspace)
  1748. sou.Volume = vol
  1749. sou.Pitch = pit or 1
  1750. sou.SoundId = id
  1751. swait()
  1752. sou:play()
  1753. game:GetService("Debris"):AddItem(sou, 6)
  1754. end
  1755. ))
  1756. end
  1757.  
  1758. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1759.  
  1760. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1761. prt.Anchored = true
  1762. prt.CFrame = cframe
  1763. prt.Material = "Neon"
  1764. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1765. game:GetService("Debris"):AddItem(prt, 10)
  1766. coroutine.resume(coroutine.create(function(Part, Mesh)
  1767.  
  1768. for i = 0, 6, delay do
  1769. swait()
  1770. Part.Transparency = i
  1771. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1772. end
  1773. Part.Parent = nil
  1774. end
  1775. ), prt, msh)
  1776. end
  1777. LigLaser = function(mouse, partt, SpreadAmount)
  1778.  
  1779. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1780. local MainPos = partt.Position
  1781. local MainPos2 = mouse + SpreadVectors
  1782. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1783. local speed = 1000
  1784. local num = 1
  1785. coroutine.resume(coroutine.create(function()
  1786.  
  1787. repeat
  1788. swait()
  1789. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1790. local mag = (MainPos - pos).magnitude
  1791.  
  1792. MainPos = MainPos + MouseLook.lookVector * speed
  1793. num = num - 1
  1794. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1795. if hit ~= nil then
  1796. num = 0
  1797. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1798. refpart.Anchored = true
  1799. refpart.CFrame = CFrame.new(pos)
  1800. game:GetService("Debris"):AddItem(refpart, 2)
  1801. end
  1802.  
  1803. do
  1804. if num <= 0 then
  1805. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1806. refpart.Anchored = true
  1807. refpart.CFrame = CFrame.new(pos)
  1808. if hit ~= nil then
  1809. for i = 0,5 do
  1810.  
  1811. makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10)
  1812. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1813. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  1814. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  1815. MagniDamage(refpart, 3, .05, .2, 6, "Normal")
  1816. swait()
  1817. end
  1818.  
  1819.  
  1820. end
  1821. game:GetService("Debris"):AddItem(refpart, 0)
  1822. end
  1823. end
  1824. until num <= 0
  1825. end
  1826. ))
  1827. end
  1828. bigLigLaser = function(mouse, partt, SpreadAmount)
  1829.  
  1830. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1831. local MainPos = partt.Position
  1832. local MainPos2 = mouse + SpreadVectors
  1833. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1834. local speed = 1000
  1835. local num = 1
  1836. coroutine.resume(coroutine.create(function()
  1837.  
  1838. repeat
  1839. swait()
  1840. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1841. local mag = (MainPos - pos).magnitude
  1842.  
  1843. MainPos = MainPos + MouseLook.lookVector * speed
  1844. num = num - 1
  1845. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1846. if hit ~= nil then
  1847. num = 0
  1848. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1849. refpart.Anchored = true
  1850. refpart.CFrame = CFrame.new(pos)
  1851. game:GetService("Debris"):AddItem(refpart, 2)
  1852. end
  1853.  
  1854. do
  1855. if num <= 0 then
  1856. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1857. refpart.Anchored = true
  1858. refpart.CFrame = CFrame.new(pos)
  1859. if hit ~= nil then
  1860. for i = 0,1 do
  1861.  
  1862. makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10)
  1863. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1864. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  1865. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  1866. MagniDamage(refpart, 3, 5, 10, 8, "Snare")
  1867. swait()
  1868. end
  1869.  
  1870.  
  1871. end
  1872. game:GetService("Debris"):AddItem(refpart, 0)
  1873. end
  1874. end
  1875. until num <= 0
  1876. end
  1877. ))
  1878. end
  1879.  
  1880.  
  1881. shoottraildd = function(mouse, partt, SpreadAmount)
  1882.  
  1883. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1884. local MainPos = partt.Position
  1885. local MainPos2 = mouse + SpreadVectors
  1886. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1887. local speed = 1000
  1888. local num = 1
  1889. coroutine.resume(coroutine.create(function()
  1890.  
  1891. repeat
  1892. swait()
  1893. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1894. local mag = (MainPos - pos).magnitude
  1895. Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
  1896. MainPos = MainPos + MouseLook.lookVector * speed
  1897. num = num - 1
  1898. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1899. if hit ~= nil then
  1900. num = 0
  1901. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1902. refpart.Anchored = true
  1903. refpart.CFrame = CFrame.new(pos)
  1904. game:GetService("Debris"):AddItem(refpart, 2)
  1905. end
  1906. do
  1907. if num <= 0 then
  1908. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1909. refpart.Anchored = true
  1910. refpart.CFrame = CFrame.new(pos)
  1911. if hit ~= nil then
  1912. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1913. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1914. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1915. MagniDamage(refpart, 3, 10, 15, 0, "Normal")
  1916. end
  1917. game:GetService("Debris"):AddItem(refpart, 0)
  1918. end
  1919. end
  1920. until num <= 0
  1921. end
  1922. ))
  1923. end
  1924.  
  1925. shoottraildd2 = function(mouse, partt, SpreadAmount)
  1926.  
  1927. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1928. local MainPos = partt.Position
  1929. local MainPos2 = mouse + SpreadVectors
  1930. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1931. local speed = 1000
  1932. local num = 1
  1933. coroutine.resume(coroutine.create(function()
  1934.  
  1935. repeat
  1936. swait()
  1937. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1938. local mag = (MainPos - pos).magnitude
  1939. Laser(BrickColor.new("Pastel Blue"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
  1940. MainPos = MainPos + MouseLook.lookVector * speed
  1941. num = num - 1
  1942. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1943. if hit ~= nil then
  1944. num = 0
  1945. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1946. refpart.Anchored = true
  1947. refpart.CFrame = CFrame.new(pos)
  1948. game:GetService("Debris"):AddItem(refpart, 2)
  1949. end
  1950. do
  1951. if num <= 0 then
  1952. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1953. refpart.Anchored = true
  1954. refpart.CFrame = CFrame.new(pos)
  1955. if hit ~= nil then
  1956. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1957. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1958. BlockEffect(BrickColor.new("Pastel Blue"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1959. MagniDamage(refpart, 3, 20, 40, 0, "Snare")
  1960. end
  1961. game:GetService("Debris"):AddItem(refpart, 0)
  1962. end
  1963. end
  1964. until num <= 0
  1965. end
  1966. ))
  1967. end
  1968.  
  1969.  
  1970. function idleanim2()
  1971. for i = 0, 1, 0.1 do
  1972. swait()
  1973. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2)
  1974. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2)
  1975. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1976. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2)
  1977. RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2)
  1978. LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2)
  1979. GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  1980. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1981. end
  1982. end
  1983.  
  1984. function MinShotAttackAnim1()
  1985.  
  1986. for i = 0, 1, 0.3 do
  1987. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))
  1988. swait()
  1989.  
  1990. if Torsovelocity > 1 then
  1991. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  1992. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2)
  1993. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1994. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1995. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3)
  1996. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3)
  1997. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1998. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1999. elseif Torsovelocity < 1 then
  2000.  
  2001.  
  2002.  
  2003. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2004. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2005. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2006. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2007. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2008. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2009. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2010. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2011. end
  2012. end
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021. end
  2022.  
  2023.  
  2024. function ShotAttackAnim1()
  2025. for i = 0, 1, 0.3 do
  2026.  
  2027. swait()
  2028.  
  2029. if Torsovelocity > 1 then
  2030. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2031. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  2032. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2033. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2034. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2035. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2036. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2037. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2038. elseif Torsovelocity < 1 then
  2039.  
  2040.  
  2041.  
  2042. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2043. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2044. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2045. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2046. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2047. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2048. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2049. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2050. end
  2051. end
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060. end
  2061.  
  2062.  
  2063. function ShotAttackAnim2()
  2064. for i = 0, 2, 0.1 do
  2065. swait()
  2066.  
  2067. if Torsovelocity > 2 then
  2068. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  2069. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2070. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  2071. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  2072. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2073. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2074. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2075. DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5) , 7.05 - .1 * math.cos(sine / 3), 2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  2076. elseif Torsovelocity < 1 then
  2077.  
  2078.  
  2079. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  2080. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  2081. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  2082. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  2083. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2084. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  2085. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  2086.  
  2087. DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5) ,7 + -.2 * math.cos(sine / 20), 0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  2088. end
  2089. end
  2090. end
  2091.  
  2092. function ShotAttackAnim3()
  2093. for i = 0, 2, 0.1 do
  2094. swait()
  2095.  
  2096. if Torsovelocity > 2 then
  2097. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2098. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2099. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2100. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2101. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2102. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2103. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2104. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2105. elseif Torsovelocity < 1 then
  2106.  
  2107.  
  2108. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2109. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2110. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2111. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2112. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2)
  2113. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2)
  2114. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2115. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2116. end
  2117. end
  2118.  
  2119.  
  2120.  
  2121. for i = 0, 1, 0.4 do
  2122. swait()
  2123.  
  2124. if Torsovelocity > 2 then
  2125. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  2126. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  2127. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2128. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  2129. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2130. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  2131. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2132. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2133. elseif Torsovelocity < 1 then
  2134.  
  2135.  
  2136. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2137. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2138. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2139. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  2140. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  2141. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  2142. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2143. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2144. end
  2145. end
  2146. end
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155. function holding()
  2156.  
  2157.  
  2158.  
  2159.  
  2160. while Rapid == true and attack==true and sentrymode == false do
  2161.  
  2162. attack = true
  2163.  
  2164.  
  2165. MinShotAttackAnim1()
  2166. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2167. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2168. shoottraildd(mouse.Hit.p, gun1, .55)
  2169.  
  2170. MinShotAttackAnim1()
  2171. BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2172. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2173. shoottraildd(mouse.Hit.p, gun2, .55)
  2174. MinShotAttackAnim1()
  2175. BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2176. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2177. shoottraildd(mouse.Hit.p, gun3, .55)
  2178. MinShotAttackAnim1()
  2179. BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2180. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  2181. shoottraildd(mouse.Hit.p, gun4, .55)
  2182. end
  2183.  
  2184.  
  2185.  
  2186. attack = false
  2187. end
  2188.  
  2189. mouse.KeyDown:connect(function(k)
  2190. if k == "t" then
  2191. CreateSound("171014742", Torso, 10, 1)
  2192. end
  2193. end)
  2194.  
  2195. mouse.KeyUp:connect(function(k)
  2196. if k == "z" and Rapid == true then
  2197. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)
  2198. Rapid = false
  2199. Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
  2200. Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
  2201.  
  2202. end
  2203. end)
  2204.  
  2205.  
  2206.  
  2207. mouse.KeyDown:connect(function(k)
  2208. if k == "z" and sentrymode == false and attack == false then
  2209. attack = true
  2210. Rapid = true
  2211. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)
  2212. MinShotAttackAnim1()
  2213. MinShotAttackAnim1()
  2214. for i = 0,10 do
  2215. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2216. BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2217. BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2218. BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  2219. Effects.Ring.Create (BrickColor.new("Pastel Blue"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
  2220. MinShotAttackAnim1()
  2221. end
  2222. holding()
  2223. end
  2224. end)
  2225.  
  2226.  
  2227.  
  2228.  
  2229. mouse.KeyDown:connect(function(k)
  2230.  
  2231.  
  2232. if attack == false and k == "x" and sentrymode == false then
  2233.  
  2234.  
  2235.  
  2236.  
  2237. attack = true
  2238. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
  2239. for i=1,5 do
  2240.  
  2241. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2242. BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2243. BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2244. BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2245. ShotAttackAnim1()
  2246. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2247. BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2248. BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2249. BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2250. ShotAttackAnim1()
  2251. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2252. BlockEffect(BrickColor.new("Pastel Blue"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2253. BlockEffect(BrickColor.new("Pastel Blue"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2254. BlockEffect(BrickColor.new("Pastel Blue"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2255.  
  2256. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
  2257. ShotAttackAnim1()
  2258. end
  2259. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
  2260. for i=1,2 do
  2261. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
  2262. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
  2263. BlockEffect(BrickColor.new("Pastel Blue"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
  2264. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
  2265. end
  2266. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2267.  
  2268.  
  2269. MagniDamage(gun1, 15, 20, 69, 99, "Normal")
  2270. ShotAttackAnim3()
  2271.  
  2272.  
  2273.  
  2274.  
  2275. for i=1,2 do
  2276. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2277. ShotAttackAnim1()
  2278. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2279. ShotAttackAnim1()
  2280. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  2281. ShotAttackAnim1()
  2282. end
  2283.  
  2284. attack = false
  2285.  
  2286. end
  2287.  
  2288.  
  2289.  
  2290. if k == "r" and attack == false then
  2291. attack=true
  2292. while Torsovelocity < 1 do
  2293. attack=true
  2294. idleanim2()
  2295.  
  2296.  
  2297.  
  2298. end
  2299. attack=false
  2300.  
  2301. end
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310. if k == "v" and sentrymode == false and attack == false and ultwait==false then
  2311. ultwait=true
  2312. attack = true
  2313. Humanoid.WalkSpeed = 0
  2314. local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
  2315. wait()
  2316. Sond:play()
  2317.  
  2318. for i = 0, 1, 0.1 do
  2319. swait()
  2320.  
  2321.  
  2322.  
  2323. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2324. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2325. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2326. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2327. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2328. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2329. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2330. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2331.  
  2332. end
  2333.  
  2334.  
  2335. for i = 0, 2, 0.1 do
  2336. swait()
  2337.  
  2338. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2339.  
  2340.  
  2341. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2342. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2343. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2344. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2345. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2)
  2346. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2347. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2348. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2349.  
  2350. end
  2351.  
  2352.  
  2353. for i = 0, 58, 0.1 do
  2354. swait()
  2355. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
  2356. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
  2357. BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
  2358.  
  2359. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2360. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2361. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2362. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1)
  2363. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2364. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2365. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2366. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2367.  
  2368. end
  2369. BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
  2370. for i = 0, 55, 0.1 do
  2371. swait()
  2372. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
  2373. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2374. Effects.Break.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, 6, .1, .1)
  2375. BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
  2376. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01)
  2377. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2378. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2379. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2380. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2381. LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2382. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2383. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2384.  
  2385. end
  2386. BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
  2387. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
  2388. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
  2389. for i = 0, 10, 0.1 do
  2390. swait()
  2391.  
  2392. Effects.Wave.Create (BrickColor.new("Pastel Blue"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
  2393. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
  2394. Effects.Ring.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
  2395. Effects.Break.Create (BrickColor.new("Pastel Blue"), LeftArm.CFrame, 76, .1, .1)
  2396. BlockEffect(BrickColor.new("Pastel Blue"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
  2397.  
  2398.  
  2399. MagniKILL(Torso, 80,99,99999999, 0, "Normal")
  2400.  
  2401. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2402. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2403. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2404. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2)
  2405. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2406. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2407. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2408. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2409.  
  2410. end
  2411. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
  2412.  
  2413. for i = 0, 1, 0.1 do
  2414. swait()
  2415.  
  2416.  
  2417.  
  2418. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2419. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2420. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2421. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2422. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2423. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2424. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2425. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2426.  
  2427. end
  2428. Humanoid.WalkSpeed = 16
  2429. Sond:Destroy()
  2430.  
  2431. attack = false
  2432. wait(30)
  2433. ultwait=false
  2434. end
  2435.  
  2436. if k == "e" then
  2437.  
  2438. if sentrymode== false then
  2439. if attack == false then
  2440. GlowParticle.Enabled = true
  2441. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
  2442. sentrymode= true
  2443. end
  2444. else
  2445. sentrymode=false
  2446. GlowParticle.Enabled = false
  2447. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
  2448. end
  2449. end
  2450.  
  2451. end)
  2452. mouse.Button1Down:connect(function(key)
  2453. if attack == false and sentrymode == false then
  2454. attack = true
  2455. ShotAttackAnim2()
  2456. BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2457. BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2458. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
  2459. bigLigLaser(mouse.Hit.p, LaPart, 0)
  2460. ShotAttackAnim2()
  2461. attack = false
  2462. end
  2463. end)
  2464.  
  2465.  
  2466.  
  2467.  
  2468. ------------------------------------------------------------------------------------------------
  2469. local HiveMind = {}
  2470.  
  2471. function HiveMind:new(owner)
  2472. self.__index = self
  2473. local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
  2474. o.owner = owner
  2475. setmetatable(o, self)
  2476. return o
  2477. end
  2478.  
  2479. function HiveMind:add(model, humanoid, torso)
  2480. if model and humanoid and torso then
  2481. table.insert(self.mind, {model = model, humanoid = humanoid,
  2482. torso = torso})
  2483. local hiv = self
  2484. local lastJump = 0
  2485. torso.Touched:connect(function(object)
  2486. local hive = false
  2487. if hiv.owner.Character
  2488. and object:IsDescendantOf(hiv.owner.Character) == false
  2489. then
  2490. for i = 1, #hiv.mind do
  2491. if object:IsDescendantOf(hiv.mind[i].model) then
  2492. hive = true
  2493. break
  2494. end
  2495. end
  2496. if not hive then
  2497. local hum = object.Parent
  2498. and object.Parent:FindFirstChild("Humanoid")
  2499. if hum then
  2500. hum:TakeDamage(1)
  2501. end
  2502. elseif time() - lastJump > 2 then
  2503. lastJump = time(0) + math.random()*1
  2504. humanoid.Jump = true
  2505. end
  2506. end
  2507. end)
  2508. end
  2509. end
  2510.  
  2511. function HiveMind:cleanupHive()
  2512. local i = 1
  2513. while i <= #self.mind do
  2514. if self.mind[i].model:IsDescendantOf(game) == false
  2515. or self.mind[i].humanoid.Health == 0 then
  2516. table.remove(self.mind, i)
  2517. else
  2518. i = i + 1
  2519. end
  2520. end
  2521. end
  2522.  
  2523. function HiveMind:getOrbitNumberFromUnitNumber(i)
  2524. local circleNumber = 0
  2525. while self:getUnitsInOrbit(circleNumber) < i do
  2526. i = i - self:getUnitsInOrbit(circleNumber)
  2527. circleNumber = circleNumber + 1
  2528. end
  2529. return circleNumber, i
  2530. end
  2531.  
  2532. function HiveMind:getOrbitDiameter(orbitNumber)
  2533. return math.pi*(orbitNumber*14)
  2534. end
  2535.  
  2536. function HiveMind:getUnitsInOrbit(orbitNumber)
  2537. return math.floor(self:getOrbitDiameter(orbitNumber)/5)
  2538. end
  2539.  
  2540. function HiveMind:lineup(location)
  2541. for i = 1, #self.mind do
  2542. local row = (i - 1) % 3
  2543. local column = math.floor((i - 1) / 3)
  2544. local xOffset, yOffset
  2545. if row == 0 then
  2546. xOffset = -7
  2547. elseif row == 1 then
  2548. xOffset = 0
  2549. else
  2550. xOffset = 7
  2551. end
  2552. yOffset = column * 7
  2553. local position = location * CFrame.new(xOffset, 0, yOffset)
  2554. self.mind[i].humanoid:MoveTo(position.p, workspace.Base)
  2555. end
  2556. end
  2557.  
  2558. function HiveMind:ownerTorso()
  2559. return self.owner.Character
  2560. and self.owner.Character:FindFirstChild("Torso")
  2561. end
  2562. function HiveMind:update()
  2563. self:cleanupHive()
  2564. if self.owner.Character then
  2565. local ownerTorso = self.owner.Character:FindFirstChild("Torso")
  2566. if ownerTorso then
  2567. if (self.mindState == "FOLLOW") then
  2568. local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9)
  2569. self:lineup(hiveSpawn)
  2570. elseif (self.mindState == "CIRCLE") then
  2571. self:circle(ownerTorso.Position)
  2572. elseif (self.mindState == "ATTACK") then
  2573. self:crowdAttack()
  2574. elseif (self.mindState == "Deffend") then
  2575. self:deffend()
  2576. elseif (self.mindState == "GOTO") then
  2577. self:pushToTarget()
  2578. end
  2579. end
  2580. end
  2581. end
  2582. local me = game:GetService("Players").LocalPlayer
  2583. local hiveMind = HiveMind:new(me)
  2584.  
  2585. ------------------------------------------------------------------------------------------------
  2586.  
  2587. function findNearestTorso(pos,dist2)
  2588. local list = game.Workspace:children()
  2589. local torso = nil
  2590. if dist2 == nil then
  2591. dist2=50
  2592.  
  2593. end
  2594. local dist = dist2
  2595. local temp = nil
  2596. local human = nil
  2597. local temp2 = nil
  2598. for x = 1, #list do
  2599. temp2 = list[x]
  2600. if (temp2.className == "Model") and (temp2 ~= Character) then
  2601. temp = temp2:findFirstChild("HumanoidRootPart")
  2602. human = temp2:findFirstChild("Humanoid")
  2603. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2604. if (temp.Position - pos).magnitude < dist then
  2605. torso = temp
  2606.  
  2607. dist = (temp.Position - pos).magnitude
  2608. else
  2609.  
  2610. end
  2611.  
  2612.  
  2613.  
  2614.  
  2615. end
  2616. end
  2617. end
  2618. return torso
  2619. end
  2620.  
  2621.  
  2622. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628. if sentrymode == true and sonarwait == false then
  2629. sonarwait = true
  2630.  
  2631. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
  2632.  
  2633. wait(1)
  2634. sonarwait = false
  2635. end
  2636.  
  2637.  
  2638.  
  2639.  
  2640. wait()
  2641. if sentrymode == true then
  2642.  
  2643. local target = findNearestTorso(Character.HumanoidRootPart.Position,30)
  2644. if target ~= nil then
  2645. ShotAttackAnim2()
  2646. if sentrywait == false then
  2647. sentrywait = true
  2648. attack= true
  2649.  
  2650.  
  2651. BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2652. BlockEffect(BrickColor.new("Pastel Blue"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2653. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
  2654. LigLaser(target.Position, LaPart, 0)
  2655. wait()
  2656. attack= false
  2657. sentrywait = false
  2658. end
  2659.  
  2660.  
  2661. end
  2662.  
  2663. end
  2664. end)
  2665.  
  2666.  
  2667. sonarwait = false
  2668.  
  2669.  
  2670.  
  2671.  
  2672.  
  2673.  
  2674.  
  2675.  
  2676.  
  2677.  
  2678. FaceIdList = {'117930174'}
  2679. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  2680.  
  2681.  
  2682.  
  2683.  
  2684.  
  2685. local YourName = game.Players.LocalPlayer.Name
  2686. Character = Player.Character
  2687.  
  2688.  
  2689. Heartbeat = Instance.new("BindableEvent")
  2690. Heartbeat.Name = "Heartbeat"
  2691. Heartbeat.Parent = script
  2692. frame = 0.03333333333333333
  2693. tf = 0
  2694.  
  2695. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2696. tf = tf + s
  2697. if tf >= frame then
  2698. for i = 1, math.floor(tf / frame) do
  2699. Heartbeat:Fire()
  2700. end
  2701. tf = tf - frame * math.floor(tf / frame)
  2702. end
  2703. end)
  2704. local nscale = Instance.new("NumberValue")
  2705. nscale.Value = 1
  2706. nscale.Parent = nil
  2707. nscale.Changed:connect(function()
  2708. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2709. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2710. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2711. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2712. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2713. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2714. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2715. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2716. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2717. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2718. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2719. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2720. end)
  2721.  
  2722. function makegloo(paren, co, ci, parto, parti, nam)
  2723. local gloo = Instance.new("Glue")
  2724. gloo.Name = nam
  2725. gloo.C0 = co
  2726. gloo.C1 = ci
  2727. gloo.Part0 = parto
  2728. gloo.Part1 = parti
  2729. gloo.Parent = paren
  2730. end
  2731. function makejoint(paren, co, ci, parto, parti, nam)
  2732. local gloo = Instance.new("Motor6D")
  2733. gloo.Name = nam
  2734. gloo.C0 = co
  2735. gloo.C1 = ci
  2736. gloo.Part0 = parto
  2737. gloo.Part1 = parti
  2738. gloo.Parent = paren
  2739. end
  2740. function maketouchy(parent, limb, cframe)
  2741. local pr = Instance.new("Part")
  2742. pr.Name = "touchy"
  2743. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  2744. pr.Transparency = 1
  2745. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  2746. pr.CanCollide = true
  2747. pr.Anchored = false
  2748. pr.Parent = parent
  2749. local w = Instance.new("Weld")
  2750. w.Part0 = pr
  2751. w.Part1 = limb
  2752. w.C0 = cframe
  2753. w.Parent = pr
  2754. end
  2755. --[[ function swait(num)
  2756. if num == 0 or num == nil then
  2757. Heartbeat.Event:wait()
  2758. else
  2759. for i = 1, num do
  2760. Heartbeat.Event:wait()
  2761. end
  2762. end
  2763. end
  2764. --]]
  2765. modz = Instance.new("Model")
  2766. modz.Name = "efx"
  2767. modz.Parent = Character
  2768.  
  2769. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2770. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2771. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2772. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2773. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2774. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2775. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2776. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2777. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2778. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2779. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2780. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2781. local nscale = Instance.new("NumberValue")
  2782. nscale.Value = 1
  2783. nscale.Parent = nil
  2784. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2785. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2786. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2787. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2788. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2789. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2790. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2791. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2792. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2793. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2794. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2795. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809. sWaiting=false
  2810. wait3=false
  2811. shotval = 0
  2812.  
  2813. npcname = ""..Character.Name.."'s Combine"
  2814.  
  2815.  
  2816. Character.ChildAdded:connect(function(object)
  2817. if object.Name == npcname then
  2818. hiveMind:add(object, object:WaitForChild("Humanoid"),
  2819. object:WaitForChild("Torso"))
  2820. end
  2821. end)
  2822. game:GetService("RunService").Stepped:connect(function()
  2823. hiveMind:update()
  2824. end)
  2825.  
  2826. function makenoob(cfrem, scalo, rags)
  2827. nscale.Value = scalo
  2828. local md = Instance.new("Model")
  2829. md.Name = ""..Character.Name.."'s Combine"
  2830. md.Parent = Character
  2831. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=220230512", md, 1, 1)
  2832. wait(.5)
  2833. local hu = Instance.new("Humanoid")
  2834. hu.RigType = "R6"
  2835. hu.MaxHealth = 150 * scalo
  2836. hu.Health = 150 * scalo
  2837. hu.Parent = md
  2838. hu.DisplayDistanceType="Viewer"
  2839. hu.HealthDisplayDistance=100
  2840. hu.NameDisplayDistance=100
  2841. hu.NameOcclusion="EnemyOcclusion"
  2842. local anm = Instance.new("Animator")
  2843. anm.Parent = hu
  2844. local forthisnpcanim = npcanim:Clone()
  2845. forthisnpcanim.Parent = md
  2846. hu.PlatformStand = true
  2847. local light = function(part)
  2848. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  2849. end
  2850. local hd = Instance.new("Part")
  2851. hd.Name = "Head"
  2852. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  2853. hd.TopSurface = "Smooth"
  2854. hd.BottomSurface = "Inlet"
  2855. hd.Locked = true
  2856. hd.BrickColor = BrickColor.new("Pastel brown")
  2857. hd.CanCollide = true
  2858. hd.Anchored = false
  2859. light(hd)
  2860. hd.Parent = md
  2861. local hm = Instance.new("SpecialMesh")
  2862. hm.MeshType = "Head"
  2863. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  2864. hm.Parent = hd
  2865.  
  2866.  
  2867.  
  2868. shirt = Instance.new("Shirt", md)
  2869. shirt.Name = "Shirt"
  2870. pants = Instance.new("Pants", md)
  2871. pants.Name = "Pants"
  2872. md.Shirt.ShirtTemplate = "rbxassetid://245656735"
  2873. md.Pants.PantsTemplate = "rbxassetid://245656766"
  2874. function loada(anim)
  2875. local loaded = md.Humanoid:LoadAnimation(anim)
  2876. return loaded
  2877. end
  2878. IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
  2879. IdleAnim = loada(IdleA)
  2880.  
  2881. local hf = Instance.new("Decal")
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895. hf.Texture = "rbxassetid://"..FaceId
  2896.  
  2897. hf.Face = "Front"
  2898. hf.Parent = hd
  2899. local hrpa = Instance.new("Part")
  2900. hrpa.Name = "HumanoidRootPart"
  2901. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  2902. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2903. hrpa.Transparency = 1
  2904. hrpa.CanCollide = false
  2905. hrpa.Locked = true
  2906. light(hrpa)
  2907. hrpa.Parent = md
  2908. local tagbomb = Instance.new("BoolValue")
  2909. tagbomb.Name = "tagbomb"
  2910. tagbomb.Value = false
  2911. tagbomb.Parent = hrpa
  2912. local learm = Instance.new("Part")
  2913. learm.Name = "Left Arm"
  2914. learm.BrickColor = BrickColor.new("Pastel brown")
  2915. learm.CanCollide = false
  2916. learm.Locked = true
  2917. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2918. light(learm)
  2919. learm.Parent = md
  2920. local riarm = Instance.new("Part")
  2921. riarm.Name = "Right Arm"
  2922. riarm.BrickColor = BrickColor.new("Pastel brown")
  2923. riarm.CanCollide = false
  2924. riarm.Locked = true
  2925. light(riarm)
  2926. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2927. riarm.Parent = md
  2928. local leleg = Instance.new("Part")
  2929. leleg.Name = "Left Leg"
  2930. leleg.BrickColor = BrickColor.new("Navy blue")
  2931. leleg.CanCollide = false
  2932. leleg.Locked = true
  2933. light(leleg)
  2934. leleg.BottomSurface = 0
  2935. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2936. leleg.Parent = md
  2937. local rileg = Instance.new("Part")
  2938. rileg.Name = "Right Leg"
  2939. rileg.BrickColor = BrickColor.new("Navy blue")
  2940. rileg.CanCollide = false
  2941. rileg.Locked = true
  2942. light(rileg)
  2943. rileg.BottomSurface = 0
  2944. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2945. rileg.Parent = md
  2946. local tor = Instance.new("Part")
  2947. tor.Name = "Torso"
  2948. tor.BrickColor = BrickColor.new("Pastel Blue")
  2949. tor.Locked = true
  2950. light(tor)
  2951. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2952. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  2953. tor.Parent = md
  2954. md.PrimaryPart = hrpa
  2955. md:SetPrimaryPartCFrame(cfrem)
  2956. md:makeJoints()
  2957. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  2958. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  2959.  
  2960. if rags == true then
  2961. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  2962. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  2963. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  2964. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  2965. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  2966. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  2967. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  2968. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  2969. elseif rags == false then
  2970. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  2971. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  2972. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  2973. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  2974. hu.PlatformStand = false
  2975.  
  2976. end
  2977.  
  2978.  
  2979. local Solhat = Instance.new("Accessory")
  2980. Solhat.AttachmentPos = Vector3.new(0, .3, 0)
  2981. local SHH = Instance.new("Part",Solhat)
  2982. SHH.Name = "Handle"
  2983. SHH.CanCollide=false
  2984. local SHHMesh = Instance.new("SpecialMesh",SHH)
  2985. SHHMesh.Parent = SHH
  2986. SHHMesh.MeshId = "rbxassetid://31152467"
  2987. SHHMesh.TextureId = "rbxassetid://32002857"
  2988. SHHMesh.Scale = Vector3.new(1, 1, 1)
  2989. SHHMesh.VertexColor = Vector3.new(1, 1, 1)
  2990.  
  2991.  
  2992.  
  2993. nscale.Value = 1
  2994.  
  2995. wait()
  2996. Solhat.Parent = md
  2997. Thegun = Instance.new("Part",riarm)
  2998. Thegun.CanCollide=false
  2999. Thegun.Size = Vector3.new(1,1,1)
  3000. ThegunW = Instance.new("Weld")
  3001. ThegunW.Name = "GuW"
  3002. ThegunW.Part0 = riarm
  3003. ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2)
  3004. ThegunW.C1 = cn(0, 0, 0)
  3005. ThegunW.Part1 = Thegun
  3006. ThegunW.Parent = riarm
  3007. local ThegunMesh = Instance.new("SpecialMesh",Thegun)
  3008. ThegunMesh.Parent = Thegun
  3009. ThegunMesh.MeshId = "rbxassetid://477158943"
  3010. ThegunMesh.TextureId = "rbxassetid://477158949"
  3011. ThegunMesh.Scale = Vector3.new(0.04, 0.035, 0.04)
  3012. ThegunMesh.VertexColor = Vector3.new(0.2, 0, 0)
  3013. Thegun2 = Instance.new("Part",md)
  3014. Thegun2.CanCollide=false
  3015. Thegun2.Size = Vector3.new(.1,.1,.1)
  3016. Thegun2.Name = "Shoot"
  3017. ThegunW2 = Instance.new("Weld")
  3018. ThegunW2.Name = "GuW"
  3019. ThegunW2.Part0 = riarm
  3020. ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0)
  3021. ThegunW2.C1 = cn(0, 0, 0)
  3022. ThegunW2.Part1 = Thegun2
  3023. ThegunW2.Parent = riarm
  3024. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3025. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3026.  
  3027. BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3028. BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3029. wait(0.5)
  3030. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183921414", tor, 1, 1)
  3031. IdleAnim:Play()
  3032. wait(2.5)
  3033. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=183953820", tor, 2, 1)
  3034. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  3035. if md ~= nil and hu.Health > 0 and sentrymode == false then
  3036. if md ~= nil and hu.Health > 0 and sentrymode == false then
  3037.  
  3038. if killcom==true or sentrymode == true and sWaiting==false then
  3039.  
  3040. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=282061033", Torso, .5, 1)
  3041.  
  3042.  
  3043.  
  3044. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3045. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  3046.  
  3047. BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3048. BlockEffect(BrickColor.new("Pastel Blue"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  3049.  
  3050.  
  3051.  
  3052. hu.Health = 0
  3053. game:service'Debris':AddItem(md, .0);
  3054. end
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060. hu.WalkSpeed = 16.5
  3061. local target2 = findNearestTorso(hrpa.Position,60)
  3062. if target2 ~= nil then
  3063. hu:MoveTo(target2.Position, target2)
  3064.  
  3065. end
  3066.  
  3067. local target3 = findNearestTorso(hrpa.Position,45)
  3068.  
  3069. if target3 ~= nil then
  3070. hu.WalkSpeed = 0
  3071. tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s))
  3072. end
  3073.  
  3074. if target3 ~= nil and wait3==false and sentrymode == false then
  3075. wait3=true
  3076.  
  3077. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", LaPart, 3, .7)
  3078. shoottraildd2(target3.Position, Thegun2, 1)
  3079. local PointLight = Instance.new("PointLight", Thegun2);
  3080. PointLight.Color = Color3.new(1,0,0)
  3081. PointLight.Brightness = 50;
  3082. PointLight.Range = 10
  3083. game:service'Debris':AddItem(PointLight, .02);
  3084. wait(2.2)
  3085. wait3=false
  3086.  
  3087.  
  3088.  
  3089. --Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s))
  3090.  
  3091.  
  3092. end
  3093.  
  3094. end
  3095.  
  3096. for i,v in pairs(Character:GetChildren()) do
  3097. if ""..Character.Name.."'s Combine" then
  3098.  
  3099.  
  3100.  
  3101. if hu.Health == 0 and md ~= nil and killcom==false and sWaiting==false then
  3102. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
  3103.  
  3104.  
  3105. game:service'Debris':AddItem(md, 3);
  3106.  
  3107. end
  3108. end
  3109. return md
  3110.  
  3111. end
  3112. end
  3113. end)
  3114.  
  3115.  
  3116.  
  3117. end
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133. function makecircle(cfrem, scalo)
  3134. local mcir1 = Instance.new("Part")
  3135. mcir1.Anchored = true
  3136. mcir1.CanCollide = false
  3137. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  3138. mcir1.Transparency = 1
  3139. mcir1.CFrame = cfrem
  3140. mcir1.Parent = modz
  3141. game.Debris:AddItem(mcir1, 8)
  3142. local d1 = Instance.new("Decal")
  3143. d1.Texture = "rbxassetid://0"
  3144. d1.Face = "Front"
  3145. d1.Parent = mcir1
  3146. local d2 = Instance.new("Decal")
  3147. d2.Texture = "rbxassetid://0"
  3148. d2.Face = "Back"
  3149. d2.Parent = mcir1
  3150. local bme = Instance.new("BlockMesh")
  3151. bme.Parent = mcir1
  3152. for _ = 1, 9 do
  3153. swait()
  3154. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  3155. end
  3156. coroutine.resume(coroutine.create(function()
  3157. swait(15)
  3158. for _ = 1, 12 do
  3159. swait()
  3160. d1.Transparency = d1.Transparency + 0.08
  3161. d2.Transparency = d2.Transparency + 0.08
  3162. end
  3163. mcir1:Destroy()
  3164. end))
  3165. return mcir1
  3166. end
  3167. function spawnnoob(circlecf, noobcf, scalez, ragd)
  3168. local aearae = makecircle(circlecf, scalez)
  3169. local nananb
  3170.  
  3171. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  3172.  
  3173. return nananb
  3174. end
  3175. mouse.KeyDown:connect(function(k)
  3176. if k == "c" and attack == false and sentrymode == false then
  3177. if killcom==false then
  3178. killcom=true
  3179. else
  3180. killcom=false
  3181. spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false)
  3182.  
  3183. end
  3184.  
  3185.  
  3186. end
  3187. end)
  3188.  
  3189. --[[
  3190. BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  3191. BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  3192. BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  3193. BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  3194. --]]
Advertisement
Add Comment
Please, Sign In to add comment