UltimateGate

BLACK MAGIC - Juggernaut

May 8th, 2018
515
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 165.35 KB | None | 0 0
  1. wait(1/60)
  2. script.Name = "Chaos"
  3. local Player = game.Players.LocalPlayer
  4. local Character = Player.Character
  5. local C_Fold = Instance.new("Folder", nil)
  6. script.Parent = C_Fold
  7. if script.ClassName == "LocalScript" or script.ClassName == "Script" then
  8. if game.CreatorId == 0 then
  9. script.Parent = C_Fold
  10. else
  11. local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
  12. local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment}))
  13. oxbox.script:Destroy()
  14. C_Fold.Parent = game:GetService("ServerStorage")
  15. end
  16. end
  17. if script ~= true then
  18. C_Fold:Destroy()
  19. else
  20. end
  21. local Effects = { }
  22. local Humanoid = Character.Humanoid
  23. local mouse = Player:GetMouse()
  24. local m = Instance.new('Model', Character)
  25. m.Name = "WeaponModel"
  26. local can = Instance.new('Model', Character)
  27. can.Name = "WeaponModel2"
  28. local g = Instance.new('Model',Character)
  29. local ge = Instance.new('Model',Character)
  30. local LeftArm = Character["Left Arm"]
  31. local RightArm = Character["Right Arm"]
  32. local LeftLeg = Character["Left Leg"]
  33. local RightLeg = Character["Right Leg"]
  34. local Head = Character.Head
  35. local Torso = Character.Torso
  36. local cam = game.Workspace.CurrentCamera
  37. local RootPart = Character.HumanoidRootPart
  38. local RootJoint = RootPart.RootJoint
  39. local equipped = false
  40. local attack = false
  41. local Anim = 'Idle'
  42. local idle = 0
  43. local attacktype = 1
  44. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  45. local velocity = RootPart.Velocity.y
  46. local sine = 0
  47. local change = 1
  48. local grabbed = false
  49. local cn = CFrame.new
  50. local mr = math.rad
  51. local angles = CFrame.Angles
  52. local ud = UDim2.new
  53. local c3 = Color3.new
  54. local minigun = false
  55. local railcannon=false
  56. Humanoid.Animator.Parent = nil
  57. Character.Animate.Parent = nil
  58. local omega=false
  59. local newMotor = function(part0, part1, c0, c1)
  60. local w = Instance.new('Motor', part0)
  61. w.Part0 = part0
  62. w.Part1 = part1
  63. w.C0 = c0
  64. w.C1 = c1
  65. return w
  66. end
  67.  
  68. function clerp(a, b, t)
  69. return a:lerp(b, t)
  70. end
  71.  
  72. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  73. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  74.  
  75. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  76. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  77. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  78. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  79. RootJoint.C1 = CFrame.new(0, 0, 0)
  80. RootJoint.C0 = CFrame.new(0, 0, 0)
  81. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  82. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  83.  
  84. local rarmc1 = RW.C1
  85. local larmc1 = LW.C1
  86. local rlegc1 = RH.C1
  87. local llegc1 = LH.C1
  88.  
  89. local resetc1 = false
  90.  
  91. function PlayAnimationFromTable(table, speed, bool)
  92. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  93. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  94. RW.C0 = clerp(RW.C0, table[3], speed)
  95. LW.C0 = clerp(LW.C0, table[4], speed)
  96. RH.C0 = clerp(RH.C0, table[5], speed)
  97. LH.C0 = clerp(LH.C0, table[6], speed)
  98. if bool == true then
  99. if resetc1 == false then
  100. resetc1 = true
  101. RootJoint.C1 = RootJoint.C1
  102. Torso.Neck.C1 = Torso.Neck.C1
  103. RW.C1 = rarmc1
  104. LW.C1 = larmc1
  105. RH.C1 = rlegc1
  106. LH.C1 = llegc1
  107. end
  108. end
  109. end
  110.  
  111.  
  112. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  113.  
  114. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  115. ArtificialHB.Name = "Heartbeat"
  116.  
  117. Player.PlayerGui:WaitForChild("Heartbeat")
  118.  
  119. frame = 1 / 30
  120. tf = 0
  121. allowframeloss = false
  122. tossremainder = false
  123. lastframe = tick()
  124. Player.PlayerGui.Heartbeat:Fire()
  125. local gg = false
  126. game:GetService("RunService").Heartbeat:connect(function(s, p)
  127. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then gg=true end
  128. if gg==true then return end
  129. tf = tf + s
  130. if tf >= frame then
  131. if allowframeloss then
  132. Player.PlayerGui.Heartbeat:Fire()
  133. lastframe = tick()
  134. else
  135. for i = 1, math.floor(tf / frame) do
  136. Player.PlayerGui.Heartbeat:Fire()
  137. end
  138. lastframe = tick()
  139. end
  140. if tossremainder then
  141. tf = 0
  142. else
  143. tf = tf - frame * math.floor(tf / frame)
  144. end
  145. end
  146. end)
  147.  
  148. function swait(num)
  149. if num == 0 or num == nil then
  150. ArtificialHB.Event:wait()
  151. else
  152. for i = 0, num do
  153. ArtificialHB.Event:wait()
  154. end
  155. end
  156. end
  157. local RbxUtility = LoadLibrary("RbxUtility")
  158. local Create = RbxUtility.Create
  159.  
  160. function RemoveOutlines(part)
  161. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  162. end
  163.  
  164.  
  165.  
  166. local co1 = 5
  167. local co2 = 15
  168. local co3 = 15
  169. local co4 = 15
  170.  
  171. local cooldown1 = 0
  172. local cooldown2 = 0
  173. local cooldown3 = 0
  174. local cooldown4 = 0
  175.  
  176. local co5 = 12
  177. local co6 = 18
  178. local co7 = 20
  179. local co8 = 30
  180.  
  181. local cooldown5 = 0
  182. local cooldown6 = 0
  183. local cooldown7 = 0
  184. local cooldown8 = 0
  185.  
  186.  
  187. local skillcolorscheme = BrickColor.new("Bright red").Color
  188.  
  189. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  190. function makeframe(par, trans, pos, size, color)
  191. local frame = Instance.new('Frame', par)
  192. frame.BackgroundTransparency = trans
  193. frame.BorderSizePixel = 0
  194. frame.Position = pos
  195. frame.Size = size
  196. frame.BackgroundColor3 = color
  197. return frame
  198. end
  199.  
  200. function makelabel(par, text)
  201. local label = Instance.new('TextLabel', par)
  202. label.BackgroundTransparency = 1
  203. label.Size = UDim2.new(1, 0, 1, 0)
  204. label.Position = UDim2.new(0, 0, 0, 0)
  205. label.TextColor3 = Color3.new(255, 255, 255)
  206. label.TextStrokeTransparency = 0
  207. label.FontSize = Enum.FontSize.Size32
  208. label.Font = Enum.Font.SourceSansLight
  209. label.BorderSizePixel = 0
  210. label.TextScaled = true
  211. label.Text = text
  212. end
  213. framesk1 = makeframe(scrn, .5, UDim2.new(.8, 0, .85, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  214. framesk2 = makeframe(scrn, .5, UDim2.new(.8, 0, .74, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  215. framesk3 = makeframe(scrn, .5, UDim2.new(.8, 0, .63, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  216. framesk4 = makeframe(scrn, .5, UDim2.new(.8, 0, .52, 0), UDim2.new(.16, 0, .1, 0), skillcolorscheme)
  217.  
  218. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  219. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  220. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  221. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  222. text1 = Instance.new('TextLabel', framesk1)
  223. text1.BackgroundTransparency = 1
  224. text1.Size = UDim2.new(1, 0, 1, 0)
  225. text1.Position = UDim2.new(0, 0, 0, 0)
  226. text1.TextColor3 = Color3.new(255, 255, 255)
  227. text1.TextStrokeTransparency = 0
  228. text1.FontSize = Enum.FontSize.Size18
  229. text1.Font = Enum.Font.SourceSansLight
  230. text1.BorderSizePixel = 0
  231. text1.TextScaled = true
  232. text1.Text = "[Z]\n Charger"
  233. text2 = Instance.new('TextLabel', framesk2)
  234. text2.BackgroundTransparency = 1
  235. text2.Size = UDim2.new(1, 0, 1, 0)
  236. text2.Position = UDim2.new(0, 0, 0, 0)
  237. text2.TextColor3 = Color3.new(255, 255, 255)
  238. text2.TextStrokeTransparency = 0
  239. text2.FontSize = Enum.FontSize.Size18
  240. text2.Font = Enum.Font.SourceSansLight
  241. text2.BorderSizePixel = 0
  242. text2.TextScaled = true
  243. text2.Text = "[X]\n Equip DDJ Multishot"
  244. text3 = Instance.new('TextLabel', framesk3)
  245. text3.BackgroundTransparency = 1
  246. text3.Size = UDim2.new(1, 0, 1, 0)
  247. text3.Position = UDim2.new(0, 0, 0, 0)
  248. text3.TextColor3 = Color3.new(255, 255, 255)
  249. text3.TextStrokeTransparency = 0
  250. text3.FontSize = Enum.FontSize.Size18
  251. text3.Font = Enum.Font.SourceSansLight
  252. text3.BorderSizePixel = 0
  253. text3.TextScaled = false
  254. text3.Text = "[C]\n Equip QRR-3 Railcannon"
  255. text4 = Instance.new('TextLabel', framesk4)
  256. text4.BackgroundTransparency = 1
  257. text4.Size = UDim2.new(1, 0, 1, 0)
  258. text4.Position = UDim2.new(0, 0, 0, 0)
  259. text4.TextColor3 = Color3.new(255, 255, 255)
  260. text4.TextStrokeTransparency = 0
  261. text4.FontSize = Enum.FontSize.Size18
  262. text4.Font = Enum.Font.SourceSansLight
  263. text4.BorderSizePixel = 0
  264. text4.TextScaled = true
  265. text4.Text = "[V]\n Equip RRE3 Blackout"
  266.  
  267.  
  268. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  269. local Part = Create("Part"){
  270. Parent = Parent,
  271. Reflectance = Reflectance,
  272. Transparency = Transparency,
  273. CanCollide = false,
  274. Locked = true,
  275. BrickColor = BrickColor.new(tostring(BColor)),
  276. Name = Name,
  277. Size = Size,
  278. Material = Material,
  279. }
  280. RemoveOutlines(Part)
  281. return Part
  282. end
  283.  
  284. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  285. local Msh = Create(Mesh){
  286. Parent = Part,
  287. Offset = OffSet,
  288. Scale = Scale,
  289. }
  290. if Mesh == "SpecialMesh" then
  291. Msh.MeshType = MeshType
  292. Msh.MeshId = MeshId
  293. end
  294. return Msh
  295. end
  296.  
  297. function CreateWeld(Parent, Part0, Part1, C0, C1)
  298. local Weld = Create("Weld"){
  299. Parent = Parent,
  300. Part0 = Part0,
  301. Part1 = Part1,
  302. C0 = C0,
  303. C1 = C1,
  304. }
  305. return Weld
  306. end
  307.  
  308.  
  309. CFuncs = {
  310. ["Part"] = {
  311. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  312. local Part = Create("Part"){
  313. Parent = Parent,
  314. Reflectance = Reflectance,
  315. Transparency = Transparency,
  316. CanCollide = false,
  317. Locked = true,
  318. BrickColor = BrickColor.new(tostring(BColor)),
  319. Name = Name,
  320. Size = Size,
  321. Material = Material,
  322. }
  323. RemoveOutlines(Part)
  324. return Part
  325. end;
  326. };
  327.  
  328. ["Mesh"] = {
  329. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  330. local Msh = Create(Mesh){
  331. Parent = Part,
  332. Offset = OffSet,
  333. Scale = Scale,
  334. }
  335. if Mesh == "SpecialMesh" then
  336. Msh.MeshType = MeshType
  337. Msh.MeshId = MeshId
  338. end
  339. return Msh
  340. end;
  341. };
  342.  
  343. ["Mesh"] = {
  344. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  345. local Msh = Create(Mesh){
  346. Parent = Part,
  347. Offset = OffSet,
  348. Scale = Scale,
  349. }
  350. if Mesh == "SpecialMesh" then
  351. Msh.MeshType = MeshType
  352. Msh.MeshId = MeshId
  353. end
  354. return Msh
  355. end;
  356. };
  357.  
  358. ["Weld"] = {
  359. Create = function(Parent, Part0, Part1, C0, C1)
  360. local Weld = Create("Weld"){
  361. Parent = Parent,
  362. Part0 = Part0,
  363. Part1 = Part1,
  364. C0 = C0,
  365. C1 = C1,
  366. }
  367. return Weld
  368. end;
  369. };
  370.  
  371. ["Sound"] = {
  372. Create = function(id, par, vol, pit)
  373. coroutine.resume(coroutine.create(function()
  374. local S = Create("Sound"){
  375. Volume = vol,
  376. Pitch = pit or 1,
  377. SoundId = id,
  378. Parent = par or workspace,
  379. }
  380. wait()
  381. S:play()
  382. game:GetService("Debris"):AddItem(S, 6)
  383. end))
  384. end;
  385. };
  386.  
  387. ["ParticleEmitter"] = {
  388. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  389. local fp = Create("ParticleEmitter"){
  390. Parent = Parent,
  391. Color = ColorSequence.new(Color1, Color2),
  392. LightEmission = LightEmission,
  393. Size = Size,
  394. Texture = Texture,
  395. Transparency = Transparency,
  396. ZOffset = ZOffset,
  397. Acceleration = Accel,
  398. Drag = Drag,
  399. LockedToPart = LockedToPart,
  400. VelocityInheritance = VelocityInheritance,
  401. EmissionDirection = EmissionDirection,
  402. Enabled = Enabled,
  403. Lifetime = LifeTime,
  404. Rate = Rate,
  405. Rotation = Rotation,
  406. RotSpeed = RotSpeed,
  407. Speed = Speed,
  408. VelocitySpread = VelocitySpread,
  409. }
  410. return fp
  411. end;
  412. };
  413. }
  414.  
  415. Handle=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(1.01000023, 1.36000001, 1.02999997))
  416. 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-006, 0.33297348, 0.00253295898, 0, 0, -1, 0, 0.999999881, 0, 1, 0, 0))
  417. Part=CreatePart(m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(1.09000027, 0.320000052, 0.959999979))
  418. 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))
  419. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.24000025, 0.200000003, 0.200000003))
  420. 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))
  421. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.410000205, 1.5, 0.200000003))
  422. 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))
  423. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.410000205, 1.5, 0.200000003))
  424. 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))
  425. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.24000025, 0.200000003, 0.200000003))
  426. 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))
  427. Part=CreatePart(m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(0.590000272, 0.320000052, 0.519999981))
  428. 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))
  429. Part=CreatePart(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.24000025, 1.13000011, 0.200000003))
  430. 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))
  431. Handle2=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Handle2",Vector3.new(1.01000023, 1.36000001, 1.02999997))
  432. 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))
  433. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.24000025, 0.200000003, 0.200000003))
  434. 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))
  435. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.24000025, 0.200000003, 0.200000003))
  436. 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))
  437. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.410000205, 1.5, 0.200000003))
  438. 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))
  439. Part=CreatePart(m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(0.590000272, 0.320000052, 0.519999981))
  440. 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))
  441. Part=CreatePart(m,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.24000025, 1.13000011, 0.200000003))
  442. 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))
  443. Part=CreatePart(m,Enum.Material.Neon,0,0,"Maroon","Part",Vector3.new(1.09000027, 0.320000052, 0.959999979))
  444. 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))
  445. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.410000205, 1.5, 0.200000003))
  446. 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))
  447. Misc=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Misc",Vector3.new(1.08000004, 2.74999976, 1.13999987))
  448. 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))
  449. CreateMesh("CylinderMesh",Misc,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  450. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.779999971, 1.21000004, 0.200000003))
  451. 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))
  452. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.589999974, 1.21000004, 0.200000003))
  453. 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))
  454. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.859999955, 1.21000004, 0.200000003))
  455. 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))
  456. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 1.21000004, 2.32999992))
  457. 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))
  458. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(2.90999985, 1.21000004, 0.879999876))
  459. 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))
  460. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.859999955, 1.21000004, 0.200000003))
  461. 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))
  462. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.779999971, 1.21000004, 0.200000003))
  463. 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))
  464. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.589999974, 1.21000004, 0.200000003))
  465. 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))
  466. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(2.89999986, 1.21000004, 0.879999995))
  467. 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))
  468. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.589999974, 1.21000004, 0.200000003))
  469. 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))
  470. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.589999974, 1.21000004, 0.200000003))
  471. 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))
  472. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.799999952, 0.71999979, 1.75999999))
  473. 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))
  474. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  475. Part=CreatePart(m,Enum.Material.SmoothPlastic,0,0,"Black","Part",Vector3.new(0.940000057, 0.210000008, 0.889999866))
  476. 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-010, 0, 1.45519152e-010, 1.00000012, 0, 0, 0, 1.00000012))
  477. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  478. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.910000086, 2.90999985, 0.869999886))
  479. 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))
  480. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  481. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(2.7900002, 1.21000004, 0.779999971))
  482. 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))
  483. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.589999914, 0.529999852, 0.609999895))
  484. 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))
  485. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  486. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 1.21000004, 2.08999991))
  487. 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))
  488. Part=CreatePart(m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.940000057, 0.200000003, 1.13999987))
  489. 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-010, 0, 1.45519152e-010, 1.00000012, 0, 0, 0, 1.00000012))
  490. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  491. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Smoky grey","Part",Vector3.new(0.759999812, 0.709999859, 1.70999992))
  492. 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))
  493. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  494. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.79999995, 0.71999979, 1.8499999))
  495. 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))
  496. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  497. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Smoky grey","Part",Vector3.new(1.79999995, 0.71999985, 1.70999992))
  498. 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))
  499. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  500. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 1.21000004, 2.32999992))
  501. 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))
  502. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.60000002, 1.34999979, 1.8499999))
  503. 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))
  504. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  505. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.910000086, 2.71999979, 0.869999886))
  506. 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))
  507. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  508. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 1.21000004, 2.08999991))
  509. 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))
  510. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.740000069, 1.34999979, 0.559999943))
  511. 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))
  512. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  513. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.799999952, 0.71999979, 1.75999999))
  514. 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))
  515. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  516. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.740000069, 1.34999979, 0.559999943))
  517. 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))
  518. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  519. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.79999995, 0.529999852, 1.6099999))
  520. 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))
  521. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  522. Thruster1=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Thruster1",Vector3.new(0.200000003, 0.529999852, 0.200000003))
  523. 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))
  524. CreateMesh("CylinderMesh",Thruster1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  525. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Smoky grey","Part",Vector3.new(0.759999812, 0.709999859, 0.73999995))
  526. 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))
  527. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  528. Part=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.589999914, 0.529999852, 0.609999895))
  529. 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))
  530. CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  531. Thruster2=CreatePart(m,Enum.Material.Plastic,0,0,"Smoky grey","Thruster2",Vector3.new(0.200000003, 0.709999859, 0.200000003))
  532. 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))
  533. CreateMesh("CylinderMesh",Thruster2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  534. Thruster3=CreatePart(m,Enum.Material.Plastic,0,0,"Really black","Thruster3",Vector3.new(0.200000003, 0.529999852, 0.200000003))
  535. 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))
  536. CreateMesh("CylinderMesh",Thruster3,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  537. AMotor=CreatePart(g,Enum.Material.Neon,0,1,"Bright red","AMotor",Vector3.new(1.13, 1.13, 1.13999999))
  538. 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))
  539. AFMotor=CreatePart(g,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(1.13, 1.13, 1.13999999))
  540. 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))
  541. CreateMesh("SpecialMesh",AFMotor,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  542. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.420000017, 0.550000012, 3.5))
  543. 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))
  544. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3.5))
  545. 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))
  546. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3.5))
  547. 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-006, 2.22000694, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  548. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3))
  549. 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))
  550. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3))
  551. 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))
  552. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3.5))
  553. 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))
  554. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3.5))
  555. 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))
  556. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3))
  557. 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-006, 2.47000122, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  558. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.70000005, 1.48000002, 1.53999996))
  559. 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-006, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  560. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  561. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3))
  562. 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))
  563. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 3))
  564. 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))
  565. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.380000025, 5.11000013))
  566. 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))
  567. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.350000024, 5.17000008))
  568. 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))
  569. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.350000024, 5.21000004))
  570. 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))
  571. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.370000035, 5.17000008))
  572. 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))
  573. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.26000002, 5.19000006))
  574. 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))
  575. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.230000004, 0.230000019, 5.23000002))
  576. 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))
  577. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.200000003, 5.19000006))
  578. 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))
  579. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.200000003, 5.19000006))
  580. 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))
  581. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 2.76999998))
  582. 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))
  583. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.380000025, 2.46999979))
  584. 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))
  585. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  586. 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))
  587. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  588. 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))
  589. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  590. 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))
  591. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  592. 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))
  593. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  594. 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))
  595. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  596. 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))
  597. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  598. 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))
  599. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  600. 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))
  601. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  602. 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))
  603. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.200000003))
  604. 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))
  605. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.25999999, 0.550000012, 0.549999952))
  606. 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))
  607. Part=CreatePart(g,Enum.Material.Plastic,0,0,"Bright red","Part",Vector3.new(0.289999992, 0.450000018, 0.469999969))
  608. 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))
  609. Barrel=CreatePart(g,Enum.Material.Plastic,0,1,"Black","Barrel",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  610. 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))
  611.  
  612. AMotor2=CreatePart(ge,Enum.Material.Neon,0,1,"Bright red","AMotor2",Vector3.new(1.13, 1.13, 1.13999999))
  613. 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))
  614. AFMotor2=CreatePart(ge,Enum.Material.Neon,0,0,"Bright red","AFMotor2",Vector3.new(1.13, 1.13, 1.13999999))
  615. 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))
  616. CreateMesh("SpecialMesh",AFMotor2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  617. H3=CreatePart(ge,Enum.Material.Plastic,0,0,"Maroon","H3",Vector3.new(0.529999971, 0.200000003, 0.200000003))
  618. 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))
  619. 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))
  620. H3=CreatePart(ge,Enum.Material.Plastic,0,0,"Maroon","H3",Vector3.new(0.529999971, 0.200000003, 0.200000003))
  621. 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))
  622. 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))
  623. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2))
  624. 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-006, 1.90999985, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  625. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2.5))
  626. 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-006, 1.66000557, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  627. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2))
  628. 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))
  629. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2.5))
  630. 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))
  631. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2.5))
  632. 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))
  633. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2))
  634. 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))
  635. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2.5))
  636. 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))
  637. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2))
  638. 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))
  639. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2))
  640. 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))
  641. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.550000012, 2.5))
  642. 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))
  643. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(1.70000005, 1.48000002, 1.53999996))
  644. 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-006, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  645. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  646. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.360000014, 0.389999986))
  647. 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-006, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  648. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  649. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  650. 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))
  651. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  652. Barrel2=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Barrel2",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  653. 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))
  654. CreateMesh("SpecialMesh",Barrel2,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  655. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  656. 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))
  657. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  658. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  659. 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))
  660. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  661. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  662. 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))
  663. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  664. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  665. 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))
  666. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  667. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  668. 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))
  669. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  670. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  671. 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))
  672. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  673. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  674. 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))
  675. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  676. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  677. 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))
  678. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  679. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  680. 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))
  681. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  682. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  683. 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))
  684. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  685. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  686. 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))
  687. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  688. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.329999983, 0.200000003, 0.200000003))
  689. 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))
  690. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  691. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  692. 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))
  693. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  694. Part=CreatePart(ge,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.319999993, 0.26000002, 0.389999986))
  695. 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))
  696. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697. AMotor3=CreatePart(can,Enum.Material.Neon,0,1,"Bright red","AMotor3",Vector3.new(2.22000003, 2.06999993, 2.21999979))
  698. AMotor3Weld=CreateWeld(can,Character["HumanoidRootPart"],AMotor3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.57763672e-005, 5.96501923, -2.98002052, -1, 0, 0, 0, -1, 0, -0, -0, 1))
  699. CreateMesh("SpecialMesh",AMotor3,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  700. AFMotor3=CreatePart(can,Enum.Material.Neon,0,1,"Bright red","AFMotor3",Vector3.new(2.22000003, 2.06999993, 2.21999979))
  701. 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))
  702. CreateMesh("SpecialMesh",AFMotor3,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  703. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  704. 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))
  705. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  706. 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))
  707. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  708. 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))
  709. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  710. 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))
  711. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  712. 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))
  713. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(1.66000021, 0.200000003, 3.51999998))
  714. 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))
  715. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.31999993))
  716. 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))
  717. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  718. 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))
  719. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 7.61999989))
  720. 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))
  721. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 7.61999989))
  722. 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))
  723. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.51999998))
  724. 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))
  725. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.51999998))
  726. 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))
  727. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.51999998))
  728. 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))
  729. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.51999998))
  730. 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))
  731. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 7.61999989))
  732. 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))
  733. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 7.62000036))
  734. 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))
  735. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.879999995, 0.200000003))
  736. 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))
  737. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.899999976, 0.200000003))
  738. 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))
  739. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.959999979, 0.200000003))
  740. 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))
  741. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.200000003, 0.800000012, 0.200000003))
  742. 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))
  743. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  744. 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))
  745. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  746. 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))
  747. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  748. 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))
  749. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  750. 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))
  751. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 3.5199995))
  752. 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))
  753. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Black","Part",Vector3.new(0.620000243, 0.200000003, 0.200000003))
  754. 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))
  755. Part=CreatePart(can,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(2.44000006, 1.54999995, 1.53999996))
  756. 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-006, 0, 0, 1, -1, 0, -0, 0, -1, 0))
  757. CreateMesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  758. Part=CreatePart(can,Enum.Material.Neon,0,0,"Bright red","Part",Vector3.new(2.22000003, 2.06999993, 2.21999979))
  759. 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))
  760. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Barrel3=CreatePart(can,Enum.Material.Plastic,0,1,"Black","Barrel3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  762. 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))
  763. can.Parent=nil
  764.  
  765. function rayCast(Position, Direction, Range, Ignore)
  766. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  767. end
  768.  
  769. local function GetNearest(obj, distance)
  770. local last, lastx = distance + 1
  771. for i, v in pairs(workspace:GetChildren()) do
  772. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  773. local t = v.Torso
  774. local dist = (t.Position - obj.Position).magnitude
  775. if dist <= distance then
  776. if dist < last then
  777. last = dist
  778. lastx = v
  779. end
  780. end
  781. end
  782. end
  783. return lastx
  784. end
  785.  
  786.  
  787. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  788. if hit.Parent == nil then
  789. return
  790. end
  791. local h = hit.Parent:FindFirstChild("Humanoid")
  792. for _, v in pairs(hit.Parent:children()) do
  793. if v:IsA("Humanoid") then
  794. h = v
  795. end
  796. end
  797. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  798. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  799. if hit.Parent.DebounceHit.Value == true then
  800. return
  801. end
  802. end
  803. local c = Create("ObjectValue"){
  804. Name = "creator",
  805. Value = game:service("Players").LocalPlayer,
  806. Parent = h,
  807. }
  808. game:GetService("Debris"):AddItem(c, .5)
  809. if HitSound ~= nil and HitPitch ~= nil then
  810. CFuncs["Sound"].Create(HitSound, hit, 1, HitPitch)
  811. end
  812. local Damage = math.random(minim, maxim)
  813. local blocked = false
  814. local block = hit.Parent:findFirstChild("Block")
  815. if block ~= nil then
  816. if block.className == "IntValue" then
  817. if block.Value > 0 then
  818. blocked = true
  819. block.Value = block.Value - 1
  820. print(block.Value)
  821. end
  822. end
  823. end
  824. if blocked == false then
  825. HitHealth=h.Health
  826. h.Health = h.Health - Damage
  827. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
  828. print("gained spree")
  829. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value=game.Players.LocalPlayer.leaderstats.Spree.Value+1
  830. end
  831. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  832. else
  833. h.Health = h.Health - (Damage / 2)
  834. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  835. end
  836. if Type == "Knockdown" then
  837. local hum = hit.Parent.Humanoid
  838. hum.PlatformStand = true
  839. coroutine.resume(coroutine.create(function(HHumanoid)
  840. swait(1)
  841. HHumanoid.PlatformStand = false
  842. end), hum)
  843. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  844. local bodvol = Create("BodyVelocity"){
  845. velocity = angle * knockback,
  846. P = 5000,
  847. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  848. Parent = hit,
  849. }
  850. local rl = Create("BodyAngularVelocity"){
  851. P = 3000,
  852. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  853. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  854. Parent = hit,
  855. }
  856. game:GetService("Debris"):AddItem(bodvol, .5)
  857. game:GetService("Debris"):AddItem(rl, .5)
  858. elseif Type == "Normal" then
  859. local vp = Create("BodyVelocity"){
  860. P = 500,
  861. maxForce = Vector3.new(math.huge, 0, math.huge),
  862. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  863. }
  864. if knockback > 0 then
  865. vp.Parent = hit.Parent.Torso
  866. end
  867. game:GetService("Debris"):AddItem(vp, .5)
  868. elseif Type == "Up" then
  869. local bodyVelocity = Create("BodyVelocity"){
  870. velocity = Vector3.new(0, 20, 0),
  871. P = 5000,
  872. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  873. Parent = hit,
  874. }
  875. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  876.  
  877. local bodyVelocity = Create("BodyVelocity"){
  878. velocity = Vector3.new(0, 20, 0),
  879. P = 5000,
  880. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  881. Parent = hit,
  882. }
  883. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  884. elseif Type == "Snare" then
  885. local bp = Create("BodyPosition"){
  886. P = 2000,
  887. D = 100,
  888. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  889. position = hit.Parent.Torso.Position,
  890. Parent = hit.Parent.Torso,
  891. }
  892. game:GetService("Debris"):AddItem(bp, 1)
  893. elseif Type == "Freeze" then
  894. local BodPos = Create("BodyPosition"){
  895. P = 50000,
  896. D = 1000,
  897. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  898. position = hit.Parent.Torso.Position,
  899. Parent = hit.Parent.Torso,
  900. }
  901. local BodGy = Create("BodyGyro") {
  902. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  903. P = 20e+003,
  904. Parent = hit.Parent.Torso,
  905. cframe = hit.Parent.Torso.CFrame,
  906. }
  907. hit.Parent.Torso.Anchored = true
  908. coroutine.resume(coroutine.create(function(Part)
  909. swait(1.5)
  910. Part.Anchored = false
  911. end), hit.Parent.Torso)
  912. game:GetService("Debris"):AddItem(BodPos, 3)
  913. game:GetService("Debris"):AddItem(BodGy, 3)
  914. end
  915. local debounce = Create("BoolValue"){
  916. Name = "DebounceHit",
  917. Parent = hit.Parent,
  918. Value = true,
  919. }
  920. game:GetService("Debris"):AddItem(debounce, Delay)
  921. c = Instance.new("ObjectValue")
  922. c.Name = "creator"
  923. c.Value = Player
  924. c.Parent = h
  925. game:GetService("Debris"):AddItem(c, .5)
  926. end
  927. end
  928.  
  929. function ShowDamage(Pos, Text, Time, Color)
  930. local Rate = (1 / 30)
  931. local Pos = (Pos or Vector3.new(0, 0, 0))
  932. local Text = (Text or "")
  933. local Time = (Time or 2)
  934. local Color = (Color or Color3.new(1, 0, 1))
  935. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  936. EffectPart.Anchored = true
  937. local BillboardGui = Create("BillboardGui"){
  938. Size = UDim2.new(3, 0, 3, 0),
  939. Adornee = EffectPart,
  940. Parent = EffectPart,
  941. }
  942. local TextLabel = Create("TextLabel"){
  943. BackgroundTransparency = 1,
  944. Size = UDim2.new(1, 0, 1, 0),
  945. Text = Text,
  946. TextColor3 = Color,
  947. TextScaled = true,
  948. Font = Enum.Font.ArialBold,
  949. Parent = BillboardGui,
  950. }
  951. game.Debris:AddItem(EffectPart, (Time + 0.1))
  952. EffectPart.Parent = game:GetService("Workspace")
  953. delay(0, function()
  954. local Frames = (Time / Rate)
  955. for Frame = 1, Frames do
  956. wait(Rate)
  957. local Percent = (Frame / Frames)
  958. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  959. TextLabel.TextTransparency = Percent
  960. end
  961. if EffectPart and EffectPart.Parent then
  962. EffectPart:Destroy()
  963. end
  964. end)
  965. end
  966. function MagniDamage(Part,magni,mindam,maxdam,knock,Type)
  967. for _,c in pairs(workspace:children()) do
  968. local hum=c:findFirstChild("Humanoid")
  969. if hum~=nil then
  970. local head=c:findFirstChild("Torso")
  971. if head~=nil then
  972. local targ=head.Position-Part.Position
  973. local mag=targ.magnitude
  974. if mag<=magni and c.Name~=Player.Name then
  975. --Damagefunc(head,mindam,maxdam,knock,Type,RootPart,.2,1,nil,1)
  976. Damagefunc(head, head, mindam,maxdam, knock, Type, RootPart, .1, "http://www.roblox.com/asset/?id=231917784", 1)
  977. end
  978. end
  979. end
  980. end
  981. end
  982. EffectModel = Instance.new("Model", Character)
  983. EffectModel.Name = "Effects"
  984.  
  985. Effects = {
  986. ["Block"] = {
  987. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  988. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  989. prt.Anchored = true
  990. prt.CFrame = cframe
  991. local msh = CFuncs["Mesh"].Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  992. game:GetService("Debris"):AddItem(prt, 10)
  993. if Type == 1 or Type == nil then
  994. table.insert(Effects, {
  995. prt,
  996. "Block1",
  997. delay,
  998. x3,
  999. y3,
  1000. z3,
  1001. msh
  1002. })
  1003. elseif Type == 2 then
  1004. table.insert(Effects, {
  1005. prt,
  1006. "Block2",
  1007. delay,
  1008. x3,
  1009. y3,
  1010. z3,
  1011. msh
  1012. })
  1013. end
  1014. end;
  1015. };
  1016.  
  1017. ["Sphere"] = {
  1018. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1019. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1020. prt.Anchored = true
  1021. prt.CFrame = cframe
  1022. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1023. game:GetService("Debris"):AddItem(prt, 10)
  1024. table.insert(Effects, {
  1025. prt,
  1026. "Cylinder",
  1027. delay,
  1028. x3,
  1029. y3,
  1030. z3,
  1031. msh
  1032. })
  1033. end;
  1034. };
  1035.  
  1036. ["Ring"] = {
  1037. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1038. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1039. prt.Anchored = true
  1040. prt.CFrame = cframe
  1041. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1042. game:GetService("Debris"):AddItem(prt, 10)
  1043. table.insert(Effects, {
  1044. prt,
  1045. "Cylinder",
  1046. delay,
  1047. x3,
  1048. y3,
  1049. z3,
  1050. msh
  1051. })
  1052. end;
  1053. };
  1054.  
  1055. ["Cylinder"] = {
  1056. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1057. local prt = CFuncs["Part"].Create(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1058. prt.Anchored = true
  1059. prt.CFrame = cframe
  1060. local msh = CFuncs["Mesh"].Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1061. game:GetService("Debris"):AddItem(prt, 2)
  1062. Effects[#Effects + 1] = {
  1063. prt,
  1064. "Cylinder",
  1065. delay,
  1066. x3,
  1067. y3,
  1068. z3,
  1069. msh
  1070. }
  1071. end;
  1072. };
  1073.  
  1074. ["Wave"] = {
  1075. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1076. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1077. prt.Anchored = true
  1078. prt.CFrame = cframe
  1079. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1080. game:GetService("Debris"):AddItem(prt, 10)
  1081. table.insert(Effects, {
  1082. prt,
  1083. "Cylinder",
  1084. delay,
  1085. x3,
  1086. y3,
  1087. z3,
  1088. msh
  1089. })
  1090. end;
  1091. };
  1092.  
  1093. ["Break"] = {
  1094. Create = function(brickcolor, cframe, x1, y1, z1)
  1095. local prt = CFuncs["Part"].Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1096. prt.Anchored = true
  1097. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1098. local msh = CFuncs["Mesh"].Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1099. local num = math.random(10, 50) / 1000
  1100. game:GetService("Debris"):AddItem(prt, 10)
  1101. table.insert(Effects, {
  1102. prt,
  1103. "Shatter",
  1104. num,
  1105. prt.CFrame,
  1106. math.random() - math.random(),
  1107. 0,
  1108. math.random(50, 100) / 100
  1109. })
  1110. end;
  1111. };
  1112. }
  1113.  
  1114. Shoot = function(orgpos)
  1115. rand = 1.5
  1116. 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
  1117. local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p + spread)
  1118. Effects["Sphere"].Create(BrickColor.new("Really red"), CFrame.new(orgpos), 5, 5, 5, 1, 1, 1, 0.1)
  1119. table.insert(Effects, {MouseLook.lookVector, "Shoot", 50, orgpos, 5, 7, 0, 1, 2})
  1120. end
  1121.  
  1122.  
  1123. Shoot2 = function(orgpos)
  1124. local MouseLook = CFrame.new((orgpos + mouse.Hit.p) / 2, mouse.Hit.p)
  1125. Effects["Sphere"].Create(BrickColor.new("Really red"), CFrame.new(orgpos), 5, 5, 5, 3, 3, 3, 0.1)
  1126. table.insert(Effects, {MouseLook.lookVector, "Shoot2", 50, orgpos, 5, 7, 0, 1, 1})
  1127. end
  1128.  
  1129. function attackone()
  1130. attack=true
  1131. local con = RightArm.Touched:connect(function(hit)
  1132. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://191395549", 1)
  1133. end)
  1134. for i = 0, 1, 0.1 do
  1135. swait()
  1136. PlayAnimationFromTable({
  1137. CFrame.new(-8.19563866e-008, -0.926991284, 0.26000905, 0.642788053, -2.1072232e-007, -0.76604408, 0.383023053, 0.866024733, 0.321394652, 0.663413048, -0.500001192, 0.556670368),
  1138. CFrame.new(2.32182992e-006, 1.50000072, -1.66944517e-006, 0.882947683, 2.74181366e-006, 0.469471604, -1.92224979e-006, 1.00000012, -2.23517418e-006, -0.469471574, 1.13248825e-006, 0.882947683),
  1139. 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),
  1140. 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),
  1141. 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),
  1142. CFrame.new(-0.48063159, -1.99999714, -0.137818694, 0.970295548, -0.128200591, 0.205161899, 3.27825546e-007, 0.848046899, 0.529921412, -0.241923124, -0.514180243, 0.822855949),
  1143. }, .3, false)
  1144. end
  1145. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=231917961",RootPart,1,1.5)
  1146. for i = 0, 1, 0.3 do
  1147. swait()
  1148. PlayAnimationFromTable({
  1149. 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),
  1150. 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),
  1151. 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),
  1152. 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),
  1153. 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),
  1154. 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),
  1155. }, .3, false)
  1156. end
  1157. for i = 0, 1, 0.13 do
  1158. swait()
  1159. PlayAnimationFromTable({
  1160. 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),
  1161. 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),
  1162. 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),
  1163. 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),
  1164. 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),
  1165. 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),
  1166. }, .3, false)
  1167. end
  1168. con:disconnect()
  1169. attack=false
  1170. end
  1171.  
  1172. function attacktwo()
  1173. attack=true
  1174. local con = LeftArm.Touched:connect(function(hit)
  1175. Damagefunc(LeftArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://191395549", 1)
  1176. end)
  1177. for i = 0, 1, 0.1 do
  1178. swait()
  1179. PlayAnimationFromTable({
  1180. CFrame.new(-3.57627869e-007, -0.311072171, 0.259536475, 0.719340086, 2.46536985e-007, 0.694658101, -0.144428015, 0.978147566, 0.149559394, -0.679478049, -0.207912162, 0.703620791),
  1181. 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),
  1182. 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),
  1183. 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),
  1184. CFrame.new(0.632559597, -1.715204, -0.597933352, 0.984807849, -1.34110451e-007, -0.173648149, 1.63912773e-007, 1.00000012, 8.94069672e-008, 0.173648149, -1.34110451e-007, 0.984807849),
  1185. CFrame.new(-0.73102808, -2.07069063, 0.239238739, 0.984807849, 0.0650493801, -0.161003947, 1.63912773e-007, 0.927184522, 0.374605268, 0.173648149, -0.368914247, 0.913098454),
  1186. }, .3, false)
  1187. end
  1188. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=231917961",RootPart,1,1.8)
  1189. for i = 0, 1, 0.3 do
  1190. swait()
  1191. PlayAnimationFromTable({
  1192. 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),
  1193. 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),
  1194. 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),
  1195. 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),
  1196. 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),
  1197. 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),
  1198. }, .3, false)
  1199. end
  1200. for i = 0, 1, 0.13 do
  1201. swait()
  1202. PlayAnimationFromTable({
  1203. 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),
  1204. 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),
  1205. 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),
  1206. 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),
  1207. 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),
  1208. 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),
  1209. }, .3, false)
  1210. end
  1211. con:disconnect()
  1212. attack=false
  1213. end
  1214. function attackthree()
  1215. attack=true
  1216. local con = RightArm.Touched:connect(function(hit)
  1217. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Normal", RootPart, .2, "rbxassetid://191395549", 1)
  1218. end)
  1219. for i = 0, 1, 0.1 do
  1220. swait()
  1221. PlayAnimationFromTable({
  1222. CFrame.new(0.00929157436, 1.08033419e-007, 0.302203268, 0.848044395, -0.110175796, -0.518339515, 0, 0.978147864, -0.207910523, 0.529919326, 0.176317334, 0.829512894),
  1223. 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),
  1224. 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),
  1225. 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),
  1226. 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),
  1227. 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),
  1228. }, .3, false)
  1229. end
  1230. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=231917961",RootPart,1,2)
  1231. for i = 0, 1, 0.3 do
  1232. swait()
  1233. PlayAnimationFromTable({
  1234. 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),
  1235. 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),
  1236. 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),
  1237. 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),
  1238. 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),
  1239. 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),
  1240. }, .3, false)
  1241. end
  1242. for i = 0, 1, 0.15 do
  1243. swait()
  1244. PlayAnimationFromTable({
  1245. 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),
  1246. 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),
  1247. 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),
  1248. 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),
  1249. 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),
  1250. 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),
  1251. }, .3, false)
  1252. end
  1253. con:disconnect()
  1254. attack=false
  1255. end
  1256. function boost()
  1257. attack=true
  1258. local con = RightArm.Touched:connect(function(hit)
  1259. Damagefunc(RightArm, hit, 10, 18, math.random(1, 5), "Knockdown", RootPart, .2, "rbxassetid://231917806", 2)
  1260. end)
  1261. for i = 0, 1, 0.075 do
  1262. swait()
  1263. PlayAnimationFromTable({
  1264. CFrame.new(0.00391239673, -1.86264515e-007, 0.132759839, 0.927184582, -0.103254825, -0.360093355, 0, 0.961261988, -0.275636673, 0.374604821, 0.255566061, 0.89126724),
  1265. 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),
  1266. 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),
  1267. 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),
  1268. 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),
  1269. 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),
  1270. }, .2, false)
  1271. end
  1272. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240517987",RootPart,1,2)
  1273. local parti = Instance.new("ParticleEmitter", Thruster1)
  1274. parti.LightEmission = 1
  1275. parti.Texture = "http://www.roblox.com/asset/?id=359293256"
  1276. parti.Size = NumberSequence.new({
  1277. NumberSequenceKeypoint.new(0, 2.06),
  1278. NumberSequenceKeypoint.new(1, 0)
  1279. })
  1280. parti.ZOffset = 0
  1281. parti.LockedToPart = true
  1282. parti.EmissionDirection = "Top"
  1283. parti.Lifetime = NumberRange.new(0, 1.5)
  1284. parti.Rate = 1000
  1285. parti.Speed = NumberRange.new(2, 4)
  1286.  
  1287. local parti2 = Instance.new("ParticleEmitter", Thruster2)
  1288. parti2.LightEmission = 1
  1289. parti2.Texture = "http://www.roblox.com/asset/?id=359293256"
  1290. parti2.Size = NumberSequence.new({
  1291. NumberSequenceKeypoint.new(0, 1.06),
  1292. NumberSequenceKeypoint.new(1, 0)
  1293. })
  1294. parti2.ZOffset = 0
  1295. parti2.LockedToPart = true
  1296. parti2.EmissionDirection = "Bottom"
  1297. parti2.Lifetime = NumberRange.new(0, 1.5)
  1298. parti2.Rate = 1000
  1299. parti2.Speed = NumberRange.new(2, 4)
  1300.  
  1301. local parti3 = Instance.new("ParticleEmitter", Thruster3)
  1302. parti3.LightEmission = 1
  1303. parti3.Texture = "http://www.roblox.com/asset/?id=359293256"
  1304. parti3.Size = NumberSequence.new({
  1305. NumberSequenceKeypoint.new(0, 1.06),
  1306. NumberSequenceKeypoint.new(1, 0)
  1307. })
  1308. parti3.ZOffset = 0
  1309. parti3.LockedToPart = true
  1310. parti3.EmissionDirection = "Bottom"
  1311. parti3.Lifetime = NumberRange.new(0, 1.5)
  1312. parti3.Rate = 1000
  1313. parti3.Speed = NumberRange.new(2, 4)
  1314.  
  1315. for i = 0, 1, 0.3 do
  1316. swait()
  1317. PlayAnimationFromTable({
  1318. 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),
  1319. CFrame.new(0.104893088, 1.51344919, -0.163899526, 0.913545012, -1.04308128e-007, -0.406737924, 0.112112775, 0.961261451, 0.251808256, 0.390981376, -0.27563864, 0.87815547),
  1320. 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),
  1321. 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),
  1322. 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),
  1323. CFrame.new(-0.628583908, -1.958745, 0.424968272, 0.97029686, -2.5331974e-006, 0.24191761, -0.0666790009, 0.961261988, 0.267450064, -0.232546806, -0.275636792, 0.932709277),
  1324. }, .3, false)
  1325. end
  1326. for i = 0,5,1 do
  1327. for i = 0, 1, 0.1 do
  1328. swait()
  1329. Torso.Velocity=RootPart.CFrame.lookVector*75
  1330. PlayAnimationFromTable({
  1331. 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),
  1332. 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),
  1333. 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),
  1334. 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),
  1335. 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),
  1336. CFrame.new(-0.847571194, -2.11993861, -0.201637805, 0.97029686, -2.5331974e-006, 0.24191761, 0.0336715579, 0.990267694, -0.135041565, -0.239562824, 0.13917619, 0.960853755),
  1337. }, .3, false)
  1338. end
  1339. end
  1340. for i = 0, 1, 0.075 do
  1341. swait()
  1342. Torso.Velocity=RootPart.CFrame.lookVector*10
  1343. PlayAnimationFromTable({
  1344. 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),
  1345. 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),
  1346. 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),
  1347. 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),
  1348. 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),
  1349. 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),
  1350. }, .3, false)
  1351. end
  1352. con:disconnect()
  1353. attack=false
  1354. parti2.Parent=nil
  1355. parti3.Parent=nil
  1356. parti.Parent=nil
  1357. end
  1358. function minigunmode()
  1359. attack=true
  1360. minigun=true
  1361. for i = 0, 1, 0.13 do
  1362. swait()
  1363. PlayAnimationFromTable({
  1364. CFrame.new(0, -0, -0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808),
  1365. CFrame.new(-3.35276127e-008, 1.50000012, -7.4505806e-008, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136),
  1366. 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),
  1367. CFrame.new(-1.49244416, 3.27825546e-007, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269),
  1368. CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1369. CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1370. }, .3, false)
  1371. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1372.  
  1373. end
  1374. for i = 0, 1, 0.1 do
  1375. swait()
  1376. PlayAnimationFromTable({
  1377. CFrame.new(0, -0, -0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808),
  1378. CFrame.new(-3.35276127e-008, 1.50000012, -7.4505806e-008, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136),
  1379. 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),
  1380. CFrame.new(-1.49244416, 3.27825546e-007, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269),
  1381. CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1382. CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1383. }, .3, false)
  1384. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(90), math.rad(0)), .3)
  1385.  
  1386. end
  1387. for i = 0, 1, 0.15 do
  1388. swait()
  1389. PlayAnimationFromTable({
  1390. CFrame.new(0, -0, -0, 0.642787576, 0, -0.766044378, 0, 1, 0, 0.766044378, 0, 0.642787576),
  1391. CFrame.new(-7.4505806e-008, 1.50000012, -5.21540642e-008, 0.642787516, -0.080073446, 0.761847854, 0, 0.994521916, 0.104528457, -0.766044319, -0.0671895966, 0.639266312),
  1392. 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),
  1393. CFrame.new(-1.61730015, 7.15255737e-007, 0.310204506, 0.45211184, 0.371111691, 0.811092377, -0.0969422832, 0.924393654, -0.368915498, -0.886677384, 0.0881619602, 0.453905761),
  1394. CFrame.new(0.786227643, -2, 0.0169382486, 0.999847531, 0, -0.017452687, 0, 1, 0, 0.017452687, 0, 0.999847531),
  1395. CFrame.new(-0.250000417, -2, 0.433013648, 0.642787516, 0, 0.766044319, 0, 1, 0, -0.766044319, 0, 0.642787516),
  1396. }, .3, false)
  1397. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(5, 1, -1) * angles(math.rad(0), math.rad(90), math.rad(0)), .3)
  1398. end
  1399. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191395766",RootPart,1,1.5)
  1400. AFMotor2.Transparency = 1
  1401. AMotor2Weld.Part0 = RightArm
  1402. AMotor2Weld.C1 = CFrame.new(-0.035036087, -0.129943848, -1.52000952, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0)
  1403. for i = 0, 1, 0.1 do
  1404. swait()
  1405. PlayAnimationFromTable({
  1406. CFrame.new(0, -0, -0, 0.788010716, 0, -0.615661383, 0, 1, 0, 0.615661383, 0, 0.788010716),
  1407. CFrame.new(-5.06639481e-007, 1.5, -6.2584877e-007, 0.788010657, -0.12800321, 0.602207661, 0, 0.978147626, 0.207911685, -0.615661323, -0.163836643, 0.770790756),
  1408. 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),
  1409. CFrame.new(-1.5233202, 2.08616257e-007, 0.124773204, 0.626582742, 0.344672084, 0.69899565, -0.0969422832, 0.924393654, -0.368915498, -0.773301959, 0.163393885, 0.61262244),
  1410. CFrame.new(0.765525103, -2, 0.180034071, 0.974369884, 0, -0.224951357, 0, 1, 0, 0.224951357, 0, 0.974369884),
  1411. CFrame.new(-0.440464586, -2, 0.0736047029, 0.788010716, 0, 0.615661383, 0, 1, 0, -0.615661383, 0, 0.788010716),
  1412. }, .3, false)
  1413. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0,0,0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1414. end
  1415. attack=false
  1416. end
  1417.  
  1418. function unminigun()
  1419. attack=true
  1420. minigun=true
  1421. for i = 0, 1, 0.13 do
  1422. swait()
  1423. PlayAnimationFromTable({
  1424. CFrame.new(0, -0, -0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808),
  1425. CFrame.new(-3.35276127e-008, 1.50000012, -7.4505806e-008, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136),
  1426. 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),
  1427. CFrame.new(-1.49244416, 3.27825546e-007, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269),
  1428. CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1429. CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1430. }, .3, false)
  1431.  
  1432. end
  1433. for i = 0, 1, 0.1 do
  1434. swait()
  1435. PlayAnimationFromTable({
  1436. CFrame.new(0, -0, -0, 0.920504808, 0, -0.390731037, 0, 1, 0, 0.390731037, 0, 0.920504808),
  1437. CFrame.new(-3.35276127e-008, 1.50000012, -7.4505806e-008, 0.920504749, -0.0408425145, 0.388590544, 0, 0.994521916, 0.104528457, -0.390731007, -0.096218951, 0.915462136),
  1438. 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),
  1439. CFrame.new(-1.49244416, 3.27825546e-007, 0.264654547, 0.805377722, 0.290638238, 0.516619623, -0.0969422758, 0.924393654, -0.368915528, -0.584780812, 0.247034103, 0.772661269),
  1440. CFrame.new(0.419332564, -2, -0.272318661, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1441. CFrame.new(-0.419336081, -2, 0.272320151, 0.920504749, 0, 0.390731007, 0, 1, 0, -0.390731007, 0, 0.920504749),
  1442. }, .3, false)
  1443.  
  1444. end
  1445. for i = 0, 1, 0.15 do
  1446. swait()
  1447. PlayAnimationFromTable({
  1448. CFrame.new(0, -0, -0, 0.642787576, 0, -0.766044378, 0, 1, 0, 0.766044378, 0, 0.642787576),
  1449. CFrame.new(-7.4505806e-008, 1.50000012, -5.21540642e-008, 0.642787516, -0.080073446, 0.761847854, 0, 0.994521916, 0.104528457, -0.766044319, -0.0671895966, 0.639266312),
  1450. 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),
  1451. CFrame.new(-1.61730015, 7.15255737e-007, 0.310204506, 0.45211184, 0.371111691, 0.811092377, -0.0969422832, 0.924393654, -0.368915498, -0.886677384, 0.0881619602, 0.453905761),
  1452. CFrame.new(0.786227643, -2, 0.0169382486, 0.999847531, 0, -0.017452687, 0, 1, 0, 0.017452687, 0, 0.999847531),
  1453. CFrame.new(-0.250000417, -2, 0.433013648, 0.642787516, 0, 0.766044319, 0, 1, 0, -0.766044319, 0, 0.642787516),
  1454. }, .3, false)
  1455. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, -5) * angles(math.rad(0), math.rad(90), math.rad(0)), .3)
  1456. end
  1457. AMotor2Weld.Part0 = RootPart
  1458. AMotor2Weld.C1 = CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  1459. attack=false
  1460. minigun=false
  1461. end
  1462.  
  1463. function mattackone()
  1464. attack=true
  1465. for i = 0, 1, 0.1 do
  1466. swait()
  1467. PlayAnimationFromTable({
  1468. CFrame.new(-0, 0, 0, 0.766044438, 0, 0.642787576, -0.144595742, 0.974370062, 0.172322497, -0.626312971, -0.224951044, 0.746410787),
  1469. 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),
  1470. 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),
  1471. 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),
  1472. 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),
  1473. 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),
  1474. }, .3, false)
  1475. end
  1476. for i = 0,5,1 do
  1477. for i = 0, 1, 0.5 do
  1478. swait()
  1479. PlayAnimationFromTable({
  1480. CFrame.new(-0, 0, 0, 0.854590118, 0.035190098, 0.518109441, -0.144595742, 0.974370062, 0.172322497, -0.498766273, -0.222181529, 0.83777535),
  1481. 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),
  1482. 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),
  1483. 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),
  1484. 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),
  1485. 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),
  1486. }, .4, false)
  1487. end
  1488. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233370772",RootPart,1,1.2)
  1489. Shoot(Barrel2.Position)
  1490. for i = 0, 1, 0.5 do
  1491. swait()
  1492. PlayAnimationFromTable({
  1493. CFrame.new(-0, 0, 0, 0.93405807, 0.0769378245, 0.348735064, -0.144595742, 0.974370062, 0.172322497, -0.32653892, -0.211384833, 0.921243072),
  1494. 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),
  1495. 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),
  1496. 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),
  1497. 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),
  1498. 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),
  1499. }, .4, false)
  1500. end
  1501. end
  1502. attack=false
  1503. end
  1504.  
  1505. function mattackthree()
  1506. attack=true
  1507. for i = 0, 1, 0.1 do
  1508. swait()
  1509. PlayAnimationFromTable({
  1510. CFrame.new(-0, -0, 0, 0.469471633, 0, 0.882947564, 0, 1, 0, -0.882947564, 0, 0.469471633),
  1511. CFrame.new(0, 1.5, 0, 0.469471604, 0, -0.882947505, 0, 1, 0, 0.882947505, 0, 0.469471604),
  1512. CFrame.new(1.0305258, 1.00000048, -0.882950068, 0.848008096, 0.529983222, -9.50098038e-005, 0.215463251, -0.344919175, -0.913567901, -0.484208375, 0.774692535, -0.406686187),
  1513. CFrame.new(-1.49999595, -1.87754631e-006, 3.51667404e-006, 0.817598403, 0.543970585, -0.188755706, -0.482325882, 0.467993826, -0.740502179, -0.31447494, 0.696475148, 0.645002246),
  1514. CFrame.new(0.498095661, -2, 0.0435770601, 0.965925753, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925753),
  1515. CFrame.new(-0.49809885, -2, -0.0435798988, 0.965925753, 0, -0.258818984, 0, 1, 0, 0.258818984, 0, 0.965925753),
  1516. }, .3, false)
  1517.  
  1518. end
  1519.  
  1520. for i = 0, 1, 0.2 do
  1521. swait()
  1522. PlayAnimationFromTable({
  1523. CFrame.new(-0, 0, 0, 0.987688422, 0, 0.156434387, -0.0457369946, 0.956304729, 0.288772196, -0.149598941, -0.29237175, 0.944531083),
  1524. 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),
  1525. 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),
  1526. 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),
  1527. 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),
  1528. 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),
  1529. }, .3, false)
  1530. end
  1531. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233370772",RootPart,1,1.2)
  1532. Shoot(Barrel2.Position)
  1533. for i = 0, 1, 0.2 do
  1534. swait()
  1535. PlayAnimationFromTable({
  1536. CFrame.new(0, 0, 0, 0.994541168, 0.0707310885, -0.0767150074, -0.0457369946, 0.956304729, 0.288772196, 0.0937881023, -0.283687085, 0.954319417),
  1537. 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),
  1538. 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),
  1539. 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),
  1540. 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),
  1541. 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),
  1542. }, .3, false)
  1543. end
  1544. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233370772",RootPart,1,1.2)
  1545. Shoot(Barrel2.Position)
  1546. for i = 0, 1, 0.15 do
  1547. swait()
  1548. PlayAnimationFromTable({
  1549. CFrame.new(0, 0, 0, 0.737832844, 0.227215499, -0.63559103, -0.0457369946, 0.956304729, 0.288772196, 0.673432291, -0.18399556, 0.715985119),
  1550. 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),
  1551. 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),
  1552. 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),
  1553. 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),
  1554. CFrame.new(-0.267897666, -2.10419893, 9.35792923e-006, 0.965420246, -0.034111429, 0.25845778, 0.0634135231, 0.992352903, -0.105897792, -0.25286904, 0.118625574, 0.960200548),
  1555. }, .3, false)
  1556. end
  1557. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233370772",RootPart,1,1.2)
  1558. Shoot(Barrel2.Position)
  1559. attack=false
  1560. end
  1561.  
  1562. function railcannonmode()
  1563. attack=true
  1564. railcannon=true
  1565. for i = 0, 1, 0.15 do
  1566. swait()
  1567. PlayAnimationFromTable({
  1568. CFrame.new(-0, -0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399),
  1569. CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339),
  1570. CFrame.new(1.54411411, 1.1920929e-007, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107),
  1571. 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),
  1572. CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497),
  1573. CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047),
  1574. }, .3, false)
  1575. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1576. end
  1577. for i = 0, 1, 0.1 do
  1578. swait()
  1579. PlayAnimationFromTable({
  1580. CFrame.new(-0, -0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399),
  1581. CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339),
  1582. CFrame.new(1.54411411, 1.1920929e-007, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107),
  1583. 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),
  1584. CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497),
  1585. CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047),
  1586. }, .3, false)
  1587. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 1, -1.5) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3)
  1588. end
  1589.  
  1590. for i = 0, 1, 0.15 do
  1591. swait()
  1592. PlayAnimationFromTable({
  1593. CFrame.new(-0, -0, 0, 0.20791164, 0, 0.978147566, 0, 1, 0, -0.978147566, 0, 0.20791164),
  1594. 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),
  1595. CFrame.new(1.40917015, 2.23517418e-007, 0.0861120224, 0.731854618, -0.12904571, -0.669130623, 0.173648149, 0.98480773, 0, 0.658965051, -0.11619328, 0.743144751),
  1596. 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),
  1597. CFrame.new(0.436129451, -2, -0.0561523139, 0.777145803, 0, -0.629320502, 0, 1, 0, 0.629320502, 0, 0.777145803),
  1598. CFrame.new(-0.46198675, -2, -0.202549219, 0.987688243, 0, -0.1564347, 0, 1, 0, 0.1564347, 0, 0.987688243),
  1599. }, .3, false)
  1600. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(-5, 1, -1) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3)
  1601. end
  1602. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191395766",RootPart,1,1.5)
  1603. AMotorWeld.Part0 = LeftArm
  1604. AMotorWeld.C1 = CFrame.new(-0.0355796814, 0.0145721436, -1.61501646, 0, 0, 1, 1, 0, 0, 0, 0.999999881, 0)
  1605.  
  1606. for i = 0, 1, 0.1 do
  1607. swait()
  1608. PlayAnimationFromTable({
  1609. CFrame.new(-0, -0, 0, 0.438371003, 0, 0.898794115, 0, 1, 0, -0.898794115, 0, 0.438371003),
  1610. 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),
  1611. CFrame.new(1.56349134, 1.49011612e-007, 0.102161653, 0.977467179, -0.172353759, -0.121869534, 0.173648119, 0.984807789, 0, 0.120018095, -0.0211624131, 0.992546141),
  1612. 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),
  1613. CFrame.new(0.409590125, -2, -0.159993559, 0.906307638, 0, -0.422618568, 0, 1, 0, 0.422618568, 0, 0.906307638),
  1614. CFrame.new(-0.497264832, -2, -0.0847679749, 0.996194661, 0, 0.0871553719, 0, 1, 0, -0.0871553719, 0, 0.996194661),
  1615. }, .3, false)
  1616. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0,0,0) * angles(math.rad(0), math.rad(0), math.rad(0)), .6)
  1617. end
  1618. attack=false
  1619.  
  1620. end
  1621.  
  1622. function unrailcannon()
  1623. attack=true
  1624. railcannon=true
  1625. for i = 0, 1, 0.15 do
  1626. swait()
  1627. PlayAnimationFromTable({
  1628. CFrame.new(-0, -0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399),
  1629. CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339),
  1630. CFrame.new(1.54411411, 1.1920929e-007, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107),
  1631. 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),
  1632. CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497),
  1633. CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047),
  1634. }, .3, false)
  1635. end
  1636. for i = 0, 1, 0.1 do
  1637. swait()
  1638. PlayAnimationFromTable({
  1639. CFrame.new(-0, -0, 0, 0.933580399, 0, 0.35836792, 0, 1, 0, -0.35836792, 0, 0.933580399),
  1640. CFrame.new(0, 1.5, 0, 0.933580339, 0, -0.35836789, 0, 1, 0, 0.35836789, 0, 0.933580339),
  1641. CFrame.new(1.54411411, 1.1920929e-007, 0.0994966179, 0.966713905, -0.170457721, -0.190809011, 0.173648149, 0.98480773, 0, 0.187910169, -0.033133626, 0.981627107),
  1642. 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),
  1643. CFrame.new(0.499920011, -2, 0.00872536004, 0.939692497, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692497),
  1644. CFrame.new(-0.499926776, -2, -0.00872655213, 0.981627047, 0, -0.19080919, 0, 1, 0, 0.19080919, 0, 0.981627047),
  1645. }, .3, false)
  1646. end
  1647.  
  1648. for i = 0, 1, 0.15 do
  1649. swait()
  1650. PlayAnimationFromTable({
  1651. CFrame.new(-0, -0, 0, 0.20791164, 0, 0.978147566, 0, 1, 0, -0.978147566, 0, 0.20791164),
  1652. 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),
  1653. CFrame.new(1.40917015, 2.23517418e-007, 0.0861120224, 0.731854618, -0.12904571, -0.669130623, 0.173648149, 0.98480773, 0, 0.658965051, -0.11619328, 0.743144751),
  1654. 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),
  1655. CFrame.new(0.436129451, -2, -0.0561523139, 0.777145803, 0, -0.629320502, 0, 1, 0, 0.629320502, 0, 0.777145803),
  1656. CFrame.new(-0.46198675, -2, -0.202549219, 0.987688243, 0, -0.1564347, 0, 1, 0, 0.1564347, 0, 0.987688243),
  1657. }, .3, false)
  1658. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, -5) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3)
  1659. end
  1660. AMotorWeld.Part0 = RootPart
  1661. AMotorWeld.C1 = CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  1662. attack=false
  1663. railcannon=false
  1664. end
  1665.  
  1666. function Laser(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1667. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1668. prt.Anchored = true
  1669. prt.CFrame = cframe
  1670. prt.Material = "Neon"
  1671. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1672. game:GetService("Debris"):AddItem(prt, 10)
  1673. coroutine.resume(coroutine.create(function(Part, Mesh)
  1674. for i = 0, 1, delay do
  1675. swait()
  1676. Part.Transparency = i
  1677. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1678. end
  1679. Part.Parent = nil
  1680. end), prt, msh)
  1681. end
  1682.  
  1683.  
  1684. function shoottraildd(mouse,partt, SpreadAmount,multiply,Type)
  1685. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1686. local MainPos = partt.Position
  1687. local MainPos2 = mouse.Hit.p + SpreadVectors
  1688. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1689. local speed = 50
  1690. local num = 20
  1691. coroutine.resume(coroutine.create(function()
  1692. repeat
  1693. swait()
  1694. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1695. local mag = (MainPos - pos).magnitude
  1696. if Type == "Explosive" then
  1697. 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)
  1698. elseif Type == "Poison" then
  1699. 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)
  1700. Effects["Sphere"].Create(BrickColor.new("Bright violet"),CFrame.new((MainPos+pos) / 2,pos),1,1,1,2,2,2,0.07)
  1701. elseif Type == "Stun" then
  1702. 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)
  1703. end
  1704. MainPos = MainPos + (MouseLook.lookVector * speed)
  1705. num = num - 1
  1706. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1707. if hit ~= nil then
  1708. num = 0
  1709. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1710. refpart.Anchored = true
  1711. refpart.CFrame = CFrame.new(pos)
  1712.  
  1713. game:GetService("Debris"):AddItem(refpart, 2)
  1714. end
  1715. if num <= 0 then
  1716. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1717. refpart.Anchored = true
  1718. refpart.CFrame = CFrame.new(pos)
  1719. if hit ~= nil then
  1720. if Type=="Explosive" then
  1721. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233856079",refpart,1,2)
  1722. Effects["Block"].Create(BrickColor.new("Really red"),refpart.CFrame,1,1,1,10,10,10,0.07)
  1723. Effects["Ring"].Create(BrickColor.new("Really red"),refpart.CFrame,1,9999,1,1,0,1,0.02)
  1724. MagniDamage(refpart, 15, 20, 30, 5,"Knockdown")
  1725. elseif Type == "Poison" then
  1726. if hit.Name == "Head" then
  1727. Effects["Block"].Create(BrickColor.new("Bright violet"),refpart.CFrame,1,1,1,1,1,1,0.07)
  1728. MagniDamage(refpart, 5, 18*multiply, 20*multiply, 0,"Curse")
  1729. else
  1730. Effects["Sphere"].Create(BrickColor.new("Bright violet"),refpart.CFrame,1,1,1,1,1,1,0.07)
  1731. MagniDamage(refpart, 5, 3*multiply, 3*multiply, 0,"Curse")
  1732. end
  1733. elseif Type=="Stun" then
  1734. Effects["Block"].Create(BrickColor.new("White"),refpart.CFrame,1,1,1,1,1,1,0.07)
  1735. MagniDamage(refpart, 5, 10*multiply, 10*multiply, 0,"Freeze")
  1736. end
  1737. end
  1738. game:GetService("Debris"):AddItem(refpart, 0)
  1739.  
  1740. end
  1741. until num <= 0
  1742. end))
  1743. end
  1744.  
  1745. function mattacktwo()
  1746. attack=true
  1747. for i = 0, 1, 0.1 do
  1748. swait()
  1749. PlayAnimationFromTable({
  1750. CFrame.new(0, -0, -0, 0.642787457, 0, -0.766044497, 0, 1, 0, 0.766044497, 0, 0.642787457),
  1751. CFrame.new(0, 1.5, 0, 0.642787397, 0, 0.766044438, 0, 1, 0, -0.766044438, 0, 0.642787397),
  1752. 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),
  1753. 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),
  1754. CFrame.new(0.499997288, -2, -8.27014446e-007, 0.984807611, 0, -0.173648089, 0, 1, 0, 0.173648089, 0, 0.984807611),
  1755. CFrame.new(-0.500000715, -2, -1.71363354e-006, 0.984807611, 0, -0.173648089, 0, 1, 0, 0.173648089, 0, 0.984807611),
  1756. }, .3, false)
  1757. end
  1758. for i = 0, 1, 0.2 do
  1759. swait()
  1760. PlayAnimationFromTable({
  1761. CFrame.new(0.0946200788, -1.02445483e-008, 0.0625146329, 0.754709721, 0, 0.656058848, 0, 1, 0, -0.656058848, 0, 0.754709721),
  1762. CFrame.new(-0.0303973816, 1.5, -0.109256268, 0.754709661, 0, -0.656058788, 0, 1, 0, 0.656058788, 0, 0.754709661),
  1763. 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),
  1764. 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),
  1765. CFrame.new(0.49999702, -2, 1.08778477e-006, 0.98480773, 0, -0.173648208, 0, 1, 0, 0.173648208, 0, 0.98480773),
  1766. CFrame.new(-0.500001788, -2, 3.88175249e-006, 0.98480773, 0, -0.173648208, 0, 1, 0, 0.173648208, 0, 0.98480773),
  1767. }, .3, false)
  1768. end
  1769. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410077",RootPart,1,1.5)
  1770. Shoot2(Barrel.Position)
  1771. for i = 0, 1, 0.1 do
  1772. swait()
  1773. PlayAnimationFromTable({
  1774. CFrame.new(0.094619967, -1.02445483e-008, 0.0625145137, 0.99254632, 0, 0.121869221, 0, 1, 0, -0.121869221, 0, 0.99254632),
  1775. CFrame.new(-0.0862959102, 1.5, -0.0735795721, 0.99254626, 0, -0.121869214, 0, 1, 0, 0.121869214, 0, 0.99254626),
  1776. 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),
  1777. 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),
  1778. CFrame.new(0.487180531, -2, -0.112473622, 0.998629689, 0, 0.0523357466, 0, 1, 0, -0.0523357466, 0, 0.998629689),
  1779. CFrame.new(-0.487187862, -2, 0.112479731, 0.998629689, 0, 0.0523357466, 0, 1, 0, -0.0523357466, 0, 0.998629689),
  1780. }, .3, false)
  1781. end
  1782. attack=false
  1783. end
  1784.  
  1785. function ult()
  1786. attack=true
  1787. for i = 0, 1, 0.1 do
  1788. swait()
  1789. PlayAnimationFromTable({
  1790. CFrame.new(-1.12503767e-006, 0, -0.39999944, 0.98480773, 0, 0.173648149, -0.0565343052, 0.945518553, 0.320622027, -0.164187551, -0.32556814, 0.931153953),
  1791. 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),
  1792. 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),
  1793. 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),
  1794. 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),
  1795. 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),
  1796. }, .3, false)
  1797. end
  1798. for i = 0, 1, 0.3 do
  1799. swait()
  1800. PlayAnimationFromTable({
  1801. CFrame.new(3.3415854e-006, 5.14090061e-007, 0.300000042, 0.991635323, -0.0942734778, -0.088158071, 0.0593911409, 0.939692676, -0.33682391, 0.114595056, 0.328770667, 0.937431514),
  1802. 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),
  1803. 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),
  1804. 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),
  1805. 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),
  1806. 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),
  1807. }, .3, false)
  1808. end
  1809. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=231917822",RootPart,1,1)
  1810. Effects["Sphere"].Create(BrickColor.new("Persimmon"), RootPart.CFrame, 55, 55, 55, .5, .5, .5, 0.03)
  1811. g.Parent=nil
  1812. ge.Parent=nil
  1813. for i = 0, 1, 0.13 do
  1814. swait()
  1815. PlayAnimationFromTable({
  1816. CFrame.new(-6.27711415e-007, -3.87430191e-007, 0.300000131, 0.991635323, -0.0942734778, -0.088158071, 0.0449828133, 0.892621279, -0.448557526, 0.120978847, 0.440839857, 0.889395535),
  1817. 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),
  1818. 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),
  1819. 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),
  1820. 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),
  1821. 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),
  1822. }, .3, false)
  1823. end
  1824. --[[AMotorWeld.Part0 = RootPart
  1825. AMotorWeld.C1 = CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  1826. AMotor2Weld.Part0 = RootPart
  1827. AMotor2Weld.C1 = CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  1828. AFMotor.Transparency=0
  1829. AFMotor2.Transparency=0]]
  1830. minigun=false
  1831. railcannon=false
  1832. for i = 0, 1, 0.1 do
  1833. swait()
  1834. PlayAnimationFromTable({
  1835. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1836. 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),
  1837. CFrame.new(0.990585089, -2.5331974e-007, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141),
  1838. 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),
  1839. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1840. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1841. }, .3, false)
  1842. end
  1843. for i = 0, 1, 0.3 do
  1844. swait()
  1845. PlayAnimationFromTable({
  1846. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1847. 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),
  1848. CFrame.new(0.990584075, 5.96046448e-007, -0.972867489, -0.322262019, 0.686789989, 0.651510954, 0.944314957, 0.281537294, 0.170311525, -0.066456385, 0.670116484, -0.739274919),
  1849. 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),
  1850. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1851. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1852. }, .3, false)
  1853. end
  1854. for i = 0, 1, 0.2 do
  1855. swait()
  1856. PlayAnimationFromTable({
  1857. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1858. 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),
  1859. 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),
  1860. 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),
  1861. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1862. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1863. }, .3, false)
  1864. end
  1865. for i = 0, 1, 0.2 do
  1866. swait()
  1867. PlayAnimationFromTable({
  1868. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1869. 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),
  1870. CFrame.new(0.990585089, -2.5331974e-007, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141),
  1871. 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),
  1872. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1873. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1874. }, .3, false)
  1875. end
  1876. for i = 0, 1, 0.2 do
  1877. swait()
  1878. PlayAnimationFromTable({
  1879. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1880. 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),
  1881. 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),
  1882. 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),
  1883. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1884. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1885. }, .3, false)
  1886. end
  1887. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=231917822",RootPart,1,.8)
  1888. can.Parent=Character
  1889. Effects["Sphere"].Create(BrickColor.new("Persimmon"), AFMotor3.CFrame, 105, 105, 105, .5, .5, .5, 0.03)
  1890. for i = 0, 1, 0.2 do
  1891. swait()
  1892. PlayAnimationFromTable({
  1893. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1894. 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),
  1895. 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),
  1896. 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),
  1897. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1898. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1899. }, .3, false)
  1900. end
  1901. for i = 0, 1, 0.1 do
  1902. swait()
  1903. PlayAnimationFromTable({
  1904. CFrame.new(-0, -0, 0, 0.325568169, 0, 0.945518494, 0, 1, 0, -0.945518494, 0, 0.325568169),
  1905. CFrame.new(-8.7544322e-008, 1.50000048, 3.0733645e-008, 0.325568169, -0.0165014714, -0.945374548, 0, 0.99984777, -0.0174522996, 0.945518494, 0.00568191335, 0.325518608),
  1906. 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),
  1907. 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),
  1908. CFrame.new(0.750989377, -2, 0.0219423026, 0.965925813, 0, -0.258819163, 0, 1, 0, 0.258819163, 0, 0.965925813),
  1909. CFrame.new(-0.387374163, -2, -0.0333242267, 0.838670373, 0, -0.544638991, 0, 1, 0, 0.544638991, 0, 0.838670373),
  1910. }, .3, false)
  1911. end
  1912. omega = true
  1913. attack=false
  1914. end
  1915.  
  1916. function attackfour()
  1917. attack=true
  1918. local hohe = math.random(-20,-10)
  1919. local hehe = math.random(-10,10)
  1920. for i = 0, 1, 0.1 do
  1921. swait()
  1922. PlayAnimationFromTable({
  1923. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1924. 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),
  1925. CFrame.new(0.990585089, -2.5331974e-007, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141),
  1926. 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),
  1927. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1928. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1929. }, .3, false)
  1930. end
  1931. for i = 0, 1, 0.3 do
  1932. swait()
  1933. PlayAnimationFromTable({
  1934. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1935. 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),
  1936. CFrame.new(0.990584075, 5.96046448e-007, -0.972867489, -0.322262019, 0.686789989, 0.651510954, 0.944314957, 0.281537294, 0.170311525, -0.066456385, 0.670116484, -0.739274919),
  1937. 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),
  1938. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1939. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1940. }, .3, false)
  1941. end
  1942. for i = 0, 1, 0.2 do
  1943. swait()
  1944. PlayAnimationFromTable({
  1945. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1946. 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),
  1947. 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),
  1948. 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),
  1949. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1950. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1951. }, .3, false)
  1952. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 5) * angles(math.rad(hohe), math.rad(hehe), math.rad(0)), .3)
  1953. end
  1954. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233856079",RootPart,1,1)
  1955. Effects["Sphere"].Create(BrickColor.new("Really red"), Barrel3.CFrame, 15, 15, 15, .5, .5, .5, 0.03)
  1956. shoottraildd(mouse,Barrel3, 0,2,"Explosive")
  1957. for i = 0, 1, 0.2 do
  1958. swait()
  1959. PlayAnimationFromTable({
  1960. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1961. 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),
  1962. CFrame.new(0.990585089, -2.5331974e-007, -0.972866297, -0.210851848, 0.71165657, 0.670139015, 0.977479398, 0.147404209, 0.151016682, 0.00869072229, 0.686889231, -0.726710141),
  1963. 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),
  1964. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1965. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1966. }, .3, false)
  1967. end
  1968. for i = 0, 1, 0.2 do
  1969. swait()
  1970. PlayAnimationFromTable({
  1971. CFrame.new(-0, -0, 0, 0.829037547, 0, 0.559192896, 0, 1, 0, -0.559192896, 0, 0.829037547),
  1972. 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),
  1973. 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),
  1974. 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),
  1975. CFrame.new(0.680448771, -2, -0.128245741, 0.96126163, 0, -0.275637388, 0, 1, 0, 0.275637388, 0, 0.96126163),
  1976. CFrame.new(-0.456773728, -2, -0.203368619, 0.829037488, 0, -0.559192836, 0, 1, 0, 0.559192836, 0, 0.829037488),
  1977. }, .3, false)
  1978. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1979. end
  1980. attack=false
  1981. end
  1982. --[[Attacks]]--
  1983.  
  1984. mouse.Button1Down:connect(function()
  1985. if attack == false and attacktype == 1 then
  1986. if minigun == true and cooldown2>=0 then
  1987. cooldown2=cooldown2-3
  1988. attacktype=2
  1989. mattackone()
  1990. else
  1991. if minigun==true then
  1992. unminigun()
  1993. else
  1994. attacktype=2
  1995. attackone()
  1996. end
  1997. end
  1998. elseif attack == false and attacktype == 2 then
  1999. if railcannon == true and cooldown3>=0 then
  2000. cooldown3=cooldown3-5
  2001. attacktype=3
  2002. mattacktwo()
  2003. else
  2004. if railcannon==true then
  2005. unrailcannon()
  2006. attacktype=1
  2007. else
  2008. attacktype=3
  2009. attacktwo()
  2010. end
  2011. end
  2012. elseif attack == false and attacktype == 3 then
  2013. if minigun == true and cooldown2>=0 then
  2014. cooldown2=cooldown2-3
  2015. attacktype=1
  2016. mattackthree()
  2017. else
  2018. if minigun==true then
  2019. unminigun()
  2020. else
  2021. if omega==true then
  2022. attacktype=4
  2023. attackthree()
  2024. else
  2025. attacktype=1
  2026. attackthree()
  2027. end
  2028. end
  2029. end
  2030. elseif attack==false and attacktype==4 then
  2031. if omega == true and cooldown4>=0 then
  2032. cooldown4=cooldown4-5
  2033. attacktype=1
  2034. attackfour()
  2035. else
  2036. goback()
  2037. attacktype=1
  2038.  
  2039. end
  2040.  
  2041. end
  2042. end)
  2043.  
  2044.  
  2045. function updateskills()
  2046. if minigun == true then
  2047. text2.Text = "X\n Ammo"
  2048. else
  2049. text2.Text = "X\n Equip DDJ Multishot"
  2050. end
  2051. if railcannon == true then
  2052. text3.Text = "C\n Ammo"
  2053. else
  2054. text3.Text = "[C]\n Equip QRR-3 Railcannon"
  2055. end
  2056. if omega == true then
  2057. text4.Text = "[V]\n Ammo"
  2058. else
  2059. text4.Text = "[V]\n Equip RRE3 Blackout"
  2060. end
  2061. if cooldown1 <= co1 then
  2062. cooldown1 = cooldown1 + 1 / 30
  2063. end
  2064. if cooldown2 <= co2 and minigun == false then
  2065. cooldown2 = cooldown2 + 1 / 30
  2066. end
  2067. if cooldown3 <= co3 and railcannon == false then
  2068. cooldown3 = cooldown3 + 1 / 30
  2069. end
  2070. if cooldown4 <= co4 and omega == false then
  2071. cooldown4 = cooldown4 + 1 / 30
  2072. end
  2073. end
  2074. function goback()
  2075. attack=true
  2076. for i = 0, 1, 0.1 do
  2077. swait()
  2078. PlayAnimationFromTable({
  2079. CFrame.new(-0, -0, 0, 0.906307757, 0, 0.42261821, 0, 1, 0, -0.42261821, 0, 0.906307757),
  2080. CFrame.new(0, 1.5, 0, 0.906307697, 0, -0.422618181, 0, 1, 0, 0.422618181, 0, 0.906307697),
  2081. 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),
  2082. CFrame.new(-1.44888604, -3.78349796e-008, -0.388228029, 0.964929819, 0.0809203684, -0.249724105, -0.134298533, 0.96955663, -0.204753056, 0.225552931, 0.231109917, 0.946421623),
  2083. CFrame.new(0.497257799, -2, -0.0522656441, 0.874619603, 0, -0.484809637, 0, 1, 0, 0.484809637, 0, 0.874619603),
  2084. CFrame.new(-0.49726212, -2, 0.0522664487, 0.997563958, 0, -0.0697563291, 0, 1, 0, 0.0697563291, 0, 0.997563958),
  2085. }, .3, false)
  2086. end
  2087. for i = 0, 1, 0.2 do
  2088. swait()
  2089. PlayAnimationFromTable({
  2090. CFrame.new(-0, -0, 0, 0.906307757, 0, 0.42261821, 0, 1, 0, -0.42261821, 0, 0.906307757),
  2091. CFrame.new(0, 1.5, 0, 0.906307697, 0, -0.422618181, 0, 1, 0, 0.422618181, 0, 0.906307697),
  2092. 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),
  2093. CFrame.new(-1.57567263, 1.45286322e-007, -0.116335958, 0.964929819, 0.0809203684, -0.249724105, -0.134298533, 0.96955663, -0.204753056, 0.225552931, 0.231109917, 0.946421623),
  2094. CFrame.new(0.497257799, -2, -0.0522656441, 0.874619603, 0, -0.484809637, 0, 1, 0, 0.484809637, 0, 0.874619603),
  2095. CFrame.new(-0.49726212, -2, 0.0522664487, 0.997563958, 0, -0.0697563291, 0, 1, 0, 0.0697563291, 0, 0.997563958),
  2096. }, .3, false)
  2097. end
  2098. for i = 0, 1, 0.1 do
  2099. swait()
  2100. PlayAnimationFromTable({
  2101. CFrame.new(0, -0, -0, 0.970295727, 0, -0.241921693, 0, 1, 0, 0.241921693, 0, 0.970295727),
  2102. CFrame.new(0, 1.5, 0, 0.970295668, 0, 0.241921678, 0, 1, 0, -0.241921678, 0, 0.970295668),
  2103. 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),
  2104. CFrame.new(-1.44289422, -5.96046448e-008, 0.319016129, 0.882078886, 0.32923764, 0.336955696, -0.00186546892, 0.717686236, -0.696364105, -0.471097738, 0.613619506, 0.633670092),
  2105. CFrame.new(0.482769817, -2, -0.175085574, 0.978147507, 0, -0.207911983, 0, 1, 0, 0.207911983, 0, 0.978147507),
  2106. CFrame.new(-0.437726796, -2, 0.215645447, 0.974370062, 0, 0.224950939, 0, 1, 0, -0.224950939, 0, 0.974370062),
  2107. }, .3, false)
  2108. end
  2109. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233096543",RootPart,1,1)
  2110. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=233091205",RootPart,1,1)
  2111. Effects["Sphere"].Create(BrickColor.new("Persimmon"), AFMotor3.CFrame, 105, 105, 105, -.5, -.5, -.5, 0.03)
  2112. can.Parent=nil
  2113. for i = 0, 1, 0.3 do
  2114. swait()
  2115. PlayAnimationFromTable({
  2116. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2117. 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),
  2118. 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),
  2119. 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),
  2120. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2121. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2122. }, .3, false)
  2123. end
  2124. for i = 0, 1, 0.2 do
  2125. swait()
  2126. PlayAnimationFromTable({
  2127. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2128. 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),
  2129. CFrame.new(0.766876101, -3.42726707e-007, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499),
  2130. 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),
  2131. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2132. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2133. }, .3, false)
  2134. end
  2135. for i = 0, 1, 0.2 do
  2136. swait()
  2137. PlayAnimationFromTable({
  2138. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2139. 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),
  2140. 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),
  2141. 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),
  2142. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2143. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2144. }, .3, false)
  2145. end
  2146. for i = 0, 1, 0.2 do
  2147. swait()
  2148. PlayAnimationFromTable({
  2149. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2150. 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),
  2151. CFrame.new(0.766876101, -3.42726707e-007, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499),
  2152. 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),
  2153. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2154. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2155. }, .3, false)
  2156. end
  2157. for i = 0, 1, 0.2 do
  2158. swait()
  2159. PlayAnimationFromTable({
  2160. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2161. 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),
  2162. 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),
  2163. 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),
  2164. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2165. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2166. }, .3, false)
  2167. end
  2168. for i = 0, 1, 0.3 do
  2169. swait()
  2170. PlayAnimationFromTable({
  2171. CFrame.new(-0, -0, 0, 0.857167125, 0, 0.515038252, 0, 1, 0, -0.515038252, 0, 0.857167125),
  2172. 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),
  2173. CFrame.new(0.766876101, -3.42726707e-007, -1.12638724, 0.0371247493, 0.644972682, 0.76330328, 0.988847971, 0.0865307152, -0.12121091, -0.144226894, 0.759290814, -0.634567499),
  2174. 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),
  2175. CFrame.new(0.53013283, -2, 0.092574805, 0.819151759, 0, -0.573576689, 0, 1, 0, 0.573576689, 0, 0.819151759),
  2176. CFrame.new(-0.469853103, -2, 0.0925830379, 0.98480767, 0, -0.173648357, 0, 1, 0, 0.173648357, 0, 0.98480767),
  2177. }, .3, false)
  2178. end
  2179. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289",RootPart,1,1)
  2180. Effects["Sphere"].Create(BrickColor.new("Persimmon"), RootPart.CFrame, 55, 55, 55, .5, .5, .5, 0.03)
  2181. ge.Parent=Character
  2182. g.Parent = Character
  2183. AMotorWeld.Part0 = RootPart
  2184. AMotorWeld.C1 = CFrame.new(-4.78009033, 1.56501913, -2.5500164, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  2185. AMotor2Weld.Part0 = RootPart
  2186. AMotor2Weld.C1 = CFrame.new(4.47993469, 1.56501913, -1.70001793, -1, 0, 0, 0, -1, 0, -0, -0, 1)
  2187. AFMotor.Transparency=0
  2188. AFMotor2.Transparency=0
  2189. for i = 0, 1, 0.2 do
  2190. swait()
  2191. PlayAnimationFromTable({
  2192. CFrame.new(0, -0, -0, 0.974370122, 0, -0.224950582, 0, 1, 0, 0.224950582, 0, 0.974370122),
  2193. 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),
  2194. CFrame.new(1.88297892, 4.17232513e-007, -0.188890129, 0.770794868, -0.624479651, -0.126096755, 0.265426129, 0.49471283, -0.827531397, 0.579158187, 0.604387522, 0.547075272),
  2195. 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),
  2196. CFrame.new(0.545134008, -2, -0.268956423, 0.951056302, 0, -0.309017599, 0, 1, 0, 0.309017599, 0, 0.951056302),
  2197. CFrame.new(-0.411152959, -2, 0.0234167781, 0.992546201, 0, 0.121868908, 0, 1, 0, -0.121868908, 0, 0.992546201),
  2198. }, .3, false)
  2199. end
  2200. for i = 0, 1, 0.1 do
  2201. swait()
  2202. PlayAnimationFromTable({
  2203. CFrame.new(0, -0, -0, 0.974370122, 0, -0.224950582, 0, 1, 0, 0.224950582, 0, 0.974370122),
  2204. 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),
  2205. CFrame.new(1.90547287, 1.14738941e-006, -0.0914520919, 0.770794868, -0.624479651, -0.126096755, 0.265426129, 0.49471283, -0.827531397, 0.579158187, 0.604387522, 0.547075272),
  2206. 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),
  2207. CFrame.new(0.545134008, -2, -0.268956423, 0.951056302, 0, -0.309017599, 0, 1, 0, 0.309017599, 0, 0.951056302),
  2208. CFrame.new(-0.411152959, -2, 0.0234167781, 0.992546201, 0, 0.121868908, 0, 1, 0, -0.121868908, 0, 0.992546201),
  2209. }, .3, false)
  2210. end
  2211. attacktype=1
  2212. omega=false
  2213. attack=false
  2214. end
  2215. mouse.KeyDown:connect(function(k)
  2216. k = k:lower()
  2217. if attack == false and k == 'z' and cooldown1>=co1 then
  2218. cooldown1=0
  2219. boost()
  2220. elseif attack == false and k == 'x' and omega == false and minigun == false then
  2221. minigunmode()
  2222. elseif attack == false and k == 'x' and omega == false and minigun == true then
  2223. unminigun()
  2224. elseif attack == false and k == 'c' and omega == false and railcannon==false then
  2225. railcannonmode()
  2226. elseif attack == false and k == 'c' and omega == false and railcannon==true then
  2227. unrailcannon()
  2228. elseif attack == false and k == 'v' and omega == false then
  2229. ult()
  2230. elseif attack==false and k=='v' and omega == true then
  2231. goback()
  2232. end
  2233. end)
  2234.  
  2235. while true do
  2236. swait()
  2237. if Humanoid.Health == 0 or Character == nil then
  2238. break
  2239. end
  2240. updateskills()
  2241. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  2242. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  2243. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  2244. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  2245. for i, v in pairs(Character:GetChildren()) do
  2246. if v:IsA("Part") then
  2247. v.Material = "SmoothPlastic"
  2248. elseif v:IsA("Hat") then
  2249. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2250. end
  2251. end
  2252. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2253. velocity = RootPart.Velocity.y
  2254. sine = sine + change
  2255. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  2256. if equipped == true or equipped == false then
  2257. if RootPart.Velocity.y > 1 and hit == nil then
  2258. Anim = "Jump"
  2259. if attack == false then
  2260. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2261. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2262. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2263. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2264. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2265. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2266. end
  2267. elseif RootPart.Velocity.y < -1 and hit == nil then
  2268. Anim = "Fall"
  2269. if attack == false then
  2270. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0+.15*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2271. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2272. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2273. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2274. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2-.15*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2275. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2-.15*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2276. end
  2277. elseif Torsovelocity < 1 and hit ~= nil then
  2278. Anim = "Idle"
  2279. if attack == false then
  2280. change = 1
  2281. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0+.1*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(10), math.rad(0)), .3)
  2282. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), .3)
  2283. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2-.1*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), .3)
  2284. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2-.1*math.cos(sine/15), 0) * angles(math.rad(0), math.rad(-10), math.rad(0)), .3)
  2285. if minigun == false then
  2286. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0+.1*math.cos(sine/18), 0) * angles(math.rad(20), math.rad(20), math.rad(0)), .3)
  2287. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2288. else
  2289. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2290. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2291. end
  2292. if railcannon==false then
  2293. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0+.1*math.cos(sine/15), 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), .3)
  2294. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2295. else
  2296. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2297. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0+.12*math.cos(sine/10), 0) * angles(math.rad(40), math.rad(0), math.rad(-40)), 0.3)
  2298. end
  2299. if omega==false then
  2300. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2301. else
  2302. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0+.05*math.cos(sine/10), 0) * angles(math.rad(0+.5*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  2303. end
  2304. end
  2305. elseif Torsovelocity > 2 and hit ~= nil then
  2306. Anim = "Walk"
  2307. if attack == false then
  2308. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
  2309. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
  2310. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0+.75*math.cos(sine/3)) * angles(math.rad(0-50*math.cos(sine/3)), math.rad(0), math.rad(0)), .3)
  2311. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0-.75*math.cos(sine/3)) * angles(math.rad(0+50*math.cos(sine/3)), math.rad(0), math.rad(0)), .3)
  2312. if omega==false then
  2313. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2314. else
  2315. AFMotor3Weld.C0 = clerp(AFMotor3Weld.C0, CFrame.new(0, 0+.05*math.cos(sine/10), 0) * angles(math.rad(0+.5*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  2316. end
  2317. if railcannon==false then
  2318. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0+.1*math.cos(sine/15), 0) * angles(math.rad(20), math.rad(-20), math.rad(0)), .3)
  2319. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2320. else
  2321. AFMotorWeld.C0 = clerp(AFMotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2322. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0+.12*math.cos(sine/10), 0) * angles(math.rad(40), math.rad(0), math.rad(-70)), 0.3)
  2323. end
  2324. if minigun == false then
  2325. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0+.1*math.cos(sine/18), 0) * angles(math.rad(20), math.rad(20), math.rad(0)), .3)
  2326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2327. else
  2328. AFMotor2Weld.C0 = clerp(AFMotor2Weld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2329. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0+.1*math.cos(sine/10), 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  2330. end
  2331.  
  2332. end
  2333. end
  2334. end
  2335. if 0 < #Effects then
  2336. for e = 1, #Effects do
  2337. if Effects[e] ~= nil then
  2338. local Thing = Effects[e]
  2339. if Thing ~= nil then
  2340. local Part = Thing[1]
  2341. local Mode = Thing[2]
  2342. local Delay = Thing[3]
  2343. local IncX = Thing[4]
  2344. local IncY = Thing[5]
  2345. local IncZ = Thing[6]
  2346. if Thing[2] == "Shoot" then
  2347. local Look = Thing[1]
  2348. local hit, pos = rayCast(Thing[4], Look, 15, Character)
  2349. local mag = (Thing[4] - pos).magnitude
  2350. Thing[9] = Thing[9] + 0.5
  2351. Thing[5] = Thing[5] + 0.2
  2352. Thing[6] = Thing[6] + 0.2
  2353. 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)
  2354. Thing[4] = Thing[4] + Look * 15
  2355. Thing[3] = Thing[3] - 3
  2356. if hit ~= nil then
  2357. Thing[3] = 0
  2358. ref = CFuncs["Part"].Create(EffectModel, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2359. ref.Anchored = true
  2360. ref.CFrame = CFrame.new(pos)
  2361. MagniDamage(ref,10,3,8,0,"Normal")
  2362. Effects["Sphere"].Create(BrickColor.new("Really red"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2363. CFuncs["Sound"].Create("rbxassetid://300916057", ref, 1, 2)
  2364. game:GetService("Debris"):AddItem(ref, 1)
  2365. end
  2366. if Thing[3] <= 0 then
  2367. table.remove(Effects, e)
  2368. end
  2369. end
  2370. do
  2371. if Thing[2] == "Shoot2" then
  2372. local Look = Thing[1]
  2373. local hit, pos = rayCast(Thing[4], Look, 3, Character)
  2374. local mag = (Thing[4] - pos).magnitude
  2375. Thing[9] = Thing[9] + 0.5
  2376. Thing[5] = Thing[5] + 0.2
  2377. Thing[6] = Thing[6] + 0.2
  2378. Effects["Block"].Create(BrickColor.new("Really red"), CFrame.new((Thing[4] + pos) / 2, pos), 15, 15, 15, -.5, -.5, -.5, 0.05)
  2379. Thing[4] = Thing[4] + Look * 3
  2380. Thing[3] = Thing[3] - 1
  2381. if hit ~= nil then
  2382. Thing[3] = 0
  2383. ref = CFuncs["Part"].Create(EffectModel, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2384. ref.Anchored = true
  2385. ref.CFrame = CFrame.new(pos)
  2386. MagniDamage(ref,10,10,18,0,"Normal")
  2387. Effects["Sphere"].Create(BrickColor.new("Really red"), CFrame.new(pos), 25, 25, 25, 5, 5, 5, 0.1)
  2388. Effects["Sphere"].Create(BrickColor.new("Really red"), CFrame.new(pos), 10, 10, 10, 15, 15, 15, 0.08)
  2389. CFuncs["Sound"].Create("rbxassetid://300916057", ref, 1, 1.5)
  2390. game:GetService("Debris"):AddItem(ref, 1)
  2391. end
  2392. if Thing[3] <= 0 then
  2393. table.remove(Effects, e)
  2394. end
  2395. end
  2396. do
  2397. do
  2398. if Thing[2] == "showDamage" then
  2399. if Thing[6] < Thing[5] then
  2400. Thing[6] = Thing[6] + 1
  2401. else
  2402. if Thing[6] < Thing[7] then
  2403. Thing[4].position = Thing[4].position + Vector3.new(0, -0.2, 0)
  2404. Thing[6] = Thing[6] + 1
  2405. else
  2406. if Thing[6] < Thing[8] then
  2407. Thing[6] = Thing[6] + 1
  2408. else
  2409. if Thing[6] < Thing[9] then
  2410. Thing[6] = Thing[6] + 1
  2411. Thing[4].position = Thing[4].position + Vector3.new(0, 0.2, 0)
  2412. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2413. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2414. else
  2415. Thing[1].Parent = nil
  2416. table.remove(Effects, e)
  2417. end
  2418. end
  2419. end
  2420. end
  2421. end
  2422. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "Shoot2" then
  2423. if Thing[1].Transparency <= 1 then
  2424. if Thing[2] == "Block1" then
  2425. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2426. Mesh = Thing[7]
  2427. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2428. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2429. else
  2430. if Thing[2] == "Block2" then
  2431. Thing[1].CFrame = Thing[1].CFrame
  2432. Mesh = Thing[7]
  2433. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2434. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2435. else
  2436. if Thing[2] == "Block3" then
  2437. Thing[8].C0 = CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * Thing[9]
  2438. Mesh = Thing[7]
  2439. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2440. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2441. else
  2442. if Thing[2] == "Cylinder" then
  2443. Mesh = Thing[7]
  2444. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2445. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2446. else
  2447. if Thing[2] == "Cylinder2" then
  2448. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, Thing[8], 0)
  2449. Mesh = Thing[7]
  2450. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2451. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2452. else
  2453. if Thing[2] == "Blood" then
  2454. Mesh = Thing[7]
  2455. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2456. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2457. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2458. else
  2459. if Thing[2] == "Elec" then
  2460. Mesh = Thing[10]
  2461. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2462. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2463. else
  2464. if Thing[2] == "Disappear" then
  2465. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2466. end
  2467. end
  2468. end
  2469. end
  2470. end
  2471. end
  2472. end
  2473. end
  2474. else
  2475. Part.Parent = nil
  2476. table.remove(Effects, e)
  2477. end
  2478. end
  2479. end
  2480. end
  2481. end
  2482. end
  2483. end
  2484. end
  2485. end
  2486. end
Add Comment
Please, Sign In to add comment