Advertisement
GojiGaming1337

Untitled

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