Advertisement
memberhero

basstracker1970 weapon 3 the divine sheild

Dec 16th, 2016
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.42 KB | None | 0 0
  1. --[[BASSTRACKER1970_WEAPONRY]]--
  2. --[[Chat Gui Edit.]]--
  3.  
  4. wait(.5)
  5.  
  6. local runServ = game:GetService("RunService").RenderStepped
  7.  
  8. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  9. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  10. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  11. HBill.Size = UDim2.new(15,0,2.2,0)
  12. HBill.Name = "Health Display"
  13. HBill.StudsOffset = Vector3.new(0,4,0)
  14. HBill.AlwaysOnTop = true
  15. HBill.Enabled = true
  16. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  17. HMain.BackgroundTransparency = 1
  18. HMain.Size = UDim2.new(1,0,1,0)
  19. HBarBack.Parent = HMain
  20. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  21. HBarBack.BorderColor3 = Color3.new(0,0,0)
  22. HBarBack.BorderSizePixel = 2
  23. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  24. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  25. HBar.Parent = HBarBack
  26. HBar.BackgroundColor3 = Color3.new(0, 1, 0)
  27. HBar.BorderColor3 = Color3.new(0,0,0)
  28. HBar.Size = UDim2.new(.5,0,1,0)
  29. HHealth.BackgroundTransparency = 1
  30. HHealth.Size = UDim2.new(1,0,1,0)
  31. HHealth.Font = "SourceSans"
  32. HHealth.Text = " "
  33. HHealth.TextScaled = true
  34. HHealth.TextColor3 = Color3.new(1,1,1)
  35. HHealth.TextStrokeColor3 = Color3.new(85/255, 0, 127/255)
  36. HHealth.TextStrokeTransparency = 0
  37. HName.Parent = HMain
  38. HName.BackgroundTransparency = 1
  39. HName.Size = UDim2.new(1,0,.5,0)
  40. HName.Font = "SourceSansItalic"
  41. HName.Text = "The Divine Warrior, The Sheild Lord"
  42. HName.TextScaled = true
  43. HName.TextColor3 = Color3.new(85/255, 0,127/255)
  44. HName.TextStrokeColor3 = Color3.new(0,0,0)
  45. HName.TextStrokeTransparency = 0
  46. HName.TextYAlignment = "Top"
  47.  
  48. runServ:connect(function()
  49. HHealth.Text = "["..math.floor(game.Players.LocalPlayer.Character.Humanoid.Health).."]"
  50. HBar:TweenSize(UDim2.new((game.Players.LocalPlayer.Character.Humanoid.Health/game.Players.LocalPlayer.Character.Humanoid.MaxHealth),0,1,0), _, "Linear", .4)
  51. end)
  52. wait(1 / 60)
  53. Effects = { }
  54. local Player = game.Players.localPlayer
  55. local Character = Player.Character
  56. local Humanoid = Character.Humanoid
  57. local mouse = Player:GetMouse()
  58. local m = Instance.new('Model', Character)
  59. m.Name = "WeaponModel"
  60. local LeftArm = Character["Left Arm"]
  61. local RightArm = Character["Right Arm"]
  62. local LeftLeg = Character["Left Leg"]
  63. local RightLeg = Character["Right Leg"]
  64. local Head = Character.Head
  65. local Torso = Character.Torso
  66. local cam = game.Workspace.CurrentCamera
  67. local RootPart = Character.HumanoidRootPart
  68. local RootJoint = RootPart.RootJoint
  69. local equipped = false
  70. local attack = false
  71. local Anim = 'Idle'
  72. local idle = 0
  73. local attacktype = 1
  74. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  75. local velocity = RootPart.Velocity.y
  76. local sine = 0
  77. local change = 1
  78. local grabbed = false
  79. local cn = CFrame.new
  80. local mr = math.rad
  81. local angles = CFrame.Angles
  82. local ud = UDim2.new
  83. local c3 = Color3.new
  84.  
  85. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  86. Humanoid.Animator:Destroy()
  87. Character.Animate:Destroy()
  88.  
  89. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  90. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  91. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  92.  
  93. RSH, LSH = nil, nil
  94.  
  95. RW = Instance.new("Weld")
  96. LW = Instance.new("Weld")
  97.  
  98. RH = Torso["Right Hip"]
  99. LH = Torso["Left Hip"]
  100.  
  101. RSH = Torso["Right Shoulder"]
  102. LSH = Torso["Left Shoulder"]
  103.  
  104. RSH.Parent = nil
  105. LSH.Parent = nil
  106.  
  107. RW.Name = "RW"
  108. RW.Part0 = Torso
  109. RW.C0 = cn(1.5, 0.5, 0)
  110. RW.C1 = cn(0, 0.5, 0)
  111. RW.Part1 = RightArm
  112. RW.Parent = Torso
  113.  
  114. LW.Name = "LW"
  115. LW.Part0 = Torso
  116. LW.C0 = cn(-1.5, 0.5, 0)
  117. LW.C1 = cn(0, 0.5, 0)
  118. LW.Part1 = LeftArm
  119. LW.Parent = Torso
  120.  
  121. local co1 = 14--how long it will take for skill to cooldown
  122. local co2 = 15
  123. local co3 = 22
  124. local co4 = 30
  125.  
  126. local cooldown1 = 0
  127. local cooldown2 = 0
  128. local cooldown3 = 0
  129. local cooldown4 = 0
  130.  
  131. local maxMana = 100
  132. local Mana = 0--Mana you start out with
  133. local skill1stam = 10--how much Mana is needed for a skill
  134. local skill2stam = 15
  135. local skill3stam = 20
  136. local skill4stam = 25
  137. local recovermana = 3--how much mana per second
  138.  
  139. local skillcolorscheme = Color3.new(1, 1, 1)
  140.  
  141. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  142. function makeframe(par, trans, pos, size, color)
  143. local frame = Instance.new('Frame', par)
  144. frame.BackgroundTransparency = trans
  145. frame.BorderSizePixel = 0
  146. frame.Position = pos
  147. frame.Size = size
  148. frame.BackgroundColor3 = Color3.new(color)
  149. return frame
  150. end
  151. function makelabel(par, text)
  152. local label = Instance.new('TextLabel', par)
  153. label.BackgroundTransparency = 1
  154. label.Size = UDim2.new(1, 0, 1, 0)
  155. label.Position = UDim2.new(0, 0, 0, 0)
  156. label.TextColor3 = Color3.new(255, 255, 255)
  157. label.TextStrokeTransparency = 0
  158. label.FontSize = Enum.FontSize.Size32
  159. label.Font = Enum.Font.SourceSansBold
  160. label.BorderSizePixel = 0
  161. label.TextScaled = true
  162. label.Text = text
  163. end
  164.  
  165. local colorscheme2 = Torso.BrickColor.Color
  166.  
  167. framesk1 = makeframe(scrn, .5, UDim2.new(.23, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  168. framesk2 = makeframe(scrn, .5, UDim2.new(.5, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  169. framesk3 = makeframe(scrn, .5, UDim2.new(.5, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  170. framesk4 = makeframe(scrn, .5, UDim2.new(.23, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  171. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  172. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  173. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  174. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  175. text1 = makelabel(framesk1, '[C] Rush-Charge')
  176. text2 = makelabel(framesk2, '[V] Ground-Breaker')
  177. text3 = makelabel(framesk3, "[X] Stomp-Wave")
  178. text4 = makelabel(framesk4, '[Z] Enlight')
  179. Manabar = makeframe(scrn, .5, UDim2.new(.23, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really black").Color)
  180. Manacover = makeframe(Manabar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Cyan").Color)
  181. Manatext = makelabel(Manabar, 'Mana')
  182. healthbar = makeframe(scrn, .5, UDim2.new(.5, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really black").Color)
  183. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  184. healthtext = makelabel(healthbar, 'Health')
  185.  
  186. local stats = Instance.new('Folder', Character)
  187. stats.Name = 'Stats'
  188. local block = Instance.new('BoolValue', stats)
  189. block.Name = 'Block'
  190. block.Value = false
  191. local stun = Instance.new('BoolValue', stats)
  192. stun.Name = 'Stun'
  193. stun.Value = false
  194. local defense = Instance.new('NumberValue', stats)
  195. defense.Name = 'Defence'
  196. defense.Value = 1.2
  197. local speed = Instance.new('NumberValue', stats)
  198. speed.Name = 'Speed'
  199. speed.Value = .7
  200. local damagea = Instance.new('NumberValue', stats)
  201. damagea.Name = 'Damage'
  202. damagea.Value = .8
  203.  
  204. function clerp(a, b, t)
  205. return a:lerp(b, t)
  206. end
  207.  
  208. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  209.  
  210. ArtificialHB = Instance.new("BindableEvent", script)
  211. ArtificialHB.Name = "Heartbeat"
  212.  
  213. script:WaitForChild("Heartbeat")
  214.  
  215. frame = 1 / 30
  216. tf = 0
  217. allowframeloss = false
  218. tossremainder = false
  219. lastframe = tick()
  220. script.Heartbeat:Fire()
  221.  
  222. game:GetService("RunService").Heartbeat:connect(function(s, p)
  223. tf = tf + s
  224. if tf >= frame then
  225. if allowframeloss then
  226. script.Heartbeat:Fire()
  227. lastframe = tick()
  228. else
  229. for i = 1, math.floor(tf / frame) do
  230. script.Heartbeat:Fire()
  231. end
  232. lastframe = tick()
  233. end
  234. if tossremainder then
  235. tf = 0
  236. else
  237. tf = tf - frame * math.floor(tf / frame)
  238. end
  239. end
  240. end)
  241.  
  242. function swait(num)
  243. if num == 0 or num == nil then
  244. ArtificialHB.Event:wait()
  245. else
  246. for i = 0, num do
  247. ArtificialHB.Event:wait()
  248. end
  249. end
  250. end
  251.  
  252. local RbxUtility = LoadLibrary("RbxUtility")
  253. local Create = RbxUtility.Create
  254.  
  255. function RemoveOutlines(part)
  256. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  257. end
  258.  
  259. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  260. local Part = Create("Part"){
  261. Parent = Parent,
  262. Reflectance = Reflectance,
  263. Transparency = Transparency,
  264. CanCollide = false,
  265. Locked = true,
  266. BrickColor = BrickColor.new(tostring(BColor)),
  267. Name = Name,
  268. Size = Size,
  269. Material = Material,
  270. }
  271. RemoveOutlines(Part)
  272. return Part
  273. end
  274.  
  275. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  276. local Msh = Create(Mesh){
  277. Parent = Part,
  278. Offset = OffSet,
  279. Scale = Scale,
  280. }
  281. if Mesh == "SpecialMesh" then
  282. Msh.MeshType = MeshType
  283. Msh.MeshId = MeshId
  284. end
  285. return Msh
  286. end
  287.  
  288. function CreateWeld(Parent, Part0, Part1, C0, C1)
  289. local Weld = Create("Weld"){
  290. Parent = Parent,
  291. Part0 = Part0,
  292. Part1 = Part1,
  293. C0 = C0,
  294. C1 = C1,
  295. }
  296. return Weld
  297. end
  298.  
  299. function rayCast(Position, Direction, Range, Ignore)
  300. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  301. end
  302.  
  303. function CreateSound(id, par, vol, pit)
  304. coroutine.resume(coroutine.create(function()
  305. local sou = Instance.new("Sound", par or workspace)
  306. sou.Volume = vol
  307. sou.Pitch = pit or 1
  308. sou.SoundId = id
  309. swait()
  310. sou:play()
  311. game:GetService("Debris"):AddItem(sou, 6)
  312. end))
  313. end
  314.  
  315. local function getclosest(obj, distance)
  316. local last, lastx = distance + 1
  317. for i, v in pairs(workspace:GetChildren()) do
  318. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  319. local t = v.Torso
  320. local dist = (t.Position - obj.Position).magnitude
  321. if dist <= distance then
  322. if dist < last then
  323. last = dist
  324. lastx = v
  325. end
  326. end
  327. end
  328. end
  329. return lastx
  330. end
  331.  
  332.  
  333. function makegui(cframe, text)
  334. local a = math.random(-10, 10) / 100
  335. local c = Instance.new("Part")
  336. c.Transparency = 1
  337. Instance.new("BodyGyro").Parent = c
  338. c.Parent = workspace
  339. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  340. local f = Instance.new("BodyPosition")
  341. f.P = 2000
  342. f.D = 100
  343. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  344. f.position = c.Position + Vector3.new(0, 3, 0)
  345. f.Parent = c
  346. game:GetService("Debris"):AddItem(c, .5 + 6)
  347. c.CanCollide = false
  348. c.Parent = workspace
  349. c.CanCollide = false
  350. local bg = Instance.new('BillboardGui', c)
  351. bg.Adornee = c
  352. bg.Size = UDim2.new(1, 0, 1, 0)
  353. bg.StudsOffset = Vector3.new(0, 0, 0)
  354. bg.AlwaysOnTop = false
  355. local tl = Instance.new('TextLabel', bg)
  356. tl.BackgroundTransparency = 1
  357. tl.Size = UDim2.new(1, 0, 1, 0)
  358. tl.Text = text
  359. tl.Font = 'SourceSansBold'
  360. tl.FontSize = 'Size42'
  361. if crit == true then
  362. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  363. else
  364. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  365. end
  366. tl.TextStrokeTransparency = 0
  367. tl.TextScaled = true
  368. tl.TextWrapped = true
  369. coroutine.wrap(function()
  370. wait(2)
  371. for i = 1, 10 do
  372. swait()
  373. c.Transparency = 1
  374. tl.TextTransparency = tl.TextTransparency + .1
  375. end
  376. end)()
  377. end
  378.  
  379. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  380. if hit.Parent == nil then
  381. return
  382. end
  383. local h = hit.Parent:FindFirstChild("Humanoid")
  384. for _, v in pairs(hit.Parent:children()) do
  385. if v:IsA("Humanoid") then
  386. h = v
  387. end
  388. end
  389. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  390. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  391. end
  392. if hit.Parent.className == "Hat" then
  393. hit = hit.Parent.Parent:findFirstChild("Head")
  394. end
  395. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  396. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  397. if hit.Parent.DebounceHit.Value == true then
  398. return
  399. end
  400. end
  401. local blocked = false
  402. local block = hit.Parent:findFirstChild("Block")
  403. if block ~= nil then
  404. print(block.className)
  405. if block.className == "NumberValue" then
  406. if block.Value > 0 then
  407. blocked = true
  408. if decreaseblock == nil then
  409. block.Value = block.Value - 1
  410. end
  411. end
  412. end
  413. if block.className == "IntValue" then
  414. if block.Value > 0 then
  415. blocked = true
  416. if decreaseblock ~= nil then
  417. block.Value = block.Value - 1
  418. end
  419. end
  420. end
  421. end
  422. if blocked == false then
  423. local D = math.random(minim, maxim) * damagea.Value
  424. if h.Parent:FindFirstChild('Stats') then
  425. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  426. elseif not h.Parent:FindFirstChild('Stats') then
  427. D = D
  428. end
  429. h.Health = h.Health - D
  430. TagService:NewTag(h.Parent, Player, script.Name, D)
  431. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  432. else
  433. local D = math.random(minim, maxim) * damagea.Value
  434. if h.Parent:FindFirstChild('Stats') then
  435. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  436. elseif not h.Parent:FindFirstChild('Stats') then
  437. D = D
  438. end
  439. h.Health = h.Health - (D / 2)
  440. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  441. showDamage(hit.Parent, Damage / 2, .5, BrickColor.new("Bright blue"))
  442. end
  443. if Type == "Knockdown" then
  444. local humanoid = hit.Parent.Humanoid
  445. humanoid.PlatformStand = true
  446. coroutine.resume(coroutine.create(function(Humanoid)
  447. swait()
  448. Humanoid.PlatformStand = false
  449. end), humanoid)
  450. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  451. local bodvol = Instance.new("BodyVelocity")
  452. bodvol.velocity = angle * knockback
  453. bodvol.P = 5000
  454. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  455. bodvol.Parent = hit
  456. local rl = Instance.new("BodyAngularVelocity")
  457. rl.P = 3000
  458. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  459. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  460. rl.Parent = hit
  461. game:GetService("Debris"):AddItem(bodvol, .5)
  462. game:GetService("Debris"):AddItem(rl, .5)
  463. elseif Type == "Normal" then
  464. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  465. local vp = Instance.new("BodyVelocity")
  466. vp.P = 500
  467. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  468. if KnockbackType == 1 then
  469. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  470. elseif KnockbackType == 2 then
  471. vp.velocity = Property.CFrame.lookVector * knockback
  472. end
  473. if knockback > 0 then
  474. vp.Parent = hit.Parent.Torso
  475. end
  476. game:GetService("Debris"):AddItem(vp, .5)
  477. elseif Type == "SlashLifeSteal" then
  478. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  479. Humanoid.Health = Humanoid.Health + math.random(1, 2) / 2.5
  480. local vp = Instance.new("BodyVelocity")
  481. vp.P = 500
  482. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  483. if KnockbackType == 1 then
  484. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  485. elseif KnockbackType == 2 then
  486. vp.velocity = Property.CFrame.lookVector * knockback
  487. end
  488. if knockback > 0 then
  489. vp.Parent = hit.Parent.Torso
  490. end
  491. game:GetService("Debris"):AddItem(vp, .5)
  492. elseif Type == "SlashLifeSteal2" then
  493. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  494. Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5
  495. local vp = Instance.new("BodyVelocity")
  496. vp.P = 500
  497. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  498. if KnockbackType == 1 then
  499. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  500. elseif KnockbackType == 2 then
  501. vp.velocity = Property.CFrame.lookVector * knockback
  502. end
  503. if knockback > 0 then
  504. vp.Parent = hit.Parent.Torso
  505. end
  506. game:GetService("Debris"):AddItem(vp, .5)
  507. elseif Type == "BlackHoleDamage" then
  508. Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5
  509. local floatingvelocity = Instance.new("BodyVelocity")
  510. floatingvelocity.Parent = hit.Parent.Torso
  511. floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0)
  512. game:GetService("Debris"):AddItem(floatingvelocity, 1)
  513. elseif Type == "BlackHoleDamage2" then
  514. local vp = Instance.new("BodyVelocity")
  515. vp.P = 500
  516. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  517. if KnockbackType == 1 then
  518. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  519. elseif KnockbackType == 2 then
  520. vp.velocity = Property.CFrame.lookVector * knockback
  521. end
  522. if knockback > 0 then
  523. vp.Parent = hit.Parent.Torso
  524. end
  525. game:GetService("Debris"):AddItem(vp, .5)
  526. elseif Type == "Up" then
  527. local bodyVelocity = Instance.new("BodyVelocity")
  528. bodyVelocity.velocity = Vector3.new(0, 60, 0)
  529. bodyVelocity.P = 5000
  530. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  531. bodyVelocity.Parent = hit
  532. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  533. local rl = Instance.new("BodyAngularVelocity")
  534. rl.P = 3000
  535. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  536. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  537. rl.Parent = hit
  538. game:GetService("Debris"):AddItem(rl, .5)
  539. elseif Type == "Snare" then
  540. wait()
  541. local bp = Instance.new("BodyPosition")
  542. bp.P = 2000
  543. bp.D = 100
  544. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  545. bp.position = hit.Parent.Torso.Position
  546. bp.Parent = hit.Parent.Torso
  547. game:GetService("Debris"):AddItem(bp, 1)
  548. elseif Type == "Target" then
  549. CreateSound("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  550. local vp = Instance.new("BodyVelocity")
  551. vp.P = 500
  552. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  553. if KnockbackType == 1 then
  554. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  555. elseif KnockbackType == 2 then
  556. vp.velocity = Property.CFrame.lookVector * knockback
  557. end
  558. if knockback > 0 then
  559. vp.Parent = hit.Parent.Torso
  560. end
  561. game:GetService("Debris"):AddItem(vp, .5)
  562. end
  563. local debounce = Instance.new("BoolValue")
  564. debounce.Name = "DebounceHit"
  565. debounce.Parent = hit.Parent
  566. debounce.Value = true
  567. game:GetService("Debris"):AddItem(debounce, Delay)
  568. local c = Instance.new("ObjectValue")
  569. c.Name = "creator"
  570. c.Value = Player
  571. c.Parent = h
  572. game:GetService("Debris"):AddItem(c, .5)
  573. end
  574. end
  575.  
  576. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  577. for _, c in pairs(workspace:children()) do
  578. local hum = c:findFirstChild("Humanoid")
  579. if hum ~= nil then
  580. local head = c:findFirstChild("Torso")
  581. if head ~= nil then
  582. local targ = head.Position - Part.Position
  583. local mag = targ.magnitude
  584. if mag <= magni and c.Name ~= Player.Name then
  585. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3, 1)
  586. end
  587. end
  588. end
  589. end
  590. end
  591.  
  592. Handle = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Handle", Vector3.new(0.549599648, 1, 1.01160002))
  593. Handleweld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0937860012, 0.00657367706, 0.00419616699, 5.96046448e-008, 0.999994755, 5.96095191e-008, 1, -5.96043037e-008, -4.8416058e-007, -4.8416058e-007, 5.96092349e-008, -1))
  594. Hitbox = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Hitbox", Vector3.new(4.54959965, 0.600000024, 6.41160011))
  595. Hitboxweld = CreateWeld(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200000048, -0.599998474, 0.100006104, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  596. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959))
  597. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748267651, 0.374885559, -0.163708687, 0.259237081, -0.965813696, 8.29293697e-007, -1.94643121e-006, -1.38109544e-006, -1, 0.965813696, 0.259237081, -2.23792108e-006))
  598. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  599. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819978, 0.210000008))
  600. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.15255737e-007, -0.0840969086, -0.409217834, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  601. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  602. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668091297, 1.44761658, 2.02336073, -0.259194463, 0.96582514, 3.82060307e-006, 4.7164408e-006, -2.69006023e-006, 1, 0.96582514, 0.259194463, -3.85800831e-006))
  603. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  604. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  605. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.387033463, -0.748291492, -2.00602722, 0.932904124, 0.250400364, 0.258823335, -0.259233505, 0.965814769, -1.51112181e-006, -0.249975771, -0.0670942664, 0.96592468))
  606. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  607. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  608. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791927338, 0.0731578469, -2.68690491, 0.258355826, 0.96604985, 1.57819898e-006, 0.96604985, -0.258355826, 4.46641252e-006, 4.72251395e-006, 3.70695147e-007, -1))
  609. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  610. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  611. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748335838, 0.499908447, 0.236524105, 0.259243727, -0.965811968, 2.29213128e-006, 3.49563311e-006, 3.31156821e-006, 1, -0.965811968, -0.259243727, 4.23462734e-006))
  612. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  613. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983))
  614. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748334408, 0.354118347, -0.49246645, 0.259243727, -0.965811968, 2.42647434e-006, 3.57742101e-006, 3.47262016e-006, 1, -0.965811968, -0.259243727, 4.35537095e-006))
  615. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1))
  616. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  617. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748334885, -0.354110718, 1.22145891, 0.259243816, -0.965811849, 1.87510204e-006, -3.89473416e-006, -2.98690452e-006, -1, 0.965811849, 0.259243816, -4.53591747e-006))
  618. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  619. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003))
  620. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.419552326, 0.645721436, 0.748315811, 0.965813994, 0.259236038, -1.18782089e-006, 8.57471662e-007, 1.38739472e-006, 1, 0.259236038, -0.965813994, 1.1176777e-006))
  621. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  622. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989))
  623. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748250961, -1.10388184, 1.00268936, -0.259237349, 0.965813696, -2.95466089e-006, 2.05441142e-006, 3.61067669e-006, 1, 0.965813696, 0.259237349, -2.92020081e-006))
  624. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  625. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003))
  626. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.273701668, -1.10388947, 0.748267174, 0.965814769, 0.259233236, -4.11742462e-007, 3.74089325e-007, 1.94579599e-007, 1, 0.259233236, -0.965814769, 9.09514597e-008))
  627. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  628. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  629. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.71172905, 1.08311462, 1.8220439, -0.258364588, -0.966047525, 4.46861804e-006, -1.88454442e-006, 5.12968245e-006, 1, -0.966047525, 0.258364588, -3.14588783e-006))
  630. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  631. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  632. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.291137397, 0.791987419, -0.0103759766, -0.966036141, 0.258407384, 3.18614229e-006, -0.258407384, -0.966036141, -1.70527414e-006, 2.6372727e-006, -2.47067874e-006, 1))
  633. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  634. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003))
  635. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0733758211, 1.59341431, -0.791968346, -0.966033578, 0.258416891, -1.1448418e-006, -1.16560352e-006, 7.2865646e-008, 1, 0.258416891, 0.966033578, 2.30821001e-007))
  636. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  637. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008))
  638. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791931152, -2.61401367, 0.509956539, 0.258375138, 0.966044664, -2.14422334e-006, 3.80396909e-006, -3.2369876e-006, -1, -0.966044664, 0.258375138, -4.51116148e-006))
  639. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  640. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.04120016, 0.437399924))
  641. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711686134, -1.03097534, -1.82201755, 0.258405864, 0.966036499, -3.94140943e-006, -1.7037512e-006, 4.53571738e-006, 1, 0.966036499, -0.258405864, 2.81794178e-006))
  642. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  643. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983))
  644. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711735725, 1.03098297, 1.82195807, 0.258460104, 0.966022015, -2.66190364e-006, 1.11263591e-006, -3.05321805e-006, -1, -0.966022015, 0.258460104, -1.86396585e-006))
  645. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  646. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  647. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711661339, -1.09309554, 2.978508, -0.258407265, -0.966036081, 3.36418725e-006, 0.966036081, -0.258407265, -8.32808269e-007, 1.67385315e-006, 3.03472257e-006, 1))
  648. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  649. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  650. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.31173015, 0.791917801, -0.0103683472, -0.966039896, 0.258393317, -5.88560738e-007, -0.258393317, -0.966039896, -1.65475512e-006, -9.96150675e-007, -1.44647902e-006, 1))
  651. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  652. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  653. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.280853271, -2.04826355, -0.791953087, -0.933117151, 0.249601856, 0.25882712, 0.25003624, -0.0668830872, 0.965923667, 0.258407503, 0.966036081, 2.45528014e-007))
  654. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  655. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  656. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.801402152, -0.0103759766, -0.791955948, -0.966036141, 0.258407384, -2.41263734e-007, -2.7156463e-007, -8.15671228e-008, 1, 0.258407384, 0.966036141, 1.48971026e-007))
  657. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  658. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  659. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711751938, -0.947353661, 2.46820831, -0.258386463, -0.966041744, -1.42285126e-006, 0.966041744, -0.258386463, -3.87151067e-006, 3.37239476e-006, -2.37487916e-006, 1))
  660. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  661. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  662. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711641312, -1.09310102, 2.85347748, 0.258411825, 0.96603483, -3.37836354e-006, 0.96603483, -0.258411825, 1.16675437e-006, 2.54116259e-007, -3.5651201e-006, -1))
  663. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  664. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  665. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711715698, 0.94726485, -2.46821594, -0.258387119, -0.966041565, -1.17710044e-007, -0.966041565, 0.258387119, 2.52460541e-006, -2.40845884e-006, 7.66038113e-007, -1))
  666. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  667. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959))
  668. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.792075157, 0.374885559, -0.000447571278, 0.258397371, 0.966038823, -3.81478458e-008, 1.99738133e-006, -5.73751208e-007, -1, -0.966038823, 0.258397371, -2.07780386e-006))
  669. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  670. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599959))
  671. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.792011261, 2.24951172, 0.145552039, -0.258379161, -0.966043591, -2.21535828e-007, -4.39142241e-006, 9.4521215e-007, 1, -0.966043591, 0.258379161, -4.48652872e-006))
  672. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  673. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  674. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.22946167, 0.791992188, -2.04825592, -0.933117151, 0.249601737, 0.258827031, -0.258407086, -0.966036141, 8.11744485e-007, 0.250036478, -0.066881977, 0.965923727))
  675. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  676. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  677. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.79108429, 0.791954994, -2.04824829, -0.933117151, 0.249601856, 0.25882712, -0.258407176, -0.966036081, 9.06736943e-007, 0.250036567, -0.0668819323, 0.965923727))
  678. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  679. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  680. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711748123, 0.947217226, -2.34318542, 0.258388281, 0.966041148, 1.08739897e-007, -0.966041148, 0.258388281, -2.73797241e-006, -2.67309088e-006, 6.0241274e-007, 1))
  681. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  682. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  683. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711779594, -0.947313726, 2.3431778, 0.258389086, 0.966040909, 1.36804704e-006, 0.966040909, -0.258389086, 4.12955433e-006, 4.34280719e-006, 2.54557619e-007, -1))
  684. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  685. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  686. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.79196167, 0.499908447, 0.0733489394, 0.258376598, 0.966044366, 1.46641844e-006, -4.57452143e-006, -2.94468009e-007, 1, 0.966044366, -0.258376598, 4.34310687e-006))
  687. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  688. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983))
  689. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791954994, 0.354118347, -0.655609488, 0.258398682, 0.966038465, 1.57091995e-006, -4.80159633e-006, -3.41801865e-007, 1, 0.966038465, -0.258398682, 4.55020563e-006))
  690. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1))
  691. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  692. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.248426437, 2.16902924, -0.79195118, -0.933116436, 0.249601498, -0.25883016, -0.25003925, 0.0668835416, 0.965922832, 0.258407265, 0.966036201, 3.19331264e-008))
  693. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  694. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003))
  695. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436873257, -1.10388184, -0.79204464, -0.966035903, 0.25840804, -2.51160202e-007, -4.18471444e-008, 8.1551002e-007, 1, 0.25840804, 0.966035903, -7.7699832e-007))
  696. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  697. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989))
  698. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.791975021, -1.10387421, 1.16587758, -0.258397251, -0.966038764, -2.16711919e-006, -3.48613889e-006, -1.31082766e-006, 1, -0.966038764, 0.258397251, -3.02903118e-006))
  699. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  700. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989))
  701. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791950226, -1.15602112, 0.145350814, 0.258398414, 0.966038465, 1.00403645e-006, 4.74357103e-006, -2.29488592e-007, -1, -0.966038465, 0.258398414, -4.64177128e-006))
  702. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  703. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  704. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791969299, -0.354118347, 1.38458776, 0.258398414, 0.966038465, 9.90328999e-007, 4.74258241e-006, -2.4341341e-007, -1, -0.966038465, 0.258398414, -4.64441473e-006))
  705. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  706. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929))
  707. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.728473842, 0.0625152588, -0.711821556, -0.96603328, 0.258417934, -4.64850359e-007, -2.20301672e-007, 9.7528698e-007, 1, 0.258417934, 0.96603328, -8.85229781e-007))
  708. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984))
  709. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791952133, -1.01022339, 0.582776666, 0.258398414, 0.966038465, 9.73264605e-007, 4.68442522e-006, -2.45521846e-007, -1, -0.966038465, 0.258398414, -4.58877776e-006))
  710. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  711. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.200000003))
  712. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791953087, -0.645729065, 1.23882413, 0.258398414, 0.966038465, 9.85365432e-007, 4.74521448e-006, -2.49255436e-007, -1, -0.966038465, 0.258398414, -4.64846698e-006))
  713. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  714. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  715. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.758653641, 0.791967392, 2.16901398, -0.933116317, 0.249601379, -0.258830756, -0.258406103, -0.966036439, -4.07655898e-006, -0.250040919, 0.0668796301, 0.965922713))
  716. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  717. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003))
  718. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.582713842, 0.645721436, -0.791945457, -0.966035903, 0.258407861, -1.25082556e-006, -1.27987164e-006, 5.58177362e-008, 1, 0.258407861, 0.966035903, 2.76806929e-007))
  719. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  720. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959))
  721. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.792108536, -1.61417389, -0.000424981117, -0.258397162, -0.966038883, -2.09015161e-006, -3.05568869e-006, -1.34629158e-006, 1, -0.966038883, 0.258397162, -2.60403613e-006))
  722. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  723. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  724. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.261831284, 0.7920084, 2.16902924, -0.933116376, 0.249601558, -0.258829921, -0.258406281, -0.966036439, -4.11973315e-006, -0.250040174, 0.0668794289, 0.965923011))
  725. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  726. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  727. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748393536, 0.236421585, -2.68690491, 0.259242177, -0.965812325, 9.39434904e-006, -0.965812325, -0.259242177, 1.81594089e-006, 6.81553331e-007, -9.54394636e-006, -1))
  728. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  729. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 0.200000003, 0.611599982))
  730. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.400000095, 0, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  731. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  732. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.633543015, -0.748318195, -2.00602722, 0.932904184, 0.250400394, 0.258823454, -0.259233505, 0.965814769, -1.53903522e-006, -0.24997583, -0.0670942515, 0.965924621))
  733. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  734. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  735. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668150902, 1.32257843, 2.02337718, 0.259231716, -0.965815246, -5.59616274e-006, -2.02115484e-006, 5.25174482e-006, -1, 0.965815246, 0.259231716, -5.90643424e-007))
  736. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  737. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984))
  738. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748328209, -1.01021576, 0.419537544, 0.259243816, -0.965811849, 1.82883696e-006, -3.7662528e-006, -2.90451476e-006, -1, 0.965811849, 0.259243816, -4.39046926e-006))
  739. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  740. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959))
  741. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748274803, -1.61417389, -0.163676262, -0.259237617, 0.965813577, -2.98417535e-006, 1.98260818e-006, 3.62196397e-006, 1, 0.965813577, 0.259237617, -2.85377928e-006))
  742. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  743. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989))
  744. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748350143, -1.15601349, -0.0178599358, 0.259243816, -0.965811849, 1.85960675e-006, -3.80946062e-006, -2.94797155e-006, -1, 0.965811849, 0.259243816, -4.44346597e-006))
  745. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  746. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  747. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0908699036, 2.12680817, 0.748318195, 0.932903409, 0.250400096, -0.258826435, 0.24997808, 0.067097418, 0.965923846, 0.259234011, -0.96581459, 8.78642084e-007))
  748. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  749. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  750. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.601093292, -0.748310566, 2.12677765, 0.93290323, 0.250400156, -0.258826882, -0.259234697, 0.965814352, -3.2069297e-006, 0.249977916, 0.0670999065, 0.965923727))
  751. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  752. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929))
  753. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.565392971, 0.0625152588, 0.668135643, 0.965815246, 0.259231359, -4.91199387e-007, 4.8916678e-007, 7.23472908e-008, 1, 0.259231359, -0.965815246, -5.69332315e-008))
  754. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.200000003))
  755. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748342991, -0.645713806, 1.0756433, 0.259243816, -0.965811849, 1.8409371e-006, -3.99065493e-006, -2.97727752e-006, -1, 0.965811849, 0.259243816, -4.6260634e-006))
  756. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  757. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  758. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.419418335, -0.748321056, 2.12680054, 0.932903469, 0.250400156, -0.258826196, -0.259234637, 0.965814352, -3.23053882e-006, 0.249977246, 0.0670997277, 0.965924025))
  759. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  760. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819966, 0.200000003))
  761. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.15255737e-007, -0.0840959549, 0.40423584, 1, -4.38871487e-016, 0, -4.38871487e-016, 1, 0, 0, 0, 1))
  762. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  763. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748373508, -0.236422062, 2.68690491, 0.259242624, -0.965812266, 1.82163058e-006, 0.965812266, 0.259242624, -2.00591694e-006, 1.46509501e-006, 2.27937221e-006, 1))
  764. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  765. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  766. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668161869, -1.08311462, -1.65887642, -0.259238631, 0.965813279, -4.12923669e-007, 2.22891821e-008, -4.21557132e-007, -1, -0.965813279, -0.259238631, 8.77566961e-008))
  767. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  768. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  769. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668140888, 1.08312225, 1.65885949, -0.259237617, 0.965813577, 3.65497885e-006, 3.96671521e-006, -2.71963154e-006, 1, 0.965813577, 0.259237617, -3.12607654e-006))
  770. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  771. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  772. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.127997398, -0.748288631, -0.0103759766, 0.96581459, 0.259233892, 3.24961434e-006, -0.259233892, 0.96581459, -2.47951652e-006, -3.78129926e-006, 1.55234306e-006, 1))
  773. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  774. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  775. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668211937, -0.929962635, 2.97852325, -0.259212017, 0.965820491, 2.54913289e-006, -0.965820491, -0.259212017, -8.96806228e-007, -2.05387948e-007, -2.69446741e-006, 1))
  776. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  777. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  778. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.123281479, -2.00604248, 0.748316288, 0.932904124, 0.250400394, 0.258823514, -0.249975741, -0.0670948401, 0.965924621, 0.259233654, -0.96581471, 9.78878688e-007))
  779. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  780. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  781. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.14855218, -0.748366833, -0.0103759766, 0.965815067, 0.259231985, -7.14727889e-007, -0.259231985, 0.965815067, -2.50817857e-006, 4.00949318e-008, 2.60771685e-006, 1))
  782. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  783. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.04120016, 0.437399924))
  784. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668152809, -1.03097534, -1.65887117, 0.259237349, -0.965813637, -3.15378566e-006, 3.45980902e-006, -2.33675905e-006, 1, -0.965813637, -0.259237349, 2.73575552e-006))
  785. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  786. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983))
  787. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.66814518, 1.03097534, 1.65886927, 0.259237885, -0.965813518, -1.87370847e-006, -2.21794357e-006, 1.34470429e-006, -1, 0.965813518, 0.259237885, -1.79352128e-006))
  788. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  789. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  790. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668205738, -0.930031061, 2.85346985, 0.259222269, -0.96581769, -2.60306479e-006, -0.96581775, -0.259222299, 1.14704233e-006, -1.7826062e-006, 2.21674713e-006, -1))
  791. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  792. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003))
  793. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236513138, 1.59341431, 0.748343468, 0.965813994, 0.259236038, -1.21717028e-006, 8.87492035e-007, 1.38876521e-006, 1, 0.259236038, -0.965813994, 1.11121904e-006))
  794. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  795. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  796. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711784363, 1.44760895, 2.18656635, -0.258395731, -0.96603924, 3.16468504e-006, 7.73344993e-007, 3.06908441e-006, 1, -0.96603924, 0.258395731, -4.59567389e-008))
  797. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  798. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  799. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.791934013, -0.0731610656, 2.68690491, 0.258360416, 0.966048717, 8.7551814e-007, -0.966048717, 0.258360416, -1.93419714e-006, -2.09472728e-006, -3.46073136e-007, 1))
  800. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  801. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  802. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668188095, 0.784166813, -2.46821594, -0.259239137, 0.96581322, -9.58106966e-007, 0.96581322, 0.259239137, 2.45358251e-006, 2.61808077e-006, -2.89287811e-007, -1))
  803. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  804. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  805. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.711663246, -1.08311462, -1.82211637, -0.258347362, -0.966052175, 4.26980762e-007, -6.51804299e-008, -4.24554258e-007, -1, 0.966052175, -0.258347362, 4.67147743e-008))
  806. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  807. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  808. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.66814518, -0.784229279, 2.34318542, 0.259237558, -0.965813577, 2.15522095e-006, -0.965813577, -0.259237558, 4.15574686e-006, -3.45496255e-006, -3.15886746e-006, -1))
  809. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  810. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  811. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.711732864, 1.32258606, 2.18660164, 0.258424789, 0.966031373, -5.72344379e-006, 2.51068946e-006, -6.59633633e-006, -1, -0.966031373, 0.258424789, -4.13006182e-006))
  812. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  813. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599929))
  814. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748332024, 2.24951172, -0.0176463127, -0.259235293, 0.965814173, -1.04926676e-006, 3.99967757e-006, 2.15996465e-006, 1, 0.965814173, 0.259235293, -4.42288456e-006))
  815. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  816. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  817. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.668171883, 0.784127712, -2.34318542, 0.259238124, -0.965813458, 8.95987228e-007, 0.965813458, 0.259238124, -2.76424407e-006, 2.4374699e-006, 1.58195394e-006, 1))
  818. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  819. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  820. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63828373, -0.0103759766, 0.748314857, 0.96581459, 0.259233892, -1.77737036e-007, -7.47181232e-008, 9.63997763e-007, 1, 0.259233892, -0.96581459, 9.50412584e-007))
  821. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  822. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008))
  823. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.748323441, -2.61401367, 0.346779823, 0.259239912, -0.965812981, -1.30390742e-006, -4.67701739e-006, 9.46744763e-008, -1, 0.965812981, 0.259239912, -4.49258096e-006))
  824. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  825. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Medium stone grey", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  826. Partweld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.668186665, -0.784234047, 2.46820831, -0.259239942, 0.965813041, -2.21002483e-006, -0.965813041, -0.259239942, -3.84502073e-006, -4.28649719e-006, 1.1376876e-006, 1))
  827. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  828.  
  829. for i, v in pairs(Character:GetChildren()) do
  830. if v:IsA'Model' then
  831. for _, c in pairs(v:GetChildren()) do
  832. if c:IsA'Part' then
  833. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  834. end
  835. end
  836. end
  837. end
  838.  
  839. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  840. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  841. prt.Anchored = true
  842. prt.CFrame = cframe
  843. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. if Type == 1 or Type == nil then
  846. table.insert(Effects, {
  847. prt,
  848. "Block1",
  849. delay,
  850. x3,
  851. y3,
  852. z3,
  853. msh
  854. })
  855. elseif Type == 2 then
  856. table.insert(Effects, {
  857. prt,
  858. "Block2",
  859. delay,
  860. x3,
  861. y3,
  862. z3,
  863. msh
  864. })
  865. end
  866. end
  867.  
  868. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  869. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  870. prt.Anchored = true
  871. prt.CFrame = cframe
  872. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  873. game:GetService("Debris"):AddItem(prt, 10)
  874. table.insert(Effects, {
  875. prt,
  876. "Cylinder",
  877. delay,
  878. x3,
  879. y3,
  880. z3,
  881. msh
  882. })
  883. end
  884.  
  885. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  886. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  887. prt.Anchored = true
  888. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  889. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  890. game:GetService("Debris"):AddItem(prt, 10)
  891. table.insert(Effects, {
  892. prt,
  893. "Cylinder",
  894. delay,
  895. x3,
  896. y3,
  897. z3,
  898. msh
  899. })
  900. end
  901.  
  902. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  903. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  904. prt.Anchored = true
  905. prt.CFrame = cframe
  906. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  907. game:GetService("Debris"):AddItem(prt, 10)
  908. table.insert(Effects, {
  909. prt,
  910. "Cylinder",
  911. delay,
  912. x3,
  913. y3,
  914. z3,
  915. msh
  916. })
  917. end
  918.  
  919. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  920. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  921. prt.Anchored = true
  922. prt.CFrame = cframe
  923. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  924. game:GetService("Debris"):AddItem(prt, 10)
  925. table.insert(Effects, {
  926. prt,
  927. "Cylinder",
  928. delay,
  929. x3,
  930. y3,
  931. z3,
  932. msh
  933. })
  934. end
  935.  
  936. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  937. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  938. prt.Anchored = true
  939. prt.CFrame = cframe
  940. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  941. game:GetService("Debris"):AddItem(prt, 10)
  942. table.insert(Effects, {
  943. prt,
  944. "Cylinder",
  945. delay,
  946. x3,
  947. y3,
  948. z3,
  949. msh
  950. })
  951. end
  952.  
  953. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  954. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  955. prt.Anchored = true
  956. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  957. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  958. local num = math.random(10, 50) / 1000
  959. game:GetService("Debris"):AddItem(prt, 10)
  960. table.insert(Effects, {
  961. prt,
  962. "Shatter",
  963. num,
  964. prt.CFrame,
  965. math.random() - math.random(),
  966. 0,
  967. math.random(50, 100) / 100
  968. })
  969. end
  970.  
  971. function attackone()
  972. attack = true
  973. Hitbox.CanCollide = true
  974. for i = 0, 1, 0.15 do
  975. swait()
  976. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .33)
  977. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .33)
  978. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  979. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(80), math.rad(0), math.rad(45)), .33)
  980. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  981. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  982. end
  983. CreateSound("http://roblox.com/asset/?id=320557518", RightArm, 1, .8)
  984. RootPart.Velocity = RootPart.CFrame.lookVector * 70
  985. for i = 0, 1, 0.13 do
  986. swait()
  987. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5)
  988. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-60)), .5)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .5)
  990. LW.C0 = clerp(LW.C0, CFrame.new(-.3, 0.5, -.5) * CFrame.new(0, 0, -.5) * angles(math.rad(80), math.rad(0), math.rad(70)), .5)
  991. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-30), math.rad(-10)), .5)
  992. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-30), math.rad(10)), .5)
  993. end
  994. Hitbox.CanCollide = false
  995. attack = false
  996. end
  997.  
  998. function attacktwo()
  999. attack = true
  1000. Hitbox.CanCollide = true
  1001. for i = 0, 1, 0.15 do
  1002. swait()
  1003. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1004. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1005. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.7) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  1006. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-10)), .33)
  1007. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33)
  1008. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33)
  1009. end
  1010. CreateSound("http://roblox.com/asset/?id=320557453", RightArm, 1, .8)
  1011. for i = 0, 1, 0.12 do
  1012. swait()
  1013. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .35)
  1014. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), .35)
  1015. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), .35)
  1016. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-80)), .35)
  1017. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35)
  1018. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35)
  1019. end
  1020. Hitbox.CanCollide = false
  1021. attack = false
  1022. end
  1023.  
  1024. function attackthree()
  1025. attack = true
  1026. CreateSound("http://roblox.com/asset/?id=315743298", LeftArm, 1, 1)
  1027. CreateSound("http://roblox.com/asset/?id=320557563", LeftArm, 1, 1)
  1028. for i = 0, 1, 0.1 do
  1029. swait()
  1030. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05, 1)
  1031. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1032. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1034. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), .33)
  1035. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1036. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1037. end
  1038. CreateSound("http://roblox.com/asset/?id=315744661", LeftArm, 1, 1)
  1039. CreateSound("http://roblox.com/asset/?id=300916014", LeftArm, 1, 1)
  1040. RootPart.Velocity = RootPart.CFrame.lookVector * -70
  1041. SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05)
  1042. for i = 1, 10 do
  1043. BreakEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1044. end
  1045. for i = 0, 1, 0.13 do
  1046. swait()
  1047. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), .33)
  1048. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), .33)
  1049. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), .33)
  1050. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(120), math.rad(0), math.rad(30)), .33)
  1051. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-40), math.rad(5)), .33)
  1052. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-40), math.rad(-5)), .33)
  1053. end
  1054. attack = false
  1055. end
  1056.  
  1057. local Orbs = {}
  1058. local OrbNumb = 0
  1059. local Orbhold = false
  1060. function MakeOrbs()
  1061. attack = true
  1062. Humanoid.WalkSpeed = 6
  1063. for i = 0, 1, 0.1 do
  1064. swait()
  1065. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1066. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1067. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1068. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-120), math.rad(-90)), .33)
  1069. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1070. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1071. end
  1072. for i = 1, 5 do
  1073. if OrbNumb < 5 then
  1074. CreateSound("http://www.roblox.com/asset/?id=315746833", Torso, 1, 1.5)
  1075. OrbNumb = OrbNumb + 1
  1076. print(OrbNumb)
  1077. local Orbl = CreatePart(m, "Neon", 0, 0.3, Torso.BrickColor, "Orb", Vector3.new(1, 1, 1))
  1078. local msh = CreateMesh("SpecialMesh", Orbl, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1079. Orbl.Anchored = false
  1080. Orbl.CFrame = LeftArm.CFrame * CFrame.new(0, -1, 0)
  1081. table.insert(Orbs, Orbl)
  1082. end
  1083. end
  1084. for i = 0, 1, 0.1 do
  1085. swait()
  1086. SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .1, .1, .1, .5, .5, .5, .05)
  1087. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1088. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-60)), .33)
  1089. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1090. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .33)
  1091. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33)
  1092. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33)
  1093. end
  1094. for i = 0, 1, 0.1 do
  1095. swait()
  1096. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .09, 1)
  1097. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1098. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1099. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1100. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, -.1) * angles(math.rad(180), math.rad(0), math.rad(0)), .33)
  1101. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1102. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1103. end
  1104. for e = 1, #Orbs do
  1105. CreateSound("http://www.roblox.com/asset/?id=315744661", Torso, 1, 1)
  1106. CreateSound("http://www.roblox.com/asset/?id=315748999", Torso, 1, 1)
  1107. OrbNumb = OrbNumb - 1
  1108. Orbs[e].Parent = nil
  1109. BlockEffect(Torso.BrickColor, Orbs[e].CFrame, .5, .5, .5, .8, .8, .8, .04, 1)
  1110. for i = 1, math.random(4, 10) do
  1111. BreakEffect(Orbs[e].BrickColor, Orbs[e].CFrame, 1, 3, 2)
  1112. end
  1113. end
  1114. for i = 1, 10 do
  1115. print("nou")
  1116. for e = 1, #Orbs do
  1117. print(#Orbs)
  1118. table.remove(Orbs, e)
  1119. end
  1120. end
  1121. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .04, 1)
  1122. for i = 0, 1, 0.1 do
  1123. swait()
  1124. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1125. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1126. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1127. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), .33)
  1128. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1129. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1130. end
  1131. OrbNumb = 0
  1132. Humanoid.WalkSpeed = 16
  1133. attack = false
  1134. end
  1135.  
  1136. function ShockWave(Part, cframe1, cframe2, Damage, Size)
  1137. coroutine.resume(coroutine.create(function()
  1138. local wave = CreatePart(workspace, "Neon", 0, 0, Torso.BrickColor, "Effect", Vector3.new(1, 1, 5))
  1139. wave.Anchored = true
  1140. wave.CFrame = Part.CFrame * cframe1
  1141. local Msh = Create("SpecialMesh"){
  1142. Parent = wave,
  1143. MeshType = "Sphere"
  1144. }
  1145. BlockEffect(Torso.BrickColor, wave.CFrame * CFrame.new(0, 0, 1), 1, 1, 1, 2, 2, 2, 0.05)
  1146. CreateSound("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
  1147. CreateSound("http://roblox.com/asset/?id=301031757", wave, 1, 1.2)
  1148. for i = 0, 1, 0.2 do
  1149. wait()
  1150. local dir = wave.CFrame.lookVector * -1
  1151. local pos = rayCast(wave.Position, dir, 5, Character)
  1152. wave.CFrame = wave.CFrame * cframe2
  1153. Effects[#Effects + 1] = {
  1154. wave,
  1155. "Cylinder",
  1156. 0.01,
  1157. .03,
  1158. .03,
  1159. .03
  1160. }
  1161. end
  1162. end))
  1163. end
  1164.  
  1165. function Wave()
  1166. attack = true
  1167. Humanoid.WalkSpeed = 0
  1168. for i = 0, 1, 0.1 do
  1169. swait()
  1170. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .33)
  1171. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .33)
  1172. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1173. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)), .33)
  1174. RH.C0 = clerp(RH.C0, cn(1, .5, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1175. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(10)), .33)
  1176. end
  1177. local inc = -3
  1178. for i = 1, 3 do
  1179. ShockWave(RootPart, CFrame.new(0, -4, inc) * CFrame.fromEulerAnglesXYZ(-2, 0, 1.57), CFrame.new(0, 0, 0.8), 10, 5)
  1180. inc = inc - 5
  1181. end
  1182. for i = 0, 1, 0.1 do
  1183. swait()
  1184. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .5)
  1185. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(10)), .33)
  1187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .33)
  1188. RH.C0 = clerp(RH.C0, cn(1, -1, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10)), .7)
  1189. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(-10)), .33)
  1190. end
  1191. Humanoid.WalkSpeed = 16
  1192. attack = false
  1193. end
  1194.  
  1195. local Blocking = false
  1196.  
  1197. function Block()
  1198. attack = true
  1199. Humanoid.WalkSpeed = 10
  1200. Hitbox.CanCollide = true
  1201. while wait() do
  1202. change = 1
  1203. if Blocking == true then
  1204. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1205. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1206. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1207. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1208. if Torsovelocity > 2 then
  1209. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), .3)
  1210. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(20 * math.cos(sine / 4))), .3)
  1211. elseif Torsovelocity < 1 then
  1212. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1213. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1214. end
  1215. elseif Blocking == false then
  1216. break
  1217. end
  1218. end
  1219. Hitbox.CanCollide = false
  1220. Humanoid.WalkSpeed = 16
  1221. attack = false
  1222. end
  1223.  
  1224. function RushCharge()
  1225. attack = true
  1226. Humanoid.WalkSpeed = 5
  1227. Hitbox.CanCollide = true
  1228. for i = 0, 1, 0.15 do
  1229. swait()
  1230. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1231. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1232. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1233. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1234. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  1235. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  1236. end
  1237. CreateSound("http://roblox.com/asset/?id=153092348", Torso, 1, .9)
  1238. for i = 0, 1, 0.05 do
  1239. swait()
  1240. WaveEffect(Torso.BrickColor, RootPart.CFrame * CFrame.Angles(1.4, 0, 0), .2, .2, .2, .3, .3, .3, .08)
  1241. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1242. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .33)
  1243. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-70)), .33)
  1244. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -.2) * angles(math.rad(90), math.rad(0), math.rad(-30)), .33)
  1245. LW.C0 = clerp(LW.C0, CFrame.new(-.6, 0.4, -1) * angles(math.rad(95), math.rad(0), math.rad(65)), .33)
  1246. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(-10)), .33)
  1247. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(20)), .33)
  1248. end
  1249. Hitbox.CanCollide = false
  1250. Humanoid.WalkSpeed = 16
  1251. attack = false
  1252. end
  1253.  
  1254. function Ult()
  1255. attack = true
  1256. Humanoid.WalkSpeed = 5
  1257. Hitbox.CanCollide = true
  1258. Humanoid.JumpPower = 200
  1259. local AntiJump = Humanoid.Changed:connect(function()
  1260. Humanoid.Jump = false
  1261. end)
  1262. for i = 0, 1, 0.15 do
  1263. swait()
  1264. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.3) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1268. RH.C0 = clerp(RH.C0, cn(1, -.8, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1269. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1270. end
  1271. WaveEffect(Torso.BrickColor, RootPart.CFrame, .2, .2, .2, .5, .5, .5, .04)
  1272. AntiJump:disconnect()
  1273. Humanoid.Jump = true
  1274. Humanoid.WalkSpeed = 16
  1275. CreateSound("http://roblox.com/asset/?id=199145327", Torso, 1, .9)
  1276. for i = 0, 1, 0.1 do
  1277. swait()
  1278. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(6 * i, math.rad(0), math.rad(50)), .33)
  1279. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1280. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1281. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1282. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3)
  1283. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1284. end
  1285. for i = 0, 1, 0.1 do
  1286. swait()
  1287. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(40)), .33)
  1288. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1291. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3)
  1292. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1293. end
  1294. local hitfloor = nil
  1295. while hitfloor == nil do
  1296. swait()
  1297. hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 6, Character)
  1298. end
  1299. local hit, pos = rayCast(Hitbox.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1300. if hit ~= nil then
  1301. local Color = hit.BrickColor
  1302. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, "Really black", "Effect", Vector3.new())
  1303. refpart.Anchored = true
  1304. refpart.CFrame = CFrame.new(pos)
  1305. game:GetService("Debris"):AddItem(refpart, 1)
  1306. CreateSound("http://www.roblox.com/asset/?id=199145477", refpart, .8, 0.75)
  1307. CreateSound("http://www.roblox.com/asset/?id=142070127", refpart, .7, .9)
  1308. for i = 1, 10 do
  1309. local Color = hit.BrickColor
  1310. local Materials = hit.Material
  1311. local groundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(50, 100) / 100, math.random(50, 100) / 100, math.random(50, 100) / 100))
  1312. groundpart.Anchored = false
  1313. groundpart.Material = Materials
  1314. groundpart.CanCollide = true
  1315. groundpart.Friction = 0.1
  1316. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  1317. 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))
  1318. game:GetService("Debris"):AddItem(groundpart, 10)
  1319. end
  1320. for i = 1, 10 do
  1321. local Color = hit.BrickColor
  1322. local Materials = hit.Material
  1323. local actualgroundpart = CreatePart(workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(100, 200) / 100, math.random(100, 200) / 100, math.random(100, 200) / 100))
  1324. actualgroundpart.Anchored = true
  1325. actualgroundpart.Material = Materials
  1326. actualgroundpart.CanCollide = true
  1327. actualgroundpart.Friction = 1
  1328. 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))
  1329. game:GetService("Debris"):AddItem(actualgroundpart, 10)
  1330. end
  1331. WaveEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, .5, .5, .5, .04)
  1332. SphereEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, 3, 3, 3, .04)
  1333. RingEffect(hit.BrickColor, refpart.CFrame * CFrame.Angles(math.random(5, 6), math.random(2, 7), math.random(3, 6)), .2, .2, .2, 1, 1, 1, .05)
  1334. end
  1335. Humanoid.JumpPower = 50
  1336. Hitbox.CanCollide = false
  1337. Humanoid.WalkSpeed = 16
  1338. attack = false
  1339. end
  1340.  
  1341. function subtractMana(k)
  1342. if Mana >= k then
  1343. Mana = Mana - k
  1344. end
  1345. end
  1346.  
  1347. mouse.Button1Down:connect(function()
  1348. if attack == false and attacktype == 1 then
  1349. attacktype = 2
  1350. attackone()
  1351. elseif attack == false and attacktype == 2 then
  1352. attacktype = 3
  1353. attacktwo()
  1354. elseif attack == false and attacktype == 3 then
  1355. attacktype = 1
  1356. attackthree()
  1357. end
  1358. end)
  1359.  
  1360. mouse.KeyDown:connect(function(k)
  1361. k = k:lower()
  1362. if attack == false and k == 'z' and cooldown1 >= co1 and Mana >= skill1stam then
  1363. cooldown1 = 0
  1364. subtractMana(skill1stam)
  1365. MakeOrbs()
  1366. elseif attack == false and k == 'x' and cooldown2 >= co2 and Mana >= skill2stam then
  1367. cooldown2 = 0
  1368. subtractMana(skill2stam)
  1369. Wave()
  1370. elseif attack == false and k == 'e' then
  1371. Blocking = true
  1372. Block()
  1373. elseif attack == false and k == 'c' and cooldown3 >= co3 and Mana >= skill3stam then
  1374. cooldown3 = 0
  1375. subtractMana(skill3stam)
  1376. RushCharge()
  1377. elseif attack == false and k == 'v' and cooldown4 >= co4 and Mana >= skill4stam then
  1378. cooldown4 = 0
  1379. subtractMana(skill4stam)
  1380. Ult()
  1381. end
  1382. end)
  1383.  
  1384. mouse.KeyUp:connect(function(k)
  1385. if attack == true and k == 'e' and Blocking == true then
  1386. Blocking = false
  1387. end
  1388. end)
  1389.  
  1390. numbb = 0
  1391. datnumb = 0
  1392.  
  1393. local Blink = 0
  1394.  
  1395. local BlinkEff = false
  1396.  
  1397. function updateskills()
  1398. if cooldown1 <= co1 then
  1399. cooldown1 = cooldown1 + 1 / 30
  1400. end
  1401. if cooldown2 <= co2 then
  1402. cooldown2 = cooldown2 + 1 / 30
  1403. end
  1404. if cooldown3 <= co3 then
  1405. cooldown3 = cooldown3 + 1 / 30
  1406. end
  1407. if cooldown4 <= co4 then
  1408. cooldown4 = cooldown4 + 1 / 30
  1409. end
  1410. if Mana <= skill1stam then
  1411. bar4.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1412. else
  1413. bar4.BackgroundColor3 = skillcolorscheme
  1414. end
  1415. if Mana <= skill2stam then
  1416. bar3.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1417. else
  1418. bar3.BackgroundColor3 = skillcolorscheme
  1419. end
  1420. if Mana <= skill3stam then
  1421. bar1.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1422. else
  1423. bar1.BackgroundColor3 = skillcolorscheme
  1424. end
  1425. if Mana <= skill4stam then
  1426. bar2.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1427. else
  1428. bar2.BackgroundColor3 = skillcolorscheme
  1429. end
  1430. if Mana <= maxMana then
  1431. Mana = Mana + recovermana / 30
  1432. end
  1433. end
  1434.  
  1435. while true do
  1436. swait()
  1437. for i, v in pairs(Character:GetChildren()) do
  1438. if v:IsA("Part") then
  1439. v.Material = "SmoothPlastic"
  1440. elseif v:IsA("Hat") then
  1441. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1442. end
  1443. end
  1444. updateskills()
  1445. healthcover:TweenSize(UDim2.new(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  1446. Manacover:TweenSize(UDim2.new(1 * (Mana / maxMana), 0, 1, 0), 'Out', 'Quad', .5)
  1447. bar4:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1448. bar3:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1449. bar1:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1450. bar2:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1451. Blink = Blink + .55
  1452. if Blink >= 15 - (5 * (Humanoid.WalkSpeed / 16)) then
  1453. Blink = 0
  1454. if BlinkEff == true then
  1455. BlinkEff = false
  1456. elseif BlinkEff == false then
  1457. BlinkEff = true
  1458. end
  1459. end
  1460. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1461. velocity = RootPart.Velocity.y
  1462. sine = sine + change
  1463. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1464. if equipped == true or equipped == false then
  1465. if RootPart.Velocity.y > 1 and hit == nil then
  1466. Anim = "Jump"
  1467. if attack == false then
  1468. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1469. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1470. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), .3)
  1471. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), .3)
  1472. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  1473. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1474. end
  1475. elseif RootPart.Velocity.y < -1 and hit == nil then
  1476. Anim = "Fall"
  1477. if attack == false then
  1478. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1479. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1480. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), .3)
  1481. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), .3)
  1482. RH.C0 = clerp(RH.C0, CFrame.new(1, -.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1483. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1484. end
  1485. elseif Torsovelocity < 1 and hit ~= nil then
  1486. Anim = "Idle"
  1487. if attack == false then
  1488. change = 1
  1489. Jumping = false
  1490. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.15 + 0.1 * math.cos(sine / 15)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1491. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10 - 2 * math.cos(sine / 15)), math.rad(0), math.rad(30)), .3)
  1492. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(65), math.rad(30), math.rad(-30 + 5 * math.cos(sine / 15))), .3)
  1493. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10 - 3 * math.cos(sine / 15)), math.rad(0), math.rad(-10 - 3 * math.cos(sine / 15))), .3)
  1494. RH.C0 = clerp(RH.C0, cn(1.05, -.8 - 0.1 * math.cos(sine / 15), 0) * RHCF * angles(math.rad(-3 - 1 * math.cos(sine / 35)), math.rad(30), math.rad(0)), .3)
  1495. LH.C0 = clerp(LH.C0, cn(-1.05, -.8 - 0.1 * math.cos(sine / 15), 0) * LHCF * angles(math.rad(-3 - 1 * math.cos(sine / 35)), math.rad(30), math.rad(0)), .3)
  1496. end
  1497. elseif Torsovelocity > 2 and hit ~= nil then
  1498. Anim = "Walk"
  1499. if attack == false then
  1500. change = 3
  1501. Jumping = false
  1502. 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))), .3)
  1503. 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))), .3)
  1504. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50 + 1 * math.cos(sine / 14)), math.rad(0), math.rad(20 + 3 * math.cos(sine / 14))), .3)
  1505. LW.C0 = clerp(LW.C0, CFrame.new(-1.45 + .1 * math.cos(sine / 13), 0.5, 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))), .3)
  1506. RH.C0 = clerp(RH.C0, cn(1, -1, 0 - 0.5 * math.cos(sine / 15) / 2) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(40 * math.cos(sine / 15))), .3)
  1507. LH.C0 = clerp(LH.C0, cn(-1, -1, 0 + 0.5 * math.cos(sine / 15) / 2) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(40 * math.cos(sine / 15))), .3)
  1508. end
  1509. end
  1510. end
  1511. if #Effects > 0 then
  1512. for e = 1, #Effects do
  1513. if Effects[e] ~= nil then
  1514. local Thing = Effects[e]
  1515. if Thing ~= nil then
  1516. local Part = Thing[1]
  1517. local Mode = Thing[2]
  1518. local Delay = Thing[3]
  1519. local IncX = Thing[4]
  1520. local IncY = Thing[5]
  1521. local IncZ = Thing[6]
  1522. if Thing[1].Transparency <= 1 then
  1523. if Thing[2] == "Block1" then
  1524. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1525. Mesh = Thing[1].Mesh
  1526. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1527. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1528. elseif Thing[2] == "Block2" then
  1529. Thing[1].CFrame = Thing[1].CFrame
  1530. Mesh = Thing[7]
  1531. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1532. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1533. elseif Thing[2] == "Cylinder" then
  1534. Mesh = Thing[1].Mesh
  1535. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1536. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1537. elseif Thing[2] == "Blood" then
  1538. Mesh = Thing[7]
  1539. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1540. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1541. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1542. elseif Thing[2] == "Elec" then
  1543. Mesh = Thing[1].Mesh
  1544. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1545. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1546. elseif Thing[2] == "Disappear" then
  1547. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1548. elseif Thing[2] == "Shatter" then
  1549. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1550. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1551. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1552. Thing[6] = Thing[6] + Thing[5]
  1553. end
  1554. else
  1555. Part.Parent = nil
  1556. table.remove(Effects, e)
  1557. end
  1558. end
  1559. end
  1560. end
  1561. end
  1562. datnumb = 0
  1563. BaseNumb = 6.28
  1564. BaseNumb = BaseNumb / OrbNumb
  1565. for d, Orb in pairs (Orbs) do
  1566. datnumb = datnumb + BaseNumb
  1567. Orb.Anchored = true
  1568. if Orb.ClassName == "Part" then
  1569. if #Orbs ~= 0 then
  1570. Orb.CFrame = Orb.CFrame:lerp(CFrame.new(RootPart.Position) * CFrame.Angles(0, math.rad(360) / #Orbs * d, 0) * CFrame.new(0, 0, 5 + #Orbs / 3), .1)
  1571. numbb = numbb + 0.05
  1572. end
  1573. end
  1574. end
  1575. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement