Advertisement
ajcooper2003

Untitled

Oct 25th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.24 KB | None | 0 0
  1.  
  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 = 2
  73. local co2 = 2
  74. local co3 = 2
  75. local co4 = 2
  76. local cooldown1 = 0
  77. local cooldown2 = 0
  78. local cooldown3 = 0
  79. local cooldown4 = 0
  80. local maxMana = 100
  81. local Mana = 100
  82. local dmg = 1231
  83. local skill1stam = 0
  84. local skill2stam = 0
  85. local skill3stam = 0
  86. local skill4stam = 0
  87. local skill4absorbrate = 2
  88. local blockDrainRate = 0.5
  89. local recovermana = 100
  90. local skillcolorscheme = Color3.new(1, 1, 1)
  91. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  92. makeframe = function(par, trans, pos, size, color)
  93. local frame = Instance.new("Frame", par)
  94. frame.BackgroundTransparency = trans
  95. frame.BorderSizePixel = 0
  96. frame.Position = pos
  97. frame.Size = size
  98. frame.BackgroundColor3 = Color3.new(color)
  99. return frame
  100. end
  101.  
  102. makelabel = function(par, text)
  103. local label = Instance.new("TextLabel", par)
  104. label.BackgroundTransparency = 1
  105. label.Size = UDim2.new(1, 0, 1, 0)
  106. label.Position = UDim2.new(0, 0, 0, 0)
  107. label.TextColor3 = Color3.new(0, 0, 0)
  108. label.TextStrokeTransparency = 0
  109. label.FontSize = Enum.FontSize.Size32
  110. label.Font = Enum.Font.SourceSansBold
  111. label.BorderSizePixel = 0
  112. label.TextScaled = true
  113. label.Text = text
  114. end
  115.  
  116. local colorscheme2 = Torso.BrickColor.Color
  117. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.23, 0, 0.93, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  118. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.5, 0, 0.93, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  119. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.5, 0, 0.86, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  120. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.23, 0, 0.86, 0), UDim2.new(0.26, 0, 0.06, 0), colorscheme2)
  121. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  122. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  123. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  124. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  125. text1 = makelabel(framesk1, "[C] Rail Dominator")
  126. text2 = makelabel(framesk2, "[V + HOLD] Gluon Drive")
  127. text3 = makelabel(framesk3, "[X] Arcus Surge")
  128. text4 = makelabel(framesk4, "[Z] Ground Breaker")
  129. 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)
  130. Manacover = makeframe(Manabar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Cyan").Color)
  131. Manatext = makelabel(Manabar, "Energy")
  132. 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)
  133. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  134. healthtext = makelabel(healthbar, "Health")
  135. local stats = Instance.new("Folder", Character)
  136. stats.Name = "Stats"
  137. local block = Instance.new("BoolValue", stats)
  138. block.Name = "Block"
  139. block.Value = false
  140. local stun = Instance.new("BoolValue", stats)
  141. stun.Name = "Stun"
  142. stun.Value = false
  143. local defense = Instance.new("NumberValue", stats)
  144. defense.Name = "Defence"
  145. defense.Value = 1.2
  146. local speed = Instance.new("NumberValue", stats)
  147. speed.Name = "Speed"
  148. speed.Value = 0.7
  149. local damagea = Instance.new("NumberValue", stats)
  150. damagea.Name = "Damage"
  151. damagea.Value = 0.8
  152. clerp = function(a, b, t)
  153. return a:lerp(b, t)
  154. end
  155.  
  156. ArtificialHB = Instance.new("BindableEvent", script)
  157. ArtificialHB.Name = "Heartbeat"
  158. script:WaitForChild("Heartbeat")
  159. frame = 0.033333333333333
  160. tf = 0
  161. allowframeloss = false
  162. tossremainder = false
  163. lastframe = tick()
  164. script.Heartbeat:Fire()
  165. game:GetService("RunService").Heartbeat:connect(function(s, p)
  166. tf = tf + s
  167. if frame <= tf then
  168. if allowframeloss then
  169. script.Heartbeat:Fire()
  170. lastframe = tick()
  171. else
  172. for i = 1, math.floor(tf / frame) do
  173. script.Heartbeat:Fire()
  174. end
  175. lastframe = tick()
  176. end
  177. if tossremainder then
  178. tf = 0
  179. else
  180. tf = tf - frame * math.floor(tf / frame)
  181. end
  182. end
  183. end
  184. )
  185. swait = function(num)
  186. if num == 0 or num == nil then
  187. ArtificialHB.Event:wait()
  188. else
  189. for i = 0, num do
  190. ArtificialHB.Event:wait()
  191. end
  192. end
  193. end
  194.  
  195. local RbxUtility = LoadLibrary("RbxUtility")
  196. local Create = RbxUtility.Create
  197. RemoveOutlines = function(part)
  198. part.TopSurface = 10
  199. end
  200.  
  201. CreateWeaponPart = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  202. 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})
  203. RemoveOutlines(fp)
  204. return fp
  205. end
  206.  
  207. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  208. 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})
  209. RemoveOutlines(Part)
  210. return Part
  211. end
  212.  
  213. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  214. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  215. if Mesh == "SpecialMesh" then
  216. Msh.MeshType = MeshType
  217. Msh.MeshId = MeshId
  218. end
  219. return Msh
  220. end
  221.  
  222. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  223. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  224. return Weld
  225. end
  226.  
  227. rayCast = function(Position, Direction, Range, Ignore)
  228. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  229. end
  230.  
  231. CreateSound = function(id, par, vol, pit, looped)
  232. local sou = Instance.new("Sound", par or Character)
  233. coroutine.resume(coroutine.create(function()
  234. sou.Volume = vol
  235. sou.Pitch = pit or 1
  236. sou.SoundId = id
  237. sou.Looped = looped or false
  238. swait()
  239. sou:play()
  240. if looped == nil or looped == false then
  241. game:GetService("Debris"):AddItem(sou, 6)
  242. end
  243. end
  244. ))
  245. return sou
  246. end
  247.  
  248. local getclosest = function(obj, distance)
  249. local last, lastx = distance + 1, nil
  250. for i,v in pairs(workspace:GetChildren()) do
  251. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  252. local t = v.Torso
  253. local dist = (t.Position - obj.Position).magnitude
  254. if dist <= distance and dist < last then
  255. last = dist
  256. lastx = v
  257. end
  258. end
  259. end
  260. return lastx
  261. end
  262.  
  263. makegui = function(cframe, text)
  264. local a = math.random(-10, 10) / 100
  265. local c = Instance.new("Part")
  266. c.Transparency = 1
  267. Instance.new("BodyGyro").Parent = c
  268. c.Parent = Character
  269. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  270. local f = Instance.new("BodyPosition")
  271. f.P = 2000
  272. f.D = 100
  273. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  274. f.position = c.Position + Vector3.new(0, 3, 0)
  275. f.Parent = c
  276. game:GetService("Debris"):AddItem(c, 6.5)
  277. c.CanCollide = false
  278. c.Parent = Character
  279. c.CanCollide = false
  280. local bg = Instance.new("BillboardGui", c)
  281. bg.Adornee = c
  282. bg.Size = UDim2.new(1, 0, 1, 0)
  283. bg.StudsOffset = Vector3.new(0, 0, 0)
  284. bg.AlwaysOnTop = false
  285. local tl = Instance.new("TextLabel", bg)
  286. tl.BackgroundTransparency = 1
  287. tl.Size = UDim2.new(1, 0, 1, 0)
  288. tl.Text = text
  289. tl.Font = "SourceSansBold"
  290. tl.FontSize = "Size42"
  291. if crit == true then
  292. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  293. else
  294. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  295. end
  296. tl.TextStrokeTransparency = 0
  297. tl.TextScaled = true
  298. tl.TextWrapped = true
  299. coroutine.wrap(function()
  300. wait(2)
  301. for i = 1, 10 do
  302. swait()
  303. c.Transparency = 1
  304. tl.TextTransparency = tl.TextTransparency + 0.1
  305. end
  306. end
  307. )()
  308. end
  309.  
  310. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock, blockreduction)
  311. if hit.Parent == nil or hit.Name == "Laser" or hit.Name == "Reference" then
  312. return
  313. end
  314. local h = nil
  315. if hit.Parent:FindFirstChild("Humanoid") then
  316. h = hit.Parent:FindFirstChild("Humanoid")
  317. else
  318. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  319. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  320. else
  321. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  322. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  323. end
  324. end
  325. end
  326. h = nil
  327. if h == nil then
  328. return
  329. end
  330. for _,v in pairs(hit.Parent:children()) do
  331. if v:IsA("Humanoid") then
  332. h = v
  333. end
  334. end
  335. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  336. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  337. end
  338. if hit.Parent.className == "Hat" then
  339. hit = hit.Parent.Parent:findFirstChild("Head")
  340. end
  341. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil and hit.Parent:FindFirstChild("Armed") ~= nil then
  342. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  343. return
  344. end
  345. local c = Instance.new("ObjectValue")
  346. c.Name = "creator"
  347. c.Value = game:service("Players").LocalPlayer
  348. c.Parent = h
  349. game:GetService("Debris"):AddItem(c, 0.5)
  350. local Damage = math.random(minim, maxim)
  351. local blocked = false
  352. local stats = (hit.Parent:FindFirstChild("Stats"))
  353. local block = nil
  354. if stats ~= nil then
  355. block = stats.Block
  356. end
  357. if blockreduction == nil then
  358. blockreduction = 3
  359. end
  360. if block ~= nil then
  361. if block.className == "NumberValue" and block.Value > 0 then
  362. blocked = true
  363. if decreaseblock == nil then
  364. block.Value = block.Value - 1
  365. end
  366. end
  367. if block.className == "BoolValue" and block.Value == true then
  368. blocked = true
  369. local vp = Instance.new("BodyVelocity")
  370. vp.P = 500
  371. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  372. if KnockbackType == 1 then
  373. vp.velocity = (Property.CFrame.lookVector * knockback + Property.Velocity / 1.05) / blockreduction
  374. else
  375. if KnockbackType == 2 then
  376. vp.velocity = Property.CFrame.lookVector * knockback / blockreduction
  377. end
  378. end
  379. if knockback > 0 then
  380. vp.Parent = hit.Parent.Torso
  381. end
  382. game:GetService("Debris"):AddItem(vp, 0.5)
  383. end
  384. do
  385. if block.className == "IntValue" and block.Value > 0 then
  386. blocked = true
  387. if decreaseblock ~= nil then
  388. block.Value = block.Value - 1
  389. end
  390. end
  391. if blocked == false then
  392. h.Health = h.Health - Damage
  393. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Hitbox.BrickColor.Color)
  394. else
  395. h.Health = h.Health - (Damage / blockreduction or 3)
  396. 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)
  397. end
  398. if Type == "Knockdown" and blocked == false then
  399. local hum = hit.Parent.Humanoid
  400. hum.PlatformStand = true
  401. coroutine.resume(coroutine.create(function(HHumanoid)
  402. swait(1)
  403. HHumanoid.PlatformStand = false
  404. end
  405. ), hum)
  406. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  407. local bodvol = Instance.new("BodyVelocity")
  408. bodvol.velocity = angle * knockback
  409. bodvol.P = 5000
  410. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  411. bodvol.Parent = hit
  412. local rl = Instance.new("BodyAngularVelocity")
  413. rl.P = 3000
  414. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  415. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  416. rl.Parent = hit
  417. game:GetService("Debris"):AddItem(bodvol, 0.5)
  418. game:GetService("Debris"):AddItem(rl, 0.5)
  419. else
  420. do
  421. if Type == "Normal" and blocked == false then
  422. local vp = Instance.new("BodyVelocity")
  423. vp.P = 500
  424. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  425. if KnockbackType == 1 then
  426. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  427. else
  428. if KnockbackType == 2 then
  429. vp.velocity = Property.CFrame.lookVector * knockback
  430. end
  431. end
  432. if knockback > 0 then
  433. vp.Parent = hit.Parent.Torso
  434. end
  435. game:GetService("Debris"):AddItem(vp, 0.5)
  436. else
  437. do
  438. if Type == "Up" and blocked == false then
  439. local bodyVelocity = Instance.new("BodyVelocity")
  440. bodyVelocity.velocity = vt(0, 60, 0)
  441. bodyVelocity.P = 5000
  442. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  443. bodyVelocity.Parent = hit
  444. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  445. local rl = Instance.new("BodyAngularVelocity")
  446. rl.P = 3000
  447. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  448. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  449. rl.Parent = hit
  450. game:GetService("Debris"):AddItem(rl, 0.5)
  451. else
  452. do
  453. if Type == "Snare" and blocked == false then
  454. local bp = Instance.new("BodyPosition")
  455. bp.P = 2000
  456. bp.D = 100
  457. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  458. bp.position = hit.Parent.Torso.Position
  459. bp.Parent = hit.Parent.Torso
  460. game:GetService("Debris"):AddItem(bp, 1)
  461. else
  462. do
  463. if Type == "Target" and blocked == false then
  464. local Targetting = false
  465. if Targetting == false then
  466. ZTarget = hit.Parent.Torso
  467. coroutine.resume(coroutine.create(function(Part)
  468. CreateSound("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  469. swait(5)
  470. CreateSound("http://www.roblox.com/asset/?id=15666462", Part, 1, 1.5)
  471. end
  472. ), ZTarget)
  473. local TargHum = ZTarget.Parent:findFirstChild("Humanoid")
  474. local targetgui = Instance.new("BillboardGui")
  475. targetgui.Parent = ZTarget
  476. targetgui.Size = UDim2.new(10, 100, 10, 100)
  477. local targ = Instance.new("ImageLabel")
  478. targ.Parent = targetgui
  479. targ.BackgroundTransparency = 1
  480. targ.Image = "rbxassetid://4834067"
  481. targ.Size = UDim2.new(1, 0, 1, 0)
  482. cam.CameraType = "Scriptable"
  483. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  484. local dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  485. workspace.CurrentCamera.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  486. Targetting = true
  487. RocketTarget = ZTarget
  488. for i = 1, Property do
  489. if Humanoid.Health > 0 and Character.Parent ~= nil and TargHum.Health > 0 and TargHum.Parent ~= nil and Targetting == true then
  490. swait()
  491. end
  492. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position)
  493. dir = Vector3.new(cam.CoordinateFrame.lookVector.x, 0, cam.CoordinateFrame.lookVector.z)
  494. cam.CoordinateFrame = CFrame.new(Head.CFrame.p, ZTarget.Position) * cf(0, 5, 10) * euler(-0.3, 0, 0)
  495. end
  496. Targetting = false
  497. RocketTarget = nil
  498. targetgui.Parent = nil
  499. cam.CameraType = "Custom"
  500. end
  501. end
  502. do
  503. local debounce = Instance.new("BoolValue")
  504. debounce.Name = "DebounceHit"
  505. debounce.Parent = hit.Parent
  506. debounce.Value = true
  507. game:GetService("Debris"):AddItem(debounce, Delay)
  508. c = Instance.new("ObjectValue")
  509. c.Name = "creator"
  510. c.Value = Player
  511. c.Parent = h
  512. game:GetService("Debris"):AddItem(c, 0.5)
  513. end
  514. end
  515. end
  516. end
  517. end
  518. end
  519. end
  520. end
  521. end
  522. end
  523. end
  524. end
  525. end
  526.  
  527. ShowDamage = function(Pos, Text, Time, Color)
  528. local Rate = 0.033333333333333
  529. if not Pos then
  530. local Pos = Vector3.new(0, 0, 0)
  531. end
  532. local Text = Text or ""
  533. local Time = Time or 2
  534. if not Color then
  535. local Color = Color3.new(1, 0, 0)
  536. end
  537. local EffectPart = CreateWeaponPart("Custom", Character, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  538. EffectPart.Anchored = true
  539. local BillboardGui = Instance.new("BillboardGui")
  540. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  541. BillboardGui.Adornee = EffectPart
  542. local TextLabel = Instance.new("TextLabel")
  543. TextLabel.BackgroundTransparency = 1
  544. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  545. TextLabel.Text = Text
  546. TextLabel.TextColor3 = Color
  547. TextLabel.TextScaled = true
  548. TextLabel.Font = Enum.Font.ArialBold
  549. TextLabel.Parent = BillboardGui
  550. BillboardGui.Parent = EffectPart
  551. game.Debris:AddItem(EffectPart, Time + 0.1)
  552. EffectPart.Parent = Character
  553. Delay(0, function()
  554. local Frames = Time / Rate
  555. for Frame = 1, Frames do
  556. wait(Rate)
  557. local Percent = Frame / Frames
  558. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  559. TextLabel.TextTransparency = Percent
  560. end
  561. if EffectPart and EffectPart.Parent then
  562. EffectPart:Destroy()
  563. end
  564. end
  565. )
  566. end
  567.  
  568. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  569. for _,c in pairs(workspace:children()) do
  570. local hum = c:findFirstChild("Humanoid")
  571. if hum ~= nil then
  572. local head = c:findFirstChild("Torso")
  573. if head ~= nil then
  574. local targ = head.Position - Part.Position
  575. local mag = targ.magnitude
  576. if mag <= magni and c.Name ~= Player.Name then
  577. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.2, 1)
  578. end
  579. end
  580. end
  581. end
  582. end
  583.  
  584. LeftHandle = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  585. 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))
  586. 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))
  587. SMnrgRng = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "nrgRng", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  588. 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))
  589. 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))
  590. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(1.79999995, 0.300000012, 0.300000012))
  591. 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))
  592. CreateMesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  593. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  594. 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))
  595. 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))
  596. LGnrgRng = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "nrgRng", Vector3.new(1, 1, 0.200000003))
  597. 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))
  598. CreateMesh("SpecialMesh", LGnrgRng, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(3, 3, 1))
  599. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  600. 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))
  601. 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))
  602. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  603. 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))
  604. 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))
  605. Hitbox = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Plastic, 0, 1, "Really black", "Hitbox", Vector3.new(2.48000002, 1.44999993, 2.5999999))
  606. 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))
  607. RightHandle = CreateWeaponPart(Enum.FormFactor.Symmetric, m, Enum.Material.Plastic, 0, 1, "Pastel brown", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  608. 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))
  609. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.210000008, 0.200000003))
  610. 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))
  611. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.19999981, 5, 3))
  612. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 0.200000003, 0.26000002))
  613. 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))
  614. CreateMesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(5.19999981, 5.0999999, 3))
  615. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  616. 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))
  617. 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))
  618. RotorHandle = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "RotorHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  619. 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))
  620. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.38300407, 0.455274403))
  621. 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))
  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, 1.28300405, 0.465274394))
  624. 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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  627. 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))
  628. 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))
  629. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  630. 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))
  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, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  633. 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))
  634. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  635. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 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.0788670778, -2.44238925, 0.834575415, 0.707086623, -0.707081854, 0.00799725484, 0.394271672, 0.403612196, 0.82561934, -0.587008238, -0.580631137, 0.564171076))
  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, 1.38300407, 0.455274403))
  639. 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))
  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, 1.28300405, 0.465274394))
  642. 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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  645. 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))
  646. 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))
  647. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  648. 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))
  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, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  651. 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))
  652. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  653. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 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.12817502, -2.43175316, 0.819277644, -0.707086444, 0.707081854, -0.00801257882, -0.413065463, -0.403818071, 0.816277027, 0.573939025, 0.580487967, 0.577605367))
  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, 1.38300407, 0.455274403))
  657. 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))
  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, 1.28300405, 0.465274394))
  660. 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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  663. 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))
  664. 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))
  665. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  666. 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))
  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, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  669. 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))
  670. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  671. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 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.120144725, -2.43376923, 0.82217741, -0.707034528, -0.707131803, -0.00818933453, 0.394292414, -0.403798521, 0.82551837, -0.587057054, 0.580440879, 0.564316154))
  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, 1.38300407, 0.455274403))
  675. 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))
  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, 1.28300405, 0.465274394))
  678. 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))
  679. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  680. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  681. 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))
  682. 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))
  683. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 1.51300383, 0.687728643))
  684. 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))
  685. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  686. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  687. 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))
  688. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  689. Part = CreateWeaponPart(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.200000003, 2.88846183, 0.687728643))
  690. 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))
  691. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.687728763, 1, 1))
  692. RearRotorHandle = CreateWeaponPart(Enum.FormFactor.Brick, rearRotor, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  693. 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))
  694. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  695. 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))
  696. 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))
  697. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  698. 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))
  699. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  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.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))
  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, 4.19999981, 1))
  704. 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))
  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.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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  710. 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))
  711. 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))
  712. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  713. 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))
  714. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  715. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  716. 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))
  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.19999981, 1))
  719. 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))
  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, 4.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.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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  725. 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))
  726. 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))
  727. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  728. 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))
  729. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  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.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))
  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, 2.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.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))
  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.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))
  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, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  740. 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))
  741. 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))
  742. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.20000005, 1.20000005))
  743. 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))
  744. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  745. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  746. 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))
  747. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  748. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 4.19999981, 1))
  749. 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))
  750. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  751. Part = CreateWeaponPart(Enum.FormFactor.Custom, rearRotor, Enum.Material.SmoothPlastic, 0, 1, "Institutional white", "Part", Vector3.new(0.200000003, 2.19999981, 1))
  752. 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))
  753. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  754. ShieldHandle = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0, 1, "Toothpaste", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  755. 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))
  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.707103133, 0.707110465, 4.77082322e-005, -0.707110465, 0.707103133, -3.04873265e-005, -5.52925521e-005, -1.21773119e-005, 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, 1, 0, 0, 0, 1, -1.8189894e-012, 0, -1.8189894e-012, 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.707103133, 0.707110465, 4.77082322e-005, -0.707110465, 0.707103133, -3.04873265e-005, -5.52925521e-005, -1.21773119e-005, 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, 5.66244125e-007, 1, -5.63711073e-005, -1, 5.66244125e-007, -0.000140726566, -0.000140726537, 5.63711837e-005, 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. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  769. 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))
  770. 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))
  771. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  772. 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))
  773. 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))
  774. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Cyan", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  775. 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))
  776. 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))
  777. Part = CreateWeaponPart(Enum.FormFactor.Custom, shield, Enum.Material.Plastic, 0.5, 1, "Toothpaste", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  778. 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))
  779. 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))
  780. Blocker = CreateWeaponPart(Enum.FormFactor.Brick, shield, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Blocker", Vector3.new(0.200000003, 5.76000023, 6.46999979))
  781. 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))
  782. LRingsHandle = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  783. 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))
  784. 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))
  785. 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))
  786. 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))
  787. generateRail = function()
  788. local RailHandle = CreateWeaponPart(Enum.FormFactor.Brick, rail, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Handle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  789. 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))
  790. end
  791.  
  792. BaseLaser = CreateWeaponPart(Enum.FormFactor.Brick, m, Enum.Material.Neon, 0.10000000149012, 1, "Toothpaste", "Handle", Vector3.new(1, 0.800000012, 1))
  793. 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))
  794. CreateMesh("SpecialMesh", BaseLaser, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.800000012, 0.200000003))
  795. for i,v in pairs(Character:GetChildren()) do
  796. if v:IsA("Model") then
  797. for _,c in pairs(v:GetChildren()) do
  798. if c:IsA("Part") then
  799. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  800. end
  801. end
  802. end
  803. end
  804. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  805. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  806. prt.Anchored = true
  807. prt.CFrame = cframe
  808. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  809. game:GetService("Debris"):AddItem(prt, 10)
  810. if Type == 1 or Type == nil then
  811. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  812. else
  813. if Type == 2 then
  814. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  815. end
  816. end
  817. return prt
  818. end
  819.  
  820. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  827. return prt
  828. end
  829.  
  830. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  831. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  832. prt.Anchored = true
  833. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  834. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  835. game:GetService("Debris"):AddItem(prt, 10)
  836. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  837. return prt
  838. end
  839.  
  840. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  841. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  842. prt.Anchored = true
  843. prt.CFrame = cframe
  844. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  845. game:GetService("Debris"):AddItem(prt, 10)
  846. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  847. return prt
  848. end
  849.  
  850. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  851. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  852. prt.Anchored = true
  853. prt.CFrame = cframe
  854. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  855. game:GetService("Debris"):AddItem(prt, 10)
  856. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  857. return prt
  858. end
  859.  
  860. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  861. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  862. prt.Anchored = true
  863. prt.CFrame = cframe
  864. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  865. game:GetService("Debris"):AddItem(prt, 10)
  866. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  867. return prt
  868. end
  869.  
  870. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  871. local prt = CreatePart(Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  872. prt.Anchored = true
  873. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  874. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  875. local num = math.random(10, 50) / 1000
  876. game:GetService("Debris"):AddItem(prt, 10)
  877. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  878. return prt
  879. end
  880.  
  881. ChargeEffect = function(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
  882. 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})
  883. local msh1 = Create("SpecialMesh")({Scale = Vector3.new(0.5, 0.5, 0.5), MeshType = "Sphere", Parent = S})
  884. coroutine.resume(coroutine.create(function(Part, CF)
  885. local f = Instance.new("BodyPosition")
  886. f.P = 800
  887. f.D = 100
  888. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  889. f.position = part.Position
  890. f.Parent = Part
  891. for i = 0, 1, 0.1 do
  892. wait()
  893. Part.Transparency = Part.Transparency + 0.1
  894. end
  895. Part.Parent = nil
  896. end
  897. ), S, S.CFrame)
  898. end
  899.  
  900. attackone = function()
  901. attack = true
  902. CreateSound("http://www.roblox.com/asset/?id=442069814", LeftArm, 0.5, 1)
  903. local con = Hitbox.Touched:connect(function(hit)
  904. Damagefunc(Hitbox, hit, 2, 4, 1, "Normal", RootPart, 0.2, 1)
  905. end
  906. )
  907. for i = 0, 1, 0.15 do
  908. swait()
  909. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.33)
  910. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(15)), 0.33)
  911. 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)
  912. 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)
  913. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(12), math.rad(0)), 0.33)
  914. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(10), math.rad(0)), 0.33)
  915. 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)
  916. 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)
  917. 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)
  918. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  919. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  920. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  921. end
  922. for i = 0, 1, 0.13 do
  923. swait()
  924. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  925. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  926. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  927. 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)
  928. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  929. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  930. 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)
  931. 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)
  932. 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)
  933. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  934. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  935. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  936. end
  937. CreateSound("http://www.roblox.com/asset/?id=356425259", LeftArm, 1, 2)
  938. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  939. for i = 0, 1, 0.05 do
  940. swait()
  941. SMnrgRng.Transparency = 1 - i
  942. if SMnrgRng.Transparency <= 0.4 then
  943. SMnrgRng.Transparency = 0.5
  944. end
  945. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  946. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  947. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  948. 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)
  949. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  950. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  951. 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)
  952. 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)
  953. 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)
  954. 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)
  955. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  956. 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)
  957. end
  958. SMnrgRng.Transparency = 1
  959. con:disconnect()
  960. attack = false
  961. end
  962.  
  963. attacktwo = function()
  964. attack = true
  965. local con = Hitbox.Touched:connect(function(hit)
  966. Damagefunc(Hitbox, hit, 3, 7, math.random(2, 3), "Normal", RootPart, 0.2, 1)
  967. end
  968. )
  969. for i = 0, 1, 0.15 do
  970. swait()
  971. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  972. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  973. 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)
  974. 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)
  975. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.33)
  976. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(30), math.rad(0)), 0.33)
  977. 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)
  978. 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)
  979. 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)
  980. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  981. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  982. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  983. end
  984. CreateSound("http://www.roblox.com/asset/?id=356215636", LeftArm, 1, 1)
  985. for i = 0, 1, 0.15 do
  986. swait()
  987. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.35)
  988. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-80)), 0.35)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.35)
  990. 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)
  991. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-30), math.rad(0)), 0.35)
  992. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-30), math.rad(0)), 0.35)
  993. 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)
  994. 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)
  995. 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)
  996. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  997. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  998. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  999. end
  1000. con:disconnect()
  1001. attack = false
  1002. end
  1003.  
  1004. attackthree = function()
  1005. attack = true
  1006. CreateSound("http://www.roblox.com/asset/?id=356425259", SMnrgRng, 1, 1)
  1007. for i = 0, 1, 0.03 do
  1008. do
  1009. swait()
  1010. coroutine.resume(coroutine.create(function()
  1011. for _,v in pairs(rearRotor:getChildren()) do
  1012. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1013. if v.Transparency <= 0.3 then
  1014. v.Transparency = 0
  1015. else
  1016. v.Transparency = 1 - i - 0.2
  1017. end
  1018. end
  1019. end
  1020. end
  1021. ))
  1022. LGnrgRng.Transparency = 1 - i
  1023. if LGnrgRng.Transparency <= 0.4 then
  1024. LGnrgRng.Transparency = 0.5
  1025. end
  1026. SMnrgRng.Transparency = 1 - i
  1027. if SMnrgRng.Transparency <= 0.4 then
  1028. SMnrgRng.Transparency = 0.5
  1029. end
  1030. BlockEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05, 1)
  1031. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.33)
  1032. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), 0.33)
  1033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.33)
  1034. 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)
  1035. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  1036. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), 0.33)
  1037. 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)
  1038. 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)
  1039. 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)
  1040. 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)
  1041. 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)
  1042. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1043. end
  1044. end
  1045. CreateSound("http://roblox.com/asset/?id=315744661", LGnrgRng, 1, 1)
  1046. CreateSound("http://www.roblox.com/asset/?id=300916014", LGnrgRng, 1, 1)
  1047. RootPart.Velocity = RootPart.CFrame.lookVector * -70
  1048. SphereEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -3, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05)
  1049. MagniDamage(LGnrgRng, 8, 6, 16, 100, "Normal")
  1050. for i = 1, 10 do
  1051. BreakEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1052. end
  1053. for i = 0, 1, 0.13 do
  1054. swait()
  1055. coroutine.resume(coroutine.create(function()
  1056. for _,v in pairs(rearRotor:getChildren()) do
  1057. if v:IsA("BasePart") then
  1058. v.Transparency = i
  1059. end
  1060. end
  1061. end
  1062. ))
  1063. LGnrgRng.Transparency = i
  1064. SMnrgRng.Transparency = i
  1065. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), 0.33)
  1066. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), 0.33)
  1067. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), 0.33)
  1068. 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)
  1069. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-40), math.rad(5)), 0.33)
  1070. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-40), math.rad(-5)), 0.33)
  1071. 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)
  1072. 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)
  1073. 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)
  1074. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1075. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1076. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1077. end
  1078. coroutine.resume(coroutine.create(function()
  1079. for _,v in pairs(rearRotor:getChildren()) do
  1080. if v:IsA("BasePart") then
  1081. v.Transparency = 1
  1082. end
  1083. end
  1084. end
  1085. ))
  1086. LGnrgRng.Transparency = 1
  1087. SMnrgRng.Transparency = 1
  1088. attack = false
  1089. end
  1090.  
  1091. Block = function()
  1092. attack = true
  1093. block.Value = true
  1094. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 6
  1095. coroutine.resume(coroutine.create(function()
  1096. for i = 1, 0, -0.05 do
  1097. wait()
  1098. if attack ~= false then
  1099. for _,v in pairs(shield:getChildren()) do
  1100. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Name ~= "Blocker" then
  1101. v.Transparency = i - 0.05
  1102. end
  1103. end
  1104. else
  1105. do
  1106. do
  1107. for _,v in pairs(shield:getChildren()) do
  1108. if v:IsA("BasePart") and v.Name ~= "Handle" and v.Name ~= "Blocker" then
  1109. v.Transparency = 1
  1110. end
  1111. end
  1112. do break end
  1113. end
  1114. end
  1115. end
  1116. end
  1117. end
  1118. ))
  1119. coroutine.resume(coroutine.create(function()
  1120. wait(0.3)
  1121. Blocker.CanCollide = true
  1122. end
  1123. ))
  1124. coroutine.resume(coroutine.create(function()
  1125. while Blocking == true do
  1126. swait(2)
  1127. subtractMana(blockDrainRate)
  1128. if Mana <= blockDrainRate then
  1129. Blocking = false
  1130. end
  1131. end
  1132. end
  1133. ))
  1134. while Blocking == true do
  1135. while Blocking == true do
  1136. swait()
  1137. if Blocking == true then
  1138. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.33)
  1139. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.33)
  1140. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-32)), 0.33)
  1141. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(15), math.rad(-70)), 0.3)
  1142. if Torsovelocity > 2 then
  1143. 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)
  1144. 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)
  1145. else
  1146. if Torsovelocity < 1 then
  1147. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), 0.3)
  1148. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), 0.3)
  1149. end
  1150. end
  1151. 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)
  1152. 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)
  1153. 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)
  1154. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1155. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1156. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1157. end
  1158. end
  1159. if Blocking == false then
  1160. break
  1161. end
  1162. end
  1163. coroutine.resume(coroutine.create(function()
  1164. for _,v in pairs(shield:getChildren()) do
  1165. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1166. v.Transparency = 1
  1167. end
  1168. end
  1169. end
  1170. ))
  1171. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 6
  1172. block.Value = false
  1173. Blocker.CanCollide = false
  1174. attack = false
  1175. end
  1176.  
  1177. groundBreaker = function()
  1178. attack = true
  1179. Humanoid.WalkSpeed = 0
  1180. local AntiJump = Humanoid.Changed:connect(function()
  1181. Humanoid.Jump = false
  1182. end
  1183. )
  1184. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  1185. for i = 0, 1, 0.05 do
  1186. swait()
  1187. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.8) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  1188. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(18)), 0.3)
  1189. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(8)), 0.3)
  1190. 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)
  1191. RH.C0 = clerp(RH.C0, cn(1, -0.2, -0.3) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1192. LH.C0 = clerp(LH.C0, cn(-1, -0.6, -0.25) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(10)), 0.3)
  1193. 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)
  1194. 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)
  1195. 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)
  1196. 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)
  1197. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1198. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1199. end
  1200. MagniDamage(Torso, 10, 20, 30, 70, "Knockdown")
  1201. for i = 1, 10 do
  1202. BreakEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1203. end
  1204. local hitfloor = nil
  1205. while hitfloor == nil do
  1206. swait()
  1207. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
  1208. end
  1209. local hit, pos = rayCast(Hitbox.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1210. if hit ~= nil then
  1211. local Color = hit.BrickColor
  1212. local refpart = CreatePart(Character, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1213. refpart.Anchored = true
  1214. refpart.CFrame = CFrame.new(pos)
  1215. game:GetService("Debris"):AddItem(refpart, 1)
  1216. CreateSound("http://www.roblox.com/asset/?id=199145477", refpart, 0.8, 0.75)
  1217. CreateSound("http://www.roblox.com/asset/?id=142070127", refpart, 0.7, 0.9)
  1218. for i = 1, 10 do
  1219. local Color = hit.BrickColor
  1220. local Materials = hit.Material
  1221. 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))
  1222. groundpart.Anchored = false
  1223. groundpart.Material = Materials
  1224. groundpart.CanCollide = true
  1225. groundpart.Friction = 0.1
  1226. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  1227. 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))
  1228. game:GetService("Debris"):AddItem(groundpart, 10)
  1229. end
  1230. for i = 1, 10 do
  1231. local Color = hit.BrickColor
  1232. local Materials = hit.Material
  1233. 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))
  1234. actualgroundpart.Anchored = true
  1235. actualgroundpart.Material = Materials
  1236. actualgroundpart.Friction = 1
  1237. 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))
  1238. game:GetService("Debris"):AddItem(actualgroundpart, 10)
  1239. end
  1240. WaveEffect(hit.BrickColor, refpart.CFrame, 0.2, 0.2, 0.2, 0.5, 0.5, 0.5, 0.04)
  1241. SphereEffect(hit.BrickColor, refpart.CFrame, 0.2, 0.2, 0.2, 3, 3, 3, 0.04)
  1242. 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)
  1243. end
  1244. do
  1245. for i = 0, 1, 0.05 do
  1246. swait()
  1247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.65) * angles(math.rad(25), math.rad(0), math.rad(0)), 0.3)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(15), math.rad(0), math.rad(30)), 0.3)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.4, 0) * angles(math.rad(-15), math.rad(0), math.rad(30)), 0.3)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(-30), math.rad(-30)), 0.3)
  1251. RH.C0 = clerp(RH.C0, cn(1, -0.2, -0.3) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), 0.3)
  1252. LH.C0 = clerp(LH.C0, cn(-1, -0.6, -0.25) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(3)), 0.3)
  1253. 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)
  1254. 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)
  1255. 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)
  1256. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1257. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1258. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1259. end
  1260. Humanoid.WalkSpeed = 16
  1261. AntiJump:disconnect()
  1262. attack = false
  1263. end
  1264. end
  1265.  
  1266. LaunchRail = function()
  1267. attack = true
  1268. local blocked = false
  1269. local hitPlayer = false
  1270. CreateSound("http://www.roblox.com/asset/?id=298660207", LeftArm, 1, 1)
  1271. Aim()
  1272. CreateSound("http://www.roblox.com/asset/?id=188590169", LeftArm, 1, 1)
  1273. local MainPos = LeftArm.Position
  1274. local MainPos2 = mouse.Hit.p
  1275. 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
  1276. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1277. num = math.huge
  1278. coroutine.resume(coroutine.create(function(Spreaded)
  1279. repeat
  1280. wait()
  1281. local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
  1282. local TheHit = mouse.Hit.p
  1283. local mag = (MainPos - pos).magnitude
  1284. CylinderEffect("Toothpaste", CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, 0.5, 0, 1.5, 0.1)
  1285. MainPos = MainPos + MouseLook.lookVector * 10
  1286. num = num - 1
  1287. local fakevec = pos - LeftArm.CFrame * CFrame.new(Vector3.new(0, 0.25, -1.7)).p.unit
  1288. if hit ~= nil and hit.Name ~= "Rail" then
  1289. print(hit)
  1290. num = 0
  1291. local ref = CreateWeaponPart(3, Character, "Neon", 0, 1, BrickColor.new("Institutional white"), "Reference", Vector3.new())
  1292. do
  1293. ref.Anchored = true
  1294. ref.CFrame = cn(pos)
  1295. game:GetService("Debris"):AddItem(ref, 5)
  1296. local h = nil
  1297. if hit.Parent:FindFirstChild("Humanoid") then
  1298. h = hit.Parent:FindFirstChild("Humanoid")
  1299. else
  1300. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  1301. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1302. else
  1303. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  1304. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  1305. end
  1306. end
  1307. end
  1308. h = nil
  1309. print(h)
  1310. if h ~= nil and h.Health > 0 then
  1311. if hit.Name == "Blocker" and hit.CanCollide == true then
  1312. blocked = true
  1313. CreateSound("http://www.roblox.com/asset/?id=199148947", hit, 1, 1)
  1314. else
  1315. hitPlayer = true
  1316. h.WalkSpeed = h.WalkSpeed - 5
  1317. coroutine.resume(coroutine.create(function()
  1318. for i = 1, 10 do
  1319. if h.Health > 0 then
  1320. wait(1)
  1321. end
  1322. end
  1323. for i = 0, 1, 0.1 do
  1324. wait()
  1325. end
  1326. h.WalkSpeed = h.WalkSpeed + 5
  1327. end
  1328. ))
  1329. end
  1330. end
  1331. if blocked == false then
  1332. if hit.Name == "Blocker" and hit.CanCollide == true then
  1333. CreateSound("http://www.roblox.com/asset/?id=199148947", hit, 1, 1)
  1334. else
  1335. if not hit.Anchored then
  1336. hit.CFrame = hit.CFrame + Vector3.new(0, 0.1, 0)
  1337. end
  1338. if hitPlayer == false then
  1339. end
  1340. if not hit.Anchored then
  1341. do
  1342. hit.Velocity = hit.Velocity + fakevec * 50
  1343. end
  1344. end
  1345. end
  1346. end
  1347. end
  1348. else
  1349. end
  1350. until num <= 0
  1351. end
  1352. ))
  1353. for i = -0, 1, 0.05 do
  1354. do
  1355. coroutine.resume(coroutine.create(function()
  1356. for _,v in pairs(rearRotor:getChildren()) do
  1357. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1358. v.Transparency = i
  1359. end
  1360. end
  1361. end
  1362. ))
  1363. LGnrgRng.Transparency = i + 0.05
  1364. swait()
  1365. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(-0, -0, -0) * angles(math.rad(-0), math.rad(-0), math.rad(-50)), 0.5)
  1366. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-0), math.rad(-0), math.rad(50)), 0.5)
  1367. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0) * angles(math.rad(-10), math.rad(-0), math.rad(20)), 0.5)
  1368. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(90), math.rad(-0), math.rad(-50)), 0.5)
  1369. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(-0)), 0.3)
  1370. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(-0)), 0.3)
  1371. 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)
  1372. 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)
  1373. 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)
  1374. 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)
  1375. 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)
  1376. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(-0, -0, -0) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.33)
  1377. end
  1378. end
  1379. game:GetService("Debris"):AddItem(railM, 15)
  1380. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 10
  1381. SMnrgRng.Transparency = 1
  1382. LGnrgRng.Transparency = 1
  1383. for _,v in pairs(rearRotor:getChildren()) do
  1384. coroutine.resume(coroutine.create(function()
  1385. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1386. v.Transparency = 1
  1387. end
  1388. end
  1389. ))
  1390. end
  1391. cooldown3 = -0
  1392. attack = false
  1393. end
  1394.  
  1395. Pulse = function()
  1396. attack = true
  1397. local con = Hitbox.Touched:connect(function(hit)
  1398. Damagefunc(Hitbox, hit, 1, 3, 1, "Normal", RootPart, 0.2, 1)
  1399. end
  1400. )
  1401. CreateSound("http://www.roblox.com/asset/?id=412756170", LeftArm, 1, 0.8)
  1402. for i = 0, 1, 0.05 do
  1403. swait()
  1404. SMnrgRng.Transparency = 1 - i
  1405. if SMnrgRng.Transparency <= 0.4 then
  1406. SMnrgRng.Transparency = 0.5
  1407. end
  1408. BlockEffect("Toothpaste", LeftArm.CFrame * CFrame.new(0, -1, 0), 0.5, 0.5, 0.5, 0.8, 0.8, 0.8, 0.05, 1)
  1409. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(-50)), 0.3)
  1410. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  1411. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1412. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-40)), 0.3)
  1413. RH.C0 = clerp(RH.C0, cn(0.7, -1, -0.7) * RHCF * angles(math.rad(-4), math.rad(40), math.rad(10)), 0.3)
  1414. LH.C0 = clerp(LH.C0, cn(-0.7, -1, 0.7) * LHCF * angles(math.rad(-4), math.rad(40), math.rad(20)), 0.3)
  1415. 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)
  1416. 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)
  1417. 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)
  1418. 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)
  1419. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1420. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1421. end
  1422. con:disconnect()
  1423. local vel2 = Instance.new("BodyVelocity")
  1424. vel2.Parent = Torso
  1425. vel2.maxForce = Vector3.new(400000, 400000, 400000) * 1
  1426. vel2.velocity = RootPart.CFrame.lookVector * -90
  1427. Humanoid.Jump = true
  1428. local prt = CreatePart(Character, "SmoothPlastic", 0, 1, "Toothpaste", "Part", Vector3.new(5, 5, 5))
  1429. prt.Position = SMnrgRng.Position
  1430. prt.Anchored = true
  1431. CreateSound("http://www.roblox.com/asset/?id=300916105", prt, 1, 1)
  1432. WaveEffect("Toothpaste", prt.CFrame, 0.2, 0.2, 0.2, 0.5, 0.5, 0.5, 0.06)
  1433. SphereEffect("Toothpaste", prt.CFrame, 0.2, 0.2, 0.2, 3, 3, 3, 0.06)
  1434. 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)
  1435. MagniDamage(prt, 13, 17, 23, 13, "Knockdown")
  1436. for i = 0, 1, 0.15 do
  1437. swait()
  1438. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1439. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1440. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(20), math.rad(-20)), 0.3)
  1441. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1442. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-4), math.rad(10), math.rad(10)), 0.3)
  1443. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-4), math.rad(10), math.rad(20)), 0.3)
  1444. 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)
  1445. 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)
  1446. 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)
  1447. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1448. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1449. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1450. end
  1451. vel2:Destroy()
  1452. SMnrgRng.Transparency = 1
  1453. prt:Destroy()
  1454. attack = false
  1455. end
  1456.  
  1457. AimLaserMethod = function()
  1458. attack = true
  1459. CreateSound("http://www.roblox.com/asset/?id=445796756", LeftArm, 1, 1)
  1460. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 10
  1461. local Beam = BaseLaser:Clone()
  1462. Beam.Parent = m
  1463. Beam.Name = "Laser"
  1464. Beam.Mesh.Scale = Vector3.new(1, 1, 1)
  1465. Beam.Anchored = true
  1466. RootJoint.C0 = RootCF * cn(0, 0, 0) * euler(0, 0, -0.7005)
  1467. local gyro = Create("BodyGyro")({Parent = RootPart, maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 2500, cframe = RootPart.CFrame})
  1468. coroutine.resume(coroutine.create(function()
  1469. for i = 1, 10, 0.1 do
  1470. swait()
  1471. ChargeEffect(SMnrgRng, 2, 2, 2, math.random(-10, 10), math.random(-10, 10), math.random(-10, 10), 0, 0, 0, BrickColor.new("Toothpaste"))
  1472. end
  1473. end
  1474. ))
  1475. for i = 0, 1, 0.008 do
  1476. do
  1477. swait()
  1478. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1479. gyro.cframe = cn(Head.Position, gunpos)
  1480. coroutine.resume(coroutine.create(function()
  1481. for _,v in pairs(rearRotor:getChildren()) do
  1482. if v.Name ~= "Handle" and v:IsA("BasePart") then
  1483. if v.Transparency <= 0.3 then
  1484. v.Transparency = 0
  1485. else
  1486. v.Transparency = 1 - i - 0.2
  1487. end
  1488. end
  1489. end
  1490. SMnrgRng.Transparency = 1 - i
  1491. LGnrgRng.Transparency = 1 - i
  1492. if i <= 0.4 then
  1493. SMnrgRng.Transparency = 0.5
  1494. LGnrgRng.Transparency = 0.5
  1495. end
  1496. end
  1497. ))
  1498. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1499. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  1500. 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)
  1501. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.3)
  1502. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-4), math.rad(20), math.rad(0)), 0.3)
  1503. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-4), math.rad(20), math.rad(0)), 0.3)
  1504. 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)
  1505. 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)
  1506. 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)
  1507. 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)
  1508. 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)
  1509. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1510. end
  1511. end
  1512. local dV = 1
  1513. local offset = nil
  1514. lapse = 0
  1515. local hitRef = CreatePart(Character, "Neon", 0, 0.4, "Toothpaste", "Reference", Vector3.new())
  1516. do
  1517. CreateMesh("SpecialMesh", hitRef, "Sphere", "", Vector3.new(), Vector3.new(8, 8, 8))
  1518. hitRef.Anchored = true
  1519. local laserLoop = CreateSound("http://www.roblox.com/asset/?id=445796828", LeftArm, 1, 1, true)
  1520. coroutine.resume(coroutine.create(function()
  1521. while vHold == true do
  1522. swait(3)
  1523. subtractMana(skill4absorbrate)
  1524. if Mana <= skill4absorbrate then
  1525. vHold = false
  1526. end
  1527. end
  1528. end
  1529. ))
  1530. while vHold==true do
  1531. if vHold == true then
  1532. swait()
  1533. dV = dV + 10
  1534. local StartPos = LeftArm.CFrame * CFrame.new(0, -1, 0)
  1535. local MainPos = LeftArm.Position
  1536. local MainPos2 = mouse.Hit.p
  1537. 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
  1538. local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
  1539. local hit, pos = rayCast(MainPos, MouseLook.lookVector, dV, Character)
  1540. local TheHit = mouse.Hit.p
  1541. local mag = (MainPos - pos).magnitude
  1542. MainPos = MainPos + MouseLook.lookVector * 10
  1543. if hit and hit.Name:lower() == "terrain" and not hit:IsA("BasePart") then
  1544. hit:SetCell(pos.X, pos.Y + 2, pos.Z, 0, 0, 0)
  1545. end
  1546. hitRef.CFrame = StartPos * cn(0, -mag + 1, 0) * angles(0, 0, math.rad(90))
  1547. local vary = math.random(5, 10) / 100
  1548. do
  1549. SphereEffect("Toothpaste", hitRef.CFrame, 8, 8, 8, 1, 1, 1, vary)
  1550. BlockEffect("Toothpaste", hitRef.CFrame, 8, 8, 8, 0.8, 0.8, 0.8, vary, 1)
  1551. if hit ~= nil then
  1552. local h = nil
  1553. if hit.Parent:FindFirstChild("Humanoid") then
  1554. h = hit.Parent:FindFirstChild("Humanoid")
  1555. else
  1556. if hit.Parent.Parent:FindFirstChild("Humanoid") then
  1557. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1558. else
  1559. if hit.Parent.Parent:FindFirstChild("Parent") and hit.Parent.Parent.Parent:FindFirstChild("Humanoid") then
  1560. h = hit.Parent.Parent.Parent:FindFirstChild("Humanoid")
  1561. end
  1562. end
  1563. end
  1564. h = nil
  1565. local sounds = {445796485, 445796549, 445796638}
  1566. local rnd = math.random(1, #sounds)
  1567. local hitSound = CreateSound("http://www.roblox.com/asset/?id=" .. sounds[rnd], hitRef, 1, 1)
  1568. if h and h.Health > 0 then
  1569. Damagefunc(hitRef, h, 2, 4, 0.7, "Normal", RootPart, 0.2, 1, nil, 2)
  1570. end
  1571. if hit.Anchored == false and h and h.Health <= 0 then
  1572. local bv = Instance.new("BodyVelocity", hit)
  1573. local hih = math.huge
  1574. bv.maxForce = Vector3.new(hih, hih, hih)
  1575. bv.velocity = Head.CFrame.lookVector * 100 + Vector3.new(0, -2, 0)
  1576. spawn(function()
  1577. wait()
  1578. bv:Destroy()
  1579. end
  1580. )
  1581. end
  1582. do
  1583. local bv = Instance.new("BodyVelocity", hit)
  1584. do
  1585. do
  1586. local hih = math.huge
  1587. bv.maxForce = Vector3.new(hih, hih, hih)
  1588. bv.velocity = Head.CFrame.lookVector * 100 + Vector3.new(0, -2, 0)
  1589. spawn(function()
  1590. wait()
  1591. bv:Destroy()
  1592. end
  1593. )
  1594. mag = (MainPos - pos).magnitude
  1595. mag = (MainPos - pos).magnitude
  1596. Beam.Transparency = 0.4
  1597. lapse = lapse + 1
  1598. Beam.Mesh.Scale = Vector3.new(mag + 9, 2, 2)
  1599. Beam.CFrame = StartPos * cn(0, -mag / 2 - 4.5, 0) * angles(0, 0, math.rad(90))
  1600. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1601. offset = (Torso.Position.y - mouse.Hit.p.y) / 40
  1602. local mag2 = (Torso.Position - mouse.Hit.p).magnitude / 80
  1603. offset = offset / mag2
  1604. gyro.cframe = cn(Head.Position, gunpos)
  1605. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * euler(0, 0, 0.75), 0.3)
  1606. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), 0.5)
  1607. if Torsovelocity > 2 then
  1608. 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)
  1609. 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)
  1610. else
  1611. if Torsovelocity < 1 then
  1612. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1613. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1614. end
  1615. end
  1616. 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)
  1617. 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)
  1618. 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)
  1619. 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)
  1620. 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)
  1621. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1622. end
  1623. end
  1624. end
  1625. end
  1626. end
  1627. end
  1628. end
  1629. laserLoop:stop()
  1630. laserLoop.Parent = nil
  1631. CreateSound("http://www.roblox.com/asset/?id=445796907", LeftArm, 1, 1)
  1632. for i = 0, 1, 0.05 do
  1633. coroutine.resume(coroutine.create(function()
  1634. for _,v in pairs(rearRotor:getChildren()) do
  1635. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1636. if i >= 0.9 then
  1637. v.Transparency = 1
  1638. else
  1639. v.Transparency = i
  1640. end
  1641. end
  1642. end
  1643. end
  1644. ))
  1645. if Beam.Transparency <= i and lapse > 1 then
  1646. Beam.Transparency = i
  1647. hitRef.Transparency = i
  1648. end
  1649. if lapse > 1 then
  1650. Beam.Transparency = 0.4
  1651. hitRef.Transparency = 0.4
  1652. end
  1653. LGnrgRng.Transparency = i + 0.05
  1654. SMnrgRng.Transparency = i + 0.05
  1655. swait()
  1656. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.5)
  1657. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), 0.5)
  1658. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.5)
  1659. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.5)
  1660. RH.C0 = clerp(RH.C0, cn(1, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1661. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(20), math.rad(0)), 0.3)
  1662. 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)
  1663. 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)
  1664. 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)
  1665. 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)
  1666. 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)
  1667. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1668. end
  1669. Beam.Parent = nil
  1670. hitRef.Parent = nil
  1671. Humanoid.WalkSpeed = Humanoid.WalkSpeed + 10
  1672. gyro.Parent = nil
  1673. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1674. LGnrgRng.Transparency = 1
  1675. cooldown4 = 0
  1676. attack = false
  1677. end
  1678. end
  1679.  
  1680. Aim = function()
  1681. Humanoid.WalkSpeed = Humanoid.WalkSpeed - 10
  1682. for i = 0, 1, 0.2 do
  1683. swait()
  1684. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  1685. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  1686. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.5)
  1687. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.5)
  1688. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1689. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1690. 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)
  1691. 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)
  1692. 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)
  1693. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, -1.5) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1694. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1695. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1696. end
  1697. aim = true
  1698. RootJoint.C0 = RootCF * cn(0, 0, 0) * euler(0, 0, -1.57)
  1699. local gyro = (Create("BodyGyro")({Parent = RootPart, maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, cframe = RootPart.CFrame}))
  1700. local offset = nil
  1701. coroutine.resume(coroutine.create(function()
  1702. for i = 1, 0, -0.1 do
  1703. swait()
  1704. print"a"
  1705. end
  1706. end
  1707. ))
  1708. coroutine.resume(coroutine.create(function()
  1709. for i = 1, 0.5, -0.1 do
  1710. SMnrgRng.Transparency = i
  1711. LGnrgRng.Transparency = i
  1712. end
  1713. end
  1714. ))
  1715. coroutine.resume(coroutine.create(function()
  1716. for i = 1, 0, -0.05 do
  1717. wait()
  1718. if attack ~= false then
  1719. for _,v in pairs(rearRotor:getChildren()) do
  1720. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1721. v.Transparency = i - 0.05
  1722. end
  1723. end
  1724. else
  1725. do
  1726. do
  1727. for _,v in pairs(rearRotor:getChildren()) do
  1728. if v:IsA("BasePart") and v.Name ~= "Handle" then
  1729. v.Transparency = 1
  1730. end
  1731. end
  1732. do break end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738. ))
  1739. local aimLoop = CreateSound("http://www.roblox.com/asset/?id=141268701", LeftArm, 1, 1, true)
  1740. while aim == true do
  1741. swait()
  1742. local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
  1743. offset = (Torso.Position.y - mouse.Hit.p.y) / 40
  1744. local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
  1745. offset = offset / mag
  1746. gyro.cframe = cn(Head.Position, gunpos)
  1747. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * euler(0, 0, 1.57), 0.3)
  1748. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(offset, 0, 0), 0.5)
  1749. if Torsovelocity > 2 then
  1750. 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)
  1751. 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)
  1752. else
  1753. if Torsovelocity < 1 then
  1754. RH.C0 = clerp(RH.C0, cn(0.5, -1, -0.2) * RHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1755. LH.C0 = clerp(LH.C0, cn(-0.5, -1, 0.2) * LHCF * angles(math.rad(-2), math.rad(85), math.rad(0)), 0.3)
  1756. end
  1757. end
  1758. 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)
  1759. 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)
  1760. 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)
  1761. 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)
  1762. 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)
  1763. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1764. end
  1765. do
  1766. aimLoop:Stop()
  1767. LW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1768. gyro:Destroy()
  1769. rail:ClearAllChildren()
  1770. offset = nil
  1771. aimLoop:Destroy()
  1772. end
  1773. end
  1774.  
  1775. subtractMana = function(k)
  1776. if k <= Mana then
  1777. Mana = Mana - k
  1778. end
  1779. end
  1780.  
  1781. combo = 0
  1782. mouse1d = function(mouse)
  1783. if attack == true and aim == false then
  1784. return
  1785. end
  1786. if attack == true and aim == true then
  1787. aim = false
  1788. return
  1789. end
  1790. hold = true
  1791. if combo == 0 then
  1792. combo = 1
  1793. attackone()
  1794. else
  1795. if combo == 1 then
  1796. combo = 2
  1797. attacktwo()
  1798. else
  1799. if combo == 2 then
  1800. combo = 0
  1801. attackthree()
  1802. end
  1803. end
  1804. end
  1805. coroutine.resume(coroutine.create(function()
  1806. for i = 1, 20 do
  1807. if attack == false or block.Value == true then
  1808. swait()
  1809. end
  1810. end
  1811. do
  1812. if attack == false or block.Value == true then
  1813. combo = 0
  1814. end
  1815. end
  1816. end
  1817. ))
  1818. end
  1819.  
  1820. mouse1u = function(mouse)
  1821. hold = false
  1822. end
  1823.  
  1824. buttonhold = false
  1825. mouse.KeyDown:connect(function(k)
  1826. k = k:lower()
  1827. if attack == false and k == "z" and co1 <= cooldown1 and skill1stam <= Mana then
  1828. cooldown1 = 0
  1829. subtractMana(skill1stam)
  1830. groundBreaker()
  1831. else
  1832. if attack == false and k == "x" and co2 <= cooldown2 and skill2stam <= Mana then
  1833. cooldown2 = 0
  1834. subtractMana(skill2stam)
  1835. Pulse()
  1836. else
  1837. if attack == false and k == "e" then
  1838. Blocking = true
  1839. Block()
  1840. else
  1841. if attack == false and k == "c" and co3 <= cooldown3 and skill3stam <= Mana then
  1842. cooldown3 = 0
  1843. subtractMana(skill3stam)
  1844. LaunchRail()
  1845. else
  1846. if attack == false and k == "v" and co4 <= cooldown4 and skill4stam <= Mana then
  1847. cooldown4 = 0
  1848. subtractMana(skill4stam)
  1849. vHold = true
  1850. AimLaserMethod()
  1851. end
  1852. end
  1853. end
  1854. end
  1855. end
  1856. end
  1857. )
  1858. mouse.KeyUp:connect(function(k)
  1859. if attack == true and k == "e" and Blocking == true then
  1860. Blocking = false
  1861. end
  1862. if attack == true and k == "v" and vHold == true then
  1863. vHold = false
  1864. end
  1865. end
  1866. )
  1867. mouse.Button1Down:connect(function()
  1868. mouse1d(mouse)
  1869. end
  1870. )
  1871. mouse.Button1Up:connect(function()
  1872. mouse1u(mouse)
  1873. end
  1874. )
  1875. numbb = 0
  1876. datnumb = 0
  1877. local Blink = 0
  1878. local BlinkEff = false
  1879. updateskills = function()
  1880. if cooldown1 <= co1 then
  1881. cooldown1 = cooldown1 + 0.033333333333333
  1882. end
  1883. if cooldown2 <= co2 then
  1884. cooldown2 = cooldown2 + 0.033333333333333
  1885. end
  1886. if cooldown3 <= co3 then
  1887. cooldown3 = cooldown3 + 0.033333333333333
  1888. end
  1889. if cooldown4 <= co4 then
  1890. cooldown4 = cooldown4 + 0.033333333333333
  1891. end
  1892. if Mana <= skill1stam then
  1893. bar4.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1894. else
  1895. bar4.BackgroundColor3 = skillcolorscheme
  1896. end
  1897. if Mana <= skill2stam then
  1898. bar3.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1899. else
  1900. bar3.BackgroundColor3 = skillcolorscheme
  1901. end
  1902. if Mana <= skill3stam then
  1903. bar1.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1904. else
  1905. bar1.BackgroundColor3 = skillcolorscheme
  1906. end
  1907. if Mana <= skill4stam then
  1908. bar2.BackgroundColor3 = Color3.new(0.4078431372549, 0.4078431372549, 0.4078431372549)
  1909. else
  1910. bar2.BackgroundColor3 = skillcolorscheme
  1911. end
  1912. if Mana <= maxMana then
  1913. Mana = Mana + recovermana / 30
  1914. end
  1915. end
  1916.  
  1917. while wait() do
  1918. swait()
  1919. for i,v in pairs(Character:GetChildren()) do
  1920. if v:IsA("Part") then
  1921. v.Material = "SmoothPlastic"
  1922. else
  1923. if v:IsA("Hat") then
  1924. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1925. end
  1926. end
  1927. end
  1928. updateskills()
  1929. healthcover:TweenSize(UDim2.new(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  1930. Manacover:TweenSize(UDim2.new(1 * (Mana / maxMana), 0, 1, 0), "Out", "Quad", 0.5)
  1931. bar4:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1932. bar3:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1933. bar1:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1934. bar2:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1935. Blink = Blink + 0.55
  1936. if 15 - 5 * (Humanoid.WalkSpeed / 16) <= Blink then
  1937. Blink = 0
  1938. if BlinkEff == true then
  1939. BlinkEff = false
  1940. else
  1941. if BlinkEff == false then
  1942. BlinkEff = true
  1943. end
  1944. end
  1945. end
  1946. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1947. velocity = RootPart.Velocity.y
  1948. sine = sine + change
  1949. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1950. if 0.5 <= donum2 then
  1951. handidle = true
  1952. else
  1953. if donum2 <= 0 then
  1954. handidle = false
  1955. end
  1956. end
  1957. if handidle == false then
  1958. donum2 = donum2 + 0.003
  1959. else
  1960. donum2 = donum2 - 0.003
  1961. end
  1962. donum = donum + 0.003
  1963. if equipped == true or equipped == false then
  1964. if 1 < RootPart.Velocity.y and hit == nil then
  1965. Anim = "Jump"
  1966. if attack == false then
  1967. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1968. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1969. 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)
  1970. 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)
  1971. 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)
  1972. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1973. 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)
  1974. 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)
  1975. 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)
  1976. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1977. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1978. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1979. end
  1980. else
  1981. if RootPart.Velocity.y < -1 and hit == nil then
  1982. Anim = "Fall"
  1983. if attack == false then
  1984. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1985. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1986. 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)
  1987. 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)
  1988. 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)
  1989. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  1990. 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)
  1991. 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)
  1992. 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)
  1993. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1994. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1995. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  1996. end
  1997. else
  1998. if Torsovelocity < 1 and hit ~= nil then
  1999. Anim = "Idle"
  2000. if attack == false then
  2001. change = 1
  2002. Jumping = false
  2003. 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)
  2004. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2005. 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)
  2006. 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)
  2007. 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)
  2008. 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)
  2009. 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)
  2010. 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)
  2011. 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)
  2012. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2013. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2014. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2015. end
  2016. else
  2017. if 2 < Torsovelocity and hit ~= nil then
  2018. Anim = "Walk"
  2019. if attack == false then
  2020. change = 3
  2021. Jumping = false
  2022. 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)
  2023. 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)
  2024. 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)
  2025. 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)
  2026. 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)
  2027. 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)
  2028. 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)
  2029. 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)
  2030. 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)
  2031. RotorHandleweld.C0 = clerp(RotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2032. RearRotorHandleweld.C0 = clerp(RearRotorHandleweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2033. Hitboxweld.C0 = clerp(Hitboxweld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.33)
  2034. end
  2035. end
  2036. end
  2037. end
  2038. end
  2039. end
  2040. if 0 < #Effects then
  2041. for e = 1, #Effects do
  2042. if Effects[e] ~= nil then
  2043. local Thing = Effects[e]
  2044. if Thing ~= nil then
  2045. local Part = Thing[1]
  2046. local Mode = Thing[2]
  2047. local Delay = Thing[3]
  2048. local IncX = Thing[4]
  2049. local IncY = Thing[5]
  2050. local IncZ = Thing[6]
  2051. if Thing[1].Transparency <= 1 then
  2052. if Thing[2] == "Block1" then
  2053. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2054. Mesh = Thing[1].Mesh
  2055. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2056. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2057. else
  2058. if Thing[2] == "Block2" then
  2059. Thing[1].CFrame = Thing[1].CFrame
  2060. Mesh = Thing[7]
  2061. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2062. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2063. else
  2064. if Thing[2] == "Cylinder" then
  2065. Mesh = Thing[1].Mesh
  2066. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2067. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2068. else
  2069. if Thing[2] == "Blood" then
  2070. Mesh = Thing[7]
  2071. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2072. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2073. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2074. else
  2075. if Thing[2] == "Elec" then
  2076. Mesh = Thing[1].Mesh
  2077. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2078. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2079. else
  2080. if Thing[2] == "Disappear" then
  2081. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2082. else
  2083. if Thing[2] == "Shatter" then
  2084. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2085. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2086. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2087. Thing[6] = Thing[6] + Thing[5]
  2088. end
  2089. end
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095. else
  2096. Part.Parent = nil
  2097. table.remove(Effects, e)
  2098. end
  2099. end
  2100. end
  2101. end
  2102. end
  2103. do
  2104. do
  2105. datnumb = 0
  2106. BaseNumb = 6.28
  2107. if attack == false then
  2108. Blocker.CanCollide = false
  2109. end
  2110. end
  2111. end
  2112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement