Advertisement
whotz12II

Doggo-4 Unit

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