AndrewTheMaster

Juggernaut

May 2nd, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 160.74 KB | None | 0 0
  1. -- params : ...
  2.  
  3. wait(0.016666666666667)
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. script.Name = "GG"
  7. local Player = game.Players.LocalPlayer
  8. local Character = Player.Character
  9. local Effects = {}
  10. local Humanoid = Character.Humanoid
  11. local mouse = Player:GetMouse()
  12. local m = Instance.new("Model", Character)
  13. m.Name = "WeaponModel"
  14. local can = Instance.new("Model", Character)
  15. can.Name = "WeaponModel2"
  16. local g = Instance.new("Model", Character)
  17. local ge = Instance.new("Model", Character)
  18. local LeftArm = Character["Left Arm"]
  19. local RightArm = Character["Right Arm"]
  20. local LeftLeg = Character["Left Leg"]
  21. local RightLeg = Character["Right Leg"]
  22. local Head = Character.Head
  23. local Torso = Character.Torso
  24. local cam = game.Workspace.CurrentCamera
  25. local RootPart = Character.HumanoidRootPart
  26. local RootJoint = RootPart.RootJoint
  27. local equipped = false
  28. local attack = false
  29. local Anim = "Idle"
  30. local idle = 0
  31. local attacktype = 1
  32. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  33. local velocity = RootPart.Velocity.y
  34. local sine = 0
  35. local change = 1
  36. local grabbed = false
  37. local cn = CFrame.new
  38. local mr = math.rad
  39. local angles = CFrame.Angles
  40. local ud = UDim2.new
  41. local c3 = Color3.new
  42. local minigun = false
  43. local railcannon = false
  44. Humanoid.Animator.Parent = nil
  45. Character.Animate.Parent = nil
  46. local omega = false
  47. local newMotor = function(part0, part1, c0, c1)
  48.  
  49. local w = Instance.new("Motor", part0)
  50. w.Part0 = part0
  51. w.Part1 = part1
  52. w.C0 = c0
  53. w.C1 = c1
  54. return w
  55. end
  56.  
  57. clerp = function(a, b, t)
  58.  
  59. return a:lerp(b, t)
  60. end
  61.  
  62. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  63. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  64. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  65. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  66. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  67. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  68. RootJoint.C1 = CFrame.new(0, 0, 0)
  69. RootJoint.C0 = CFrame.new(0, 0, 0)
  70. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  71. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  72. local rarmc1 = RW.C1
  73. local larmc1 = LW.C1
  74. local rlegc1 = RH.C1
  75. local llegc1 = LH.C1
  76. local resetc1 = false
  77. PlayAnimationFromTable = function(table, speed, bool)
  78. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  79. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  80. RW.C0 = clerp(RW.C0, table[3], speed)
  81. LW.C0 = clerp(LW.C0, table[4], speed)
  82. RH.C0 = clerp(RH.C0, table[5], speed)
  83. LH.C0 = clerp(LH.C0, table[6], speed)
  84. if bool == true and resetc1 == false then
  85. resetc1 = true
  86. RootJoint.C1 = RootJoint.C1
  87. Torso.Neck.C1 = Torso.Neck.C1
  88. RW.C1 = rarmc1
  89. LW.C1 = larmc1
  90. RH.C1 = rlegc1
  91. LH.C1 = llegc1
  92. end
  93. end
  94.  
  95. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  96. ArtificialHB.Name = "Heartbeat"
  97. Player.PlayerGui:WaitForChild("Heartbeat")
  98. frame = 0.033333333333333
  99. tf = 0
  100. allowframeloss = false
  101. tossremainder = false
  102. lastframe = tick()
  103. Player.PlayerGui.Heartbeat:Fire()
  104. local gg = false
  105. game:GetService("RunService").Heartbeat:connect(function(s, p)
  106.  
  107. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  108. gg = true
  109. end
  110. if gg == true then
  111. return
  112. end
  113. tf = tf + s
  114. if frame <= tf then
  115. if allowframeloss then
  116. Player.PlayerGui.Heartbeat:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. Player.PlayerGui.Heartbeat:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end
  131. )
  132. swait = function(num)
  133.  
  134. if num == 0 or num == nil then
  135. ArtificialHB.Event:wait()
  136. else
  137. for i = 0, num do
  138. ArtificialHB.Event:wait()
  139. end
  140. end
  141. end
  142.  
  143. local RbxUtility = LoadLibrary("RbxUtility")
  144. local Create = RbxUtility.Create
  145. RemoveOutlines = function(part)
  146.  
  147. part.TopSurface = 10
  148. end
  149.  
  150. local co1 = 5
  151. local co2 = 15
  152. local co3 = 15
  153. local co4 = 15
  154. local cooldown1 = 0
  155. local cooldown2 = 0
  156. local cooldown3 = 0
  157. local cooldown4 = 0
  158. local co5 = 12
  159. local co6 = 18
  160. local co7 = 20
  161. local co8 = 30
  162. local cooldown5 = 0
  163. local cooldown6 = 0
  164. local cooldown7 = 0
  165. local cooldown8 = 0
  166. local skillcolorscheme = BrickColor.new("Bright red").Color
  167. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  168. makeframe = function(par, trans, pos, size, color)
  169.  
  170. local frame = Instance.new("Frame", par)
  171. frame.BackgroundTransparency = trans
  172. frame.BorderSizePixel = 0
  173. frame.Position = pos
  174. frame.Size = size
  175. frame.BackgroundColor3 = color
  176. return frame
  177. end
  178.  
  179. makelabel = function(par, text)
  180.  
  181. local label = Instance.new("TextLabel", par)
  182. label.BackgroundTransparency = 1
  183. label.Size = UDim2.new(1, 0, 1, 0)
  184. label.Position = UDim2.new(0, 0, 0, 0)
  185. label.TextColor3 = Color3.new(255, 255, 255)
  186. label.TextStrokeTransparency = 0
  187. label.FontSize = Enum.FontSize.Size32
  188. label.Font = Enum.Font.SourceSansLight
  189. label.BorderSizePixel = 0
  190. label.TextScaled = true
  191. label.Text = text
  192. end
  193.  
  194. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  195. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  196. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  197. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  198. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  199. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  200. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  201. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  202. text1 = Instance.new("TextLabel", framesk1)
  203. text1.BackgroundTransparency = 1
  204. text1.Size = UDim2.new(1, 0, 1, 0)
  205. text1.Position = UDim2.new(0, 0, 0, 0)
  206. text1.TextColor3 = Color3.new(255, 255, 255)
  207. text1.TextStrokeTransparency = 0
  208. text1.FontSize = Enum.FontSize.Size18
  209. text1.Font = Enum.Font.SourceSansLight
  210. text1.BorderSizePixel = 0
  211. text1.TextScaled = true
  212. text1.Text = "[Z]\n Charger"
  213. text2 = Instance.new("TextLabel", framesk2)
  214. text2.BackgroundTransparency = 1
  215. text2.Size = UDim2.new(1, 0, 1, 0)
  216. text2.Position = UDim2.new(0, 0, 0, 0)
  217. text2.TextColor3 = Color3.new(255, 255, 255)
  218. text2.TextStrokeTransparency = 0
  219. text2.FontSize = Enum.FontSize.Size18
  220. text2.Font = Enum.Font.SourceSansLight
  221. text2.BorderSizePixel = 0
  222. text2.TextScaled = true
  223. text2.Text = "[X]\n Equip DDJ Multishot"
  224. text3 = Instance.new("TextLabel", framesk3)
  225. text3.BackgroundTransparency = 1
  226. text3.Size = UDim2.new(1, 0, 1, 0)
  227. text3.Position = UDim2.new(0, 0, 0, 0)
  228. text3.TextColor3 = Color3.new(255, 255, 255)
  229. text3.TextStrokeTransparency = 0
  230. text3.FontSize = Enum.FontSize.Size18
  231. text3.Font = Enum.Font.SourceSansLight
  232. text3.BorderSizePixel = 0
  233. text3.TextScaled = false
  234. text3.Text = "[C]\n Equip QRR-3 Railcannon"
  235. text4 = Instance.new("TextLabel", framesk4)
  236. text4.BackgroundTransparency = 1
  237. text4.Size = UDim2.new(1, 0, 1, 0)
  238. text4.Position = UDim2.new(0, 0, 0, 0)
  239. text4.TextColor3 = Color3.new(255, 255, 255)
  240. text4.TextStrokeTransparency = 0
  241. text4.FontSize = Enum.FontSize.Size18
  242. text4.Font = Enum.Font.SourceSansLight
  243. text4.BorderSizePixel = 0
  244. text4.TextScaled = true
  245. text4.Text = "[V]\n Equip RRE3 Blackout"
  246. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  247.  
  248. 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})
  249. RemoveOutlines(Part)
  250. return Part
  251. end
  252.  
  253. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  254.  
  255. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  256. if Mesh == "SpecialMesh" then
  257. Msh.MeshType = MeshType
  258. Msh.MeshId = MeshId
  259. end
  260. return Msh
  261. end
  262.  
  263. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  264.  
  265. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  266. return Weld
  267. end
  268.  
  269. CFuncs = {
  270. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  271.  
  272. 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})
  273. RemoveOutlines(Part)
  274. return Part
  275. end
  276. }
  277. ,
  278. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  279.  
  280. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  281. if Mesh == "SpecialMesh" then
  282. Msh.MeshType = MeshType
  283. Msh.MeshId = MeshId
  284. end
  285. return Msh
  286. end
  287. }
  288. ,
  289. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  290.  
  291. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  292. if Mesh == "SpecialMesh" then
  293. Msh.MeshType = MeshType
  294. Msh.MeshId = MeshId
  295. end
  296. return Msh
  297. end
  298. }
  299. ,
  300. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  301.  
  302. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  303. return Weld
  304. end
  305. }
  306. ,
  307. Sound = {Create = function(id, par, vol, pit)
  308.  
  309. coroutine.resume(coroutine.create(function()
  310.  
  311. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  312. wait()
  313. S:play()
  314. game:GetService("Debris"):AddItem(S, 6)
  315. end
  316. ))
  317. end
  318. }
  319. ,
  320. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  321.  
  322. 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})
  323. return fp
  324. end
  325. }
  326. }
  327. Handle = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Handle", Vector3.new(1.01000023, 1.36000001, 1.02999997))
  328. HandleWeld = CreateWeld(m, Character["Left Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.7220459e-06, 0.33297348, 0.00253295898, 0, 0, -1, 0, 0.999999881, 0, 1, 0, 0))
  329. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(1.09000027, 0.320000052, 0.959999979))
  330. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0750000477, -0.0100097656, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  331. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.24000025, 0.200000003, 0.200000003))
  332. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.579999924, 0.5050354, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  333. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.410000205, 1.5, 0.200000003))
  334. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0378875732, 0.0699999332, 0.743743896, 0.529920995, 0, -0.848047018, 0, 1, 0, 0.848047018, 0, 0.529920995))
  335. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.410000205, 1.5, 0.200000003))
  336. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0110931396, 0.0699999332, -0.743213654, -0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, -0.499998987))
  337. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.24000025, 0.200000003, 0.200000003))
  338. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.699999809, 0.5050354, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  339. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(0.590000272, 0.320000052, 0.519999981))
  340. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.55499959, -0.0950164795, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  341. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Bright red", "Part", Vector3.new(1.24000025, 1.13000011, 0.200000003))
  342. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0550000668, 0.465042114, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  343. Handle2 = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Handle2", Vector3.new(1.01000023, 1.36000001, 1.02999997))
  344. Handle2Weld = CreateWeld(m, Character["Right Arm"], Handle2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00157546997, 0.332973957, 0.00706481934, 0, 0, 1, 0, 0.999999881, 0, -1, 0, 0))
  345. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.24000025, 0.200000003, 0.200000003))
  346. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.579999924, 0.5050354, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  347. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.24000025, 0.200000003, 0.200000003))
  348. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.699998975, 0.5050354, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  349. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.410000205, 1.5, 0.200000003))
  350. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.037902832, 0.0699999332, 0.743736267, 0.529920995, 0, -0.848047018, 0, 1, 0, 0.848047018, 0, 0.529920995))
  351. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(0.590000272, 0.320000052, 0.519999981))
  352. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.554999113, -0.0950164795, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  353. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Bright red", "Part", Vector3.new(1.24000025, 1.13000011, 0.200000003))
  354. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0550000668, 0.465042114, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  355. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Maroon", "Part", Vector3.new(1.09000027, 0.320000052, 0.959999979))
  356. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0750000477, -0.0100097656, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  357. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.410000205, 1.5, 0.200000003))
  358. PartWeld = CreateWeld(m, Handle2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0110931396, 0.0699999332, -0.743202209, -0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, -0.499998987))
  359. Misc = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Misc", Vector3.new(1.08000004, 2.74999976, 1.13999987))
  360. MiscWeld = CreateWeld(m, Character.Torso, Misc, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.318688393, 0.211323738, 0.0388641357, 0.00561500341, 0.999839604, 0.0170100089, -0.0775420293, 0.0173944011, -0.996837378, -0.996973336, 0.0042782547, 0.0776272565))
  361. CreateMesh("CylinderMesh", Misc, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  362. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.779999971, 1.21000004, 0.200000003))
  363. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.84437561, 0.305374146, 1.68695641, 0.554451048, 0.0740119815, 0.828918874, 0.832042634, -0.0289405994, -0.553956509, -0.0170100089, 0.996837378, -0.0776272565))
  364. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.589999974, 1.21000004, 0.200000003))
  365. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.20437622, 0.42061615, 1.80695152, 0.690509677, 0.0678621382, 0.720132947, 0.723123312, -0.0413529053, -0.689480186, -0.0170100089, 0.996837378, -0.0776272565))
  366. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.859999955, 1.21000004, 0.200000003))
  367. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.80438232, 0.305374146, -0.203042984, 0.554451048, 0.0740119815, 0.828918874, 0.832042634, -0.0289405994, -0.553956509, -0.0170100089, 0.996837378, -0.0776272565))
  368. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.21000004, 2.32999992))
  369. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.39937592, 0.42061615, 0.741949081, 0.690509677, 0.0678621382, 0.720132947, 0.723123312, -0.0413529053, -0.689480186, -0.0170100089, 0.996837378, -0.0776272565))
  370. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(2.90999985, 1.21000004, 0.879999876))
  371. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.56022644, 0.36340332, 0.746948242, 0.554451048, 0.0740119815, 0.828918874, 0.832042634, -0.0289405994, -0.553956509, -0.0170100089, 0.996837378, -0.0776272565))
  372. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.859999955, 1.21000004, 0.200000003))
  373. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.79576111, 0.299560547, -1.68694878, 0.563761175, -0.0545582324, -0.824134052, 0.825762749, 0.0577817485, 0.561050117, 0.0170100089, -0.996837378, 0.0776272565))
  374. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.779999971, 1.21000004, 0.200000003))
  375. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-2.83575439, 0.299560547, 0.203050613, 0.563761175, -0.0545582324, -0.824134052, 0.825762749, 0.0577817485, 0.561050117, 0.0170100089, -0.996837378, 0.0776272565))
  376. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.589999974, 1.21000004, 0.200000003))
  377. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.19690704, 0.413391113, -1.80695724, 0.698587894, -0.0436957441, -0.714189053, 0.715322256, 0.0663778186, 0.6956352, 0.0170100089, -0.996837378, 0.0776272565))
  378. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(2.89999986, 1.21000004, 0.879999995))
  379. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.57575989, 0.299560547, -0.741949081, 0.563761175, -0.0545582324, -0.824134052, 0.825762749, 0.0577817485, 0.561050117, 0.0170100089, -0.996837378, 0.0776272565))
  380. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.589999974, 1.21000004, 0.200000003))
  381. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.20437622, 0.42061615, -0.32305336, 0.690509677, 0.0678621382, 0.720132947, 0.723123312, -0.0413529053, -0.689480186, -0.0170100089, 0.996837378, -0.0776272565))
  382. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.589999974, 1.21000004, 0.200000003))
  383. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.19690704, 0.413391113, 0.323051453, 0.698587894, -0.0436957441, -0.714189053, 0.715322256, 0.0663778186, 0.6956352, 0.0170100089, -0.996837378, 0.0776272565))
  384. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.799999952, 0.71999979, 1.75999999))
  385. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413290024, 2.14399338, 0.378707886, 0.927011371, 0.354349732, 0.122825913, -0.37498194, 0.870347321, 0.319193125, 0.00620479928, -0.341953099, 0.93969661))
  386. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  387. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Part", Vector3.new(0.940000057, 0.210000008, 0.889999866))
  388. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.29999924, 0, 1, 1.45519152e-10, 0, 1.45519152e-10, 1.00000012, 0, 0, 0, 1.00000012))
  389. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  390. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.910000086, 2.90999985, 0.869999886))
  391. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.380825043, -0.954467773, -0.803100586, 0.839223146, 0.434805185, 0.326571941, 0.543739617, -0.663012385, -0.514550328, -0.00720792357, 0.609392464, -0.79283601))
  392. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  393. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(2.7900002, 1.21000004, 0.779999971))
  394. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0898132324, -0.600757599, -0.691949844, -0.0292818137, -0.0781018436, -0.996515393, 0.999426603, 0.014677668, -0.0305177197, 0.0170100089, -0.996837378, 0.0776272565))
  395. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.589999914, 0.529999852, 0.609999895))
  396. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413282394, -2.26901627, -0.378753662, 0.927011371, 0.354349732, 0.122825913, 0.37498194, -0.870347321, -0.319193125, -0.00620479928, 0.341953099, -0.93969661))
  397. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  398. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.21000004, 2.08999991))
  399. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.13438416, 0.305381775, 0.741949081, 0.554451048, 0.0740119815, 0.828918874, 0.832042634, -0.0289405994, -0.553956509, -0.0170100089, 0.996837378, -0.0776272565))
  400. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Really red", "Part", Vector3.new(0.940000057, 0.200000003, 1.13999987))
  401. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -1.29499912, 0, 1, 1.45519152e-10, 0, 1.45519152e-10, 1.00000012, 0, 0, 0, 1.00000012))
  402. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  403. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Smoky grey", "Part", Vector3.new(0.759999812, 0.709999859, 1.70999992))
  404. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.47265625, 2.13467407, -0.390716553, 0.928664148, 0.330795914, -0.167801037, -0.370842725, 0.818673849, -0.438462138, -0.00766716897, 0.46941179, 0.882946134))
  405. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  406. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.79999995, 0.71999979, 1.8499999))
  407. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.532877922, 1.96745396, -0.0040435791, 0.927311003, 0.373456627, -0.0249933787, -0.374290138, 0.92502141, -0.06513381, -0.0012052455, 0.0697540641, 0.997563541))
  408. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  409. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Smoky grey", "Part", Vector3.new(1.79999995, 0.71999985, 1.70999992))
  410. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.532875061, 1.98745728, -0.0040435791, 0.927311003, 0.373456627, -0.0249933787, -0.374290138, 0.92502141, -0.06513381, -0.0012052455, 0.0697540641, 0.997563541))
  411. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  412. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.21000004, 2.32999992))
  413. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.39190674, 0.413391113, -0.741949081, 0.698587894, -0.0436957441, -0.714189053, 0.715322256, 0.0663778186, 0.6956352, 0.0170100089, -0.996837378, 0.0776272565))
  414. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.60000002, 1.34999979, 1.8499999))
  415. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.532877922, 1.27745056, -0.00405883789, 0.927311003, 0.373456627, -0.0249933787, -0.374290138, 0.92502141, -0.06513381, -0.0012052455, 0.0697540641, 0.997563541))
  416. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  417. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.910000086, 2.71999979, 0.869999886))
  418. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.634326935, 0.970718384, -0.636886597, 0.73713702, 0.672070861, -0.0703546554, -0.603258193, 0.607577503, -0.516651869, -0.304480761, 0.423285276, 0.853300214))
  419. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  420. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.21000004, 2.08999991))
  421. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.12574768, 0.299560547, -0.741949081, 0.563761175, -0.0545582324, -0.824134052, 0.825762749, 0.0577817485, 0.561050117, 0.0170100089, -0.996837378, 0.0776272565))
  422. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.740000069, 1.34999979, 0.559999943))
  423. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413281441, 1.45401764, 0.378753662, 0.927011371, 0.354349732, 0.122825913, -0.37498194, 0.870347321, 0.319193125, 0.00620479928, -0.341953099, 0.93969661))
  424. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  425. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.799999952, 0.71999979, 1.75999999))
  426. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.472660065, 2.11967468, -0.390686035, 0.928664148, 0.330795914, -0.167801037, -0.370842725, 0.818673849, -0.438462138, -0.00766716897, 0.46941179, 0.882946134))
  427. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  428. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.740000069, 1.34999979, 0.559999943))
  429. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.47265625, 1.42967987, -0.390686035, 0.928664148, 0.330795914, -0.167801037, -0.370842725, 0.818673849, -0.438462138, -0.00766716897, 0.46941179, 0.882946134))
  430. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  431. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.79999995, 0.529999852, 1.6099999))
  432. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.532876015, -2.09245396, 0.0040435791, 0.927311003, 0.373456627, -0.0249933787, 0.374290138, -0.92502141, 0.06513381, 0.0012052455, -0.0697540641, -0.997563541))
  433. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  434. Thruster1 = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Thruster1", Vector3.new(0.200000003, 0.529999852, 0.200000003))
  435. Thruster1Weld = CreateWeld(m, Misc, Thruster1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.532876015, -2.09245396, 0.0040435791, 0.927311003, 0.373456627, -0.0249933787, 0.374290138, -0.92502141, 0.06513381, 0.0012052455, -0.0697540641, -0.997563541))
  436. CreateMesh("CylinderMesh", Thruster1, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  437. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Smoky grey", "Part", Vector3.new(0.759999812, 0.709999859, 0.73999995))
  438. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413290024, 2.15899658, 0.378692627, 0.927011371, 0.354349732, 0.122825913, -0.37498194, 0.870347321, 0.319193125, 0.00620479928, -0.341953099, 0.93969661))
  439. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  440. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.589999914, 0.529999852, 0.609999895))
  441. PartWeld = CreateWeld(m, Misc, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.472652435, 2.24468994, 0.39074707, -0.928664148, -0.330795914, 0.167801037, -0.370842725, 0.818673849, -0.438462138, 0.0076671592, -0.46941179, -0.882946134))
  442. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  443. Thruster2 = CreatePart(m, Enum.Material.Plastic, 0, 0, "Smoky grey", "Thruster2", Vector3.new(0.200000003, 0.709999859, 0.200000003))
  444. Thruster2Weld = CreateWeld(m, Misc, Thruster2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413290024, 2.15899658, 0.378692627, 0.927011371, 0.354349732, 0.122825913, -0.37498194, 0.870347321, 0.319193125, 0.00620479928, -0.341953099, 0.93969661))
  445. CreateMesh("CylinderMesh", Thruster2, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  446. Thruster3 = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Thruster3", Vector3.new(0.200000003, 0.529999852, 0.200000003))
  447. Thruster3Weld = CreateWeld(m, Misc, Thruster3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.472652435, 2.24468994, 0.39074707, -0.928664148, -0.330795914, 0.167801037, -0.370842725, 0.818673849, -0.438462138, 0.0076671592, -0.46941179, -0.882946134))
  448. CreateMesh("CylinderMesh", Thruster3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  449. AMotor = CreatePart(g, Enum.Material.Neon, 0, 1, "Bright red", "AMotor", Vector3.new(1.13, 1.13, 1.13999999))
  450. AMotorWeld = CreateWeld(g, Character.HumanoidRootPart, AMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  451. AFMotor = CreatePart(g, Enum.Material.Neon, 0, 0, "Bright red", "Part", Vector3.new(1.13, 1.13, 1.13999999))
  452. AFMotorWeld = CreateWeld(g, AMotor, AFMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  453. CreateMesh("SpecialMesh", AFMotor, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  454. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.420000017, 0.550000012, 3.5))
  455. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.568473816, 0.0246200562, 2.22000694, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  456. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3.5))
  457. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724983215, 0.0370483398, 2.21999931, -0.374605179, -0.927184403, 0, 0.927184463, -0.374605179, 0, 0, 0, 1))
  458. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3.5))
  459. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.75, 4.76837158e-06, 2.22000694, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  460. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3))
  461. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.695045471, 0.0371246338, 2.47000504, -0.374605179, -0.927184403, 0, 0.927184463, -0.374605179, 0, 0, 0, 1))
  462. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3))
  463. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.700344086, 0.038772583, 2.47000885, 0.241925001, -0.970295012, 0, 0.970295012, 0.241925001, 0, 0, 0, 1))
  464. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3.5))
  465. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.676864624, 0.0224075317, 2.22001076, -0.829035699, -0.559195817, 0, 0.559195757, -0.82903564, 0, 0, 0, 1))
  466. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3.5))
  467. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.719696045, 0.0388336182, 2.21999931, 0.241925001, -0.970295012, 0, 0.970295012, 0.241925001, 0, 0, 0, 1))
  468. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3))
  469. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.669952393, -2.86102295e-06, 2.47000122, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  470. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.70000005, 1.48000002, 1.53999996))
  471. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.060009, -0.0500030518, -5.7220459e-06, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  472. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  473. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3))
  474. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743179321, 0.0223388672, 2.47000504, -0.829035699, -0.559195817, 0, 0.559195757, -0.82903564, 0, 0, 0, 1))
  475. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 3))
  476. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.741523743, 0.0246429443, 2.47000504, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  477. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.380000025, 5.11000013))
  478. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.415756226, 0.0135955811, 3.91500664, -0.309016854, -0.95105654, 0, 0.95105654, -0.309016854, 0, 0, 0, 1))
  479. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.350000024, 5.17000008))
  480. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.396598816, -0.00938415527, 3.88500595, -0.309016854, -0.95105654, 0, 0.95105654, -0.309016854, 0, 0, 0, 1))
  481. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.350000024, 5.21000004))
  482. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.391353607, -0.00505065918, 3.8650074, 0.374606907, -0.927183747, 0, 0.927183747, 0.374606907, 0, 0, 0, 1))
  483. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.370000035, 5.17000008))
  484. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.412441254, -0.0043182373, 3.88500595, 0.374606907, -0.927183747, 0, 0.927183747, 0.374606907, 0, 0, 0, 1))
  485. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.26000002, 5.19000006))
  486. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, -0.301566601, 3.87500763, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  487. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.230000004, 0.230000019, 5.23000002))
  488. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.261567116, 0.234344482, 3.85500717, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  489. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.19000006))
  490. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245697021, 0.278434277, 3.87500763, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  491. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 5.19000006))
  492. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.234344482, 0.288434505, 3.87500763, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  493. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 2.76999998))
  494. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 2.66500854, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  495. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.380000025, 2.46999979))
  496. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.234329224, -0.0015668869, 2.81500816, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  497. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  498. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 4.39000511, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  499. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  500. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 4.88000298, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  501. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  502. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 5.34000778, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  503. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  504. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 5.83000565, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  505. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  506. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.245681763, 0.00843334198, 6.34000969, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  507. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  508. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244277954, 0.00843334198, 4.39000511, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  509. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  510. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244277954, 0.00843334198, 5.34000778, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  511. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  512. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244277954, 0.00843334198, 6.34000969, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  513. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  514. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244277954, 0.00843334198, 5.83000565, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  515. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.200000003))
  516. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.244277954, 0.00843334198, 4.88000298, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  517. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.25999999, 0.550000012, 0.549999952))
  518. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.773193359, 1.8505249, 1.6411438, -0.829034865, -0.559196949, 0, 0.374176353, -0.554733455, 0.743143976, -0.415563852, 0.616092265, 0.669131637))
  519. Part = CreatePart(g, Enum.Material.Plastic, 0, 0, "Bright red", "Part", Vector3.new(0.289999992, 0.450000018, 0.469999969))
  520. PartWeld = CreateWeld(g, AFMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.78817749, 1.8505249, 1.64115143, -0.829034865, -0.559196949, 0, 0.374176353, -0.554733455, 0.743143976, -0.415563852, 0.616092265, 0.669131637))
  521. Barrel = CreatePart(g, Enum.Material.Plastic, 0, 1, "Black", "Barrel", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  522. BarrelWeld = CreateWeld(g, AFMotor, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0193023682, -0.0115666389, 6.37000847, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  523. AMotor2 = CreatePart(ge, Enum.Material.Neon, 0, 1, "Bright red", "AMotor2", Vector3.new(1.13, 1.13, 1.13999999))
  524. AMotor2Weld = CreateWeld(ge, Character.HumanoidRootPart, AMotor2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  525. AFMotor2 = CreatePart(ge, Enum.Material.Neon, 0, 0, "Bright red", "AFMotor2", Vector3.new(1.13, 1.13, 1.13999999))
  526. AFMotor2Weld = CreateWeld(ge, AMotor2, AFMotor2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  527. CreateMesh("SpecialMesh", AFMotor2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  528. H3 = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Maroon", "H3", Vector3.new(0.529999971, 0.200000003, 0.200000003))
  529. H3Weld = CreateWeld(ge, AFMotor2, H3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0150237083, 0.0300445557, 2.22999191, 0, -1, 0, 1, 0, 0, 0, 0, 1))
  530. CreateMesh("SpecialMesh", H3, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.64999998, 1.64999998, 1))
  531. H3 = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Maroon", "H3", Vector3.new(0.529999971, 0.200000003, 0.200000003))
  532. H3Weld = CreateWeld(ge, AFMotor2, H3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00497722626, 0.0500335693, 1.27000046, 0, -1, 0, 1, 0, 0, 0, 0, 1))
  533. CreateMesh("SpecialMesh", H3, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.64999998, 1.64999998, 5))
  534. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2))
  535. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.669952393, -2.86102295e-06, 1.90999985, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  536. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2.5))
  537. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.75, 4.76837158e-06, 1.66000557, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  538. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2))
  539. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.741531372, 0.0246505737, 1.91000366, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  540. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2.5))
  541. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.678466797, 0.0246276855, 1.66000557, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  542. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2.5))
  543. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.71969986, 0.038848877, 1.65999794, 0.241925001, -0.970295012, 0, 0.970295012, 0.241925001, 0, 0, 0, 1))
  544. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2))
  545. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.700340271, 0.038772583, 1.91000748, 0.241925001, -0.970295012, 0, 0.970295012, 0.241925001, 0, 0, 0, 1))
  546. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2.5))
  547. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.724990845, 0.0370483398, 1.65999794, -0.374605179, -0.927184403, 0, 0.927184463, -0.374605179, 0, 0, 0, 1))
  548. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2))
  549. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.695037842, 0.0371398926, 1.91000366, -0.374605179, -0.927184403, 0, 0.927184463, -0.374605179, 0, 0, 0, 1))
  550. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2))
  551. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.743179321, 0.0223464966, 1.91000366, -0.829035699, -0.559195817, 0, 0.559195757, -0.82903564, 0, 0, 0, 1))
  552. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.550000012, 2.5))
  553. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.676864624, 0.0224151611, 1.66000938, -0.829035699, -0.559195817, 0, 0.559195757, -0.82903564, 0, 0, 0, 1))
  554. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(1.70000005, 1.48000002, 1.53999996))
  555. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.00000763, -0.0500030518, -5.7220459e-06, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  556. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  557. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.360000014, 0.389999986))
  558. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.89001083, -0.0200195313, -2.86102295e-06, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  559. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  560. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  561. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000458, -0.0200195313, -0.35998106, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  562. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  563. Barrel2 = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Barrel2", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  564. Barrel2Weld = CreateWeld(ge, AFMotor2, Barrel2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500565, -0.0200195313, -0.359973907, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  565. CreateMesh("SpecialMesh", Barrel2, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  566. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  567. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500946, -0.0200195313, 0.36000824, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  568. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  569. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  570. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000076, -0.0200195313, 0.360001087, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  571. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  572. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  573. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000839, -0.0128479004, 0.375328064, 0, 0, 1, -0.642785966, -0.766045868, 0, 0.766045868, -0.642785966, 0))
  574. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  575. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  576. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500946, -0.0128479004, 0.375328064, 0, 0, 1, -0.642785966, -0.766045868, 0, 0.766045868, -0.642785966, 0))
  577. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  578. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  579. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95501328, -0.0128631592, -0.344657898, 0, 0, 1, -0.642785966, -0.766045868, 0, 0.766045868, -0.642785966, 0))
  580. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  581. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  582. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000458, -0.0128555298, -0.344650269, 0, 0, 1, -0.642785966, -0.766045868, 0, 0.766045868, -0.642785966, 0))
  583. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  584. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  585. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000458, 0.0014333725, 0.37991333, 0, 0, 1, 0.0697560087, -0.997564137, 0, 0.997564137, 0.0697560087, 0))
  586. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  587. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  588. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500565, 0.00143671036, 0.37991333, 0, 0, 1, 0.0697560087, -0.997564137, 0, 0.997564137, 0.0697560087, 0))
  589. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  590. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  591. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500946, 0.00140047073, -0.340026855, 0, 0, 1, 0.0697560087, -0.997564137, 0, 0.997564137, 0.0697560087, 0))
  592. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  593. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  594. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000076, 0.00140476227, -0.340026855, 0, 0, 1, 0.0697560087, -0.997564137, 0, 0.997564137, 0.0697560087, 0))
  595. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  596. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  597. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500946, 0.0148391724, -0.346588135, 0, 0, 1, 0.743143797, -0.669131815, 0, 0.669131815, 0.743143797, 0))
  598. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  599. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  600. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95500183, 0.0148849487, 0.373306274, 0, 0, 1, 0.743143797, -0.669131815, 0, 0.669131815, 0.743143797, 0))
  601. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  602. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  603. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.94999695, 0.0148468018, -0.346588135, 0, 0, 1, 0.743143797, -0.669131815, 0, 0.669131815, 0.743143797, 0))
  604. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  605. Part = CreatePart(ge, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.319999993, 0.26000002, 0.389999986))
  606. PartWeld = CreateWeld(ge, AFMotor2, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.95000076, 0.0148849487, 0.373306274, 0, 0, 1, 0.743143797, -0.669131815, 0, 0.669131815, 0.743143797, 0))
  607. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  608. AMotor3 = CreatePart(can, Enum.Material.Neon, 0, 1, "Bright red", "AMotor3", Vector3.new(2.22000003, 2.06999993, 2.21999979))
  609. AMotor3Weld = CreateWeld(can, Character.HumanoidRootPart, AMotor3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.57763672e-05, 5.96501923, -2.98002052, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  610. CreateMesh("SpecialMesh", AMotor3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  611. AFMotor3 = CreatePart(can, Enum.Material.Neon, 0, 1, "Bright red", "AFMotor3", Vector3.new(2.22000003, 2.06999993, 2.21999979))
  612. AFMotor3Weld = CreateWeld(can, AMotor3, AFMotor3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  613. CreateMesh("SpecialMesh", AFMotor3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  614. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  615. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00537109375, -1.5340519, 2.07501221, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  616. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  617. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.103515625, 1.58404732, 2.07501221, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  618. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  619. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.055770874, 1.50053406, 2.07501221, -0.587785721, 0.809016645, 0, -0.809016705, -0.587785661, 0, 0, 0, 1))
  620. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  621. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0764083862, -1.52354431, 2.07501221, -0.587785721, 0.809016645, 0, -0.809016705, -0.587785661, 0, 0, 0, 1))
  622. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  623. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0458526611, -1.50465393, 2.07501221, -0.615662754, -0.788009703, 0, 0.788009703, -0.615662754, 0, 0, 0, 1))
  624. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.66000021, 0.200000003, 3.51999998))
  625. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0630645752, 1.61345673, 2.07501221, -0.615662754, -0.788009703, 0, 0.788009703, -0.615662754, 0, 0, 0, 1))
  626. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.31999993))
  627. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0762939453, 0.804522514, 3.29501343, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  628. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  629. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0197601318, -0.814492226, 9.15501404, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  630. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 7.61999989))
  631. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0143280029, -0.78678894, 5.44501305, -0.848048866, -0.529917955, 0, 0.529917955, -0.848048866, 0, 0, 0, 1))
  632. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 7.61999989))
  633. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0708465576, 0.832229614, 5.44501305, -0.848048866, -0.529917955, 0, 0.529917955, -0.848048866, 0, 0, 0, 1))
  634. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.51999998))
  635. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00718688965, -0.76612854, 3.39501381, -0.374608994, -0.927182972, 0, 0.927182972, -0.374608994, 0, 0, 0, 1))
  636. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.51999998))
  637. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.049369812, 0.852905273, 3.39501381, -0.374608994, -0.927182972, 0, 0.927182972, -0.374608994, 0, 0, 0, 1))
  638. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.51999998))
  639. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0383796692, -0.762374878, 3.39501381, 0.275638193, -0.96126157, 0, 0.96126157, 0.275638193, 0, 0, 0, 1))
  640. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.51999998))
  641. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0181770325, 0.856658936, 3.39501381, 0.275638193, -0.96126157, 0, 0.96126157, 0.275638193, 0, 0, 0, 1))
  642. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 7.61999989))
  643. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00761413574, 0.841720581, 5.44501305, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  644. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 7.62000036))
  645. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0641555786, -0.777328491, 5.44501495, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  646. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.879999995, 0.200000003))
  647. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0641555786, -1.11732483, 1.73501396, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  648. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.899999976, 0.200000003))
  649. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0708465576, 1.18222809, 1.73501396, -0.848048866, -0.529917955, 0, 0.529917955, -0.848048866, 0, 0, 0, 1))
  650. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.959999979, 0.200000003))
  651. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0143280029, -1.16678619, 1.73501396, -0.848048866, -0.529917955, 0, 0.529917955, -0.848048866, 0, 0, 0, 1))
  652. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  653. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00760650635, 1.141716, 1.73501396, 0.788011909, -0.615659952, 0, 0.615659952, 0.788011909, 0, 0, 0, 1))
  654. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  655. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.049369812, 0.852905273, 9.15501595, -0.374608994, -0.927182972, 0, 0.927182972, -0.374608994, 0, 0, 0, 1))
  656. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  657. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0181770325, 0.856658936, 9.15501595, 0.275638193, -0.96126157, 0, 0.96126157, 0.275638193, 0, 0, 0, 1))
  658. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  659. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00718688965, -0.76612854, 9.15501404, -0.374608994, -0.927182972, 0, 0.927182972, -0.374608994, 0, 0, 0, 1))
  660. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  661. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0383796692, -0.762374878, 9.15501404, 0.275638193, -0.96126157, 0, 0.96126157, 0.275638193, 0, 0, 0, 1))
  662. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 3.5199995))
  663. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0197601318, -0.814492226, 3.3950119, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  664. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.620000243, 0.200000003, 0.200000003))
  665. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0762939453, 0.804522514, 9.15501404, -0.9993909, 0.0348989964, 0, -0.0348989964, -0.9993909, 0, 0, 0, 1))
  666. Part = CreatePart(can, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(2.44000006, 1.54999995, 1.53999996))
  667. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.91000938, -0.0449829102, -5.7220459e-06, 0, 0, 1, -1, 0, 0, 0, -1, 0))
  668. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  669. Part = CreatePart(can, Enum.Material.Neon, 0, 0, "Bright red", "Part", Vector3.new(2.22000003, 2.06999993, 2.21999979))
  670. PartWeld = CreateWeld(can, AFMotor3, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  671. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  672. Barrel3 = CreatePart(can, Enum.Material.Plastic, 0, 1, "Black", "Barrel3", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  673. Barrel3Weld = CreateWeld(can, AFMotor3, Barrel3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00719451904, -0.01612854, 9.15501404, -0.374608994, -0.927182972, 0, 0.927182972, -0.374608994, 0, 0, 0, 1))
  674. can.Parent = nil
  675. rayCast = function(Position, Direction, Range, Ignore)
  676.  
  677. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  678. end
  679.  
  680. local GetNearest = function(obj, distance)
  681.  
  682. local last, lastx = distance + 1, nil
  683. for i,v in pairs(workspace:GetChildren()) do
  684. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  685. local t = v.Torso
  686. local dist = t.Position - obj.Position.magnitude
  687. if dist <= distance and dist < last then
  688. last = dist
  689. lastx = v
  690. end
  691. end
  692. end
  693. return lastx
  694. end
  695.  
  696. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  697.  
  698. if hit.Parent == nil then
  699. return
  700. end
  701. local h = hit.Parent:FindFirstChild("Humanoid")
  702. for _,v in pairs(hit.Parent:children()) do
  703. if v:IsA("Humanoid") then
  704. h = v
  705. end
  706. end
  707. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  708. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  709. return
  710. end
  711. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  712. game:GetService("Debris"):AddItem(c, 0.5)
  713. if HitSound ~= nil and HitPitch ~= nil then
  714. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  715. end
  716. local Damage = math.random(minim, maxim)
  717. local blocked = false
  718. local block = hit.Parent:findFirstChild("Block")
  719. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  720. blocked = true
  721. block.Value = block.Value - 1
  722. print(block.Value)
  723. end
  724. if blocked == false then
  725. h.Health = h.Health - Damage
  726. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  727. else
  728. h.Health = h.Health - Damage / 2
  729. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  730. end
  731. if Type == "Knockdown" then
  732. local hum = hit.Parent.Humanoid
  733. hum.PlatformStand = true
  734. coroutine.resume(coroutine.create(function(HHumanoid)
  735.  
  736. swait(1)
  737. HHumanoid.PlatformStand = false
  738. end
  739. ), hum)
  740. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  741. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  742. 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})
  743. game:GetService("Debris"):AddItem(bodvol, 0.5)
  744. game:GetService("Debris"):AddItem(rl, 0.5)
  745. elseif Type == "Normal" then
  746. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  747. if knockback > 0 then
  748. vp.Parent = hit.Parent.Torso
  749. end
  750. game:GetService("Debris"):AddItem(vp, 0.5)
  751. elseif Type == "Up" then
  752. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  753. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  754. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  755. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  756. elseif Type == "Snare" then
  757. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  758. game:GetService("Debris"):AddItem(bp, 1)
  759. elseif Type == "Freeze" then
  760. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  761. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  762. hit.Parent.Torso.Anchored = true
  763. coroutine.resume(coroutine.create(function(Part)
  764.  
  765. swait(1.5)
  766. Part.Anchored = false
  767. end
  768. ), hit.Parent.Torso)
  769. game:GetService("Debris"):AddItem(BodPos, 3)
  770. game:GetService("Debris"):AddItem(BodGy, 3)
  771. end
  772. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  773. game:GetService("Debris"):AddItem(debounce, Delay)
  774. c = Instance.new("ObjectValue")
  775. c.Name = "creator"
  776. c.Value = Player
  777. c.Parent = h
  778. game:GetService("Debris"):AddItem(c, 0.5)
  779. end
  780. end
  781.  
  782. ShowDamage = function(Pos, Text, Time, Color)
  783.  
  784. local Rate = 0.033333333333333
  785. if not Pos then
  786. local Pos = Vector3.new(0, 0, 0)
  787. end
  788. local Text = Text or ""
  789. local Time = Time or 2
  790. if not Color then
  791. local Color = Color3.new(1, 0, 1)
  792. end
  793. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  794. EffectPart.Anchored = true
  795. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  796. 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})
  797. game.Debris:AddItem(EffectPart, Time + 0.1)
  798. EffectPart.Parent = game:GetService("Workspace")
  799. delay(0, function()
  800.  
  801. local Frames = Time / Rate
  802. for Frame = 1, Frames do
  803. wait(Rate)
  804. local Percent = Frame / Frames
  805. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  806. TextLabel.TextTransparency = Percent
  807. end
  808. if EffectPart and EffectPart.Parent then
  809. EffectPart:Destroy()
  810. end
  811. end
  812. )
  813. end
  814.  
  815. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  816.  
  817. for _,c in pairs(workspace:children()) do
  818. local hum = c:findFirstChild("Humanoid")
  819. if hum ~= nil then
  820. local head = c:findFirstChild("Torso")
  821. if head ~= nil then
  822. local targ = head.Position - Part.Position
  823. local mag = targ.magnitude
  824. if mag <= magni and c.Name ~= Player.Name then
  825. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  826. end
  827. end
  828. end
  829. end
  830. end
  831.  
  832. EffectModel = Instance.new("Model", Character)
  833. EffectModel.Name = "Effects"
  834. Effects = {
  835. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  836.  
  837. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  838. prt.Anchored = true
  839. prt.CFrame = cframe
  840. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  841. game:GetService("Debris"):AddItem(prt, 10)
  842. if Type == 1 or Type == nil then
  843. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  844. else
  845. if Type == 2 then
  846. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  847. end
  848. end
  849. end
  850. }
  851. ,
  852. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  853.  
  854. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  855. prt.Anchored = true
  856. prt.CFrame = cframe
  857. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  858. game:GetService("Debris"):AddItem(prt, 10)
  859. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  860. end
  861. }
  862. ,
  863. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  864.  
  865. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  866. prt.Anchored = true
  867. prt.CFrame = cframe
  868. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  871. end
  872. }
  873. ,
  874. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  875.  
  876. local prt = CFuncs.Part.Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  877. prt.Anchored = true
  878. prt.CFrame = cframe
  879. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  880. game:GetService("Debris"):AddItem(prt, 2)
  881. Effects[#Effects + 1] = {prt, "Cylinder", delay, x3, y3, z3, msh}
  882. end
  883. }
  884. ,
  885. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  886.  
  887. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  888. prt.Anchored = true
  889. prt.CFrame = cframe
  890. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  891. game:GetService("Debris"):AddItem(prt, 10)
  892. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  893. end
  894. }
  895. ,
  896. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  897.  
  898. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  899. prt.Anchored = true
  900. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  901. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  902. local num = math.random(10, 50) / 1000
  903. game:GetService("Debris"):AddItem(prt, 10)
  904. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  905. end
  906. }
  907. }
  908. Shoot = function(orgpos)
  909.  
  910. rand = 1.5
  911. spread = Vector3.new((math.random(-1, 0) + math.random()) * rand, (math.random(-1, 0) + math.random()) * rand, (math.random(-1, 0) + math.random()) * rand) * (orgpos - mouse.Hit.p).magnitude / 100
  912. local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p + spread)
  913. Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(orgpos), 5, 5, 5, 1, 1, 1, 0.1)
  914. table.insert(Effects, {MouseLook.lookVector, "Shoot", 50, orgpos, 5, 7, 0, 1, 2})
  915. end
  916.  
  917. Shoot2 = function(orgpos)
  918.  
  919. local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p)
  920. Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(orgpos), 5, 5, 5, 3, 3, 3, 0.1)
  921. table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1})
  922. end
  923.  
  924. attackone = function()
  925.  
  926. attack = true
  927. local con = RightArm.Touched:connect(function(hit)
  928.  
  929. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://191395549", 1)
  930. end
  931. )
  932. for i = 0, 1, 0.1 do
  933. swait()
  934. PlayAnimationFromTable({CFrame.new(-8.19563866e-08, -0.926991284, 0.26000905, 0.642788053, -2.1072232e-07, -0.76604408, 0.383023053, 0.866024733, 0.321394652, 0.663413048, -0.500001192, 0.556670368), CFrame.new(2.32182992e-06, 1.50000072, -1.66944517e-06, 0.882947683, 2.74181366e-06, 0.469471604, -1.92224979e-06, 1.00000012, -2.23517418e-06, -0.469471574, 1.13248825e-06, 0.882947683), CFrame.new(1.46558726, 0.204997286, -0.167155817, 0.946657062, -0.316108316, 0.0625789165, 0.173647285, 0.336823672, -0.925416887, 0.271453917, 0.886919022, 0.373747736), CFrame.new(-0.665765822, 0.648539662, -0.845699847, 0.283812433, -0.950440884, -0.126935989, -0.21073103, 0.0673191994, -0.975223362, 0.935437262, 0.303529859, -0.181181341), CFrame.new(0.872051775, -2.2949996, 0.466255367, 0.858161926, -0.282309622, -0.428788513, 0.397847503, 0.893582463, 0.207913056, 0.324461967, -0.349015445, 0.879154563), CFrame.new(-0.48063159, -1.99999714, -0.137818694, 0.970295548, -0.128200591, 0.205161899, 3.27825546e-07, 0.848046899, 0.529921412, -0.241923124, -0.514180243, 0.822855949)}, 0.3, false)
  935. end
  936. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917961", RootPart, 1, 1.5)
  937. for i = 0, 1, 0.3 do
  938. swait()
  939. PlayAnimationFromTable({CFrame.new(0.389811993, -0.0587998107, -1.35773087, 0.224407896, -0.577476978, 0.784959555, 0.0698799714, 0.812965989, 0.578103065, -0.971986532, -0.0748779476, 0.222790077), CFrame.new(0.222052127, 1.4264009, 0.148264557, 0.521589875, 0.512562335, -0.682073295, -0.577217638, 0.800701499, 0.160303235, 0.628302455, 0.310092151, 0.713497758), CFrame.new(1.47409725, 0.672455788, -0.958007276, 0.606644511, 0.443375945, 0.65984869, 0.532932937, 0.389079511, -0.751398623, -0.589885592, 0.807486951, -0.000256672502), CFrame.new(-1.17105567, 0.824866772, -1.02421784, 0.951292276, -0.22673665, 0.208886206, 0.0737030655, -0.490651935, -0.868233085, 0.299350679, 0.841338933, -0.450042278), CFrame.new(0.712329865, -1.9457705, -0.605054796, 0.371164441, -0.194775641, -0.907909334, -0.345265985, 0.878701806, -0.329658598, 0.861990988, 0.435827821, 0.25889343), CFrame.new(-0.889490485, -1.59166956, -1.11138487, 0.687172055, 0.298594475, -0.662295997, -0.4064188, 0.913634777, -0.00977404043, 0.602178216, 0.275885969, 0.749178648)}, 0.3, false)
  940. end
  941. for i = 0, 1, 0.13 do
  942. swait()
  943. PlayAnimationFromTable({CFrame.new(0.269812316, -0.14880009, -1.14773154, 0.663143218, -0.410594463, 0.625822067, 0.0633100197, 0.863882959, 0.499697924, -0.745810211, -0.29175052, 0.5988729), CFrame.new(0.101694278, 1.53342617, 0.0394362025, 0.929754734, 0.350646675, -0.112263024, -0.356580615, 0.933515787, -0.0373977572, 0.091685921, 0.0748015046, 0.992974639), CFrame.new(1.48052311, 0.44670859, -0.587891102, 0.921421409, 0.296231985, 0.251454353, 0.375434518, -0.511921763, -0.772648036, -0.100158155, 0.806339145, -0.582911253), CFrame.new(-1.41428804, 0.472952932, -0.465051353, 0.932108521, 0.265078962, 0.246793225, 0.343949646, -0.43441236, -0.832457006, -0.113456786, 0.860824585, -0.496093273), CFrame.new(1.16719246, -1.66911542, -0.848163724, 0.758130491, -0.242845088, -0.605197906, -0.141788512, 0.84447962, -0.516478777, 0.63650161, 0.477368414, 0.605792999), CFrame.new(-0.535024107, -1.78884733, -0.659196734, 0.950908542, 0.118247926, -0.285990536, -0.150128737, 0.984360635, -0.0921713412, 0.270618796, 0.130581871, 0.953789234)}, 0.3, false)
  944. end
  945. con:disconnect()
  946. attack = false
  947. end
  948.  
  949. attacktwo = function()
  950.  
  951. attack = true
  952. local con = LeftArm.Touched:connect(function(hit)
  953.  
  954. Damagefunc(LeftArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://191395549", 1)
  955. end
  956. )
  957. for i = 0, 1, 0.1 do
  958. swait()
  959. PlayAnimationFromTable({CFrame.new(-3.57627869e-07, -0.311072171, 0.259536475, 0.719340086, 2.46536985e-07, 0.694658101, -0.144428015, 0.978147566, 0.149559394, -0.679478049, -0.207912162, 0.703620791), CFrame.new(-0.00403206423, 1.50866973, -0.168565765, 0.868102551, -0.109439641, -0.484170496, 0.139950305, 0.989784956, 0.0272000879, 0.476247847, -0.0913722664, 0.874550819), CFrame.new(1.71053994, 0.401797831, -0.218020931, 0.927188873, -0.33934617, 0.158634782, 0.277330935, 0.337177336, -0.89966619, 0.251810163, 0.878154755, 0.406738281), CFrame.new(-1.58522081, 0.57710588, 0.0882365853, 0.56041044, -0.0241708159, -0.827862263, -0.822142422, -0.137058645, -0.552536786, -0.100110441, 0.990268111, -0.0966809094), CFrame.new(0.632559597, -1.715204, -0.597933352, 0.984807849, -1.34110451e-07, -0.173648149, 1.63912773e-07, 1.00000012, 8.94069672e-08, 0.173648149, -1.34110451e-07, 0.984807849), CFrame.new(-0.73102808, -2.07069063, 0.239238739, 0.984807849, 0.0650493801, -0.161003947, 1.63912773e-07, 0.927184522, 0.374605268, 0.173648149, -0.368914247, 0.913098454)}, 0.3, false)
  960. end
  961. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917961", RootPart, 1, 1.8)
  962. for i = 0, 1, 0.3 do
  963. swait()
  964. PlayAnimationFromTable({CFrame.new(0.0155655742, -0.311072022, -1.23832858, 0.468161941, 0.0963771641, -0.878371179, 0.167635977, 0.966295958, 0.195372581, 0.867595851, -0.238712624, 0.436226696), CFrame.new(0.0293009467, 1.5340941, -0.185427338, 0.804762483, -0.281303942, 0.522709906, 0.234380901, 0.959614992, 0.155578732, -0.545365214, -0.00269068778, 0.83819437), CFrame.new(1.49328589, 0.140407741, -0.218264878, 0.988339663, 0.12733686, 0.0834876299, 0.0394009799, 0.315751076, -0.948023796, -0.147079676, 0.940258861, 0.307052106), CFrame.new(-1.43885946, 0.879315019, -0.981875777, 0.600022733, 0.653021514, -0.462099105, -0.479813218, -0.168435588, -0.861051023, -0.640118778, 0.738371432, 0.212263182), CFrame.new(0.638569057, -1.94573832, -0.437098205, 0.995236516, 0.0701678097, 0.0676821172, -0.069176957, 0.997461736, -0.0168768615, -0.0686945617, 0.0121144131, 0.997564256), CFrame.new(-0.866744161, -1.71565473, -0.414347857, 0.863139033, 0.439523697, 0.248616189, -0.319669306, 0.856724083, -0.404766202, -0.390899748, 0.26989454, 0.879974127)}, 0.3, false)
  965. end
  966. for i = 0, 1, 0.13 do
  967. swait()
  968. PlayAnimationFromTable({CFrame.new(0.0155678391, -0.311080545, -1.23834062, 0.763116896, 0.0963793695, -0.639038563, 0.0822451115, 0.966304779, 0.243945107, 0.641007423, -0.238712624, 0.729474902), CFrame.new(0.0966357067, 1.53412056, -0.160952657, 0.950461924, -0.259809315, 0.170655966, 0.234385133, 0.959622741, 0.155581251, -0.204184979, -0.107874453, 0.972977281), CFrame.new(1.45807779, 0.257657468, -0.104592152, 0.971470833, -0.234161496, -0.0376187563, 0.0394039005, 0.315753937, -0.948031962, 0.233871043, 0.919499755, 0.315971196), CFrame.new(-1.2602191, 0.691950202, -0.608101606, 0.796123207, 0.328872085, -0.507969677, -0.479815751, -0.168435544, -0.861059844, -0.368736863, 0.929238677, 0.0237016603), CFrame.new(0.755801916, -1.94576848, -0.166058868, 0.948501468, 0.0605239719, -0.310940623, -0.0691750348, 0.997470737, -0.016877003, 0.309132606, 0.0375175029, 0.950285435), CFrame.new(-0.648413956, -1.7156713, -0.708873153, 0.946721911, 0.321297288, -0.0220597982, -0.319670171, 0.929202139, -0.185481369, -0.0390961468, 0.182651147, 0.982403576)}, 0.3, false)
  969. end
  970. con:disconnect()
  971. attack = false
  972. end
  973.  
  974. attackthree = function()
  975.  
  976. attack = true
  977. local con = RightArm.Touched:connect(function(hit)
  978.  
  979. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://191395549", 1)
  980. end
  981. )
  982. for i = 0, 1, 0.1 do
  983. swait()
  984. PlayAnimationFromTable({CFrame.new(0.00929157436, 1.08033419e-07, 0.302203268, 0.848044395, -0.110175796, -0.518339515, 0, 0.978147864, -0.207910523, 0.529919326, 0.176317334, 0.829512894), CFrame.new(0.0635877922, 1.48837936, -0.212326095, 0.866024196, 0, 0.500002265, -0.103955716, 0.978147864, 0.180055529, -0.489076138, -0.207910523, 0.847099781), CFrame.new(1.59116602, 0.511400402, -0.287502974, 0.984807611, 0.0121147037, 0.173225865, 0.169854075, 0.14020817, -0.975444138, -0.0361049175, 0.990048051, 0.136020347), CFrame.new(-1.71726346, -0.0722900257, -0.340096414, 0.984807611, 0.111620426, -0.13302201, -0.169854701, 0.778457224, -0.604279697, 0.0361019969, 0.617693722, 0.785589814), CFrame.new(0.447006732, -1.97392821, 0.332865596, 0.984808564, 0, -0.173644274, 0.0361024663, 0.978147864, 0.204752028, 0.169849783, -0.207910523, 0.963288426), CFrame.new(-0.628189504, -1.9523015, -0.334949553, 0.951055348, 0.0747591928, 0.299841464, -0.0642486662, 0.996928871, -0.0447755903, -0.302268028, 0.0233196467, 0.952937722)}, 0.3, false)
  985. end
  986. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917961", RootPart, 1, 2)
  987. for i = 0, 1, 0.3 do
  988. swait()
  989. PlayAnimationFromTable({CFrame.new(0.150700375, 0.0663888603, -0.843914688, 0.0131689543, 0.108801603, 0.993973136, -0.204883918, 0.973264575, -0.103820346, -0.978694618, -0.202281937, 0.0351085775), CFrame.new(0.0546556115, 1.52673519, -0.278289795, 0.314958513, 0.15719229, -0.935997725, 0.165985525, 0.961868107, 0.217390224, 0.934478402, -0.223830998, 0.276856989), CFrame.new(1.78718209, 0.369111359, -0.269202977, 0.793624938, -0.604179978, -0.0715958178, 0.248083979, 0.428809822, -0.868663669, 0.55553019, 0.671631277, 0.490201563), CFrame.new(-1.35658503, -0.0722829998, -1.10649741, 0.852582932, -0.408921659, -0.325400263, -0.169855624, 0.372022748, -0.91255039, 0.494217873, 0.833296061, 0.247722581), CFrame.new(0.92930758, -1.87670553, 0.47637701, 0.8369627, -0.204883918, -0.507460415, 0.229201645, 0.973264575, -0.0149234831, 0.496950835, -0.103820346, 0.86154592), CFrame.new(-0.427098006, -2.03601527, 0.118608348, 0.812621593, 0.0875203013, -0.576182544, 0.0223887265, 0.983241737, 0.180927277, 0.582361579, -0.159925371, 0.79704392)}, 0.3, false)
  990. end
  991. for i = 0, 1, 0.15 do
  992. swait()
  993. PlayAnimationFromTable({CFrame.new(0.150699973, 0.066389136, -0.843913615, 0.777764738, 0.0460220762, 0.626863539, -0.111311011, 0.991637707, 0.0653037652, -0.618616164, -0.120567776, 0.776383519), CFrame.new(-0.0225694887, 1.53084791, -0.259515226, 0.930863917, 0.0271560997, -0.364355624, 0.0810273215, 0.957058311, 0.27834174, 0.356268227, -0.288621008, 0.888690591), CFrame.new(1.52179766, 0.517595887, -0.656128168, 0.955706477, 0.253106773, 0.150206998, 0.145480365, 0.0374001786, -0.988653958, -0.255852818, 0.966715217, -0.00107847899), CFrame.new(-1.46092606, 0.414187402, -0.0133414343, 0.904185414, 0.3494322, -0.245654047, -0.271388531, 0.0258599296, -0.96212256, -0.329843998, 0.936604679, 0.118214041), CFrame.new(0.74789077, -1.97789741, -0.333561718, 0.977152228, -0.111311011, -0.181062788, 0.0972389579, 0.991637707, -0.0848487392, 0.188993275, 0.0653037652, 0.979804635), CFrame.new(-0.513150632, -2.00339508, 0.354237109, 0.96541512, 0.0335939676, 0.258544713, -0.0822335109, 0.980280161, 0.179690391, -0.247409672, -0.194736823, 0.949139714)}, 0.3, false)
  994. end
  995. con:disconnect()
  996. attack = false
  997. end
  998.  
  999. boost = function()
  1000.  
  1001. attack = true
  1002. local con = RightArm.Touched:connect(function(hit)
  1003.  
  1004. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Knockdown", RootPart, 0.2, "rbxassetid://231917806", 2)
  1005. end
  1006. )
  1007. for i = 0, 1, 0.075 do
  1008. swait()
  1009. PlayAnimationFromTable({CFrame.new(0.00391239673, -1.86264515e-07, 0.132759839, 0.927184582, -0.103254825, -0.360093355, 0, 0.961261988, -0.275636673, 0.374604821, 0.255566061, 0.89126724), CFrame.new(0.104889624, 1.51345134, -0.163900763, 0.994522095, 0, 0.104525983, -0.0288112015, 0.961261988, 0.274126768, -0.100476846, -0.275636673, 0.955996275), CFrame.new(1.43631327, 0.456409395, -0.294848949, 0.98480773, -0.0478649437, 0.16692099, 0.166921437, 0.525896132, -0.834008873, -0.0478633344, 0.849201024, 0.525896311), CFrame.new(-1.56367612, -0.043448586, -0.15152283, 0.984807789, 0.120623961, -0.124913871, -0.166920543, 0.855879307, -0.489498019, 0.0478659868, 0.502911985, 0.863011301), CFrame.new(0.47172308, -1.75763869, -0.179767966, 0.98480767, 0, -0.173648566, 0.0478639007, 0.961261988, 0.271449089, 0.166921735, -0.275636673, 0.946658075), CFrame.new(-0.628586531, -1.95874405, 0.424958766, 0.970295727, 0, 0.241922066, -0.066682592, 0.961261988, 0.267449051, -0.232550442, -0.275636673, 0.932708323)}, 0.2, false)
  1010. end
  1011. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=240517987", RootPart, 1, 2)
  1012. local parti = Instance.new("ParticleEmitter", Thruster1)
  1013. parti.LightEmission = 1
  1014. parti.Texture = "http://www.roblox.com/asset/?id=359293256"
  1015. parti.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2.06), NumberSequenceKeypoint.new(1, 0)})
  1016. parti.ZOffset = 0
  1017. parti.LockedToPart = true
  1018. parti.EmissionDirection = "Top"
  1019. parti.Lifetime = NumberRange.new(0, 1.5)
  1020. parti.Rate = 1000
  1021. parti.Speed = NumberRange.new(2, 4)
  1022. local parti2 = Instance.new("ParticleEmitter", Thruster2)
  1023. parti2.LightEmission = 1
  1024. parti2.Texture = "http://www.roblox.com/asset/?id=359293256"
  1025. parti2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.06), NumberSequenceKeypoint.new(1, 0)})
  1026. parti2.ZOffset = 0
  1027. parti2.LockedToPart = true
  1028. parti2.EmissionDirection = "Bottom"
  1029. parti2.Lifetime = NumberRange.new(0, 1.5)
  1030. parti2.Rate = 1000
  1031. parti2.Speed = NumberRange.new(2, 4)
  1032. local parti3 = Instance.new("ParticleEmitter", Thruster3)
  1033. parti3.LightEmission = 1
  1034. parti3.Texture = "http://www.roblox.com/asset/?id=359293256"
  1035. parti3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1.06), NumberSequenceKeypoint.new(1, 0)})
  1036. parti3.ZOffset = 0
  1037. parti3.LockedToPart = true
  1038. parti3.EmissionDirection = "Bottom"
  1039. parti3.Lifetime = NumberRange.new(0, 1.5)
  1040. parti3.Rate = 1000
  1041. parti3.Speed = NumberRange.new(2, 4)
  1042. for i = 0, 1, 0.3 do
  1043. swait()
  1044. PlayAnimationFromTable({CFrame.new(-0.035269767, -0.34604463, -0.556671143, 0.719338238, 0.191475794, 0.667749643, -0.260225087, 0.96554184, 0.00346233556, -0.644077241, -0.176255807, 0.744377911), CFrame.new(0.104893088, 1.51344919, -0.163899526, 0.913545012, -1.04308128e-07, -0.406737924, 0.112112775, 0.961261451, 0.251808256, 0.390981376, -0.27563864, 0.87815547), CFrame.new(0.8536461, 0.301312327, -0.835722506, 0.679229259, 0.714323819, 0.168491006, 0.0933744684, 0.14360176, -0.98522073, -0.727962136, 0.68492341, 0.030838903), CFrame.new(-1.56367016, -0.0434497148, -0.151517451, 0.771243215, 0.624164939, -0.124908745, -0.595103145, 0.63737464, -0.489495754, -0.225912362, 0.451853812, 0.863013268), CFrame.new(0.604393482, -1.72069025, -0.512978137, 0.984807014, 0.0361037254, -0.169858038, 0.0478659645, 0.883817971, 0.46537596, 0.166925341, -0.466435909, 0.868662), CFrame.new(-0.628583908, -1.958745, 0.424968272, 0.97029686, -2.5331974e-06, 0.24191761, -0.0666790009, 0.961261988, 0.267450064, -0.232546806, -0.275636792, 0.932709277)}, 0.3, false)
  1045. end
  1046. for i = 0, 5 do
  1047. for i = 0, 1, 0.1 do
  1048. swait()
  1049. Torso.Velocity = RootPart.CFrame.lookVector * 75
  1050. PlayAnimationFromTable({CFrame.new(-0.0352721214, -0.346046209, -0.556673169, 0.719338238, -0.0966780856, 0.687899649, -0.260225087, 0.880657077, 0.395886421, -0.644077241, -0.463784903, 0.608332276), CFrame.new(0.169040173, 1.49889517, -0.233877718, 0.913545012, 0.0706292391, -0.40055868, -0.0566073358, 0.9973014, 0.0467479229, 0.40277946, -0.0200317502, 0.915077865), CFrame.new(0.8536461, 0.615182996, -0.640914381, 0.679229259, 0.714323819, 0.168491006, 0.381392211, -0.147398382, -0.912586331, -0.627046883, 0.684116364, -0.372554898), CFrame.new(-1.56367111, 0.0219350085, -0.156092331, 0.771243215, 0.6358428, 0.0298009217, -0.451765805, 0.579748511, -0.678085089, -0.448432624, 0.50950551, 0.734379113), CFrame.new(0.79140538, -1.38841283, -0.989657521, 0.984807014, 0.0361037254, -0.169858038, -0.0241673738, 0.997124493, 0.0718230307, 0.171962678, -0.066626817, 0.982847929), CFrame.new(-0.847571194, -2.11993861, -0.201637805, 0.97029686, -2.5331974e-06, 0.24191761, 0.0336715579, 0.990267694, -0.135041565, -0.239562824, 0.13917619, 0.960853755)}, 0.3, false)
  1051. end
  1052. end
  1053. for i = 0, 1, 0.075 do
  1054. swait()
  1055. Torso.Velocity = RootPart.CFrame.lookVector * 10
  1056. PlayAnimationFromTable({CFrame.new(-0.369770408, -0.346045107, -0.479932427, 0.295811146, 0.463011116, -0.835533738, -0.260225117, 0.880657077, 0.39588654, 0.919118404, 0.100319214, 0.380995333), CFrame.new(0.169045389, 1.49889588, -0.233876124, 0.737500429, -0.117239244, 0.665092468, -0.0657278001, 0.96768105, 0.243461519, -0.672140598, -0.223268062, 0.70595932), CFrame.new(1.4051218, 0.675374985, -0.412314236, 0.96937716, 0.178659379, 0.168489397, 0.221912861, -0.343425125, -0.912586391, -0.105178654, 0.922030449, -0.372555345), CFrame.new(-1.47490251, 0.331612647, 0.0469399467, 0.771242917, 0.531924129, -0.349630058, -0.451765448, 0.0704561248, -0.889350414, -0.44843328, 0.843855977, 0.29464373), CFrame.new(1.08964574, -1.523844, -0.492351711, 0.914350629, -0.367575347, -0.169856936, 0.383490056, 0.920747817, 0.0718262494, 0.129993871, -0.130812764, 0.982847929), CFrame.new(-0.606477261, -1.55521417, -1.29940081, 0.970295846, 0.0983953923, 0.221007496, 0.0336730108, 0.84972775, -0.526145518, -0.239566386, 0.517958879, 0.821174026)}, 0.3, false)
  1057. end
  1058. con:disconnect()
  1059. attack = false
  1060. parti2.Parent = nil
  1061. parti3.Parent = nil
  1062. parti.Parent = nil
  1063. end
  1064.  
  1065. minigunmode = function()
  1066.  
  1067. attack = true
  1068. minigun = true
  1069. for i = 0, 1, 0.13 do
  1070. swait()
  1071. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808), CFrame.new(-3.35276127e-08, 1.50000012, -7.4505806e-08, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136), CFrame.new(1.93064535, 0.670000315, -0.537570596, -0.10086076, -0.907824099, 0.407040954, 0.984575033, -0.0322870314, 0.171958223, -0.142965674, 0.418106169, 0.897077441), CFrame.new(-1.49244416, 3.27825546e-07, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269), CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749), CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749)}, 0.3, false)
  1072. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1073. end
  1074. for i = 0, 1, 0.1 do
  1075. swait()
  1076. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808), CFrame.new(-3.35276127e-08, 1.50000012, -7.4505806e-08, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136), CFrame.new(1.93064535, 0.670000315, -0.537570596, -0.10086076, -0.907824099, 0.407040954, 0.984575033, -0.0322870314, 0.171958223, -0.142965674, 0.418106169, 0.897077441), CFrame.new(-1.49244416, 3.27825546e-07, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269), CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749), CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749)}, 0.3, false)
  1077. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1078. end
  1079. for i = 0, 1, 0.15 do
  1080. swait()
  1081. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.642787576, 0, -0.766044378, 0, 1, 0, 0.766044378, 0, 0.642787576), CFrame.new(-7.4505806e-08, 1.50000012, -5.21540642e-08, 0.642787516, -0.080073446, 0.761847854, 0, 0.994521916, 0.104528457, -0.766044319, -0.0671895966, 0.639266312), CFrame.new(1.60207367, 0.670000613, -0.727663994, -0.154772654, -0.619060934, 0.769940794, 0.984575033, -0.0322870314, 0.171958223, -0.0815935135, 0.784678876, 0.614509046), CFrame.new(-1.61730015, 7.15255737e-07, 0.310204506, 0.45211184, 0.371111691, 0.811092377, -0.0969422832, 0.924393654, -0.368915498, -0.886677384, 0.0881619602, 0.453905761), CFrame.new(0.786227643, -2, 0.0169382486, 0.999847531, 0, -0.017452687, 0, 1, 0, 0.017452687, 0, 0.999847531), CFrame.new(-0.250000417, -2, 0.433013648, 0.642787516, 0, 0.766044319, 0, 1, 0, -0.766044319, 0, 0.642787516)}, 0.3, false)
  1082. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(5, 1, -1) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1083. end
  1084. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=191395766", RootPart, 1, 1.5)
  1085. AFMotor2.Transparency = 1
  1086. AMotor2Weld.Part0 = RightArm
  1087. AMotor2Weld.C1 = CFrame.new(-0.035036087, -0.129943848, -1.52000952, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0)
  1088. for i = 0, 1, 0.1 do
  1089. swait()
  1090. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.788010716, 0, -0.615661383, 0, 1, 0, 0.615661383, 0, 0.788010716), CFrame.new(-5.06639481e-07, 1.5, -6.2584877e-07, 0.788010657, -0.12800321, 0.602207661, 0, 0.978147626, 0.207911685, -0.615661323, -0.163836643, 0.770790756), CFrame.new(1.95475662, 0.670000613, -0.563369751, -0.134426251, -0.768676877, 0.625352085, 0.984575033, -0.0322870314, 0.171958223, -0.111989558, 0.638821721, 0.761160254), CFrame.new(-1.5233202, 2.08616257e-07, 0.124773204, 0.626582742, 0.344672084, 0.69899565, -0.0969422832, 0.924393654, -0.368915498, -0.773301959, 0.163393885, 0.61262244), CFrame.new(0.765525103, -2, 0.180034071, 0.974369884, 0, -0.224951357, 0, 1, 0, 0.224951357, 0, 0.974369884), CFrame.new(-0.440464586, -2, 0.0736047029, 0.788010716, 0, 0.615661383, 0, 1, 0, -0.615661383, 0, 0.788010716)}, 0.3, false)
  1091. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1092. end
  1093. attack = false
  1094. end
  1095.  
  1096. unminigun = function()
  1097.  
  1098. attack = true
  1099. minigun = true
  1100. for i = 0, 1, 0.13 do
  1101. swait()
  1102. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808), CFrame.new(-3.35276127e-08, 1.50000012, -7.4505806e-08, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136), CFrame.new(1.93064535, 0.670000315, -0.537570596, -0.10086076, -0.907824099, 0.407040954, 0.984575033, -0.0322870314, 0.171958223, -0.142965674, 0.418106169, 0.897077441), CFrame.new(-1.49244416, 3.27825546e-07, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269), CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749), CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749)}, 0.3, false)
  1103. end
  1104. for i = 0, 1, 0.1 do
  1105. swait()
  1106. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808), CFrame.new(-3.35276127e-08, 1.50000012, -7.4505806e-08, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136), CFrame.new(1.93064535, 0.670000315, -0.537570596, -0.10086076, -0.907824099, 0.407040954, 0.984575033, -0.0322870314, 0.171958223, -0.142965674, 0.418106169, 0.897077441), CFrame.new(-1.49244416, 3.27825546e-07, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269), CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749), CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749)}, 0.3, false)
  1107. end
  1108. for i = 0, 1, 0.15 do
  1109. swait()
  1110. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.642787576, 0, -0.766044378, 0, 1, 0, 0.766044378, 0, 0.642787576), CFrame.new(-7.4505806e-08, 1.50000012, -5.21540642e-08, 0.642787516, -0.080073446, 0.761847854, 0, 0.994521916, 0.104528457, -0.766044319, -0.0671895966, 0.639266312), CFrame.new(1.60207367, 0.670000613, -0.727663994, -0.154772654, -0.619060934, 0.769940794, 0.984575033, -0.0322870314, 0.171958223, -0.0815935135, 0.784678876, 0.614509046), CFrame.new(-1.61730015, 7.15255737e-07, 0.310204506, 0.45211184, 0.371111691, 0.811092377, -0.0969422832, 0.924393654, -0.368915498, -0.886677384, 0.0881619602, 0.453905761), CFrame.new(0.786227643, -2, 0.0169382486, 0.999847531, 0, -0.017452687, 0, 1, 0, 0.017452687, 0, 0.999847531), CFrame.new(-0.250000417, -2, 0.433013648, 0.642787516, 0, 0.766044319, 0, 1, 0, -0.766044319, 0, 0.642787516)}, 0.3, false)
  1111. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, -5) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3)
  1112. end
  1113. AMotor2Weld.Part0 = RootPart
  1114. AMotor2Weld.C1 = CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1115. attack = false
  1116. minigun = false
  1117. end
  1118.  
  1119. mattackone = function()
  1120.  
  1121. attack = true
  1122. for i = 0, 1, 0.1 do
  1123. swait()
  1124. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.766044438, 0, 0.642787576, -0.144595742, 0.974370062, 0.172322497, -0.626312971, -0.224951044, 0.746410787), CFrame.new(0.0480910614, 1.45409858, -0.0573127121, 0.766044438, -0.0112181902, -0.642689705, 0, 0.99984771, -0.017452389, 0.642787576, 0.0133693069, 0.765927792), CFrame.new(1.70229387, 0.883205295, -0.664011538, -0.162117422, -0.62401849, 0.764407516, 0.980277717, -0.19057098, 0.0523284823, 0.113019958, 0.757814944, 0.642606258), CFrame.new(-1.37232471, 0.0912904516, -0.50709039, 0.945729136, -0.208051592, -0.249621913, -0.173036844, 0.327782989, -0.928771555, 0.275054216, 0.921560049, 0.273993373), CFrame.new(0.782246947, -1.87060833, -0.372706503, 0.985309243, -0.144595742, -0.0908705592, 0.125790969, 0.974370062, -0.186492875, 0.115507662, 0.172322497, 0.978244662), CFrame.new(-0.391765863, -2.09435773, -0.0926613212, 0.993154049, 0.0560226291, -0.102500916, -0.0487368628, 0.99619472, 0.0722554177, 0.106158763, -0.0667651892, 0.992105186)}, 0.3, false)
  1125. end
  1126. for i = 0, 5 do
  1127. for i = 0, 1, 0.5 do
  1128. swait()
  1129. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.854590118, 0.035190098, 0.518109441, -0.144595742, 0.974370062, 0.172322497, -0.498766273, -0.222181529, 0.83777535), CFrame.new(-0.00292760134, 1.45299077, -0.0938585252, 0.854590118, -0.0377366394, -0.51793021, 0.035190098, 0.99927187, -0.0147433877, 0.518109441, -0.00562645495, 0.855295837), CFrame.new(1.54096782, 1.0066359, -0.916992188, -0.304768145, -0.441245884, 0.844048858, 0.888571858, -0.450755715, 0.0852015913, 0.34286499, 0.775964737, 0.529454648), CFrame.new(-1.43553936, 0.0441009998, -0.293311119, 0.981134534, -0.0747622252, -0.17828542, -0.142285034, 0.345081687, -0.927724957, 0.130881846, 0.935590327, 0.327934057), CFrame.new(0.719916224, -1.88113189, -0.365503758, 0.987393856, -0.144595742, 0.0643844604, 0.153416187, 0.974370062, -0.164518833, -0.0389455557, 0.172322497, 0.984270334), CFrame.new(-0.341048092, -2.10522199, 0.0113250762, 0.998729348, 0.0166085213, 0.0475788713, -0.0210358351, 0.995338917, 0.0941171199, -0.0457939506, -0.0949983746, 0.994423568)}, 0.4, false)
  1130. end
  1131. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233370772", RootPart, 1, 1.2)
  1132. Shoot(Barrel2.Position)
  1133. for i = 0, 1, 0.5 do
  1134. swait()
  1135. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.93405807, 0.0769378245, 0.348735064, -0.144595742, 0.974370062, 0.172322497, -0.32653892, -0.211384833, 0.921243072), CFrame.new(-0.0718185157, 1.44867206, -0.12724562, 0.93405807, -0.0735447183, -0.349466413, 0.0769378245, 0.997027099, -0.00418263674, 0.348735064, -0.0229803771, 0.936939597), CFrame.new(1.24298739, 0.821682334, -1.28185177, -0.186909989, -0.320542812, 0.928610265, 0.972599924, -0.193411171, 0.129001483, 0.138253093, 0.927277982, 0.347910345), CFrame.new(-1.36315918, 0.110714599, -0.609230816, 0.992805481, 0.0878583044, -0.0813536271, -0.108417258, 0.371195495, -0.92220372, -0.0508251488, 0.924388885, 0.378050327), CFrame.new(0.705901563, -1.86878705, -0.447065651, 0.956967533, -0.144595742, 0.251605332, 0.181989208, 0.974370062, -0.132222936, -0.2260378, 0.172322497, 0.958755314), CFrame.new(-0.258142084, -2.11324835, 0.126275674, 0.973016679, -0.0366126522, 0.227811456, 0.00783266127, 0.992002547, 0.125974938, -0.230601817, -0.120791331, 0.965521753)}, 0.4, false)
  1136. end
  1137. end
  1138. attack = false
  1139. end
  1140.  
  1141. mattackthree = function()
  1142.  
  1143. attack = true
  1144. for i = 0, 1, 0.1 do
  1145. swait()
  1146. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.469471633, 0, 0.882947564, 0, 1, 0, -0.882947564, 0, 0.469471633), CFrame.new(0, 1.5, 0, 0.469471604, 0, -0.882947505, 0, 1, 0, 0.882947505, 0, 0.469471604), CFrame.new(1.0305258, 1.00000048, -0.882950068, 0.848008096, 0.529983222, -9.50098038e-05, 0.215463251, -0.344919175, -0.913567901, -0.484208375, 0.774692535, -0.406686187), CFrame.new(-1.49999595, -1.87754631e-06, 3.51667404e-06, 0.817598403, 0.543970585, -0.188755706, -0.482325882, 0.467993826, -0.740502179, -0.31447494, 0.696475148, 0.645002246), CFrame.new(0.498095661, -2, 0.0435770601, 0.965925753, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925753), CFrame.new(-0.49809885, -2, -0.0435798988, 0.965925753, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925753)}, 0.3, false)
  1147. end
  1148. for i = 0, 1, 0.2 do
  1149. swait()
  1150. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.987688422, 0, 0.156434387, -0.0457369946, 0.956304729, 0.288772196, -0.149598941, -0.29237175, 0.944531083), CFrame.new(0.0211537257, 1.60987997, -0.133559421, 0.987688422, -0.00818714499, -0.156219989, 0, 0.99862957, -0.0523359627, 0.156434387, 0.0516916513, 0.986334801), CFrame.new(1.07748401, 0.67411536, -1.02287543, 0.145925522, 0.282231152, 0.948183239, 0.962904334, 0.179383934, -0.201585561, -0.226982504, 0.942426205, -0.245584935), CFrame.new(-1.6479485, -0.124089062, 0.149924487, 0.257008612, 0.861146927, 0.438603044, -0.207023472, 0.492371798, -0.845405996, -0.943974495, 0.126475468, 0.304821461), CFrame.new(0.423169494, -1.79000783, -0.931019664, 0.997208357, -0.0457369946, 0.0590220839, 0.0607874915, 0.956304729, -0.285982698, -0.0433630943, 0.288772196, 0.956415236), CFrame.new(-0.240227491, -2.03521132, -0.224069402, 0.783011556, -0.0457369946, 0.620323241, 0.213827133, 0.956304729, -0.199397042, -0.58409822, 0.288772196, 0.758577466)}, 0.3, false)
  1151. end
  1152. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233370772", RootPart, 1, 1.2)
  1153. Shoot(Barrel2.Position)
  1154. for i = 0, 1, 0.2 do
  1155. swait()
  1156. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.994541168, 0.0707310885, -0.0767150074, -0.0457369946, 0.956304729, 0.288772196, 0.0937881023, -0.283687085, 0.954319417), CFrame.new(-0.124878258, 1.60466897, -0.13943243, 0.994541168, -0.0670678094, 0.0799374133, 0.0707310885, 0.996528506, -0.0439092666, -0.0767150074, 0.0493236333, 0.995832384), CFrame.new(1.35805857, 0.769007683, -1.29268444, 0.267778158, 0.0520904884, 0.962071538, 0.949526906, 0.155058742, -0.272682041, -0.163381711, 0.986531019, -0.00793997943), CFrame.new(-1.55564368, -0.233869031, 0.528098583, 0.682602227, 0.717213154, 0.140212685, -0.639700413, 0.679180741, -0.359856814, -0.353323758, 0.155944929, 0.922411919), CFrame.new(0.658852875, -1.86664438, -0.639899731, 0.953308403, -0.0457369946, 0.29851529, 0.128167287, 0.956304729, -0.262782037, -0.273452729, 0.288772196, 0.917515337), CFrame.new(-0.537846982, -2.0791235, -0.125787899, 0.912872374, -0.061328277, 0.403612554, 0.103769839, 0.991038024, -0.084115237, -0.394836724, 0.118669257, 0.911055207)}, 0.3, false)
  1157. end
  1158. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233370772", RootPart, 1, 1.2)
  1159. Shoot(Barrel2.Position)
  1160. for i = 0, 1, 0.15 do
  1161. swait()
  1162. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.737832844, 0.227215499, -0.63559103, -0.0457369946, 0.956304729, 0.288772196, 0.673432291, -0.18399556, 0.715985119), CFrame.new(0.0244993512, 1.58054256, -0.0358743519, 0.894873619, -0.151784539, 0.41971761, 0.167697474, 0.985837996, -0.00103181601, -0.413616896, 0.0713089406, 0.907654166), CFrame.new(1.36837888, 0.682929575, -1.00599003, 0.362803906, -0.167444676, 0.916698337, 0.928528488, 0.148135036, -0.340427488, -0.0787923485, 0.974688888, 0.209221065), CFrame.new(-1.6504463, 0.183447242, 0.516261339, 0.71039921, 0.699192166, 0.0803964734, -0.676204145, 0.709750891, -0.197488174, -0.19514361, 0.0859310031, 0.977003038), CFrame.new(0.714830935, -1.80684257, -0.829074502, 0.824376106, -0.0457369946, 0.564191759, 0.199396968, 0.956304729, -0.213827267, -0.529759407, 0.288772196, 0.797474563), CFrame.new(-0.267897666, -2.10419893, 9.35792923e-06, 0.965420246, -0.034111429, 0.25845778, 0.0634135231, 0.992352903, -0.105897792, -0.25286904, 0.118625574, 0.960200548)}, 0.3, false)
  1163. end
  1164. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233370772", RootPart, 1, 1.2)
  1165. Shoot(Barrel2.Position)
  1166. attack = false
  1167. end
  1168.  
  1169. railcannonmode = function()
  1170.  
  1171. attack = true
  1172. railcannon = true
  1173. for i = 0, 1, 0.15 do
  1174. swait()
  1175. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399), CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339), CFrame.new(1.54411411, 1.1920929e-07, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107), CFrame.new(-1.84587193, 0.599999905, -0.42955929, 0.0428062156, 0.943859041, -0.327563226, -0.985070467, -0.0148468316, -0.171510249, -0.166744784, 0.330014557, 0.929132164), CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497), CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047)}, 0.3, false)
  1176. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1177. end
  1178. for i = 0, 1, 0.1 do
  1179. swait()
  1180. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399), CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339), CFrame.new(1.54411411, 1.1920929e-07, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107), CFrame.new(-1.84587193, 0.599999905, -0.42955929, 0.0428062156, 0.943859041, -0.327563226, -0.985070467, -0.0148468316, -0.171510249, -0.166744784, 0.330014557, 0.929132164), CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497), CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047)}, 0.3, false)
  1181. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1182. end
  1183. for i = 0, 1, 0.15 do
  1184. swait()
  1185. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.20791164, 0, 0.978147566, 0, 1, 0, -0.978147566, 0, 0.20791164), CFrame.new(0.0978158563, 1.50000024, -0.0207916647, 0.642787576, 0.211150572, -0.736369073, 0, 0.96126163, 0.275637507, 0.766044378, -0.177176356, 0.61788702), CFrame.new(1.40917015, 2.23517418e-07, 0.0861120224, 0.731854618, -0.12904571, -0.669130623, 0.173648149, 0.98480773, 0, 0.658965051, -0.11619328, 0.743144751), CFrame.new(-1.53391707, 0.599999726, -0.672994554, 0.163157851, 0.237288922, -0.957639515, -0.985070467, -0.0148468325, -0.17151022, -0.0549153872, 0.971325636, 0.231323928), CFrame.new(0.436129451, -2, -0.0561523139, 0.777145803, 0, -0.629320502, 0, 1, 0, 0.629320502, 0, 0.777145803), CFrame.new(-0.46198675, -2, -0.202549219, 0.987688243, 0, -0.1564347, 0, 1, 0, 0.1564347, 0, 0.987688243)}, 0.3, false)
  1186. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(-5, 1, -1) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1187. end
  1188. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=191395766", RootPart, 1, 1.5)
  1189. AMotorWeld.Part0 = LeftArm
  1190. AMotorWeld.C1 = CFrame.new(-0.0355796814, 0.0145721436, -1.61501646, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0)
  1191. for i = 0, 1, 0.1 do
  1192. swait()
  1193. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.438371003, 0, 0.898794115, 0, 1, 0, -0.898794115, 0, 0.438371003), CFrame.new(0.0898803771, 1.50000024, -0.0438378155, 0.809016943, 0.162015691, -0.565015495, 0, 0.96126163, 0.275637507, 0.587785363, -0.2229954, 0.77767694), CFrame.new(1.56349134, 1.49011612e-07, 0.102161653, 0.977467179, -0.172353759, -0.121869534, 0.173648119, 0.984807789, 0, 0.120018095, -0.0211624131, 0.992546141), CFrame.new(-1.78267646, 0.600000024, -0.551555037, 0.145026132, 0.465225279, -0.873231292, -0.985070467, -0.0148468334, -0.171510205, -0.0927556083, 0.885067761, 0.456126511), CFrame.new(0.409590125, -2, -0.159993559, 0.906307638, 0, -0.422618568, 0, 1, 0, 0.422618568, 0, 0.906307638), CFrame.new(-0.497264832, -2, -0.0847679749, 0.996194661, 0, 0.0871553719, 0, 1, 0, -0.0871553719, 0, 0.996194661)}, 0.3, false)
  1194. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1195. end
  1196. attack = false
  1197. end
  1198.  
  1199. unrailcannon = function()
  1200.  
  1201. attack = true
  1202. railcannon = true
  1203. for i = 0, 1, 0.15 do
  1204. swait()
  1205. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399), CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339), CFrame.new(1.54411411, 1.1920929e-07, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107), CFrame.new(-1.84587193, 0.599999905, -0.42955929, 0.0428062156, 0.943859041, -0.327563226, -0.985070467, -0.0148468316, -0.171510249, -0.166744784, 0.330014557, 0.929132164), CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497), CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047)}, 0.3, false)
  1206. end
  1207. for i = 0, 1, 0.1 do
  1208. swait()
  1209. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399), CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339), CFrame.new(1.54411411, 1.1920929e-07, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107), CFrame.new(-1.84587193, 0.599999905, -0.42955929, 0.0428062156, 0.943859041, -0.327563226, -0.985070467, -0.0148468316, -0.171510249, -0.166744784, 0.330014557, 0.929132164), CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497), CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047)}, 0.3, false)
  1210. end
  1211. for i = 0, 1, 0.15 do
  1212. swait()
  1213. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.20791164, 0, 0.978147566, 0, 1, 0, -0.978147566, 0, 0.20791164), CFrame.new(0.0978158563, 1.50000024, -0.0207916647, 0.642787576, 0.211150572, -0.736369073, 0, 0.96126163, 0.275637507, 0.766044378, -0.177176356, 0.61788702), CFrame.new(1.40917015, 2.23517418e-07, 0.0861120224, 0.731854618, -0.12904571, -0.669130623, 0.173648149, 0.98480773, 0, 0.658965051, -0.11619328, 0.743144751), CFrame.new(-1.53391707, 0.599999726, -0.672994554, 0.163157851, 0.237288922, -0.957639515, -0.985070467, -0.0148468325, -0.17151022, -0.0549153872, 0.971325636, 0.231323928), CFrame.new(0.436129451, -2, -0.0561523139, 0.777145803, 0, -0.629320502, 0, 1, 0, 0.629320502, 0, 0.777145803), CFrame.new(-0.46198675, -2, -0.202549219, 0.987688243, 0, -0.1564347, 0, 1, 0, 0.1564347, 0, 0.987688243)}, 0.3, false)
  1214. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, -5) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  1215. end
  1216. AMotorWeld.Part0 = RootPart
  1217. AMotorWeld.C1 = CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1218. attack = false
  1219. railcannon = false
  1220. end
  1221.  
  1222. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1223.  
  1224. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1225. prt.Anchored = true
  1226. prt.CFrame = cframe
  1227. prt.Material = "Neon"
  1228. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1229. game:GetService("Debris"):AddItem(prt, 10)
  1230. coroutine.resume(coroutine.create(function(Part, Mesh)
  1231.  
  1232. for i = 0, 1, delay do
  1233. swait()
  1234. Part.Transparency = i
  1235. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1236. end
  1237. Part.Parent = nil
  1238. end
  1239. ), prt, msh)
  1240. end
  1241.  
  1242. shoottraildd = function(mouse, partt, SpreadAmount, multiply, Type)
  1243.  
  1244. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1245. local MainPos = partt.Position
  1246. local MainPos2 = mouse.Hit.p + SpreadVectors
  1247. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1248. local speed = 50
  1249. local num = 20
  1250. coroutine.resume(coroutine.create(function()
  1251.  
  1252. repeat
  1253. swait()
  1254. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1255. local mag = (MainPos - pos).magnitude
  1256. if Type == "Explosive" then
  1257. Laser(BrickColor.new("Really red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -1, 0, -1, 0.15)
  1258. elseif Type == "Poison" then
  1259. Laser(BrickColor.new("Bright violet"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1260. Effects.Sphere.Create(BrickColor.new("Bright violet"), CFrame.new((MainPos + pos) / 2, pos), 1, 1, 1, 2, 2, 2, 0.07)
  1261. elseif Type == "Stun" then
  1262. Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  1263. end
  1264. MainPos = MainPos + MouseLook.lookVector * speed
  1265. num = num - 1
  1266. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1267. if hit ~= nil then
  1268. num = 0
  1269. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1270. refpart.Anchored = true
  1271. refpart.CFrame = CFrame.new(pos)
  1272. game:GetService("Debris"):AddItem(refpart, 2)
  1273. end
  1274. do
  1275. if num <= 0 then
  1276. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1277. refpart.Anchored = true
  1278. refpart.CFrame = CFrame.new(pos)
  1279. if hit ~= nil then
  1280. if Type == "Explosive" then
  1281. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233856079", refpart, 1, 2)
  1282. Effects.Block.Create(BrickColor.new("Really red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
  1283. Effects.Ring.Create(BrickColor.new("Really red"), refpart.CFrame, 1, 9999, 1, 1, 0, 1, 0.02)
  1284. MagniDamage(refpart, 15, 20, 30, 5, "Knockdown")
  1285. else
  1286. if Type == "Poison" then
  1287. if hit.Name == "Head" then
  1288. Effects.Block.Create(BrickColor.new("Bright violet"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1289. MagniDamage(refpart, 5, 18 * multiply, 20 * multiply, 0, "Curse")
  1290. else
  1291. Effects.Sphere.Create(BrickColor.new("Bright violet"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1292. MagniDamage(refpart, 5, 3 * multiply, 3 * multiply, 0, "Curse")
  1293. end
  1294. else
  1295. if Type == "Stun" then
  1296. Effects.Block.Create(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  1297. MagniDamage(refpart, 5, 10 * multiply, 10 * multiply, 0, "Freeze")
  1298. end
  1299. end
  1300. end
  1301. end
  1302. game:GetService("Debris"):AddItem(refpart, 0)
  1303. end
  1304. end
  1305. until num <= 0
  1306. end
  1307. ))
  1308. end
  1309.  
  1310. mattacktwo = function()
  1311.  
  1312. attack = true
  1313. for i = 0, 1, 0.1 do
  1314. swait()
  1315. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.642787457, 0, -0.766044497, 0, 1, 0, 0.766044497, 0, 0.642787457), CFrame.new(0, 1.5, 0, 0.642787397, 0, 0.766044438, 0, 1, 0, -0.766044438, 0, 0.642787397), CFrame.new(1.51604533, 0, -0.656250775, 0.960815191, -0.125167504, 0.247319818, 0.235888794, 0.837791502, -0.492404014, -0.145569474, 0.531449258, 0.834488511), CFrame.new(-1.83214116, 0.600000143, -0.52276206, -0.0758163705, 0.75134778, -0.655536652, -0.996930301, -0.0700004995, 0.0350688621, -0.0195389744, 0.656183064, 0.754348636), CFrame.new(0.499997288, -2, -8.27014446e-07, 0.984807611, 0, -0.173648089, 0, 1, 0, 0.173648089, 0, 0.984807611), CFrame.new(-0.500000715, -2, -1.71363354e-06, 0.984807611, 0, -0.173648089, 0, 1, 0, 0.173648089, 0, 0.984807611)}, 0.3, false)
  1316. end
  1317. for i = 0, 1, 0.2 do
  1318. swait()
  1319. PlayAnimationFromTable({CFrame.new(0.0946200788, -1.02445483e-08, 0.0625146329, 0.754709721, 0, 0.656058848, 0, 1, 0, -0.656058848, 0, 0.754709721), CFrame.new(-0.0303973816, 1.5, -0.109256268, 0.754709661, 0, -0.656058788, 0, 1, 0, 0.656058788, 0, 0.754709661), CFrame.new(1.89339626, 0.300000608, -0.328220099, 0.399379879, -0.864509821, -0.30515331, -0.109783031, 0.285358429, -0.952112556, 0.910188615, 0.413755238, 0.0190578997), CFrame.new(-0.949671805, 0.600000203, -1.08065712, 0.0101537965, -0.559726298, -0.828615308, -0.996930361, -0.0700004995, 0.0350687429, -0.07763239, 0.825715721, -0.55871892), CFrame.new(0.49999702, -2, 1.08778477e-06, 0.98480773, 0, -0.173648208, 0, 1, 0, 0.173648208, 0, 0.98480773), CFrame.new(-0.500001788, -2, 3.88175249e-06, 0.98480773, 0, -0.173648208, 0, 1, 0, 0.173648208, 0, 0.98480773)}, 0.3, false)
  1320. end
  1321. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=192410077", RootPart, 1, 1.5)
  1322. Shoot2(Barrel.Position)
  1323. for i = 0, 1, 0.1 do
  1324. swait()
  1325. PlayAnimationFromTable({CFrame.new(0.094619967, -1.02445483e-08, 0.0625145137, 0.99254632, 0, 0.121869221, 0, 1, 0, -0.121869221, 0, 0.99254632), CFrame.new(-0.0862959102, 1.5, -0.0735795721, 0.99254626, 0, -0.121869214, 0, 1, 0, 0.121869214, 0, 0.99254626), CFrame.new(1.61255896, 0.300000876, 0.107431374, 0.840072036, -0.485342234, -0.242326573, -0.109783031, 0.285358429, -0.952112556, 0.531250358, 0.826446474, 0.186439291), CFrame.new(-1.29411328, 0.600000143, -1.1588943, -0.0349936038, -0.00229987502, -0.999385059, -0.996930361, -0.0700004995, 0.0350687429, -0.07003811, 0.997544527, 0.000156767666), CFrame.new(0.487180531, -2, -0.112473622, 0.998629689, 0, 0.0523357466, 0, 1, 0, -0.0523357466, 0, 0.998629689), CFrame.new(-0.487187862, -2, 0.112479731, 0.998629689, 0, 0.0523357466, 0, 1, 0, -0.0523357466, 0, 0.998629689)}, 0.3, false)
  1326. end
  1327. attack = false
  1328. end
  1329.  
  1330. ult = function()
  1331.  
  1332. attack = true
  1333. for i = 0, 1, 0.1 do
  1334. swait()
  1335. PlayAnimationFromTable({CFrame.new(-1.12503767e-06, 0, -0.39999944, 0.98480773, 0, 0.173648149, -0.0565343052, 0.945518553, 0.320622027, -0.164187551, -0.32556814, 0.931153953), CFrame.new(0.0799277425, 1.42763364, -0.453292847, 0.98480773, 0.0868240893, -0.150383711, 0, 0.866025329, 0.500000119, 0.173648149, -0.492403924, 0.852868438), CFrame.new(0.568180978, -0.228292078, -0.474152505, 0.391536057, 0.870008767, 0.299640328, 0.500365257, 0.0719806328, -0.862817109, -0.772226632, 0.4877536, -0.407139122), CFrame.new(-0.29982543, 0.654649615, -1.04775822, 0.318565607, -0.942471623, 0.1013074, -0.115927964, -0.144810557, -0.982644677, 0.94078505, 0.301292419, -0.155390501), CFrame.new(0.546569586, -1.99299693, -0.264125228, 0.98480767, -0.0565343052, -0.164187536, 0, 0.945518553, -0.32556811, 0.173648134, 0.320622027, 0.931153893), CFrame.new(-0.451785982, -2.04953146, -0.273441136, 0.98480767, -0.0565343052, -0.164187536, 0, 0.945518553, -0.32556811, 0.173648134, 0.320622027, 0.931153893)}, 0.3, false)
  1336. end
  1337. for i = 0, 1, 0.3 do
  1338. swait()
  1339. PlayAnimationFromTable({CFrame.new(3.3415854e-06, 5.14090061e-07, 0.300000042, 0.991635323, -0.0942734778, -0.088158071, 0.0593911409, 0.939692676, -0.33682391, 0.114595056, 0.328770667, 0.937431514), CFrame.new(0.112005696, 1.4752928, -0.31774953, 0.991635323, 0.038589634, 0.123167254, -0.0942734778, 0.868326187, 0.486951798, -0.088158071, -0.494490057, 0.864700973), CFrame.new(1.66260803, 0.0710313246, -0.399339676, 0.963268697, -0.250757009, 0.0960957855, 0.213793606, 0.49956882, -0.839478016, 0.162498519, 0.829187572, 0.534829259), CFrame.new(-1.34094727, 0.431623071, 0.0770535022, 0.819768488, 0.565257311, 0.0919987336, -0.0703515783, 0.258820057, -0.96336019, -0.568357527, 0.783260107, 0.251939327), CFrame.new(0.557877064, -1.9732064, 0.531213284, 0.981809914, 0.0593911409, -0.180338323, 0.00596907735, 0.939692676, 0.341967821, 0.189772487, -0.33682391, 0.922245145), CFrame.new(-0.631497324, -1.90305054, 0.517219603, 0.991635263, 0.0593911409, 0.114595048, -0.0942734703, 0.939692676, 0.328770638, -0.0881580636, -0.33682391, 0.937431455)}, 0.3, false)
  1340. end
  1341. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917822", RootPart, 1, 1)
  1342. Effects.Sphere.Create(BrickColor.new("Persimmon"), RootPart.CFrame, 55, 55, 55, 0.5, 0.5, 0.5, 0.03)
  1343. g.Parent = nil
  1344. ge.Parent = nil
  1345. for i = 0, 1, 0.13 do
  1346. swait()
  1347. PlayAnimationFromTable({CFrame.new(-6.27711415e-07, -3.87430191e-07, 0.300000131, 0.991635323, -0.0942734778, -0.088158071, 0.0449828133, 0.892621279, -0.448557526, 0.120978847, 0.440839857, 0.889395535), CFrame.new(0.0916699693, 1.4270997, -0.494957238, 0.991635323, 0.0232916679, 0.126952082, -0.0942734778, 0.802509308, 0.589144588, -0.088158071, -0.59618485, 0.797992349), CFrame.new(1.85559225, 0.0200719386, -0.442782521, 0.811071634, -0.584664524, 0.0181698967, 0.400982082, 0.533107102, -0.744989991, 0.425882787, 0.611526072, 0.666828156), CFrame.new(-1.6423732, 0.452560455, 0.0670740306, 0.600761533, 0.79627198, 0.0709684417, -0.221347541, 0.250986785, -0.942343235, -0.768173754, 0.550415039, 0.327036113), CFrame.new(0.586140335, -1.88879371, 0.758852243, 0.90506351, 0.0449828133, -0.422890574, 0.153661013, 0.892621279, 0.42381072, 0.39654538, -0.448557526, 0.800966859), CFrame.new(-0.604041457, -1.83279824, 0.750926971, 0.991635263, 0.0449828133, 0.12097884, -0.0942734703, 0.892621279, 0.440839827, -0.0881580636, -0.448557526, 0.889395475)}, 0.3, false)
  1348. end
  1349. minigun = false
  1350. railcannon = false
  1351. for i = 0, 1, 0.1 do
  1352. swait()
  1353. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990585089, -2.5331974e-07, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.591351926, 0.600000501, -1.04965925, 0.24531807, -0.655219853, -0.714496911, -0.921867132, 0.0703826398, -0.381060779, 0.299966753, 0.752152264, -0.586759567), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1354. end
  1355. for i = 0, 1, 0.3 do
  1356. swait()
  1357. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223676458, 1.50000012, -0.331613988, 0.829037547, 0.144729838, -0.540138841, 0, 0.965925813, 0.258819163, 0.559192896, -0.214570805, 0.80078876), CFrame.new(0.990584075, 5.96046448e-07, -0.972867489, -0.322262019, 0.686789989, 0.651510954, 0.944314957, 0.281537294, 0.170311525, -0.066456385, 0.670116484, -0.739274919), CFrame.new(-0.425541252, 0.600001037, -0.937819362, 0.0108688176, -0.870432794, -0.492167175, -0.85132283, 0.250131786, -0.461176276, 0.524529576, 0.424005568, -0.738300681), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1358. end
  1359. for i = 0, 1, 0.2 do
  1360. swait()
  1361. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990584493, 0.0999999642, -0.972866416, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.757156491, 0.800000608, -1.16149533, 0.133158714, -0.890347123, -0.43537426, -0.929765463, 0.0399093181, -0.36598298, 0.343227386, 0.453529775, -0.822499633), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1362. end
  1363. for i = 0, 1, 0.2 do
  1364. swait()
  1365. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990585089, -2.5331974e-07, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.757156849, 0.500001431, -1.16149521, 0.133158684, -0.890347123, -0.43537426, -0.929765403, 0.0399093926, -0.36598298, 0.343227416, 0.453529775, -0.822499633), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1366. end
  1367. for i = 0, 1, 0.2 do
  1368. swait()
  1369. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990584493, 0.0999999642, -0.972866416, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.674255729, 0.800001264, -1.10557985, 0.20160985, -0.776596785, -0.596867561, -0.929765403, 0.0399093926, -0.36598298, 0.308041841, 0.628732622, -0.714006722), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1370. end
  1371. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231917822", RootPart, 1, 0.8)
  1372. can.Parent = Character
  1373. Effects.Sphere.Create(BrickColor.new("Persimmon"), AFMotor3.CFrame, 105, 105, 105, 0.5, 0.5, 0.5, 0.03)
  1374. for i = 0, 1, 0.2 do
  1375. swait()
  1376. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990585148, -0.100000128, -0.97286576, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.674256444, 0.500000656, -1.1055783, 0.201609835, -0.776596785, -0.596867621, -0.929765463, 0.0399093032, -0.36598286, 0.308041722, 0.628732562, -0.714006662), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1377. end
  1378. for i = 0, 1, 0.1 do
  1379. swait()
  1380. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.325568169, 0, 0.945518494, 0, 1, 0, -0.945518494, 0, 0.325568169), CFrame.new(-8.7544322e-08, 1.50000048, 3.0733645e-08, 0.325568169, -0.0165014714, -0.945374548, 0, 0.99984777, -0.0174522996, 0.945518494, 0.00568191335, 0.325518608), CFrame.new(1.8493607, 0.400000066, -0.34360224, -0.0524368882, -0.896858752, 0.439197659, 0.993822634, -0.00379005075, 0.110915467, -0.0978109241, 0.442300647, 0.891517222), CFrame.new(-1.00463176, 0.60000205, -0.581835151, 0.752349138, -0.446394145, -0.484461486, -0.604538441, -0.175660357, -0.776966333, 0.261732548, 0.877425611, -0.402020365), CFrame.new(0.750989377, -2, 0.0219423026, 0.965925813, 0, -0.258819163, 0, 1, 0, 0.258819163, 0, 0.965925813), CFrame.new(-0.387374163, -2, -0.0333242267, 0.838670373, 0, -0.544638991, 0, 1, 0, 0.544638991, 0, 0.838670373)}, 0.3, false)
  1381. end
  1382. omega = true
  1383. attack = false
  1384. end
  1385.  
  1386. attackfour = function()
  1387.  
  1388. attack = true
  1389. local hohe = math.random(-20, -10)
  1390. local hehe = math.random(-10, 10)
  1391. for i = 0, 1, 0.1 do
  1392. swait()
  1393. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990585089, -2.5331974e-07, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.591351926, 0.600000501, -1.04965925, 0.24531807, -0.655219853, -0.714496911, -0.921867132, 0.0703826398, -0.381060779, 0.299966753, 0.752152264, -0.586759567), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1394. end
  1395. for i = 0, 1, 0.3 do
  1396. swait()
  1397. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223676458, 1.50000012, -0.331613988, 0.829037547, 0.144729838, -0.540138841, 0, 0.965925813, 0.258819163, 0.559192896, -0.214570805, 0.80078876), CFrame.new(0.990584075, 5.96046448e-07, -0.972867489, -0.322262019, 0.686789989, 0.651510954, 0.944314957, 0.281537294, 0.170311525, -0.066456385, 0.670116484, -0.739274919), CFrame.new(-0.425541252, 0.600001037, -0.937819362, 0.0108688176, -0.870432794, -0.492167175, -0.85132283, 0.250131786, -0.461176276, 0.524529576, 0.424005568, -0.738300681), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1398. end
  1399. for i = 0, 1, 0.2 do
  1400. swait()
  1401. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990584493, 0.0999999642, -0.972866416, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.757156491, 0.800000608, -1.16149533, 0.133158714, -0.890347123, -0.43537426, -0.929765463, 0.0399093181, -0.36598298, 0.343227386, 0.453529775, -0.822499633), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1402. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 5) * angles(math.rad(hohe), math.rad(hehe), math.rad(0)), 0.3)
  1403. end
  1404. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233856079", RootPart, 1, 1)
  1405. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel3.CFrame, 15, 15, 15, 0.5, 0.5, 0.5, 0.03)
  1406. shoottraildd(mouse, Barrel3, 0, 2, "Explosive")
  1407. for i = 0, 1, 0.2 do
  1408. swait()
  1409. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990585089, -2.5331974e-07, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.757156849, 0.500001431, -1.16149521, 0.133158684, -0.890347123, -0.43537426, -0.929765403, 0.0399093926, -0.36598298, 0.343227416, 0.453529775, -0.822499633), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1410. end
  1411. for i = 0, 1, 0.2 do
  1412. swait()
  1413. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547), CFrame.new(0.223677456, 1.5, -0.331615418, 0.829037547, 0.271102101, -0.489081144, 0, 0.874619722, 0.484809607, 0.559192896, -0.401925355, 0.72509259), CFrame.new(0.990584493, 0.0999999642, -0.972866416, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141), CFrame.new(-0.674255729, 0.800001264, -1.10557985, 0.20160985, -0.776596785, -0.596867561, -0.929765403, 0.0399093926, -0.36598298, 0.308041841, 0.628732622, -0.714006722), CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163), CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488)}, 0.3, false)
  1414. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1415. end
  1416. attack = false
  1417. end
  1418.  
  1419. mouse.Button1Down:connect(function()
  1420.  
  1421. if attack == false and attacktype == 1 then
  1422. if minigun == true and cooldown2 >= 0 then
  1423. cooldown2 = cooldown2 - 3
  1424. attacktype = 2
  1425. mattackone()
  1426. else
  1427. if minigun == true then
  1428. unminigun()
  1429. else
  1430. attacktype = 2
  1431. attackone()
  1432. end
  1433. end
  1434. else
  1435. if attack == false and attacktype == 2 then
  1436. if railcannon == true and cooldown3 >= 0 then
  1437. cooldown3 = cooldown3 - 5
  1438. attacktype = 3
  1439. mattacktwo()
  1440. else
  1441. if railcannon == true then
  1442. unrailcannon()
  1443. attacktype = 1
  1444. else
  1445. attacktype = 3
  1446. attacktwo()
  1447. end
  1448. end
  1449. else
  1450. if attack == false and attacktype == 3 then
  1451. if minigun == true and cooldown2 >= 0 then
  1452. cooldown2 = cooldown2 - 3
  1453. attacktype = 1
  1454. mattackthree()
  1455. else
  1456. if minigun == true then
  1457. unminigun()
  1458. else
  1459. if omega == true then
  1460. attacktype = 4
  1461. attackthree()
  1462. else
  1463. attacktype = 1
  1464. attackthree()
  1465. end
  1466. end
  1467. end
  1468. else
  1469. if attack == false and attacktype == 4 then
  1470. if omega == true and cooldown4 >= 0 then
  1471. cooldown4 = cooldown4 - 5
  1472. attacktype = 1
  1473. attackfour()
  1474. else
  1475. goback()
  1476. attacktype = 1
  1477. end
  1478. end
  1479. end
  1480. end
  1481. end
  1482. end
  1483. )
  1484. updateskills = function()
  1485.  
  1486. if minigun == true then
  1487. text2.Text = "X\n Ammo"
  1488. else
  1489. text2.Text = "X\n Equip DDJ Multishot"
  1490. end
  1491. if railcannon == true then
  1492. text3.Text = "C\n Ammo"
  1493. else
  1494. text3.Text = "[C]\n Equip QRR-3 Railcannon"
  1495. end
  1496. if omega == true then
  1497. text4.Text = "[V]\n Ammo"
  1498. else
  1499. text4.Text = "[V]\n Equip RRE3 Blackout"
  1500. end
  1501. if cooldown1 <= co1 then
  1502. cooldown1 = cooldown1 + 0.033333333333333
  1503. end
  1504. if cooldown2 <= co2 and minigun == false then
  1505. cooldown2 = cooldown2 + 0.033333333333333
  1506. end
  1507. if cooldown3 <= co3 and railcannon == false then
  1508. cooldown3 = cooldown3 + 0.033333333333333
  1509. end
  1510. if cooldown4 <= co4 and omega == false then
  1511. cooldown4 = cooldown4 + 0.033333333333333
  1512. end
  1513. end
  1514.  
  1515. goback = function()
  1516.  
  1517. attack = true
  1518. for i = 0, 1, 0.1 do
  1519. swait()
  1520. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.906307757, 0, 0.42261821, 0, 1, 0, -0.42261821, 0, 0.906307757), CFrame.new(0, 1.5, 0, 0.906307697, 0, -0.422618181, 0, 1, 0, 0.422618181, 0, 0.906307697), CFrame.new(1.6601975, 1.4999994, -0.0649252385, 0.781850934, -0.325982988, 0.531454682, -0.0811080709, -0.898357868, -0.431711257, 0.618166983, 0.294428617, -0.728821814), CFrame.new(-1.44888604, -3.78349796e-08, -0.388228029, 0.964929819, 0.0809203684, -0.249724105, -0.134298533, 0.96955663, -0.204753056, 0.225552931, 0.231109917, 0.946421623), CFrame.new(0.497257799, -2, -0.0522656441, 0.874619603, 0, -0.484809637, 0, 1, 0, 0.484809637, 0, 0.874619603), CFrame.new(-0.49726212, -2, 0.0522664487, 0.997563958, 0, -0.0697563291, 0, 1, 0, 0.0697563291, 0, 0.997563958)}, 0.3, false)
  1521. end
  1522. for i = 0, 1, 0.2 do
  1523. swait()
  1524. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.906307757, 0, 0.42261821, 0, 1, 0, -0.42261821, 0, 0.906307757), CFrame.new(0, 1.5, 0, 0.906307697, 0, -0.422618181, 0, 1, 0, 0.422618181, 0, 0.906307697), CFrame.new(1.66019619, 1.50000036, -0.0649269223, 0.802965522, -0.164043784, 0.573005915, -0.164460212, -0.985036254, -0.0515408218, 0.572886586, -0.0528511666, -0.817928791), CFrame.new(-1.57567263, 1.45286322e-07, -0.116335958, 0.964929819, 0.0809203684, -0.249724105, -0.134298533, 0.96955663, -0.204753056, 0.225552931, 0.231109917, 0.946421623), CFrame.new(0.497257799, -2, -0.0522656441, 0.874619603, 0, -0.484809637, 0, 1, 0, 0.484809637, 0, 0.874619603), CFrame.new(-0.49726212, -2, 0.0522664487, 0.997563958, 0, -0.0697563291, 0, 1, 0, 0.0697563291, 0, 0.997563958)}, 0.3, false)
  1525. end
  1526. for i = 0, 1, 0.1 do
  1527. swait()
  1528. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.970295727, 0, -0.241921693, 0, 1, 0, 0.241921693, 0, 0.970295727), CFrame.new(0, 1.5, 0, 0.970295668, 0, 0.241921678, 0, 1, 0, -0.241921678, 0, 0.970295668), CFrame.new(1.85520256, 0.699999154, -0.318754077, -0.295568019, -0.888461173, 0.351107359, 0.932772815, -0.189012975, 0.306934923, -0.206335902, 0.4182235, 0.884598494), CFrame.new(-1.44289422, -5.96046448e-08, 0.319016129, 0.882078886, 0.32923764, 0.336955696, -0.00186546892, 0.717686236, -0.696364105, -0.471097738, 0.613619506, 0.633670092), CFrame.new(0.482769817, -2, -0.175085574, 0.978147507, 0, -0.207911983, 0, 1, 0, 0.207911983, 0, 0.978147507), CFrame.new(-0.437726796, -2, 0.215645447, 0.974370062, 0, 0.224950939, 0, 1, 0, -0.224950939, 0, 0.974370062)}, 0.3, false)
  1529. end
  1530. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233096543", RootPart, 1, 1)
  1531. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=233091205", RootPart, 1, 1)
  1532. Effects.Sphere.Create(BrickColor.new("Persimmon"), AFMotor3.CFrame, 105, 105, 105, -0.5, -0.5, -0.5, 0.03)
  1533. can.Parent = nil
  1534. for i = 0, 1, 0.3 do
  1535. swait()
  1536. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766878366, 0.0999998003, -1.12638593, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713899016, 0.399999678, -1.29171181, 0.364090472, -0.680900156, -0.635462821, -0.931355, -0.269105226, -0.245275825, -0.00399804115, 0.681144059, -0.732138395), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1537. end
  1538. for i = 0, 1, 0.2 do
  1539. swait()
  1540. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766876101, -3.42726707e-07, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713901818, 0.399998933, -1.29171515, 0.279300272, -0.697655261, -0.659748673, -0.950363278, -0.102735132, -0.293692142, 0.137116492, 0.709029198, -0.691719949), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1541. end
  1542. for i = 0, 1, 0.2 do
  1543. swait()
  1544. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766878366, 0.0999998003, -1.12638593, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713900208, 0.499999553, -1.29171515, 0.376298666, -0.84488976, -0.380211085, -0.925719321, -0.35969004, -0.116904765, -0.0379865021, 0.395959884, -0.917481661), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1545. end
  1546. for i = 0, 1, 0.2 do
  1547. swait()
  1548. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766876101, -3.42726707e-07, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713899612, 0.300000072, -1.29171467, 0.376298547, -0.84488976, -0.380211085, -0.92571938, -0.359689951, -0.116904832, -0.0379864275, 0.395959944, -0.917481661), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1549. end
  1550. for i = 0, 1, 0.2 do
  1551. swait()
  1552. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766878366, 0.0999998003, -1.12638593, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713899255, 0.50000006, -1.29171133, 0.340612859, -0.658510447, -0.671078801, -0.92571938, -0.359689951, -0.116904832, -0.16439724, 0.661049962, -0.732110918), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1553. end
  1554. for i = 0, 1, 0.3 do
  1555. swait()
  1556. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125), CFrame.new(0.103007838, 1.49999988, -0.171433717, 0.857167125, 0.107082479, -0.503783464, 0, 0.978147626, 0.2079117, 0.515038252, -0.178215072, 0.838436007), CFrame.new(0.766876101, -3.42726707e-07, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499), CFrame.new(-0.713902056, 0.299999446, -1.29171276, 0.340612829, -0.658510506, -0.671078801, -0.92571944, -0.359689891, -0.116904855, -0.164397165, 0.661049962, -0.732110858), CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759), CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767)}, 0.3, false)
  1557. end
  1558. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=240429289", RootPart, 1, 1)
  1559. Effects.Sphere.Create(BrickColor.new("Persimmon"), RootPart.CFrame, 55, 55, 55, 0.5, 0.5, 0.5, 0.03)
  1560. ge.Parent = Character
  1561. g.Parent = Character
  1562. AMotorWeld.Part0 = RootPart
  1563. AMotorWeld.C1 = CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1564. AMotor2Weld.Part0 = RootPart
  1565. AMotor2Weld.C1 = CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  1566. AFMotor.Transparency = 0
  1567. AFMotor2.Transparency = 0
  1568. for i = 0, 1, 0.2 do
  1569. swait()
  1570. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.974370122, 0, -0.224950582, 0, 1, 0, 0.224950582, 0, 0.974370122), CFrame.new(-0.0224949345, 1.5, -0.0974364728, 0.974370122, -0.0117730014, 0.224642292, 0, 0.99862951, 0.052335944, -0.224950582, -0.0509945787, 0.973034739), CFrame.new(1.88297892, 4.17232513e-07, -0.188890129, 0.770794868, -0.624479651, -0.126096755, 0.265426129, 0.49471283, -0.827531397, 0.579158187, 0.604387522, 0.547075272), CFrame.new(-1.49323785, -0.0999996662, 0.0989130512, 0.754503727, 0.561999917, 0.338939488, 0.0725721419, 0.441831708, -0.894157708, -0.652270794, 0.699242949, 0.292578191), CFrame.new(0.545134008, -2, -0.268956423, 0.951056302, 0, -0.309017599, 0, 1, 0, 0.309017599, 0, 0.951056302), CFrame.new(-0.411152959, -2, 0.0234167781, 0.992546201, 0, 0.121868908, 0, 1, 0, -0.121868908, 0, 0.992546201)}, 0.3, false)
  1571. end
  1572. for i = 0, 1, 0.1 do
  1573. swait()
  1574. PlayAnimationFromTable({CFrame.new(0, 0, 0, 0.974370122, 0, -0.224950582, 0, 1, 0, 0.224950582, 0, 0.974370122), CFrame.new(-0.0224949345, 1.5, -0.0974364728, 0.974370122, -0.0117730014, 0.224642292, 0, 0.99862951, 0.052335944, -0.224950582, -0.0509945787, 0.973034739), CFrame.new(1.90547287, 1.14738941e-06, -0.0914520919, 0.770794868, -0.624479651, -0.126096755, 0.265426129, 0.49471283, -0.827531397, 0.579158187, 0.604387522, 0.547075272), CFrame.new(-1.42575228, -0.0999999642, 0.391223609, 0.754503727, 0.561999917, 0.338939488, 0.0725721419, 0.441831708, -0.894157708, -0.652270794, 0.699242949, 0.292578191), CFrame.new(0.545134008, -2, -0.268956423, 0.951056302, 0, -0.309017599, 0, 1, 0, 0.309017599, 0, 0.951056302), CFrame.new(-0.411152959, -2, 0.0234167781, 0.992546201, 0, 0.121868908, 0, 1, 0, -0.121868908, 0, 0.992546201)}, 0.3, false)
  1575. end
  1576. attacktype = 1
  1577. omega = false
  1578. attack = false
  1579. end
  1580.  
  1581. mouse.KeyDown:connect(function(k)
  1582.  
  1583. k = k:lower()
  1584. if attack == false and k == "z" and co1 <= cooldown1 then
  1585. cooldown1 = 0
  1586. boost()
  1587. else
  1588. if attack == false and k == "x" and omega == false and minigun == false then
  1589. minigunmode()
  1590. else
  1591. if attack == false and k == "x" and omega == false and minigun == true then
  1592. unminigun()
  1593. else
  1594. if attack == false and k == "c" and omega == false and railcannon == false then
  1595. railcannonmode()
  1596. else
  1597. if attack == false and k == "c" and omega == false and railcannon == true then
  1598. unrailcannon()
  1599. else
  1600. if attack == false and k == "v" and omega == false then
  1601. ult()
  1602. else
  1603. if attack == false and k == "v" and omega == true then
  1604. goback()
  1605. end
  1606. end
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. end
  1613. )
  1614. while 1 do
  1615. swait()
  1616. updateskills()
  1617. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1618. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1619. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1620. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1621. for i,v in pairs(Character:GetChildren()) do
  1622. if v:IsA("Part") then
  1623. v.Material = "SmoothPlastic"
  1624. else
  1625. if v:IsA("Hat") then
  1626. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1627. end
  1628. end
  1629. end
  1630. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1631. velocity = RootPart.Velocity.y
  1632. sine = sine + change
  1633. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1634. if equipped == true or equipped == false then
  1635. if 1 < RootPart.Velocity.y and hit == nil then
  1636. Anim = "Jump"
  1637. if attack == false then
  1638. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1639. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1640. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1641. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1642. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1643. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1644. end
  1645. else
  1646. if RootPart.Velocity.y < -1 and hit == nil then
  1647. Anim = "Fall"
  1648. if attack == false then
  1649. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.15 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1650. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1651. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1652. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1653. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 - 0.15 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1654. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 - 0.15 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1655. end
  1656. else
  1657. if Torsovelocity < 1 and hit ~= nil then
  1658. Anim = "Idle"
  1659. if attack == false then
  1660. change = 1
  1661. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(10), math.rad(0)), 0.3)
  1662. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
  1663. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2 - 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
  1664. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2 - 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
  1665. if minigun == false then
  1666. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 18), 0) * angles(math.rad(20), math.rad(20), math.rad(0)), 0.3)
  1667. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1668. else
  1669. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1670. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1671. end
  1672. if railcannon == false then
  1673. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), 0.3)
  1674. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1675. else
  1676. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1677. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.12 * math.cos((sine) / 10), 0) * angles(math.rad(40), math.rad(0), math.rad(-40)), 0.3)
  1678. end
  1679. if omega == false then
  1680. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1681. else
  1682. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0 + 0.05 * math.cos((sine) / 10), 0) * angles(math.rad(0 + 0.5 * math.cos((sine) / 10)), math.rad(0), math.rad(0)), 0.3)
  1683. end
  1684. end
  1685. else
  1686. if 2 < Torsovelocity and hit ~= nil then
  1687. Anim = "Walk"
  1688. if attack == false then
  1689. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1690. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1691. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -2, 0 + 0.75 * math.cos((sine) / 3)) * angles(math.rad(0 - 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
  1692. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -2, 0 - 0.75 * math.cos((sine) / 3)) * angles(math.rad(0 + 50 * math.cos((sine) / 3)), math.rad(0), math.rad(0)), 0.3)
  1693. if omega == false then
  1694. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1695. else
  1696. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0 + 0.05 * math.cos((sine) / 10), 0) * angles(math.rad(0 + 0.5 * math.cos((sine) / 10)), math.rad(0), math.rad(0)), 0.3)
  1697. end
  1698. if railcannon == false then
  1699. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 15), 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), 0.3)
  1700. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1701. else
  1702. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1703. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0 + 0.12 * math.cos((sine) / 10), 0) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  1704. end
  1705. if minigun == false then
  1706. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0 + 0.1 * math.cos((sine) / 18), 0) * angles(math.rad(20), math.rad(20), math.rad(0)), 0.3)
  1707. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1708. else
  1709. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1710. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0 + 0.1 * math.cos((sine) / 10), 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1711. end
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end
  1718. if 0 < #Effects then
  1719. for e = 1, #Effects do
  1720. if Effects[e] ~= nil then
  1721. local Thing = Effects[e]
  1722. if Thing ~= nil then
  1723. local Part = Thing[1]
  1724. local Mode = Thing[2]
  1725. local Delay = Thing[3]
  1726. local IncX = Thing[4]
  1727. local IncY = Thing[5]
  1728. local IncZ = Thing[6]
  1729. if Thing[2] == "Shoot" then
  1730. local Look = Thing[1]
  1731. local hit, pos = rayCast(Thing[4], Look, 15, Character)
  1732. local mag = (Thing[4] - pos).magnitude
  1733. Thing[9] = Thing[9] + 0.5
  1734. Thing[5] = Thing[5] + 0.2
  1735. Thing[6] = Thing[6] + 0.2
  1736. Effects.Cylinder.Create(BrickColor.new("Really red"), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), Thing[9], mag * 5, Thing[9], -0.06, 0, -0.06, 0.1)
  1737. Thing[4] = Thing[4] + Look * 15
  1738. Thing[3] = Thing[3] - 3
  1739. if hit ~= nil then
  1740. Thing[3] = 0
  1741. ref = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1742. ref.Anchored = true
  1743. ref.CFrame = CFrame.new(pos)
  1744. MagniDamage(ref, 10, 3, 8, 0, "Normal")
  1745. Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1746. CFuncs.Sound.Create("rbxassetid://300916057", ref, 1, 2)
  1747. game:GetService("Debris"):AddItem(ref, 1)
  1748. end
  1749. if Thing[3] <= 0 then
  1750. table.remove(Effects, e)
  1751. end
  1752. end
  1753. do
  1754. if Thing[2] == "Shoot2" then
  1755. local Look = Thing[1]
  1756. local hit, pos = rayCast(Thing[4], Look, 3, Character)
  1757. local mag = (Thing[4] - pos).magnitude
  1758. Thing[9] = Thing[9] + 0.5
  1759. Thing[5] = Thing[5] + 0.2
  1760. Thing[6] = Thing[6] + 0.2
  1761. Effects.Block.Create(BrickColor.new("Really red"), CFrame.new((Thing[4] + pos) / 2, pos), 15, 15, 15, -0.5, -0.5, -0.5, 0.05)
  1762. Thing[4] = Thing[4] + Look * 3
  1763. Thing[3] = Thing[3] - 1
  1764. if hit ~= nil then
  1765. Thing[3] = 0
  1766. ref = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1767. ref.Anchored = true
  1768. ref.CFrame = CFrame.new(pos)
  1769. MagniDamage(ref, 10, 10, 18, 0, "Normal")
  1770. Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(pos), 25, 25, 25, 5, 5, 5, 0.1)
  1771. Effects.Sphere.Create(BrickColor.new("Really red"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.08)
  1772. CFuncs.Sound.Create("rbxassetid://300916057", ref, 1, 1.5)
  1773. game:GetService("Debris"):AddItem(ref, 1)
  1774. end
  1775. if Thing[3] <= 0 then
  1776. table.remove(Effects, e)
  1777. end
  1778. end
  1779. do
  1780. do
  1781. if Thing[2] == "showDamage" then
  1782. if Thing[6] < Thing[5] then
  1783. Thing[6] = Thing[6] + 1
  1784. else
  1785. if Thing[6] < Thing[7] then
  1786. Thing[4].position = Thing[4].position + Vector3.new(0, -0.2, 0)
  1787. Thing[6] = Thing[6] + 1
  1788. else
  1789. if Thing[6] < Thing[8] then
  1790. Thing[6] = Thing[6] + 1
  1791. else
  1792. if Thing[6] < Thing[9] then
  1793. Thing[6] = Thing[6] + 1
  1794. Thing[4].position = Thing[4].position + Vector3.new(0, 0.2, 0)
  1795. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  1796. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  1797. else
  1798. Thing[1].Parent = nil
  1799. table.remove(Effects, e)
  1800. end
  1801. end
  1802. end
  1803. end
  1804. end
  1805. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Shoot2" then
  1806. if Thing[1].Transparency <= 1 then
  1807. if Thing[2] == "Block1" then
  1808. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1809. Mesh = Thing[7]
  1810. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1811. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1812. else
  1813. if Thing[2] == "Block2" then
  1814. Thing[1].CFrame = Thing[1].CFrame
  1815. Mesh = Thing[7]
  1816. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1817. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1818. else
  1819. if Thing[2] == "Block3" then
  1820. Thing[8].C0 = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * Thing[9]
  1821. Mesh = Thing[7]
  1822. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1823. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1824. else
  1825. if Thing[2] == "Cylinder" then
  1826. Mesh = Thing[7]
  1827. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1828. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1829. else
  1830. if Thing[2] == "Cylinder2" then
  1831. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
  1832. Mesh = Thing[7]
  1833. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1834. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1835. else
  1836. if Thing[2] == "Blood" then
  1837. Mesh = Thing[7]
  1838. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1839. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1840. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1841. else
  1842. if Thing[2] == "Elec" then
  1843. Mesh = Thing[10]
  1844. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1845. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1846. else
  1847. if Thing[2] == "Disappear" then
  1848. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1849. end
  1850. end
  1851. end
  1852. end
  1853. end
  1854. end
  1855. end
  1856. end
  1857. else
  1858. Part.Parent = nil
  1859. table.remove(Effects, e)
  1860. end
  1861. end
  1862. end
  1863. end
  1864. end
  1865. end
  1866. end
  1867. end
  1868. end
  1869. end
  1870. --end
Add Comment
Please, Sign In to add comment