nycosar14

Untitled

Feb 21st, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 131.82 KB | None | 0 0
  1. --Fixed by PixelFir3
  2. Effects = {}
  3. local Player = game.Players.LocalPlayer
  4. local Character = Player.Character
  5. local Humanoid = Character.Humanoid
  6. local mouse = Player:GetMouse()
  7. local m = Instance.new("Model", Character)
  8. m.Name = "WeaponModel"
  9. local rearRotor = Instance.new("Model", Character)
  10. rearRotor.Name = "RearRotor"
  11. local rail = Instance.new("Model", Character)
  12. rail.Name = "Rail"
  13. local shield = Instance.new("Model", Character)
  14. shield.Name = "Shield"
  15. local LeftArm = Character["Left Arm"]
  16. local RightArm = Character["Right Arm"]
  17. local LeftLeg = Character["Left Leg"]
  18. local RightLeg = Character["Right Leg"]
  19. local Head = Character.Head
  20. local Torso = Character.Torso
  21. local cam = game.Workspace.CurrentCamera
  22. local RootPart = Character.HumanoidRootPart
  23. local RootJoint = RootPart.RootJoint
  24. local equipped = false
  25. local attack = false
  26. local aim = false
  27. local vHold = false
  28. local Anim = "Idle"
  29. local idle = 0
  30. local attacktype = 1
  31. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1).magnitude).x or (RootPart.Velocity * Vector3.new(1, 0, 1).magnitude).z
  32. local velocity = RootPart.Velocity.y
  33. local sine = 0
  34. local change = 1
  35. local lapse = 0
  36. local grabbed = false
  37. local cn = CFrame.new
  38. local mr = math.rad
  39. local angles = CFrame.Angles
  40. local euler = CFrame.fromEulerAnglesXYZ
  41. local ud = UDim2.new
  42. local c3 = Color3.new
  43. local donum = 0
  44. local donum2 = 0
  45. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  46. Humanoid.Animator:Destroy()
  47. Character.Animate:Destroy()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  51. RSH = nil
  52. RW = Instance.new("Weld")
  53. LW = Instance.new("Weld")
  54. RH = Torso["Right Hip"]
  55. LH = Torso["Left Hip"]
  56. RSH = Torso["Right Shoulder"]
  57. LSH = Torso["Left Shoulder"]
  58. RSH.Parent = nil
  59. LSH.Parent = nil
  60. RW.Name = "RW"
  61. RW.Part0 = Torso
  62. RW.C0 = cn(1.5, 0.5, 0)
  63. RW.C1 = cn(0, 0.5, 0)
  64. RW.Part1 = RightArm
  65. RW.Parent = Torso
  66. LW.Name = "LW"
  67. LW.Part0 = Torso
  68. LW.C0 = cn(-1.5, 0.5, 0)
  69. LW.C1 = cn(0, 0.5, 0)
  70. LW.Part1 = LeftArm
  71. LW.Parent = Torso
  72. local co1 = 15
  73. local co2 = 15
  74. local co3 = 30
  75. local co4 = 40
  76. local cooldown1 = 0
  77. local cooldown2 = 0
  78. local cooldown3 = 0
  79. local cooldown4 = 0
  80. local maxMana = 100
  81. local Mana = 0
  82. local skill1stam = 20
  83. local skill2stam = 25
  84. local skill3stam = 55
  85. local skill4stam = 10
  86. local skill4absorbrate = 2
  87. local blockDrainRate = 0.5
  88. local recovermana = 3
  89. local skillcolorscheme = Color3.new(1, 1, 1)
  90. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  91. makeframe = function(par, trans, pos, size, color)
  92. local frame = Instance.new("Frame", par)
  93. frame.BackgroundTransparency = trans
  94. frame.BorderSizePixel = 0
  95. frame.Position = pos
  96. frame.Size = size
  97. frame.BackgroundColor3 = Color3.new(color)
  98. return frame
  99. end
  100.  
  101. makelabel = function(par, text)
  102. local label = Instance.new("TextLabel", par)
  103. label.BackgroundTransparency = 1
  104. label.Size = UDim2.new(1, 0, 1, 0)
  105. label.Position = UDim2.new(0, 0, 0, 0)
  106. label.TextColor3 = Color3.new(255, 255, 255)
  107. label.TextStrokeTransparency = 0
  108. label.FontSize = Enum.FontSize.Size32
  109. label.Font = Enum.Font.SourceSansBold
  110. label.BorderSizePixel = 0
  111. label.TextScaled = true
  112. label.Text = text
  113. end
  114.  
  115. local colorscheme2 = Torso.BrickColor.Color
  116. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.23, 0, 0.93, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  117. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.5, 0, 0.93, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  118. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.5, 0, 0.86, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  119. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.23, 0, 0.86, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  120. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  121. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  122. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  123. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  124. text1 = makelabel(framesk1, "[C] Rail Dominator")
  125. text2 = makelabel(framesk2, "[V + HOLD] Gluon Drive")
  126. text3 = makelabel(framesk3, "[X] Arcus Surge")
  127. text4 = makelabel(framesk4, "[Z] Ground Breaker")
  128. Manabar = makeframe(scrn, 0.5, UDim2.new(0.23, 0, 0.82, 0), UDim2.new(0.26, 0, 0.03, 0), BrickColor.new("Really black").Color)
  129. Manacover = makeframe(Manabar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Cyan").Color)
  130. Manatext = makelabel(Manabar, "Energy")
  131. healthbar = makeframe(scrn, 0.5, UDim2.new(0.5, 0, 0.82, 0), UDim2.new(0.26, 0, 0.03, 0), BrickColor.new("Really black").Color)
  132. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  133. healthtext = makelabel(healthbar, "Health")
  134. local stats = Instance.new("Folder", Character)
  135. stats.Name = "Stats"
  136. local block = Instance.new("BoolValue", stats)
  137. block.Name = "Block"
  138. block.Value = false
  139. local stun = Instance.new("BoolValue", stats)
  140. stun.Name = "Stun"
  141. stun.Value = false
  142. local defense = Instance.new("NumberValue", stats)
  143. defense.Name = "Defence"
  144. defense.Value = 1.2
  145. local speed = Instance.new("NumberValue", stats)
  146. speed.Name = "Speed"
  147. speed.Value = 0.7
  148. local damagea = Instance.new("NumberValue", stats)
  149. damagea.Name = "Damage"
  150. damagea.Value = 0.8
  151. clerp = function(a, b, t)
  152. return a:lerp(b, t)
  153. end
  154.  
  155. ArtificialHB = Instance.new("BindableEvent", script)
  156. ArtificialHB.Name = "Heartbeat"
  157. script:WaitForChild("Heartbeat")
  158. frame = 0.033333333333333
  159. tf = 0
  160. allowframeloss = false
  161. tossremainder = false
  162. lastframe = tick()
  163. script.Heartbeat:Fire()
  164. game:GetService("RunService").Heartbeat:connect(function(s, p)
  165. tf = tf + s
  166. if frame <= tf then
  167. if allowframeloss then
  168. script.Heartbeat:Fire()
  169. lastframe = tick()
  170. else
  171. for i = 1, math.floor(tf / frame) do
  172. script.Heartbeat:Fire()
  173. end
  174. lastframe = tick()
  175. end
  176. if tossremainder then
  177. tf = 0
  178. else
  179. tf = tf - frame * math.floor(tf / frame)
  180. end
  181. end
  182. end
  183. )
  184. swait = function(num)
  185. if num == 0 or num == nil then
  186. ArtificialHB.Event:wait()
  187. else
  188. for i = 0, num do
  189. ArtificialHB.Event:wait()
  190. end
  191. end
  192. end
  193.  
  194. local RbxUtility = LoadLibrary("RbxUtility")
  195. local Create = RbxUtility.Create
  196. RemoveOutlines = function(part)
  197. part.TopSurface = 10
  198. end
  199.  
  200. CreateWeaponPart = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  201. local fp = Create("Part")({formFactor = formfactor, Parent = parent, Reflectance = reflectance, Transparency = transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(brickcolor)), Name = name, Size = size, Material = material})
  202. RemoveOutlines(fp)
  203. return fp
  204. end
  205.  
  206. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  207. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  208. RemoveOutlines(Part)
  209. return Part
  210. end
  211.  
  212. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  213. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  214. if Mesh == "SpecialMesh" then
  215. Msh.MeshType = MeshType
  216. Msh.MeshId = MeshId
  217. end
  218. return Msh
  219. end
  220.  
  221. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  222. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  223. return Weld
  224. end
  225.  
  226. rayCast = function(Position, Direction, Range, Ignore)
  227. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  228. end
  229.  
  230. CreateSound = function(id, par, vol, pit, looped)
  231. local sou = Instance.new("Sound", par or Character)
  232. coroutine.resume(coroutine.create(function()
  233. sou.Volume = vol
  234. sou.Pitch = pit or 1
  235. sou.SoundId = id
  236. sou.Looped = looped or false
  237. swait()
  238. sou:play()
  239. if looped == nil or looped == false then
  240. game:GetService("Debris"):AddItem(sou, 6)
  241. end
  242. end
  243. ))
  244. return sou
  245. end
  246.  
  247. local getclosest = function(obj, distance)
  248. local last, lastx = distance + 1, nil
  249. for i,v in pairs(workspace:GetChildren()) do
  250. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  251. local t = v.Torso
  252. local dist = (t.Position - obj.Position).magnitude
  253. if dist <= distance and dist < last then
  254. last = dist
  255. lastx = v
  256. end
  257. end
  258. end
  259. return lastx
  260. end
  261.  
  262. makegui = function(cframe, text)
  263. local a = math.random(-10, 10) / 100
  264. local c = Instance.new("Part")
  265. c.Transparency = 1
  266. Instance.new("BodyGyro").Parent = c
  267. c.Parent = Character
  268. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  269. local f = Instance.new("BodyPosition")
  270. f.P = 2000
  271. f.D = 100
  272. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  273. f.position = c.Position + Vector3.new(0, 3, 0)
  274. f.Parent = c
  275. game:GetService("Debris"):AddItem(c, 6.5)
  276. c.CanCollide = false
  277. c.Parent = Character
  278. c.CanCollide = false
  279. local bg = Instance.new("BillboardGui", c)
  280. bg.Adornee = c
  281. bg.Size = UDim2.new(1, 0, 1, 0)
  282. bg.StudsOffset = Vector3.new(0, 0, 0)
  283. bg.AlwaysOnTop = false
  284. local tl = Instance.new("TextLabel", bg)
  285. tl.BackgroundTransparency = 1
  286. tl.Size = UDim2.new(1, 0, 1, 0)
  287. tl.Text = text
  288. tl.Font = "SourceSansBold"
  289. tl.FontSize = "Size42"
  290. if crit == true then
  291. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  292. else
  293. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  294. end
  295. tl.TextStrokeTransparency = 0
  296. tl.TextScaled = true
  297. tl.TextWrapped = true
  298. coroutine.wrap(function()
  299. wait(2)
  300. for i = 1, 10 do
  301. swait()
  302. c.Transparency = 1
  303. tl.TextTransparency = tl.TextTransparency + 0.1
  304. end
  305. end
  306. )()
  307. end
  308.  
  309. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock, blockreduction)
  310. if hit.Parent == nil or hit.Name == "Laser" or hit.Name == "Reference" then
  311. return
  312. end
  313. local h = nil
  314. if hit.Parent:FindFirstChild("Humanoid") then
  315. h = hit.Parent:FindFirstChild("Humanoid")
  316. else
  317. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  318. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  319. else
  320. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  321. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  322. end
  323. end
  324. end
  325. if h == nil then
  326. return
  327. end
  328. for _,v in pairs(hit.Parent:children()) do
  329. if v:IsA("Humanoid") then
  330. h = v
  331. end
  332. end
  333. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  334. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  335. end
  336. if hit.Parent.className == "Hat" then
  337. hit = hit.Parent.Parent:findFirstChild("Head")
  338. end
  339. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  340. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  341. return
  342. end
  343. local c = Instance.new("ObjectValue")
  344. c.Name = "creator"
  345. c.Value = game:service("Players").LocalPlayer
  346. c.Parent = h
  347. game:GetService("Debris"):AddItem(c, 0.5)
  348. local Damage = math.random(minim, maxim)
  349. local blocked = false
  350. if blockreduction == nil then
  351. blockreduction = 3
  352. end
  353. if 1 then
  354. if block.className == "BoolValue" and block.Value == true then
  355. blocked = true
  356. local vp = Instance.new("BodyVelocity")
  357. vp.P = 500
  358. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  359. if KnockbackType == 1 then
  360. vp.velocity = (Property.CFrame.lookVector * knockback + Property.Velocity / 1.05) / blockreduction
  361. else
  362. if KnockbackType == 2 then
  363. vp.velocity = Property.CFrame.lookVector * knockback / blockreduction
  364. end
  365. end
  366. if knockback > 0 then
  367. vp.Parent = hit.Parent.Torso
  368. end
  369. game:GetService("Debris"):AddItem(vp, 0.5)
  370. end
  371. do
  372. if block.className == "IntValue" and block.Value > 0 then
  373. blocked = true
  374. if decreaseblock ~= nil then
  375. block.Value = block.Value - 1
  376. end
  377. end
  378. if blocked == false then
  379. h.Health = h.Health - Damage
  380. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Hitbox.BrickColor.Color)
  381. else
  382. h.Health = h.Health - (Damage / blockreduction or 3)
  383. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), math.floor(-Damage / blockreduction or 3) + 0.5, 1.5, BrickColor.new("Bright blue").Color)
  384. end
  385. if Type == "Knockdown" and blocked == false then
  386. local hum = hit.Parent.Humanoid
  387. hum.PlatformStand = true
  388. coroutine.resume(coroutine.create(function(HHumanoid)
  389. swait(1)
  390. HHumanoid.PlatformStand = false
  391. end
  392. ), hum)
  393. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  394. local bodvol = Instance.new("BodyVelocity")
  395. bodvol.velocity = angle * knockback
  396. bodvol.P = 5000
  397. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  398. bodvol.Parent = hit
  399. local rl = Instance.new("BodyAngularVelocity")
  400. rl.P = 3000
  401. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  402. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  403. rl.Parent = hit
  404. game:GetService("Debris"):AddItem(bodvol, 0.5)
  405. game:GetService("Debris"):AddItem(rl, 0.5)
  406. else
  407. do
  408. if Type == "Normal" and blocked == false then
  409. local vp = Instance.new("BodyVelocity")
  410. vp.P = 500
  411. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  412. if KnockbackType == 1 then
  413. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  414. else
  415. if KnockbackType == 2 then
  416. vp.velocity = Property.CFrame.lookVector * knockback
  417. end
  418. end
  419. if knockback > 0 then
  420. vp.Parent = hit.Parent.Torso
  421. end
  422. game:GetService("Debris"):AddItem(vp, 0.5)
  423. else
  424. do
  425. if Type == "Up" and blocked == false then
  426. local bodyVelocity = Instance.new("BodyVelocity")
  427. bodyVelocity.velocity = vt(0, 60, 0)
  428. bodyVelocity.P = 5000
  429. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  430. bodyVelocity.Parent = hit
  431. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  432. local rl = Instance.new("BodyAngularVelocity")
  433. rl.P = 3000
  434. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  435. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  436. rl.Parent = hit
  437. game:GetService("Debris"):AddItem(rl, 0.5)
  438. else
  439. do
  440. if Type == "Snare" and blocked == false then
  441. local bp = Instance.new("BodyPosition")
  442. bp.P = 2000
  443. bp.D = 100
  444. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  445. bp.position = hit.Parent.Torso.Position
  446. bp.Parent = hit.Parent.Torso
  447. game:GetService("Debris"):AddItem(bp, 1)
  448. h:TakeDamage(Damage)
  449. else
  450. do
  451. if Type == "Target" and blocked == false then
  452. local Targetting = false
  453. if Targetting == false then
  454. ZTarget = hit.Parent.Torso
  455. coroutine.resume(coroutine.create(function(Part)
  456. CreateSound("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  457. swait(5)
  458. CreateSound("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  459. end
  460. ), ZTarget)
  461. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  462. local targetgui = Instance.new("BillboardGui")
  463. targetgui.Parent = ZTarget
  464. targetgui.Size = UDim2.new(10, 100, 10, 100)
  465. local targ = Instance.new("ImageLabel")
  466. targ.Parent = targetgui
  467. targ.BackgroundTransparency = 1
  468. targ.Image = "rbxassetid://4834067"
  469. targ.Size = UDim2.new(1, 0, 1, 0)
  470. cam.CameraType = "Scriptable"
  471. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  472. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  473. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  474. Targetting = true
  475. RocketTarget = ZTarget
  476. for i = 1, Property do
  477. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  478. swait()
  479. end
  480. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  481. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  482. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  483. end
  484. Targetting = false
  485. RocketTarget = nil
  486. targetgui.Parent = nil
  487. cam.CameraType = "Custom"
  488. end
  489. end
  490. do
  491. local debounce = Instance.new("BoolValue")
  492. debounce.Name = "DebounceHit"
  493. debounce.Parent = hit.Parent
  494. debounce.Value = true
  495. game:GetService("Debris"):AddItem(debounce, Delay)
  496. c = Instance.new("ObjectValue")
  497. c.Name = "creator"
  498. c.Value = Player
  499. c.Parent = h
  500. game:GetService("Debris"):AddItem(c, 0.5)
  501. end
  502. end
  503. end
  504. end
  505. end
  506. end
  507. end
  508. end
  509. end
  510. end
  511. end
  512. end
  513. end
  514.  
  515. ShowDamage = function(Pos, Text, Time, Color)
  516. local Rate = 0.033333333333333
  517. if not Pos then
  518. local Pos = Vector3.new(0, 0, 0)
  519. end
  520. local Text = Text or ""
  521. local Time = Time or 2
  522. if not Color then
  523. local Color = Color3.new(1, 0, 0)
  524. end
  525. local EffectPart = CreateWeaponPart("Custom", Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  526. EffectPart.Anchored = true
  527. local BillboardGui = Instance.new("BillboardGui")
  528. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  529. BillboardGui.Adornee = EffectPart
  530. local TextLabel = Instance.new("TextLabel")
  531. TextLabel.BackgroundTransparency = 1
  532. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  533. TextLabel.Text = Text
  534. TextLabel.TextColor3 = Color
  535. TextLabel.TextScaled = true
  536. TextLabel.Font = Enum.Font.ArialBold
  537. TextLabel.Parent = BillboardGui
  538. BillboardGui.Parent = EffectPart
  539. game.Debris:AddItem(EffectPart, Time + 0.1)
  540. EffectPart.Parent = Character
  541. Delay(0, function()
  542. local Frames = Time / Rate
  543. for Frame = 1, Frames do
  544. wait(Rate)
  545. local Percent = Frame / Frames
  546. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  547. TextLabel.TextTransparency = Percent
  548. end
  549. if EffectPart and EffectPart.Parent then
  550. EffectPart:Destroy()
  551. end
  552. end
  553. )
  554. end
  555.  
  556. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  557. for _,c in pairs(workspace:children()) do
  558. local hum = c:findFirstChild("Humanoid")
  559. if hum ~= nil then
  560. local head = c:findFirstChild("Torso")
  561. if head ~= nil then
  562. local targ = head.Position - Part.Position
  563. local mag = targ.magnitude
  564. if mag <= magni and c.Name ~= Player.Name then
  565. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.2, 1)
  566. end
  567. end
  568. end
  569. end
  570. end
  571.  
  572. LeftHandle = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  573. LeftHandleweld = CreateWeld(m, Character["Left Arm"], LeftHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0481894873, 0.0176233053, 1.05672896, 7.91948478e-005, -0.0114456406, -0.999934554, -1, -0.000125397128, -7.77646856e-005, -0.000124498867, 0.999934435, -0.0114456518))
  574. CreateMesh("SpecialMesh", LeftHandle, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.79999995, 1.79999995, 2))
  575. SMnrgRng = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "nrgRng", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  576. SMnrgRngweld = CreateWeld(m, LeftHandle, SMnrgRng, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0150001682, 0.0078753233, 1.20272875, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  577. CreateMesh("SpecialMesh", SMnrgRng, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.79999995, 1.79999995, 2))
  578. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.79999995, 0.300000012, 0.300000012))
  579. Partweld = CreateWeld(m, LeftHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0289917998, -0.0111817122, -0.157007813, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  580. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  581. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  582. Partweld = CreateWeld(m, LeftHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.39512122e-005, 4.9829483e-005, -0.400003552, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  583. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.79999995, 1.79999995, 2))
  584. LGnrgRng = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "nrgRng", Vector3.new(1, 1, 0.200000003))
  585. LGnrgRngweld = CreateWeld(m, LeftHandle, LGnrgRng, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0596184209, 0.00756621361, 3.90246272, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  586. CreateMesh("SpecialMesh", LGnrgRng, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  587. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  588. Partweld = CreateWeld(m, LeftHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0022751987, 2.46763229e-005, -0.20001471, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  589. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(2.0999999, 2.0999999, 1.20000005))
  590. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  591. Partweld = CreateWeld(m, LeftHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0022752136, 2.46763229e-005, -0.20001328, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  592. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(1.79999995, 1.79999995, 2))
  593. Hitbox = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Plastic, 0, 1, "Really black", "Hitbox", Vector3.new(2.48000002, 1.44999993, 2.5999999))
  594. Hitboxweld = CreateWeld(m, LeftHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0208437443, 0.118899107, -0.0742249787, 7.91661951e-005, -0.99999994, -0.000124600119, -0.0114456592, -0.000125502178, 0.999934554, -0.999934494, -7.7734876e-005, -0.0114456508))
  595. RightHandle = CreateWeaponPart(Enum.FormFactor.Symmetric, m, Enum.Material.Plastic, 0, 1, "Pastel brown", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  596. RightHandleweld = CreateWeld(m, Character["Right Arm"], RightHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 5.96046448e-008, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  597. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.210000008, 0.200000003))
  598. Partweld = CreateWeld(m, RightHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00615789229, -0.00749695301, -0.713596702, 0.00343851582, -0.0130101992, 0.99990952, 0.999908209, 0.0131466873, -0.00326745468, -0.0131029878, 0.999828994, 0.0130542098))
  599. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.19999981, 5, 3))
  600. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.26000002))
  601. Partweld = CreateWeld(m, RightHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00633427128, -0.00812423229, 0.316169471, 0.00343851, -0.0130097354, 0.99990952, 0.999983072, -0.00467376411, -0.00349957286, 0.00471886946, 0.999904513, 0.0129934428))
  602. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.19999981, 5.0999999, 3))
  603. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  604. Partweld = CreateWeld(m, RightHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00592672965, -0.512394786, 0.348286837, 0.00343851582, -0.0130101992, 0.99990952, 0.999908209, 0.0131466873, -0.00326745468, -0.0131029878, 0.999828994, 0.0130542098))
  605. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  606. RotorHandle = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "RotorHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  607. RotorHandleweld = CreateWeld(m, LeftHandle, RotorHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0022752136, 2.46763229e-005, -0.20001328, 1.00000012, 0, 0, 0, 1, -3.97903932e-013, 0, -3.97903932e-013, 1.00000012))
  608. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.38300407, 0.455274403))
  609. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0708336234, -1.50832129, 0.498044372, 0.707035065, 0.707131386, 0.0081796376, -0.547542334, 0.540074348, 0.639153421, 0.447547853, -0.456382543, 0.769035935))
  610. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  611. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.28300405, 0.465274394))
  612. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0788677931, 1.42347693, -0.449401736, 0.707083941, -0.707084417, 0.00800593756, -0.554244578, -0.561204016, -0.614705682, 0.43914175, 0.430211216, -0.788716078))
  613. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  614. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  615. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0787920952, -0.413565874, 1.75803661, -0.707136631, 0.707032025, -0.00797253475, 0.311199784, 0.301081628, -0.901390433, -0.634911597, -0.639887214, -0.432934046))
  616. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.171932191, 2.06318712, 0.343864322))
  617. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  618. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0787450075, -1.02296484, 1.68831527, -0.707139432, 0.707029164, -0.00797644071, 0.464936852, 0.456450999, -0.758608103, -0.532717288, -0.540150166, -0.651498377))
  619. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  620. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  621. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0789119005, -2.71741366, 1.07279229, 0.707086623, -0.707081854, 0.00799725484, 0.394271672, 0.403612196, 0.82561934, -0.587008238, -0.580631137, 0.564171076))
  622. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  623. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  624. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0788670778, -2.44238925, 0.834575415, 0.707086623, -0.707081854, 0.00799725484, 0.394271672, 0.403612196, 0.82561934, -0.587008238, -0.580631137, 0.564171076))
  625. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  626. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.38300407, 0.455274403))
  627. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0788627863, -1.51101875, 0.500322938, 0.707086146, -0.707082272, 0.00800287351, 0.532733202, 0.540109992, 0.651518703, -0.464999825, -0.456416398, 0.75859046))
  628. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  629. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.28300405, 0.465274394))
  630. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128174901, 1.40868759, -0.438068837, -0.707084, 0.707084417, -0.0080038365, 0.568168223, 0.561356604, -0.601717353, -0.42097193, -0.430012137, -0.7986691))
  631. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  632. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  633. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.128249526, -0.4056243, 1.74116552, 0.707135856, -0.707032025, 0.00803845003, -0.290484756, -0.300854653, -0.90835309, 0.644653141, 0.639993906, -0.418127179))
  634. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.171932191, 2.06318712, 0.343864322))
  635. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  636. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.128296375, -1.01092637, 1.67407274, 0.707138777, -0.707029164, 0.00803461019, -0.447449356, -0.456259429, -0.769166112, 0.547488809, 0.540312052, -0.638998449))
  637. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  638. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  639. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.12812984, -2.70677805, 1.05749547, -0.707086444, 0.707081854, -0.00801257882, -0.413065463, -0.403818071, 0.816277027, 0.573939025, 0.580487967, 0.577605367))
  640. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  641. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  642. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.12817502, -2.43175316, 0.819277644, -0.707086444, 0.707081854, -0.00801257882, -0.413065463, -0.403818071, 0.816277027, 0.573939025, 0.580487967, 0.577605367))
  643. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  644. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.38300407, 0.455274403))
  645. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.128179669, -1.4967854, 0.488298923, -0.707086086, 0.707082272, -0.00800695177, -0.5475052, -0.540271878, 0.639018416, 0.447512656, 0.456224799, 0.76914984))
  646. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  647. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.28300405, 0.465274394))
  648. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.120145082, 1.41149151, -0.440217525, -0.70703721, -0.70712924, -0.00818065181, -0.554282606, 0.561320245, -0.614565372, 0.439169079, -0.429986089, -0.788823605))
  649. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  650. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  651. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120219231, -0.407127917, 1.74436224, 0.706984401, 0.707181513, 0.00821406581, 0.311306417, -0.300748885, -0.901464701, -0.63502878, 0.639878511, -0.432774931))
  652. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.171932191, 2.06318712, 0.343864322))
  653. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  654. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120266378, -1.0132066, 1.67677212, 0.706981599, 0.707184374, 0.00821016077, 0.465069741, -0.456127822, -0.758721054, -0.532810807, 0.540220141, -0.651364028))
  655. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  656. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  657. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.120099187, -2.70879459, 1.060395, -0.707034528, -0.707131803, -0.00818933453, 0.394292414, -0.403798521, 0.82551837, -0.587057054, 0.580440879, 0.564316154))
  658. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  659. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  660. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.120144725, -2.43376923, 0.82217741, -0.707034528, -0.707131803, -0.00818933453, 0.394292414, -0.403798521, 0.82551837, -0.587057054, 0.580440879, 0.564316154))
  661. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  662. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.38300407, 0.455274403))
  663. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.120149255, -1.49948359, 0.490578234, -0.707035005, -0.707131386, -0.00818371587, 0.532770336, -0.540236235, 0.651383698, -0.465034902, 0.456190914, 0.758704364))
  664. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  665. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.28300405, 0.465274394))
  666. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0708386302, 1.42067397, -0.447253823, 0.707037151, 0.70712924, 0.00818275195, 0.568206251, -0.561167657, -0.601857662, -0.420999259, 0.430185169, -0.798561573))
  667. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  668. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  669. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0707631111, -0.412062526, 1.75484037, -0.706985176, -0.707181513, -0.00814815145, -0.290591359, 0.300975889, -0.908278823, 0.644770324, -0.639771819, -0.418286294))
  670. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.171932191, 2.06318712, 0.343864322))
  671. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  672. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0707163811, -1.02068484, 1.68561661, -0.706982255, -0.707184374, -0.00815199129, -0.447582245, 0.456319392, -0.769053161, 0.547582328, -0.540058255, -0.639132917))
  673. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  674. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  675. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0708848238, -2.71539783, 1.06989348, 0.707034707, 0.707131803, 0.00817401055, -0.413086206, 0.403592646, 0.816377997, 0.573987842, -0.580584049, 0.577460289))
  676. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  677. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  678. Partweld = CreateWeld(m, RotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0708384514, -2.44037342, 0.831676602, 0.707034707, 0.707131803, 0.00817401055, -0.413086206, 0.403592646, 0.816377997, 0.573987842, -0.580584049, 0.577460289))
  679. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  680. RearRotorHandle = CreateWeaponPart(Enum.FormFactor.Brick, rearRotor, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  681. RearRotorHandleweld = CreateWeld(rearRotor, Character["Left Arm"], RearRotorHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000138282776, -0.763178706, 0.0102877412, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  682. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  683. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152360201, -0.7086851, 2.94673538, -1, 9.55974247e-005, 4.89801168e-005, -9.55983123e-005, -0.999999762, -1.76297326e-005, 4.89784325e-005, -1.76344111e-005, 1))
  684. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 3, 0.5))
  685. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  686. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0879260302, -2.49646044, 1.15150487, 3.2633543e-005, 1.7081331e-005, -1, -0.96591121, 0.258873641, -2.7099195e-005, 0.258873731, 0.965911031, 2.49470213e-005))
  687. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  688. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  689. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0877985284, -3.83579588, 1.5019176, 8.10176134e-005, 6.36921541e-005, -1, -0.865989804, 0.500061631, -3.83104125e-005, 0.50006175, 0.865989625, 9.56705771e-005))
  690. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  691. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  692. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0876546949, -4.2356863, 1.84832323, 8.10176134e-005, 6.36921541e-005, -1, -0.865989804, 0.500061631, -3.83104125e-005, 0.50006175, 0.865989625, 9.56705771e-005))
  693. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  694. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.19999981, 1))
  695. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0881010816, -1.6923486, 2.80422521, 2.66134703e-005, -1.39818931e-005, 1, -0.258923441, -0.96589762, -6.61423292e-006, 0.965897858, -0.258923382, -2.93261346e-005))
  696. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  697. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  698. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0880328566, -0.708874345, 2.94670677, 5.02169132e-006, 6.38468555e-005, 1, -9.67959641e-005, -0.999999762, 6.38473575e-005, 1, -9.67962624e-005, -5.01551131e-006))
  699. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 3, 0.5))
  700. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  701. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0882927999, -3.83751416, 1.49840403, -7.78734611e-005, 8.45296672e-005, 1, 0.866055846, 0.499947369, 2.51823622e-005, -0.499947459, 0.866055608, -0.000112140064))
  702. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  703. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  704. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0883924663, -2.49747229, 1.14758539, -0.000127851948, 8.4142237e-005, 1, 0.965971649, 0.258648068, 0.000101738129, -0.258648127, 0.96597147, -0.000114347713))
  705. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  706. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.19999981, 1))
  707. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0882568434, -1.69534659, 2.80337143, 4.76986097e-005, -7.78390458e-005, -1, 0.258832425, -0.965922058, 8.75324404e-005, -0.965922296, -0.258832365, -2.59258759e-005))
  708. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  709. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  710. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0883531645, -4.23755169, 1.8447659, -7.78734611e-005, 8.45296672e-005, 1, 0.866055846, 0.499947369, 2.51823622e-005, -0.499947459, 0.866055608, -0.000112140064))
  711. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  712. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  713. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0881102905, -0.711688459, -2.94676971, 5.02169132e-006, 6.38468555e-005, 1, -9.67959641e-005, -0.999999762, 6.38473575e-005, 1, -9.67962624e-005, -5.01551131e-006))
  714. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 3, 0.5))
  715. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  716. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152352452, -3.83745646, 1.49872386, -1, 2.19111753e-005, -5.33312559e-005, -3.52297939e-005, 0.500015736, 0.866016209, 4.56419148e-005, 0.86601609, -0.500015855))
  717. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  718. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  719. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152505159, -2.49745202, 1.14781475, -1, 4.78689872e-005, 3.06963921e-006, 1.53502097e-005, 0.258728802, 0.965950012, 4.544486e-005, 0.965949833, -0.258728862))
  720. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  721. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.19999981, 1))
  722. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.15264535, -1.69557297, 2.80329514, 1, -8.55391263e-005, -6.28978087e-005, -6.63380342e-005, -0.965902925, 0.25890404, -8.28996126e-005, -0.25890395, -0.965903103))
  723. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  724. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  725. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152270079, -4.23744345, 1.84510767, -1, 2.19111753e-005, -5.33312559e-005, -3.52297939e-005, 0.500015736, 0.866016209, 4.56419148e-005, 0.86601609, -0.500015855))
  726. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  727. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  728. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152536869, -0.7119295, -2.94669724, -1, 9.55974247e-005, 4.89801168e-005, -9.55983123e-005, -0.999999762, -1.76297326e-005, 4.89784325e-005, -1.76344111e-005, 1))
  729. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.25, 3, 0.5))
  730. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  731. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.15265131, -2.49634123, 1.15168691, 1, -1.49821371e-005, 2.75075436e-005, 3.04488494e-005, 0.258942276, -0.965892792, 7.34827427e-006, 0.965892553, 0.258942336))
  732. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  733. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  734. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.152612925, -3.83569002, 1.50197709, 1, -2.76630253e-005, 2.7552247e-005, 3.76933967e-005, 0.500079393, -0.865979493, 1.01773057e-005, 0.865979373, 0.500079513))
  735. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  736. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  737. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.15270555, -4.23561811, 1.84841764, 1, -2.76630253e-005, 2.7552247e-005, 3.76933967e-005, 0.500079393, -0.865979493, 1.01773057e-005, 0.865979373, 0.500079513))
  738. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  739. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.19999981, 1))
  740. Partweld = CreateWeld(rearRotor, RearRotorHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.152220964, -1.69214988, 2.80436611, -1, 0.000166705737, 5.29289318e-005, -0.000174724628, -0.965919554, -0.258841753, 7.97468692e-006, -0.258841693, 0.965919793))
  741. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  742. ShieldHandle = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0, 1, "Toothpaste", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  743. handleweld = CreateWeld(shield, Character["Right Arm"], ShieldHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.238033935, -0.224113405, -0.75435853, 2.45124138e-005, 0.707114398, 0.70709914, 7.06314813e-006, -0.70709908, 0.707114458, 1, -1.23387335e-005, -2.232716e-005))
  744. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  745. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.707103133, 0.707110465, 4.77082322e-005, -0.707110465, 0.707103133, -3.04873265e-005, -5.52925521e-005, -1.21773119e-005, 1))
  746. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 5.5999999, 0.400000006))
  747. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  748. Partweld = CreateWeld(shield, ShieldHandle, 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, -1.8189894e-012, 0, -1.8189894e-012, 1))
  749. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 5.5999999, 0.200000003))
  750. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  751. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.707103133, 0.707110465, 4.77082322e-005, -0.707110465, 0.707103133, -3.04873265e-005, -5.52925521e-005, -1.21773119e-005, 1))
  752. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 6, 0.200000003))
  753. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  754. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 5.66244125e-007, 1, -5.63711073e-005, -1, 5.66244125e-007, -0.000140726566, -0.000140726537, 5.63711837e-005, 1))
  755. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.600000024, 5.19999981, 0.400000006))
  756. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  757. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.707094014, -0.707119584, 0.000157117916, 0.707119584, 0.707094014, -1.47577284e-005, -0.000100661651, 0.000121536257, 1))
  758. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 5.5999999, 0.400000006))
  759. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  760. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 5.66244125e-007, 1, -5.63711073e-005, -1, 5.66244125e-007, -0.000140726566, -0.000140726537, 5.63711837e-005, 1))
  761. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 5.5999999, 0.200000003))
  762. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  763. Partweld = CreateWeld(shield, ShieldHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 0.707094014, -0.707119584, 0.000157117916, 0.707119584, 0.707094014, -1.47577284e-005, -0.000100661651, 0.000121536257, 1))
  764. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 6, 0.200000003))
  765. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  766. Partweld = CreateWeld(shield, ShieldHandle, 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, -1.8189894e-012, 0, -1.8189894e-012, 1))
  767. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.600000024, 5.19999981, 0.400000006))
  768. Blocker = CreateWeaponPart(Enum.FormFactor.Brick, shield, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Blocker", Vector3.new(0.200000003, 5.76000023, 6.46999979))
  769. Blockerweld = CreateWeld(shield, ShieldHandle, Blocker, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.000354290009, -0.399796933, 0.0251437165, 2.45124138e-005, 7.06314813e-006, 1, 0.707114458, -0.70709914, -1.23387354e-005, 0.70709914, 0.707114458, -2.232716e-005))
  770. LRingsHandle = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  771. LRingsHandleWeld = CreateWeld(m, Character["Left Arm"], LRingsHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 5.96046448e-008, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  772. LRingShoulderWeld = CreateWeld(m, LRingsHandle, LRingShoulder, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.590000212, -6.36577606e-005, -6.8128109e-005, -0.000151079468, 0.999999762, 4.60445881e-005, 0.865981996, 0.000107806307, 0.500075221, 0.500075221, 0.000115424853, -0.865981996))
  773. LRingMiddleWeld = CreateWeld(m, LRingsHandle, LRingMiddle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.130000055, -4.79730807e-006, -1.28746033e-005, -9.91046691e-005, 0.999999762, -3.68952788e-005, 7.15851929e-005, 3.69023655e-005, 1, 1, 9.91020061e-005, -7.15888527e-005))
  774. LRingHandWeld = CreateWeld(m, LRingsHandle, LRingHand, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.309999973, 2.86102295e-006, -2.70605087e-005, 5.17578083e-005, 0.999999762, 7.09593296e-005, -0.86608696, 9.35464323e-006, 0.499893606, 0.499893546, -8.73303215e-005, 0.866086841))
  775. generateRail = function()
  776. local RailHandle = CreateWeaponPart(Enum.FormFactor.Brick, rail, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  777. local RailHandleweld = CreateWeld(m, Character["Left Arm"], RailHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 4, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
  778. end
  779.  
  780. BaseLaser = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Neon, 0.10000000149012, 1, "Toothpaste", "Handle", Vector3.new(1, 0.800000012, 1))
  781. BaseLaserweld = CreateWeld(m, Character["Left Arm"], BaseLaser, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.800000072, 3.57627869e-007, -1.43051352e-007, 4.68747942e-007, 0.999999881, 1.78813934e-007, -1, 4.68747771e-007, 5.66653569e-007, 5.66653512e-007, -1.78814176e-007, 1))
  782. CreateMesh("SpecialMesh", BaseLaser, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.800000012, 0.200000003))
  783. for i,v in pairs(Character:GetChildren()) do
  784. if v:IsA("Model") then
  785. for _,c in pairs(v:GetChildren()) do
  786. if c:IsA("Part") then
  787. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  788. end
  789. end
  790. end
  791. end
  792. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  793. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  794. prt.Anchored = true
  795. prt.CFrame = cframe
  796. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  797. game:GetService("Debris"):AddItem(prt, 10)
  798. if Type == 1 or Type == nil then
  799. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  800. else
  801. if Type == 2 then
  802. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  803. end
  804. end
  805. return prt
  806. end
  807.  
  808. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  809. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  810. prt.Anchored = true
  811. prt.CFrame = cframe
  812. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  813. game:GetService("Debris"):AddItem(prt, 10)
  814. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  815. return prt
  816. end
  817.  
  818. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  819. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  820. prt.Anchored = true
  821. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  822. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  823. game:GetService("Debris"):AddItem(prt, 10)
  824. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  825. return prt
  826. end
  827.  
  828. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  829. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  830. prt.Anchored = true
  831. prt.CFrame = cframe
  832. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  833. game:GetService("Debris"):AddItem(prt, 10)
  834. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  835. return prt
  836. end
  837.  
  838. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  839. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  840. prt.Anchored = true
  841. prt.CFrame = cframe
  842. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  843. game:GetService("Debris"):AddItem(prt, 10)
  844. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  845. return prt
  846. end
  847.  
  848. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  849. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  850. prt.Anchored = true
  851. prt.CFrame = cframe
  852. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  853. game:GetService("Debris"):AddItem(prt, 10)
  854. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  855. return prt
  856. end
  857.  
  858. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  859. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  860. prt.Anchored = true
  861. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  862. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  863. local num = math.random(10, 50) / 1000
  864. game:GetService("Debris"):AddItem(prt, 10)
  865. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  866. return prt
  867. end
  868.  
  869. ChargeEffect = function(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
  870. local S = Create("Part")({Material = "SmoothPlastic", Name = "Effect", formFactor = 0, Size = Vector3.new(x1, y1, z1), BrickColor = color, Reflectance = 0, TopSurface = 0, BottomSurface = 0, Transparency = 0, Anchored = false, CanCollide = false, Material = "Neon", CFrame = part.CFrame * cn(x2, y2, z2) * euler(x3, y3, z3), Parent = m})
  871. local msh1 = Create("SpecialMesh")({Scale = Vector3.new(0.5, 0.5, 0.5), MeshType = "Sphere", Parent = S})
  872. coroutine.resume(coroutine.create(function(Part, CF)
  873. local f = Instance.new("BodyPosition")
  874. f.P = 800
  875. f.D = 100
  876. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  877. f.position = part.Position
  878. f.Parent = Part
  879. for i = 0, 1, 0.1 do
  880. wait()
  881. Part.Transparency = Part.Transparency + 0.1
  882. end
  883. Part.Parent = nil
  884. end
  885. ), S, S.CFrame)
  886. end
  887.  
  888. attackone = function()
  889. attack = true
  890. CreateSound("http://www.roblox.com/asset/?id=442069814", LeftArm, 0.5, 1)
  891. local con = Hitbox.Touched:connect(function(hit)
  892. Damagefunc(Hitbox, hit, 2, 4, 1, "Normal", RootPart, 0.2, 1)
  893. end
  894. )
  895. for i = 0, 1, 0.15 do
  896. swait()
  897. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.33)
  898. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(15)), 0.33)
  899. RW.C0 = clerp(RW.C0, CFrame.new(0.5, 0.4, -0.5) * angles(math.rad(83), math.rad(0), math.rad(-40)), 0.33)
  900. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.2, -0.4) * angles(math.rad(88), math.rad(0), math.rad(0)), 0.33)
  901. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(12), math.rad(0)), 0.33)
  902. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.33)
  903. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  904. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  905. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  906. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  907. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  908. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  909. end
  910. for i = 0, 1, 0.13 do
  911. swait()
  912. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  913. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  914. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  915. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), 0.33)
  916. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  917. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  918. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.33)
  919. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.33)
  920. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.33)
  921. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  922. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  923. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  924. end
  925. CreateSound("http://www.roblox.com/asset/?id=356425259", LeftArm, 1, 2)
  926. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  927. for i = 0, 1, 0.05 do
  928. swait()
  929. SMnrgRng.Transparency = 1 - i
  930. if SMnrgRng.Transparency <= 0.4 then
  931. SMnrgRng.Transparency = 0.5
  932. end
  933. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  934. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  935. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  936. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), 0.33)
  937. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  938. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  939. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.33)
  940. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.33)
  941. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.33)
  942. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.005), 0.33)
  943. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  944. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.005), 0.33)
  945. end
  946. SMnrgRng.Transparency = 1
  947. con:disconnect()
  948. attack = false
  949. end
  950.  
  951. attacktwo = function()
  952. attack = true
  953. local con = Hitbox.Touched:connect(function(hit)
  954. Damagefunc(Hitbox, hit, 3, 7, math.random(2, 3), "Normal", RootPart, 0.2, 1)
  955. end
  956. )
  957. for i = 0, 1, 0.15 do
  958. swait()
  959. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  960. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.1) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.33)
  962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.7) * angles(math.rad(85), math.rad(-20), math.rad(15)), 0.33)
  963. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.33)
  964. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.33)
  965. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  966. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  967. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  968. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  969. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  970. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  971. end
  972. CreateSound("http://www.roblox.com/asset/?id=356215636", LeftArm, 1, 1)
  973. for i = 0, 1, 0.15 do
  974. swait()
  975. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.35)
  976. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-80)), 0.35)
  977. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.35)
  978. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.35)
  979. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-30), math.rad(0)), 0.35)
  980. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-30), math.rad(0)), 0.35)
  981. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  982. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  983. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  984. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  985. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  986. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  987. end
  988. con:disconnect()
  989. attack = false
  990. end
  991.  
  992. attackthree = function()
  993. attack = true
  994. CreateSound("http://www.roblox.com/asset/?id=356425259", SMnrgRng, 1, 1)
  995. for i = 0, 1, 0.03 do
  996. do
  997. swait()
  998. coroutine.resume(coroutine.create(function()
  999. for _,v in pairs(rearRotor:getChildren()) do
  1000. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1001. if v.Transparency <= 0.3 then
  1002. v.Transparency = 0
  1003. else
  1004. v.Transparency = 1 - i - 0.2
  1005. end
  1006. end
  1007. end
  1008. end
  1009. ))
  1010. LGnrgRng.Transparency = 1 - i
  1011. if LGnrgRng.Transparency <= 0.4 then
  1012. LGnrgRng.Transparency = 0.5
  1013. end
  1014. SMnrgRng.Transparency = 1 - i
  1015. if SMnrgRng.Transparency <= 0.4 then
  1016. SMnrgRng.Transparency = 0.5
  1017. end
  1018. BlockEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05, 1)
  1019. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  1020. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  1021. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  1022. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), 0.33)
  1023. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  1024. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  1025. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1026. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1027. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1028. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.03), 0.33)
  1029. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, -5, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.33)
  1030. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1031. end
  1032. end
  1033. CreateSound("http://roblox.com/asset/?id=315744661", LGnrgRng, 1, 1)
  1034. CreateSound("http://www.roblox.com/asset/?id=300916014", LGnrgRng, 1, 1)
  1035. RootPart.Velocity = RootPart.CFrame.lookVector * -70
  1036. SphereEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -3, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05)
  1037. MagniDamage(LGnrgRng, 8, 6, 16, 100, "Normal")
  1038. for i = 1, 10 do
  1039. BreakEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1040. end
  1041. for i = 0, 1, 0.13 do
  1042. swait()
  1043. coroutine.resume(coroutine.create(function()
  1044. for _,v in pairs(rearRotor:getChildren()) do
  1045. if v:IsA("BasePart") then
  1046. v.Transparency = i
  1047. end
  1048. end
  1049. end
  1050. ))
  1051. LGnrgRng.Transparency = i
  1052. SMnrgRng.Transparency = i
  1053. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), 0.33)
  1054. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), 0.33)
  1055. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), 0.33)
  1056. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.1) * angles(math.rad(120), math.rad(0), math.rad(30)), 0.33)
  1057. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-40), math.rad(5)), 0.33)
  1058. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-40), math.rad(-5)), 0.33)
  1059. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1060. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1061. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1062. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1063. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1064. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1065. end
  1066. coroutine.resume(coroutine.create(function()
  1067. for _,v in pairs(rearRotor:getChildren()) do
  1068. if v:IsA("BasePart") then
  1069. v.Transparency = 1
  1070. end
  1071. end
  1072. end
  1073. ))
  1074. LGnrgRng.Transparency = 1
  1075. SMnrgRng.Transparency = 1
  1076. attack = false
  1077. end
  1078.  
  1079. Block = function()
  1080. attack = true
  1081. block.Value = true
  1082. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 6
  1083. coroutine.resume(coroutine.create(function()
  1084. for i = 1, 0, -0.05 do
  1085. wait()
  1086. if attack ~= false then
  1087. for _,v in pairs(shield:getChildren()) do
  1088. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Name ~= "Blocker" then
  1089. v.Transparency = i - 0.05
  1090. end
  1091. end
  1092. else
  1093. do
  1094. do
  1095. for _,v in pairs(shield:getChildren()) do
  1096. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Name ~= "Blocker" then
  1097. v.Transparency = 1
  1098. end
  1099. end
  1100. do break end
  1101. end
  1102. end
  1103. end
  1104. end
  1105. end
  1106. ))
  1107. coroutine.resume(coroutine.create(function()
  1108. wait(0.3)
  1109. Blocker.CanCollide = true
  1110. end
  1111. ))
  1112. coroutine.resume(coroutine.create(function()
  1113. while Blocking == true do
  1114. swait(2)
  1115. subtractMana(blockDrainRate)
  1116. if Mana <= blockDrainRate then
  1117. Blocking = false
  1118. end
  1119. end
  1120. end
  1121. ))
  1122. while Blocking == true do
  1123. while Blocking == true do
  1124. swait()
  1125. if Blocking == true then
  1126. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.33)
  1127. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.33)
  1128. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-32)), 0.33)
  1129. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(15), math.rad(-70)), 0.3)
  1130. if Torsovelocity > 2 then
  1131. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), 0.3)
  1132. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), 0.3)
  1133. else
  1134. if Torsovelocity < 1 then
  1135. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), 0.3)
  1136. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), 0.3)
  1137. end
  1138. end
  1139. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1140. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1141. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1142. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1143. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1144. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1145. end
  1146. end
  1147. if Blocking == false then
  1148. break
  1149. end
  1150. end
  1151. coroutine.resume(coroutine.create(function()
  1152. for _,v in pairs(shield:getChildren()) do
  1153. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1154. v.Transparency = 1
  1155. end
  1156. end
  1157. end
  1158. ))
  1159. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 6
  1160. block.Value = false
  1161. Blocker.CanCollide = false
  1162. attack = false
  1163. end
  1164.  
  1165. groundBreaker = function()
  1166. attack = true
  1167. Humanoid.WalkSpeed = 0
  1168. local AntiJump = Humanoid.Changed:connect(function()
  1169. Humanoid.Jump = false
  1170. end
  1171. )
  1172. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  1173. for i = 0, 1, 0.05 do
  1174. swait()
  1175. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.8) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  1176. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(18)), 0.3)
  1177. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(8)), 0.3)
  1178. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.2, 0.3) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  1179. RH.C0 = clerp(RH.C0, cn(1, -0.2, -0.3) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1180. LH.C0 = clerp(LH.C0, cn(-1, -0.6, -0.25) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(10)), 0.3)
  1181. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1182. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1183. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1184. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.2) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.005), 0.33)
  1185. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1186. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1187. end
  1188. MagniDamage(Torso, 10, 20, 30, 70, "Knockdown")
  1189. for i = 1, 10 do
  1190. BreakEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1191. end
  1192. local hitfloor = nil
  1193. while hitfloor == nil do
  1194. swait()
  1195. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
  1196. end
  1197. local hit, pos = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1198. if hit ~= nil then
  1199. local Color = hit.BrickColor
  1200. local refpart = CreatePart(Character, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1201. refpart.Anchored = true
  1202. refpart.CFrame = CFrame.new(pos)
  1203. game:GetService("Debris"):AddItem(refpart, 1)
  1204. CreateSound("http://www.roblox.com/asset/?id=199145477", refpart, 0.8, 0.75)
  1205. CreateSound("http://www.roblox.com/asset/?id=142070127", refpart, 0.7, 0.9)
  1206. for i = 1, 10 do
  1207. local Color = hit.BrickColor
  1208. local Materials = hit.Material
  1209. local groundpart = CreatePart(Character, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(50, 100) / 100, math.random(50, 100) / 100, math.random(50, 100) / 100))
  1210. groundpart.Anchored = false
  1211. groundpart.Material = Materials
  1212. groundpart.CanCollide = true
  1213. groundpart.Friction = 0.1
  1214. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  1215. groundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1216. game:GetService("Debris"):AddItem(groundpart, 10)
  1217. end
  1218. for i = 1, 10 do
  1219. local Color = hit.BrickColor
  1220. local Materials = hit.Material
  1221. local actualgroundpart = CreatePart(Character, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  1222. actualgroundpart.Anchored = true
  1223. actualgroundpart.Material = Materials
  1224. actualgroundpart.Friction = 1
  1225. actualgroundpart.CFrame = CFrame.new(pos) * CFrame.new(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1226. game:GetService("Debris"):AddItem(actualgroundpart, 10)
  1227. end
  1228. WaveEffect(hit.BrickColor, refpart.CFrame, 0.2, 0.2, 0.2, 0.5, 0.5, 0.5, 0.04)
  1229. SphereEffect(hit.BrickColor, refpart.CFrame, 0.2, 0.2, 0.2, 3, 3, 3, 0.04)
  1230. RingEffect(hit.BrickColor, refpart.CFrame * CFrame.Angles(math.random(5, 6), math.random(2, 7), math.random(3, 6)), 0.2, 0.2, 0.2, 1, 1, 1, 0.05)
  1231. end
  1232. do
  1233. for i = 0, 1, 0.05 do
  1234. swait()
  1235. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.65) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
  1236. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(30)), 0.3)
  1237. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.4, 0) * angles(math.rad(-15), math.rad(0), math.rad(30)), 0.3)
  1238. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-30), math.rad(-30)), 0.3)
  1239. RH.C0 = clerp(RH.C0, cn(1, -0.2, -0.3) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1240. LH.C0 = clerp(LH.C0, cn(-1, -0.6, -0.25) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(3)), 0.3)
  1241. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1242. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1243. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1244. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1245. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1246. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1247. end
  1248. Humanoid.WalkSpeed = 16
  1249. AntiJump:disconnect()
  1250. attack = false
  1251. end
  1252. end
  1253.  
  1254. LaunchRail = function()
  1255. attack = true
  1256. local blocked = false
  1257. local hitPlayer = false
  1258. CreateSound("http://www.roblox.com/asset/?id=298660207", LeftArm, 1, 1)
  1259. Aim()
  1260. CreateSound("http://www.roblox.com/asset/?id=188590169", LeftArm, 1, 1)
  1261. local MainPos = LeftArm.Position
  1262. local MainPos2 = mouse.Hit.p
  1263. local spread = Vector3.new((math.random(-0, -0) + math.random()) * -0, (math.random(-0, -0) + math.random()) * -0, (math.random(-0, -0) + math.random()) * -0) * (LeftArm.Position - mouse.Hit.p).magnitude / 100
  1264. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1265. num = math.huge
  1266. coroutine.resume(coroutine.create(function(Spreaded)
  1267. repeat
  1268. wait()
  1269. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
  1270. local TheHit = mouse.Hit.p
  1271. local mag = (MainPos - pos).magnitude
  1272. CylinderEffect("Toothpaste", CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, 0.5, 0, 1.5, 0.1)
  1273. MainPos = MainPos + MouseLook.lookVector * 10
  1274. num = num - 1
  1275. local fakevec = pos - LeftArm.CFrame * CFrame.new(Vector3.new(0, 0.25, -1.7)).p.unit
  1276. if hit ~= nil and hit.Name ~= "Rail" then
  1277. print(hit)
  1278. num = 0
  1279. local ref = CreateWeaponPart(3, Character, "Neon", 0, 1, BrickColor.new("Institutional white"), "Reference", Vector3.new())
  1280. do
  1281. ref.Anchored = true
  1282. ref.CFrame = cn(pos)
  1283. game:GetService("Debris"):AddItem(ref, 5)
  1284. local h = nil
  1285. if hit.Parent:FindFirstChild("Humanoid") then
  1286. h = hit.Parent:FindFirstChild("Humanoid")
  1287. else
  1288. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  1289. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1290. else
  1291. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  1292. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  1293. end
  1294. end
  1295. end
  1296. if h ~= nil and h.Health > 0 then
  1297. if hit.Name == "Blocker" and hit.CanCollide == true then
  1298. blocked = true
  1299. CreateSound("http://www.roblox.com/asset/?id=199148947", hit, 1, 1)
  1300. else
  1301. hitPlayer = true
  1302. h.WalkSpeed = h.WalkSpeed - 5
  1303. coroutine.resume(coroutine.create(function()
  1304. for i = 1, 10 do
  1305. if h.Health > 0 then
  1306. wait(1)
  1307. end
  1308. end
  1309. for i = 0, 1, 0.1 do
  1310. wait()
  1311. end
  1312. h.WalkSpeed = h.WalkSpeed + 5
  1313. end
  1314. ))
  1315. end
  1316. end
  1317. if blocked == false then
  1318. if hit.Name == "Blocker" and hit.CanCollide == true then
  1319. CreateSound("http://www.roblox.com/asset/?id=199148947", hit, 1, 1)
  1320. else
  1321. if not hit.Anchored then
  1322. hit.CFrame = hit.CFrame + Vector3.new(0, 0.1, 0)
  1323. end
  1324. if hitPlayer == false then
  1325. end
  1326. if not hit.Anchored then
  1327. do
  1328. hit.Velocity = hit.Velocity + fakevec * 50
  1329. end
  1330. end
  1331. end
  1332. end
  1333. end
  1334. else
  1335. end
  1336. until num <= 0
  1337. end
  1338. ))
  1339. for i = -0, 1, 0.05 do
  1340. do
  1341. coroutine.resume(coroutine.create(function()
  1342. for _,v in pairs(rearRotor:getChildren()) do
  1343. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1344. v.Transparency = i
  1345. end
  1346. end
  1347. end
  1348. ))
  1349. LGnrgRng.Transparency = i + 0.05
  1350. swait()
  1351. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(-0, -0, -0) * angles(math.rad(-0), math.rad(-0), math.rad(-50)), 0.5)
  1352. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-0), math.rad(-0), math.rad(50)), 0.5)
  1353. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0) * angles(math.rad(-10), math.rad(-0), math.rad(20)), 0.5)
  1354. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(90), math.rad(-0), math.rad(-50)), 0.5)
  1355. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(-0)), 0.3)
  1356. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(-0)), 0.3)
  1357. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(-0, -0, -0) * angles(math.rad(-0), math.rad(30) - donum / 0.08, math.rad(-0)), 0.3)
  1358. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(-0, -0, -0) * angles(math.rad(-0), math.rad(30) + donum / 0.05, math.rad(-0)), 0.3)
  1359. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(-0, -0, -0) * angles(math.rad(-0), math.rad(30) - donum / 0.03, math.rad(-0)), 0.3)
  1360. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(-0, -0, -1.5) * angles(math.rad(-0), math.rad(-0), math.rad(30) - donum / 0.045), 0.33)
  1361. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(-0, -2.5, -0) * angles(math.rad(-0), math.rad(30) + donum / 0.07, math.rad(-0)), 0.33)
  1362. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(-0, -0, -0) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.33)
  1363. end
  1364. end
  1365. game:GetService("Debris"):AddItem(railM, 15)
  1366. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 10
  1367. SMnrgRng.Transparency = 1
  1368. LGnrgRng.Transparency = 1
  1369. for _,v in pairs(rearRotor:getChildren()) do
  1370. coroutine.resume(coroutine.create(function()
  1371. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1372. v.Transparency = 1
  1373. end
  1374. end
  1375. ))
  1376. end
  1377. cooldown3 = -0
  1378. attack = false
  1379. end
  1380.  
  1381. Pulse = function()
  1382. attack = true
  1383. local con = Hitbox.Touched:connect(function(hit)
  1384. Damagefunc(Hitbox, hit, 1, 3, 1, "Normal", RootPart, 0.2, 1)
  1385. end
  1386. )
  1387. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  1388. for i = 0, 1, 0.05 do
  1389. swait()
  1390. SMnrgRng.Transparency = 1 - i
  1391. if SMnrgRng.Transparency <= 0.4 then
  1392. SMnrgRng.Transparency = 0.5
  1393. end
  1394. BlockEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05, 1)
  1395. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(-50)), 0.3)
  1396. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  1397. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1398. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-40)), 0.3)
  1399. RH.C0 = clerp(RH.C0, cn(0.7, -1, -0.7) * RHCF * angles(math.rad(-4), math.rad(40), math.rad(10)), 0.3)
  1400. LH.C0 = clerp(LH.C0, cn(-0.7, -1, 0.7) * LHCF * angles(math.rad(-4), math.rad(40), math.rad(20)), 0.3)
  1401. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1402. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1403. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1404. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.005), 0.33)
  1405. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1406. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1407. end
  1408. con:disconnect()
  1409. local vel2 = Instance.new("BodyVelocity")
  1410. vel2.Parent = Torso
  1411. vel2.maxForce = Vector3.new(400000, 400000, 400000) * 1
  1412. vel2.velocity = RootPart.CFrame.lookVector * -90
  1413. Humanoid.Jump = true
  1414. local prt = CreatePart(Character, "SmoothPlastic", 0, 1, "Toothpaste", "Part", Vector3.new(5, 5, 5))
  1415. prt.Position = SMnrgRng.Position
  1416. prt.Anchored = true
  1417. CreateSound("http://www.roblox.com/asset/?id=300916105", prt, 1, 1)
  1418. WaveEffect("Toothpaste", prt.CFrame, 0.2, 0.2, 0.2, 0.5, 0.5, 0.5, 0.06)
  1419. SphereEffect("Toothpaste", prt.CFrame, 0.2, 0.2, 0.2, 3, 3, 3, 0.06)
  1420. RingEffect("Toothpaste", prt.CFrame * CFrame.Angles(math.random(5, 6), math.random(2, 7), math.random(3, 6)), 0.2, 0.2, 0.2, 1, 1, 1, 0.07)
  1421. MagniDamage(prt, 13, 17, 23, 13, "Knockdown")
  1422. for i = 0, 1, 0.15 do
  1423. swait()
  1424. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1425. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1426. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1427. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1428. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-4), math.rad(10), math.rad(10)), 0.3)
  1429. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-4), math.rad(10), math.rad(20)), 0.3)
  1430. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1431. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1432. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1433. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1434. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1435. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1436. end
  1437. vel2:Destroy()
  1438. SMnrgRng.Transparency = 1
  1439. prt:Destroy()
  1440. attack = false
  1441. end
  1442.  
  1443. AimLaserMethod = function()
  1444. attack = true
  1445. CreateSound("http://www.roblox.com/asset/?id=445796756", LeftArm, 1, 1)
  1446. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 10
  1447. local Beam = BaseLaser:Clone()
  1448. Beam.Parent = m
  1449. Beam.Name = "Laser"
  1450. Beam.Mesh.Scale = Vector3.new(1, 1, 1)
  1451. Beam.Anchored = true
  1452. RootJoint.C0 = RootCF * cn(0, 0, 0) * euler(0, 0, -0.7005)
  1453. local gyro = Create("BodyGyro")({Parent = RootPart, maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 2500, cframe = RootPart.CFrame})
  1454. coroutine.resume(coroutine.create(function()
  1455. for i = 1, 10, 0.1 do
  1456. swait()
  1457. ChargeEffect(SMnrgRng, 2, 2, 2, math.random(-10, 10), math.random(-10, 10), math.random(-10, 10), 0, 0, 0, BrickColor.new("Toothpaste"))
  1458. end
  1459. end
  1460. ))
  1461. for i = 0, 1, 0.008 do
  1462. do
  1463. swait()
  1464. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1465. gyro.cframe = cn(Head.Position, gunpos)
  1466. coroutine.resume(coroutine.create(function()
  1467. for _,v in pairs(rearRotor:getChildren()) do
  1468. if v.Name ~= "Handle" and v:IsA("BasePart") then
  1469. if v.Transparency <= 0.3 then
  1470. v.Transparency = 0
  1471. else
  1472. v.Transparency = 1 - i - 0.2
  1473. end
  1474. end
  1475. end
  1476. SMnrgRng.Transparency = 1 - i
  1477. LGnrgRng.Transparency = 1 - i
  1478. if i <= 0.4 then
  1479. SMnrgRng.Transparency = 0.5
  1480. LGnrgRng.Transparency = 0.5
  1481. end
  1482. end
  1483. ))
  1484. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1485. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1486. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.4) * angles(math.rad(-15), math.rad(-50), math.rad(20)), 0.3)
  1487. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1488. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-4), math.rad(20), math.rad(0)), 0.3)
  1489. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-4), math.rad(20), math.rad(0)), 0.3)
  1490. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1491. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1492. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1493. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.025), 0.33)
  1494. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, -5, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.33)
  1495. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1496. end
  1497. end
  1498. local dV = 1
  1499. local offset = nil
  1500. lapse = 0
  1501. local hitRef = CreatePart(Character, "Neon", 0, 0.4, "Toothpaste", "Reference", Vector3.new())
  1502. do
  1503. CreateMesh("SpecialMesh", hitRef, "Sphere", "", Vector3.new(), Vector3.new(8, 8, 8))
  1504. hitRef.Anchored = true
  1505. local laserLoop = CreateSound("http://www.roblox.com/asset/?id=445796828", LeftArm, 1, 1, true)
  1506. coroutine.resume(coroutine.create(function()
  1507. while vHold == true do
  1508. swait(3)
  1509. subtractMana(skill4absorbrate)
  1510. if Mana <= skill4absorbrate then
  1511. vHold = false
  1512. end
  1513. end
  1514. end
  1515. ))
  1516. while vHold==true do
  1517. if vHold == true then
  1518. swait()
  1519. dV = dV + 10
  1520. local StartPos = LeftArm.CFrame * CFrame.new(0, -1, 0)
  1521. local MainPos = LeftArm.Position
  1522. local MainPos2 = mouse.Hit.p
  1523. local spread = Vector3.new((math.random(0, 0) + math.random()) * 0, (math.random(0, 0) + math.random()) * 0, (math.random(0, 0) + math.random()) * 0) * (LeftArm.Position - mouse.Hit.p).magnitude / 100
  1524. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1525. local hit, pos = rayCast(MainPos, MouseLook.lookVector, dV, Character)
  1526. local TheHit = mouse.Hit.p
  1527. local mag = (MainPos - pos).magnitude
  1528. MainPos = MainPos + MouseLook.lookVector * 10
  1529. if hit and hit.Name:lower() == "terrain" and not hit:IsA("BasePart") then
  1530. hit:SetCell(pos.X, pos.Y + 2, pos.Z, 0, 0, 0)
  1531. end
  1532. hitRef.CFrame = StartPos * cn(0, -mag + 1, 0) * angles(0, 0, math.rad(90))
  1533. local vary = math.random(5, 10) / 100
  1534. do
  1535. SphereEffect("Toothpaste", hitRef.CFrame, 8, 8, 8, 1, 1, 1, vary)
  1536. BlockEffect("Toothpaste", hitRef.CFrame, 8, 8, 8, 0.8, 0.8, 0.8, vary, 1)
  1537. if hit ~= nil then
  1538. local h = nil
  1539. if hit.Parent:FindFirstChild("Humanoid") then
  1540. h = hit.Parent:FindFirstChild("Humanoid")
  1541. else
  1542. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  1543. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1544. else
  1545. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  1546. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  1547. end
  1548. end
  1549. end
  1550. h = nil
  1551. local sounds = {445796485, 445796549, 445796638}
  1552. local rnd = math.random(1, #sounds)
  1553. local hitSound = CreateSound("http://www.roblox.com/asset/?id=" .. sounds[rnd], hitRef, 1, 1)
  1554. if h and h.Health > 0 then
  1555. Damagefunc(hitRef, h, 2, 4, 0.7, "Normal", RootPart, 0.2, 1, nil, 2)
  1556. end
  1557. if hit.Anchored == false and h and h.Health <= 0 then
  1558. local bv = Instance.new("BodyVelocity", hit)
  1559. local hih = math.huge
  1560. bv.maxForce = Vector3.new(hih, hih, hih)
  1561. bv.velocity = Head.CFrame.lookVector * 100 + Vector3.new(0, -2, 0)
  1562. spawn(function()
  1563. wait()
  1564. bv:Destroy()
  1565. end
  1566. )
  1567. end
  1568. do
  1569. local bv = Instance.new("BodyVelocity", hit)
  1570. do
  1571. do
  1572. local hih = math.huge
  1573. bv.maxForce = Vector3.new(hih, hih, hih)
  1574. bv.velocity = Head.CFrame.lookVector * 100 + Vector3.new(0, -2, 0)
  1575. spawn(function()
  1576. wait()
  1577. bv:Destroy()
  1578. end
  1579. )
  1580. mag = (MainPos - pos).magnitude
  1581. mag = (MainPos - pos).magnitude
  1582. Beam.Transparency = 0.4
  1583. lapse = lapse + 1
  1584. Beam.Mesh.Scale = Vector3.new(mag + 9, 2, 2)
  1585. Beam.CFrame = StartPos * cn(0, -mag / 2 - 4.5, 0) * angles(0, 0, math.rad(90))
  1586. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1587. offset = (Torso.Position.y - mouse.Hit.p.y) / 40
  1588. local mag2 = (Torso.Position - mouse.Hit.p).magnitude / 80
  1589. offset = offset / mag2
  1590. gyro.cframe = cn(Head.Position, gunpos)
  1591. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * euler(0, 0, 0.75), 0.3)
  1592. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), 0.5)
  1593. if Torsovelocity > 2 then
  1594. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(15 * math.cos(sine / 6))), 0.3)
  1595. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(15 * math.cos(sine / 6))), 0.3)
  1596. else
  1597. if Torsovelocity < 1 then
  1598. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1599. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1600. end
  1601. end
  1602. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1603. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1604. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1605. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.005), 0.33)
  1606. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, -5, 0) * angles(math.rad(0), math.rad(30) + donum / 0.01, math.rad(0)), 0.33)
  1607. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1608. end
  1609. end
  1610. end
  1611. end
  1612. end
  1613. end
  1614. end
  1615. laserLoop:stop()
  1616. laserLoop.Parent = nil
  1617. CreateSound("http://www.roblox.com/asset/?id=445796907", LeftArm, 1, 1)
  1618. for i = 0, 1, 0.05 do
  1619. coroutine.resume(coroutine.create(function()
  1620. for _,v in pairs(rearRotor:getChildren()) do
  1621. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1622. if i >= 0.9 then
  1623. v.Transparency = 1
  1624. else
  1625. v.Transparency = i
  1626. end
  1627. end
  1628. end
  1629. end
  1630. ))
  1631. if Beam.Transparency <= i and lapse > 1 then
  1632. Beam.Transparency = i
  1633. hitRef.Transparency = i
  1634. end
  1635. if lapse > 1 then
  1636. Beam.Transparency = 0.4
  1637. hitRef.Transparency = 0.4
  1638. end
  1639. LGnrgRng.Transparency = i + 0.05
  1640. SMnrgRng.Transparency = i + 0.05
  1641. swait()
  1642. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.5)
  1643. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.5)
  1644. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.5)
  1645. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.5)
  1646. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1647. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1648. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1649. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1650. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1651. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) + donum / 0.045), 0.33)
  1652. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, -5, 0) * angles(math.rad(0), math.rad(30) - donum / 0.07, math.rad(0)), 0.33)
  1653. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1654. end
  1655. Beam.Parent = nil
  1656. hitRef.Parent = nil
  1657. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 10
  1658. gyro.Parent = nil
  1659. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1660. LGnrgRng.Transparency = 1
  1661. cooldown4 = 0
  1662. attack = false
  1663. end
  1664. end
  1665.  
  1666. Aim = function()
  1667. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 10
  1668. for i = 0, 1, 0.2 do
  1669. swait()
  1670. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  1671. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  1672. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.5)
  1673. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.5)
  1674. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1675. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1676. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1677. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1678. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1679. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1680. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1681. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1682. end
  1683. aim = true
  1684. RootJoint.C0 = RootCF * cn(0, 0, 0) * euler(0, 0, -1.57)
  1685. local gyro = (Create("BodyGyro")({Parent = RootPart, maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, cframe = RootPart.CFrame}))
  1686. local offset = nil
  1687. coroutine.resume(coroutine.create(function()
  1688. for i = 1, 0, -0.1 do
  1689. swait()
  1690. print"a"
  1691. end
  1692. end
  1693. ))
  1694. coroutine.resume(coroutine.create(function()
  1695. for i = 1, 0.5, -0.1 do
  1696. SMnrgRng.Transparency = i
  1697. LGnrgRng.Transparency = i
  1698. end
  1699. end
  1700. ))
  1701. coroutine.resume(coroutine.create(function()
  1702. for i = 1, 0, -0.05 do
  1703. wait()
  1704. if attack ~= false then
  1705. for _,v in pairs(rearRotor:getChildren()) do
  1706. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1707. v.Transparency = i - 0.05
  1708. end
  1709. end
  1710. else
  1711. do
  1712. do
  1713. for _,v in pairs(rearRotor:getChildren()) do
  1714. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1715. v.Transparency = 1
  1716. end
  1717. end
  1718. do break end
  1719. end
  1720. end
  1721. end
  1722. end
  1723. end
  1724. ))
  1725. local aimLoop = CreateSound("http://www.roblox.com/asset/?id=141268701", LeftArm, 1, 1, true)
  1726. while aim == true do
  1727. swait()
  1728. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1729. offset = (Torso.Position.y - mouse.Hit.p.y) / 40
  1730. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1731. offset = offset / mag
  1732. gyro.cframe = cn(Head.Position, gunpos)
  1733. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * euler(0, 0, 1.57), 0.3)
  1734. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), 0.5)
  1735. if Torsovelocity > 2 then
  1736. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(15 * math.cos(sine / 6))), 0.3)
  1737. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(15 * math.cos(sine / 6))), 0.3)
  1738. else
  1739. if Torsovelocity < 1 then
  1740. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1741. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1742. end
  1743. end
  1744. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.08, math.rad(0)), 0.3)
  1745. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.3)
  1746. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - donum / 0.03, math.rad(0)), 0.3)
  1747. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(30) - donum / 0.025), 0.33)
  1748. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, -5, 0) * angles(math.rad(0), math.rad(30) + donum / 0.05, math.rad(0)), 0.33)
  1749. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1750. end
  1751. do
  1752. aimLoop:Stop()
  1753. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1754. gyro:Destroy()
  1755. rail:ClearAllChildren()
  1756. offset = nil
  1757. aimLoop:Destroy()
  1758. end
  1759. end
  1760.  
  1761. subtractMana = function(k)
  1762. if k <= Mana then
  1763. Mana = Mana - k
  1764. end
  1765. end
  1766.  
  1767. combo = 0
  1768. mouse1d = function(mouse)
  1769. if attack == true and aim == false then
  1770. return
  1771. end
  1772. if attack == true and aim == true then
  1773. aim = false
  1774. return
  1775. end
  1776. hold = true
  1777. if combo == 0 then
  1778. combo = 1
  1779. attackone()
  1780. else
  1781. if combo == 1 then
  1782. combo = 2
  1783. attacktwo()
  1784. else
  1785. if combo == 2 then
  1786. combo = 0
  1787. attackthree()
  1788. end
  1789. end
  1790. end
  1791. coroutine.resume(coroutine.create(function()
  1792. for i = 1, 20 do
  1793. if attack == false or block.Value == true then
  1794. swait()
  1795. end
  1796. end
  1797. do
  1798. if attack == false or block.Value == true then
  1799. combo = 0
  1800. end
  1801. end
  1802. end
  1803. ))
  1804. end
  1805.  
  1806. mouse1u = function(mouse)
  1807. hold = false
  1808. end
  1809.  
  1810. buttonhold = false
  1811. mouse.KeyDown:connect(function(k)
  1812. k = k:lower()
  1813. if attack == false and k == "z" and co1 <= cooldown1 and skill1stam <= Mana then
  1814. cooldown1 = 0
  1815. subtractMana(skill1stam)
  1816. groundBreaker()
  1817. else
  1818. if attack == false and k == "x" and co2 <= cooldown2 and skill2stam <= Mana then
  1819. cooldown2 = 0
  1820. subtractMana(skill2stam)
  1821. Pulse()
  1822. else
  1823. if attack == false and k == "e" then
  1824. Blocking = true
  1825. Block()
  1826. else
  1827. if attack == false and k == "c" and co3 <= cooldown3 and skill3stam <= Mana then
  1828. cooldown3 = 0
  1829. subtractMana(skill3stam)
  1830. LaunchRail()
  1831. else
  1832. if attack == false and k == "v" and co4 <= cooldown4 and skill4stam <= Mana then
  1833. cooldown4 = 0
  1834. subtractMana(skill4stam)
  1835. vHold = true
  1836. AimLaserMethod()
  1837. end
  1838. end
  1839. end
  1840. end
  1841. end
  1842. end
  1843. )
  1844. mouse.KeyUp:connect(function(k)
  1845. if attack == true and k == "e" and Blocking == true then
  1846. Blocking = false
  1847. end
  1848. if attack == true and k == "v" and vHold == true then
  1849. vHold = false
  1850. end
  1851. end
  1852. )
  1853. mouse.Button1Down:connect(function()
  1854. mouse1d(mouse)
  1855. end
  1856. )
  1857. mouse.Button1Up:connect(function()
  1858. mouse1u(mouse)
  1859. end
  1860. )
  1861. numbb = 0
  1862. datnumb = 0
  1863. local Blink = 0
  1864. local BlinkEff = false
  1865. updateskills = function()
  1866. if cooldown1 <= co1 then
  1867. cooldown1 = cooldown1 + 0.033333333333333
  1868. end
  1869. if cooldown2 <= co2 then
  1870. cooldown2 = cooldown2 + 0.033333333333333
  1871. end
  1872. if cooldown3 <= co3 then
  1873. cooldown3 = cooldown3 + 0.033333333333333
  1874. end
  1875. if cooldown4 <= co4 then
  1876. cooldown4 = cooldown4 + 0.033333333333333
  1877. end
  1878. if Mana <= skill1stam then
  1879. bar4.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1880. else
  1881. bar4.BackgroundColor3 = skillcolorscheme
  1882. end
  1883. if Mana <= skill2stam then
  1884. bar3.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1885. else
  1886. bar3.BackgroundColor3 = skillcolorscheme
  1887. end
  1888. if Mana <= skill3stam then
  1889. bar1.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1890. else
  1891. bar1.BackgroundColor3 = skillcolorscheme
  1892. end
  1893. if Mana <= skill4stam then
  1894. bar2.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1895. else
  1896. bar2.BackgroundColor3 = skillcolorscheme
  1897. end
  1898. if Mana <= maxMana then
  1899. Mana = Mana + recovermana / 30
  1900. end
  1901. end
  1902.  
  1903. while wait() do
  1904. swait()
  1905. for i,v in pairs(Character:GetChildren()) do
  1906. if v:IsA("Part") then
  1907. v.Material = "SmoothPlastic"
  1908. else
  1909. if v:IsA("Hat") then
  1910. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1911. end
  1912. end
  1913. end
  1914. updateskills()
  1915. healthcover:TweenSize(UDim2.new(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  1916. Manacover:TweenSize(UDim2.new(1 * (Mana / maxMana), 0, 1, 0), "Out", "Quad", 0.5)
  1917. bar4:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1918. bar3:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1919. bar1:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1920. bar2:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1921. Blink = Blink + 0.55
  1922. if 15 - 5 * (Humanoid.WalkSpeed / 16) <= Blink then
  1923. Blink = 0
  1924. if BlinkEff == true then
  1925. BlinkEff = false
  1926. else
  1927. if BlinkEff == false then
  1928. BlinkEff = true
  1929. end
  1930. end
  1931. end
  1932. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1933. velocity = RootPart.Velocity.y
  1934. sine = sine + change
  1935. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1936. if 0.5 <= donum2 then
  1937. handidle = true
  1938. else
  1939. if donum2 <= 0 then
  1940. handidle = false
  1941. end
  1942. end
  1943. if handidle == false then
  1944. donum2 = donum2 + 0.003
  1945. else
  1946. donum2 = donum2 - 0.003
  1947. end
  1948. donum = donum + 0.003
  1949. if equipped == true or equipped == false then
  1950. if 1 < RootPart.Velocity.y and hit == nil then
  1951. Anim = "Jump"
  1952. if attack == false then
  1953. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1954. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1955. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  1956. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  1957. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, -0.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), 0.3)
  1958. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1959. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.08, math.rad(0)), 0.3)
  1960. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + (donum) / 0.05, math.rad(0)), 0.3)
  1961. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.03, math.rad(0)), 0.3)
  1962. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1963. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1964. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1965. end
  1966. else
  1967. if RootPart.Velocity.y < -1 and hit == nil then
  1968. Anim = "Fall"
  1969. if attack == false then
  1970. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1971. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1972. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1973. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1974. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1975. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1976. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.08, math.rad(0)), 0.3)
  1977. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + (donum) / 0.05, math.rad(0)), 0.3)
  1978. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.03, math.rad(0)), 0.3)
  1979. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1980. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1981. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1982. end
  1983. else
  1984. if Torsovelocity < 1 and hit ~= nil then
  1985. Anim = "Idle"
  1986. if attack == false then
  1987. change = 1
  1988. Jumping = false
  1989. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.15 + 0.1 * math.cos((sine) / 15)) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1990. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1991. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-11), math.rad(-10), math.rad(15 + 5 * math.cos((sine) / 15))), 0.3)
  1992. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25 - 3 * math.cos((sine) / 15)), math.rad(-20), math.rad(-45 - 3 * math.cos((sine) / 15))), 0.3)
  1993. RH.C0 = clerp(RH.C0, cn(1.05, -0.8 - 0.1 * math.cos((sine) / 15), 0) * RHCF * angles(math.rad(-4 - 1 * math.cos((sine) / 35)), math.rad(15), math.rad(0)), 0.3)
  1994. LH.C0 = clerp(LH.C0, cn(-1.05, -0.8 - 0.1 * math.cos((sine) / 15), 0) * LHCF * angles(math.rad(-4 - 1 * math.cos((sine) / 35)), math.rad(15), math.rad(0)), 0.3)
  1995. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.08, math.rad(0)), 0.3)
  1996. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + (donum) / 0.05, math.rad(0)), 0.3)
  1997. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.03, math.rad(0)), 0.3)
  1998. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1999. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2000. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2001. end
  2002. else
  2003. if 2 < Torsovelocity and hit ~= nil then
  2004. Anim = "Walk"
  2005. if attack == false then
  2006. change = 3
  2007. Jumping = false
  2008. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10 + 1 * math.cos((sine) / 15)), math.rad(0), math.rad(0 + 3 * math.cos((sine) / 15))), 0.3)
  2009. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 - 1 * math.cos((sine) / 15)), math.rad(0), math.rad(0 - 1 * math.cos((sine) / 15))), 0.3)
  2010. RW.C0 = clerp(RW.C0, CFrame.new(1.45 + 0.1 * math.cos((sine) / 13), 0.5, 0 - 0.1 * math.cos((sine) / 13)) * angles(math.sin(40) * math.cos((sine) / 13), math.rad(0), math.rad(10 + 1 * math.cos((sine) / 13))), 0.3)
  2011. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(10 + 1 * math.cos((sine) / 14)), math.rad(0), math.rad(-45 + 3 * math.cos((sine) / 14))), 0.3)
  2012. RH.C0 = clerp(RH.C0, cn(1, -1, 0 - 0.5 * math.cos((sine) / 15) / 2) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(40 * math.cos((sine) / 15))), 0.3)
  2013. LH.C0 = clerp(LH.C0, cn(-1, -1, 0 + 0.5 * math.cos((sine) / 15) / 2) * LHCF * angles(math.rad(-4), math.rad(0), math.rad(40 * math.cos((sine) / 15))), 0.3)
  2014. LRingShoulderWeld.C0 = clerp(LRingShoulderWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.08, math.rad(0)), 0.3)
  2015. LRingMiddleWeld.C0 = clerp(LRingMiddleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) + (donum) / 0.05, math.rad(0)), 0.3)
  2016. LRingHandWeld.C0 = clerp(LRingHandWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(30) - (donum) / 0.03, math.rad(0)), 0.3)
  2017. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2018. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2019. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2020. end
  2021. end
  2022. end
  2023. end
  2024. end
  2025. end
  2026. if 0 < #Effects then
  2027. for e = 1, #Effects do
  2028. if Effects[e] ~= nil then
  2029. local Thing = Effects[e]
  2030. if Thing ~= nil then
  2031. local Part = Thing[1]
  2032. local Mode = Thing[2]
  2033. local Delay = Thing[3]
  2034. local IncX = Thing[4]
  2035. local IncY = Thing[5]
  2036. local IncZ = Thing[6]
  2037. if Thing[1].Transparency <= 1 then
  2038. if Thing[2] == "Block1" then
  2039. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2040. Mesh = Thing[1].Mesh
  2041. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2042. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2043. else
  2044. if Thing[2] == "Block2" then
  2045. Thing[1].CFrame = Thing[1].CFrame
  2046. Mesh = Thing[7]
  2047. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2048. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2049. else
  2050. if Thing[2] == "Cylinder" then
  2051. Mesh = Thing[1].Mesh
  2052. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2053. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2054. else
  2055. if Thing[2] == "Blood" then
  2056. Mesh = Thing[7]
  2057. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2058. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2059. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2060. else
  2061. if Thing[2] == "Elec" then
  2062. Mesh = Thing[1].Mesh
  2063. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2064. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2065. else
  2066. if Thing[2] == "Disappear" then
  2067. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068. else
  2069. if Thing[2] == "Shatter" then
  2070. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2071. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2072. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2073. Thing[6] = Thing[6] + Thing[5]
  2074. end
  2075. end
  2076. end
  2077. end
  2078. end
  2079. end
  2080. end
  2081. else
  2082. Part.Parent = nil
  2083. table.remove(Effects, e)
  2084. end
  2085. end
  2086. end
  2087. end
  2088. end
  2089. do
  2090. do
  2091. datnumb = 0
  2092. BaseNumb = 6.28
  2093. if attack == false then
  2094. Blocker.CanCollide = false
  2095. end
  2096. end
  2097. end
  2098. end
Add Comment
Please, Sign In to add comment