astronaut32

railcannon

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