RobloxScripting

Arcus

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