Advertisement
memberhero

enchanted sheild script

Nov 10th, 2016
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 91.05 KB | None | 0 0
  1. --Edited By basstracker1970.
  2. Meshes = {Blast = "20329976", Crown = "1323306", Ring = "3270017", Claw = "10681506", Crystal = "9756362", Coil = "9753878", Cloud = "1095708"}
  3. clangsounds = {"199149119", "199149109", "199149072", "199149025", "199148971"}
  4. hitsounds = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  5. blocksounds = {"199148933", "199148947"}
  6. armorsounds = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  7. woosh = {Heavy1 = "320557353", Heavy2 = "320557382", Heavy3 = "320557453", Heavy4 = "199144226", Heavy5 = "203691447", Heavy6 = "203691467", Heavy7 = "203691492", Light1 = "320557413", Light2 = "320557487", Light3 = "199145095", Light4 = "199145146", Light5 = "199145887", Light6 = "199145913", Light7 = "199145841", Medium1 = "320557518", Medium2 = "320557537", Medium3 = "320557563", Medium4 = "199145204"}
  8. music = {Breaking = "179281636", FinalReckoning = "357375770", NotDeadYet = "346175829", Intense = "151514610", JumpP1 = "160536628", JumpP2 = "60536666", SonsOfWar = "158929777", WrathOfSea = "165520893", ProtectorsOfEarth = "160542922", SkyTitans = "179282324", ArchAngel = "144043274", Anticipation = "168614529", TheMartyred = "186849544", AwakeP1 = "335631255", AwakeP2 = "335631297", ReadyAimFireP1 = "342455387", ReadyAimFireP2 = "342455399", DarkLordP1 = "209567483", DarkLordP2 = "209567529", BloodDrainP1 = "162914123", BloodDrainP2 = "162914203", DanceOfSwords = "320473062", Opal = "286415112", Calamity = "190454307", Hypnotica = "155968128", Nemisis = "160453802", Breathe = "276963903", GateToTheRift = "270655227", InfernalBeserking = "244143404", Trust = "246184492", AwakeningTheProject = "245121821", BloodPain = "242545577", Chaos = "247241693", NightmareFictionHighStake = "248062278", TheWhiteWeapon = "247236446", Gale = "256851659", ImperialCode = "256848383", Blitzkrieg = "306431437", RhapsodyRage = "348690251", TheGodFist = "348541501", BattleForSoul = "321185592", TheDarkColossus = "305976780", EmpireOfAngels = "302580452", Kronos = "302205297", Exorcist = "299796054", CrimsonFlames = "297799220", UltimatePower = "295753229", DrivingInTheDark = "295753229", AscendToPower = "293860654", GodOfTheSun = "293612495", DarkRider = "293861765", Vengeance = "293375555", SoundOfWar = "293376196", HellsCrusaders = "293012202", Legend = "293011823", RisingSouls = "290524959"}
  9. misc = {GroundSlam = "199145477", LaserSlash = "199145497", RailGunFire = "199145534", Charge1 = "199145659", Charge2 = "169380469", Charge3 = "169380479", EmptyGun = "203691822", GunShoot = "203691837", Stomp1 = "200632875", Stomp2 = "200632561", TelsaCannonCharge = "169445572", TelsaCannonShoot = "169445602", AncientHymm = "245313442"}
  10. wait(0.016666666666667)
  11. wait(1 / 60)
  12. Effects = { }
  13. local Player = game.Players.localPlayer
  14. local Character = Player.Character
  15. local Humanoid = Character.Humanoid
  16. local mouse = Player:GetMouse()
  17. local m = Instance.new('Model', Character)
  18. m.Name = "WeaponModel"
  19. local LeftArm = Character["Left Arm"]
  20. local RightArm = Character["Right Arm"]
  21. local LeftLeg = Character["Left Leg"]
  22. local RightLeg = Character["Right Leg"]
  23. local Head = Character.Head
  24. local Torso = Character.Torso
  25. local cam = game.Workspace.CurrentCamera
  26. local RootPart = Character.HumanoidRootPart
  27. local RootJoint = RootPart.RootJoint
  28. local equipped = false
  29. local attack = false
  30. local Anim = 'Idle'
  31. local idle = 0
  32. local attacktype = 1
  33. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  34. local velocity = RootPart.Velocity.y
  35. local sine = 0
  36. local change = 1
  37. local grabbed = false
  38. local cn = CFrame.new
  39. local mr = math.rad
  40. local angles = CFrame.Angles
  41. local ud = UDim2.new
  42. local c3 = Color3.new
  43.  
  44. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  45. Humanoid.Animator:Destroy()
  46. Character.Animate:Destroy()
  47.  
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51.  
  52. RSH, LSH = nil, nil
  53.  
  54. RW = Instance.new("Weld")
  55. LW = Instance.new("Weld")
  56.  
  57. RH = Torso["Right Hip"]
  58. LH = Torso["Left Hip"]
  59.  
  60. RSH = Torso["Right Shoulder"]
  61. LSH = Torso["Left Shoulder"]
  62.  
  63. RSH.Parent = nil
  64. LSH.Parent = nil
  65.  
  66. RW.Name = "RW"
  67. RW.Part0 = Torso
  68. RW.C0 = cn(1.5, 0.5, 0)
  69. RW.C1 = cn(0, 0.5, 0)
  70. RW.Part1 = RightArm
  71. RW.Parent = Torso
  72.  
  73. LW.Name = "LW"
  74. LW.Part0 = Torso
  75. LW.C0 = cn(-1.5, 0.5, 0)
  76. LW.C1 = cn(0, 0.5, 0)
  77. LW.Part1 = LeftArm
  78. LW.Parent = Torso
  79.  
  80. local co1 = 14--how long it will take for skill to cooldown
  81. local co2 = 15
  82. local co3 = 22
  83. local co4 = 30
  84.  
  85. local cooldown1 = 0
  86. local cooldown2 = 0
  87. local cooldown3 = 0
  88. local cooldown4 = 0
  89.  
  90. local maxMana = 100
  91. local Mana = 0--Mana you start out with
  92. local skill1stam = 50--how much Mana is needed for a skill
  93. local skill2stam = 60
  94. local skill3stam = 54
  95. local skill4stam = 100
  96. local recovermana = 10--how much mana per second
  97.  
  98. local skillcolorscheme = Color3.new(1, 1, 1)
  99.  
  100. local scrn = Instance.new('ScreenGui', Player.PlayerGui)
  101. function makeframe(par, trans, pos, size, color)
  102. local frame = Instance.new('Frame', par)
  103. frame.BackgroundTransparency = trans
  104. frame.BorderSizePixel = 0
  105. frame.Position = pos
  106. frame.Size = size
  107. frame.BackgroundColor3 = Color3.new(color)
  108. return frame
  109. end
  110. function makelabel(par, text)
  111. local label = Instance.new('TextLabel', par)
  112. label.BackgroundTransparency = 1
  113. label.Size = UDim2.new(1, 0, 1, 0)
  114. label.Position = UDim2.new(0, 0, 0, 0)
  115. label.TextColor3 = Color3.new(255, 255, 255)
  116. label.TextStrokeTransparency = 0
  117. label.FontSize = Enum.FontSize.Size32
  118. label.Font = Enum.Font.SourceSansBold
  119. label.BorderSizePixel = 0
  120. label.TextScaled = true
  121. label.Text = text
  122. end
  123.  
  124. local colorscheme2 = Torso.BrickColor.Color
  125.  
  126. framesk1 = makeframe(scrn, .5, UDim2.new(.23, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  127. framesk2 = makeframe(scrn, .5, UDim2.new(.5, 0, .93, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  128. framesk3 = makeframe(scrn, .5, UDim2.new(.5, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  129. framesk4 = makeframe(scrn, .5, UDim2.new(.23, 0, .86, 0), UDim2.new(.26, 0, .06, 0), colorscheme2)
  130. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  131. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  132. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  133. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  134. text1 = makelabel(framesk1, '[C] Rush')
  135. text2 = makelabel(framesk2, '[V] RageSmash')
  136. text3 = makelabel(framesk3, "[X] Stomps")
  137. text4 = makelabel(framesk4, '[Z] orbsfromthepast')
  138. Manabar = makeframe(scrn, .5, UDim2.new(.23, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really red").Color)
  139. Manacover = makeframe(Manabar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Cyan").Color)
  140. Manatext = makelabel(Manabar, 'Mana')
  141. healthbar = makeframe(scrn, .5, UDim2.new(.5, 0, .82, 0), UDim2.new(.26, 0, .03, 0), BrickColor.new("Really red").Color)
  142. healthcover = makeframe(healthbar, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), BrickColor.new("Lime green").Color)
  143. healthtext = makelabel(healthbar, 'Health')
  144.  
  145. local stats = Instance.new('Folder', Character)
  146. stats.Name = 'Stats'
  147. local block = Instance.new('BoolValue', stats)
  148. block.Name = 'Block'
  149. block.Value = false
  150. local stun = Instance.new('BoolValue', stats)
  151. stun.Name = 'Stun'
  152. stun.Value = false
  153. local defense = Instance.new('NumberValue', stats)
  154. defense.Name = 'Defence'
  155. defense.Value = 1.2
  156. local speed = Instance.new('NumberValue', stats)
  157. speed.Name = 'Speed'
  158. speed.Value = .7
  159. local damagea = Instance.new('NumberValue', stats)
  160. damagea.Name = 'Damage'
  161. damagea.Value = .8
  162.  
  163. function clerp(a, b, t)
  164. return a:lerp(b, t)
  165. end
  166.  
  167. --[[Credits to SazErenos for his Artificial Heartbeat]]--
  168.  
  169. ArtificialHB = Instance.new("BindableEvent", script)
  170. ArtificialHB.Name = "Heartbeat"
  171.  
  172. script:WaitForChild("Heartbeat")
  173.  
  174. frame = 1 / 30
  175. tf = 0
  176. allowframeloss = false
  177. tossremainder = false
  178. lastframe = tick()
  179. script.Heartbeat:Fire()
  180.  
  181. game:GetService("RunService").Heartbeat:connect(function(s, p)
  182. tf = tf + s
  183. if tf >= frame then
  184. if allowframeloss then
  185. script.Heartbeat:Fire()
  186. lastframe = tick()
  187. else
  188. for i = 1, math.floor(tf / frame) do
  189. script.Heartbeat:Fire()
  190. end
  191. lastframe = tick()
  192. end
  193. if tossremainder then
  194. tf = 0
  195. else
  196. tf = tf - frame * math.floor(tf / frame)
  197. end
  198. end
  199. end)
  200.  
  201. function swait(num)
  202. if num == 0 or num == nil then
  203. ArtificialHB.Event:wait()
  204. else
  205. for i = 0, num do
  206. ArtificialHB.Event:wait()
  207. end
  208. end
  209. end
  210.  
  211. local RbxUtility = LoadLibrary("RbxUtility")
  212. local Create = RbxUtility.Create
  213.  
  214. function RemoveOutlines(part)
  215. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  216. end
  217.  
  218. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  219. local Part = Create("Part"){
  220. Parent = Parent,
  221. Reflectance = Reflectance,
  222. Transparency = Transparency,
  223. CanCollide = false,
  224. Locked = true,
  225. BrickColor = BrickColor.new(tostring(BColor)),
  226. Name = Name,
  227. Size = Size,
  228. Material = Material,
  229. }
  230. RemoveOutlines(Part)
  231. return Part
  232. end
  233.  
  234. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  235. local Msh = Create(Mesh){
  236. Parent = Part,
  237. Offset = OffSet,
  238. Scale = Scale,
  239. }
  240. if Mesh == "SpecialMesh" then
  241. Msh.MeshType = MeshType
  242. Msh.MeshId = MeshId
  243. end
  244. return Msh
  245. end
  246.  
  247. function CreateWeld(Parent, Part0, Part1, C0, C1)
  248. local Weld = Create("Weld"){
  249. Parent = Parent,
  250. Part0 = Part0,
  251. Part1 = Part1,
  252. C0 = C0,
  253. C1 = C1,
  254. }
  255. return Weld
  256. end
  257.  
  258. function rayCast(Position, Direction, Range, Ignore)
  259. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  260. end
  261.  
  262. function CreateSound(id, par, vol, pit)
  263. coroutine.resume(coroutine.create(function()
  264. local sou = Instance.new("Sound", par or workspace)
  265. sou.Volume = vol
  266. sou.Pitch = pit or 1
  267. sou.SoundId = id
  268. swait()
  269. sou:play()
  270. game:GetService("Debris"):AddItem(sou, 6)
  271. end))
  272. end
  273.  
  274. local function getclosest(obj, distance)
  275. local last, lastx = distance + 1
  276. for i, v in pairs(workspace:GetChildren()) do
  277. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  278. local t = v.Torso
  279. local dist = (t.Position - obj.Position).magnitude
  280. if dist <= distance then
  281. if dist < last then
  282. last = dist
  283. lastx = v
  284. end
  285. end
  286. end
  287. end
  288. return lastx
  289. end
  290.  
  291.  
  292. function makegui(cframe, text)
  293. local a = math.random(-10, 10) / 100
  294. local c = Instance.new("Part")
  295. c.Transparency = 1
  296. Instance.new("BodyGyro").Parent = c
  297. c.Parent = workspace
  298. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  299. local f = Instance.new("BodyPosition")
  300. f.P = 2000
  301. f.D = 100
  302. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  303. f.position = c.Position + Vector3.new(0, 3, 0)
  304. f.Parent = c
  305. game:GetService("Debris"):AddItem(c, .5 + 6)
  306. c.CanCollide = false
  307. c.Parent = workspace
  308. c.CanCollide = false
  309. local bg = Instance.new('BillboardGui', c)
  310. bg.Adornee = c
  311. bg.Size = UDim2.new(1, 0, 1, 0)
  312. bg.StudsOffset = Vector3.new(0, 0, 0)
  313. bg.AlwaysOnTop = false
  314. local tl = Instance.new('TextLabel', bg)
  315. tl.BackgroundTransparency = 1
  316. tl.Size = UDim2.new(1, 0, 1, 0)
  317. tl.Text = text
  318. tl.Font = 'SourceSansBold'
  319. tl.FontSize = 'Size42'
  320. if crit == true then
  321. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  322. else
  323. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  324. end
  325. tl.TextStrokeTransparency = 0
  326. tl.TextScaled = true
  327. tl.TextWrapped = true
  328. coroutine.wrap(function()
  329. wait(2)
  330. for i = 1, 10 do
  331. swait()
  332. c.Transparency = 1
  333. tl.TextTransparency = tl.TextTransparency + .1
  334. end
  335. end)()
  336. end
  337.  
  338. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  339. if hit.Parent == nil then
  340. return
  341. end
  342. local h = hit.Parent:FindFirstChild("Humanoid")
  343. for _, v in pairs(hit.Parent:children()) do
  344. if v:IsA("Humanoid") then
  345. h = v
  346. end
  347. end
  348. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  349. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  350. end
  351. if hit.Parent.className == "Hat" then
  352. hit = hit.Parent.Parent:findFirstChild("Head")
  353. end
  354. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  355. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  356. if hit.Parent.DebounceHit.Value == true then
  357. return
  358. end
  359. end
  360. local blocked = false
  361. local block = hit.Parent:findFirstChild("Block")
  362. if block ~= nil then
  363. print(block.className)
  364. if block.className == "NumberValue" then
  365. if block.Value > 0 then
  366. blocked = true
  367. if decreaseblock == nil then
  368. block.Value = block.Value - 1
  369. end
  370. end
  371. end
  372. if block.className == "IntValue" then
  373. if block.Value > 0 then
  374. blocked = true
  375. if decreaseblock ~= nil then
  376. block.Value = block.Value - 1
  377. end
  378. end
  379. end
  380. end
  381. if blocked == false then
  382. local D = math.random(minim, maxim) * damagea.Value
  383. if h.Parent:FindFirstChild('Stats') then
  384. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  385. elseif not h.Parent:FindFirstChild('Stats') then
  386. D = D
  387. end
  388. h.Health = h.Health - D
  389. TagService:NewTag(h.Parent, Player, script.Name, D)
  390. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  391. else
  392. local D = math.random(minim, maxim) * damagea.Value
  393. if h.Parent:FindFirstChild('Stats') then
  394. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  395. elseif not h.Parent:FindFirstChild('Stats') then
  396. D = D
  397. end
  398. h.Health = h.Health - (D / 2)
  399. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  400. showDamage(hit.Parent, Damage / 2, .5, BrickColor.new("Bright blue"))
  401. end
  402. if Type == "Knockdown" then
  403. local humanoid = hit.Parent.Humanoid
  404. humanoid.PlatformStand = true
  405. coroutine.resume(coroutine.create(function(Humanoid)
  406. swait()
  407. Humanoid.PlatformStand = false
  408. end), humanoid)
  409. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  410. local bodvol = Instance.new("BodyVelocity")
  411. bodvol.velocity = angle * knockback
  412. bodvol.P = 5000
  413. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  414. bodvol.Parent = hit
  415. local rl = Instance.new("BodyAngularVelocity")
  416. rl.P = 3000
  417. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  418. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  419. rl.Parent = hit
  420. game:GetService("Debris"):AddItem(bodvol, .5)
  421. game:GetService("Debris"):AddItem(rl, .5)
  422. elseif Type == "Normal" then
  423. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  424. local vp = Instance.new("BodyVelocity")
  425. vp.P = 500
  426. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  427. if KnockbackType == 1 then
  428. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  429. elseif KnockbackType == 2 then
  430. vp.velocity = Property.CFrame.lookVector * knockback
  431. end
  432. if knockback > 0 then
  433. vp.Parent = hit.Parent.Torso
  434. end
  435. game:GetService("Debris"):AddItem(vp, .5)
  436. elseif Type == "SlashLifeSteal" then
  437. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  438. Humanoid.Health = Humanoid.Health + math.random(1, 2) / 2.5
  439. local vp = Instance.new("BodyVelocity")
  440. vp.P = 500
  441. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  442. if KnockbackType == 1 then
  443. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  444. elseif KnockbackType == 2 then
  445. vp.velocity = Property.CFrame.lookVector * knockback
  446. end
  447. if knockback > 0 then
  448. vp.Parent = hit.Parent.Torso
  449. end
  450. game:GetService("Debris"):AddItem(vp, .5)
  451. elseif Type == "SlashLifeSteal2" then
  452. CreateSound("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  453. Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5
  454. local vp = Instance.new("BodyVelocity")
  455. vp.P = 500
  456. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  457. if KnockbackType == 1 then
  458. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  459. elseif KnockbackType == 2 then
  460. vp.velocity = Property.CFrame.lookVector * knockback
  461. end
  462. if knockback > 0 then
  463. vp.Parent = hit.Parent.Torso
  464. end
  465. game:GetService("Debris"):AddItem(vp, .5)
  466. elseif Type == "BlackHoleDamage" then
  467. Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5
  468. local floatingvelocity = Instance.new("BodyVelocity")
  469. floatingvelocity.Parent = hit.Parent.Torso
  470. floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0)
  471. game:GetService("Debris"):AddItem(floatingvelocity, 1)
  472. elseif Type == "BlackHoleDamage2" then
  473. local vp = Instance.new("BodyVelocity")
  474. vp.P = 500
  475. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  476. if KnockbackType == 1 then
  477. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  478. elseif KnockbackType == 2 then
  479. vp.velocity = Property.CFrame.lookVector * knockback
  480. end
  481. if knockback > 0 then
  482. vp.Parent = hit.Parent.Torso
  483. end
  484. game:GetService("Debris"):AddItem(vp, .5)
  485. elseif Type == "Up" then
  486. local bodyVelocity = Instance.new("BodyVelocity")
  487. bodyVelocity.velocity = Vector3.new(0, 60, 0)
  488. bodyVelocity.P = 5000
  489. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  490. bodyVelocity.Parent = hit
  491. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  492. local rl = Instance.new("BodyAngularVelocity")
  493. rl.P = 3000
  494. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  495. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  496. rl.Parent = hit
  497. game:GetService("Debris"):AddItem(rl, .5)
  498. elseif Type == "Snare" then
  499. wait()
  500. local bp = Instance.new("BodyPosition")
  501. bp.P = 2000
  502. bp.D = 100
  503. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  504. bp.position = hit.Parent.Torso.Position
  505. bp.Parent = hit.Parent.Torso
  506. game:GetService("Debris"):AddItem(bp, 1)
  507. elseif Type == "Target" then
  508. CreateSound("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  509. local vp = Instance.new("BodyVelocity")
  510. vp.P = 500
  511. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  512. if KnockbackType == 1 then
  513. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  514. elseif KnockbackType == 2 then
  515. vp.velocity = Property.CFrame.lookVector * knockback
  516. end
  517. if knockback > 0 then
  518. vp.Parent = hit.Parent.Torso
  519. end
  520. game:GetService("Debris"):AddItem(vp, .5)
  521. end
  522. local debounce = Instance.new("BoolValue")
  523. debounce.Name = "DebounceHit"
  524. debounce.Parent = hit.Parent
  525. debounce.Value = true
  526. game:GetService("Debris"):AddItem(debounce, Delay)
  527. local c = Instance.new("ObjectValue")
  528. c.Name = "creator"
  529. c.Value = Player
  530. c.Parent = h
  531. game:GetService("Debris"):AddItem(c, .5)
  532. end
  533. end
  534.  
  535. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  536. for _, c in pairs(workspace:children()) do
  537. local hum = c:findFirstChild("Humanoid")
  538. if hum ~= nil then
  539. local head = c:findFirstChild("Torso")
  540. if head ~= nil then
  541. local targ = head.Position - Part.Position
  542. local mag = targ.magnitude
  543. if mag <= magni and c.Name ~= Player.Name then
  544. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3, 1)
  545. end
  546. end
  547. end
  548. end
  549. end
  550.  
  551. Handle = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Handle", Vector3.new(0.549599648, 1, 1.01160002))
  552. 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))
  553. Hitbox = CreatePart(m, Enum.Material.Neon, 0, 1, Torso.BrickColor, "Hitbox", Vector3.new(4.54959965, 0.600000024, 6.41160011))
  554. 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))
  555. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959))
  556. 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))
  557. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  558. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819978, 0.210000008))
  559. 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))
  560. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  561. 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))
  562. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  563. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  564. 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))
  565. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  566. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  567. 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))
  568. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  569. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  570. 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))
  571. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  572. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983))
  573. 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))
  574. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1))
  575. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  576. 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))
  577. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  578. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003))
  579. 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))
  580. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  581. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989))
  582. 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))
  583. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  584. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003))
  585. 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))
  586. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  587. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  588. 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))
  589. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  590. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  591. 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))
  592. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  593. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003))
  594. 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))
  595. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  596. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008))
  597. 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))
  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.291599959, 2.04120016, 0.437399924))
  600. 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))
  601. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  602. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983))
  603. 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))
  604. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  605. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  606. 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))
  607. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  608. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  609. 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))
  610. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  611. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  612. 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))
  613. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  614. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  615. 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))
  616. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  617. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  618. 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))
  619. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  620. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  621. 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))
  622. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  623. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  624. 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))
  625. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  626. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599959))
  627. 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))
  628. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  629. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599959))
  630. 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))
  631. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  632. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  633. 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))
  634. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  635. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  636. 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))
  637. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  638. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  639. 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))
  640. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  641. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  642. 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))
  643. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  644. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  645. 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))
  646. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  647. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 1.31219983))
  648. 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))
  649. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 1))
  650. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  651. 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))
  652. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  653. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.729000032, 0.200000003))
  654. 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))
  655. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  656. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.728999913, 0.291599989))
  657. 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))
  658. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  659. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989))
  660. 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))
  661. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  662. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  663. 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))
  664. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  665. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929))
  666. 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))
  667. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984))
  668. 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))
  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.200000003))
  671. 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))
  672. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  673. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "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.758653641, 0.791967392, 2.16901398, -0.933116317, 0.249601379, -0.258830756, -0.258406103, -0.966036439, -4.07655898e-006, -0.250040919, 0.0668796301, 0.965922713))
  675. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  676. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(1.16639984, 0.437400103, 0.200000003))
  677. 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))
  678. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  679. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959))
  680. 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))
  681. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  682. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  683. 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))
  684. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 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.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))
  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.549599648, 0.200000003, 0.611599982))
  689. 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))
  690. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  691. 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))
  692. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  693. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  694. 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))
  695. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  696. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.16639984))
  697. 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))
  698. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  699. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599929, 0.291599959))
  700. 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))
  701. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  702. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.583199918, 0.291599989))
  703. 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))
  704. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  705. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  706. 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))
  707. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  708. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  709. 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))
  710. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  711. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(1.7495997, 4.22819996, 0.291599929))
  712. 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))
  713. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.200000003))
  714. 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))
  715. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  716. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  717. 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))
  718. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  719. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.549599648, 1.16819966, 0.200000003))
  720. 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))
  721. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  722. 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))
  723. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  724. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  725. 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))
  726. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  727. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  728. 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))
  729. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  730. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  731. 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))
  732. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  733. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  734. 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))
  735. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  736. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  737. 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))
  738. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  739. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(0.58319968, 0.200000003, 0.291599929))
  740. 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))
  741. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.728999913, 1))
  742. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.04120016, 0.437399924))
  743. 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))
  744. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  745. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.04120016, 0.437399983))
  746. 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))
  747. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  748. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.47859979, 0.437399924))
  749. 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))
  750. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  751. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 2.04120016, 0.200000003))
  752. 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))
  753. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 0.728999913))
  754. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  755. 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))
  756. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  757. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  758. 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))
  759. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 0.728999913, 0.728999913))
  760. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  761. 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))
  762. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  763. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.18700004, 0.437399924))
  764. 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))
  765. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  766. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  767. 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))
  768. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  769. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.6243999, 0.291599959))
  770. 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))
  771. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  772. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.437399983, 0.291599929))
  773. 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))
  774. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  775. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  776. 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))
  777. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  778. Part = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "Part", Vector3.new(1.0205996, 0.2915999, 0.200000003))
  779. 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))
  780. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.728999913))
  781. Part = CreatePart(m, Enum.Material.Neon, 0, 0, Torso.BrickColor, "Part", Vector3.new(0.200000003, 0.291599959, 1.02060008))
  782. 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))
  783. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.728999913, 1, 1))
  784. Part = CreatePart(m, Enum.Material.Metal, 0, 0, "Lime green", "Part", Vector3.new(0.291599959, 2.1869998, 0.583199859))
  785. 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))
  786. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  787.  
  788. for i, v in pairs(Character:GetChildren()) do
  789. if v:IsA'Model' then
  790. for _, c in pairs(v:GetChildren()) do
  791. if c:IsA'Part' then
  792. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  793. end
  794. end
  795. end
  796. end
  797.  
  798. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  799. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  800. prt.Anchored = true
  801. prt.CFrame = cframe
  802. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  803. game:GetService("Debris"):AddItem(prt, 10)
  804. if Type == 1 or Type == nil then
  805. table.insert(Effects, {
  806. prt,
  807. "Block1",
  808. delay,
  809. x3,
  810. y3,
  811. z3,
  812. msh
  813. })
  814. elseif Type == 2 then
  815. table.insert(Effects, {
  816. prt,
  817. "Block2",
  818. delay,
  819. x3,
  820. y3,
  821. z3,
  822. msh
  823. })
  824. end
  825. end
  826.  
  827. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  828. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  829. prt.Anchored = true
  830. prt.CFrame = cframe
  831. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {
  834. prt,
  835. "Cylinder",
  836. delay,
  837. x3,
  838. y3,
  839. z3,
  840. msh
  841. })
  842. end
  843.  
  844. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  845. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  846. prt.Anchored = true
  847. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  848. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  849. game:GetService("Debris"):AddItem(prt, 10)
  850. table.insert(Effects, {
  851. prt,
  852. "Cylinder",
  853. delay,
  854. x3,
  855. y3,
  856. z3,
  857. msh
  858. })
  859. end
  860.  
  861. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  862. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  863. prt.Anchored = true
  864. prt.CFrame = cframe
  865. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  866. game:GetService("Debris"):AddItem(prt, 10)
  867. table.insert(Effects, {
  868. prt,
  869. "Cylinder",
  870. delay,
  871. x3,
  872. y3,
  873. z3,
  874. msh
  875. })
  876. end
  877.  
  878. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  879. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  880. prt.Anchored = true
  881. prt.CFrame = cframe
  882. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  883. game:GetService("Debris"):AddItem(prt, 10)
  884. table.insert(Effects, {
  885. prt,
  886. "Cylinder",
  887. delay,
  888. x3,
  889. y3,
  890. z3,
  891. msh
  892. })
  893. end
  894.  
  895. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  896. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  897. prt.Anchored = true
  898. prt.CFrame = cframe
  899. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  900. game:GetService("Debris"):AddItem(prt, 10)
  901. table.insert(Effects, {
  902. prt,
  903. "Cylinder",
  904. delay,
  905. x3,
  906. y3,
  907. z3,
  908. msh
  909. })
  910. end
  911.  
  912. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  913. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  914. prt.Anchored = true
  915. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  916. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  917. local num = math.random(10, 50) / 1000
  918. game:GetService("Debris"):AddItem(prt, 10)
  919. table.insert(Effects, {
  920. prt,
  921. "Shatter",
  922. num,
  923. prt.CFrame,
  924. math.random() - math.random(),
  925. 0,
  926. math.random(50, 100) / 100
  927. })
  928. end
  929.  
  930. function attackone()
  931. attack = true
  932. Hitbox.CanCollide = true
  933. for i = 0, 1, 0.15 do
  934. swait()
  935. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .33)
  936. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-20)), .33)
  937. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  938. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(80), math.rad(0), math.rad(45)), .33)
  939. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  940. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  941. end
  942. CreateSound("http://roblox.com/asset/?id=320557518", RightArm, 1, .8)
  943. RootPart.Velocity = RootPart.CFrame.lookVector * 70
  944. for i = 0, 1, 0.13 do
  945. swait()
  946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .5)
  947. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-60)), .5)
  948. RW.C0 = clerp(RW.C0, CFrame.new(1.7, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), .5)
  949. 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)
  950. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-30), math.rad(-10)), .5)
  951. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-30), math.rad(10)), .5)
  952. end
  953. Hitbox.CanCollide = false
  954. attack = false
  955. end
  956.  
  957. function attacktwo()
  958. attack = true
  959. Hitbox.CanCollide = true
  960. for i = 0, 1, 0.15 do
  961. swait()
  962. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  963. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  964. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.7) * angles(math.rad(85), math.rad(0), math.rad(-70)), .33)
  965. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-10)), .33)
  966. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33)
  967. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-30), math.rad(0)), .33)
  968. end
  969. CreateSound("http://roblox.com/asset/?id=320557453", RightArm, 1, .8)
  970. for i = 0, 1, 0.12 do
  971. swait()
  972. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .35)
  973. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), .35)
  974. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), .35)
  975. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(20), math.rad(0), math.rad(-80)), .35)
  976. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35)
  977. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(30), math.rad(0)), .35)
  978. end
  979. Hitbox.CanCollide = false
  980. attack = false
  981. end
  982.  
  983. function attackthree()
  984. attack = true
  985. CreateSound("http://roblox.com/asset/?id=315743298", LeftArm, 1, 1)
  986. CreateSound("http://roblox.com/asset/?id=320557563", LeftArm, 1, 1)
  987. for i = 0, 1, 0.1 do
  988. swait()
  989. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05, 1)
  990. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  991. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  992. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  993. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(85), math.rad(0), math.rad(-60)), .33)
  994. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  995. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  996. end
  997. CreateSound("http://roblox.com/asset/?id=315744661", LeftArm, 1, 1)
  998. CreateSound("http://roblox.com/asset/?id=300916014", LeftArm, 1, 1)
  999. RootPart.Velocity = RootPart.CFrame.lookVector * -70
  1000. SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .05)
  1001. for i = 1, 10 do
  1002. BreakEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), 1, 3, 2)
  1003. end
  1004. for i = 0, 1, 0.13 do
  1005. swait()
  1006. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-4), math.rad(0), math.rad(40)), .33)
  1007. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-40)), .33)
  1008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(30)), .33)
  1009. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(120), math.rad(0), math.rad(30)), .33)
  1010. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-10), math.rad(-40), math.rad(5)), .33)
  1011. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-10), math.rad(-40), math.rad(-5)), .33)
  1012. end
  1013. attack = false
  1014. end
  1015.  
  1016. local Orbs = {}
  1017. local OrbNumb = 0
  1018. local Orbhold = false
  1019. function MakeOrbs()
  1020. attack = true
  1021. Humanoid.WalkSpeed = 6
  1022. for i = 0, 1, 0.1 do
  1023. swait()
  1024. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), .33)
  1025. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1026. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1027. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.5, -.5) * angles(math.rad(0), math.rad(-120), math.rad(-90)), .33)
  1028. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1029. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(40), math.rad(0)), .33)
  1030. end
  1031. for i = 1, 5 do
  1032. if OrbNumb < 5 then
  1033. CreateSound("http://www.roblox.com/asset/?id=315746833", Torso, 1, 1.5)
  1034. OrbNumb = OrbNumb + 1
  1035. print(OrbNumb)
  1036. local Orbl = CreatePart(m, "Neon", 0, 0.3, Torso.BrickColor, "Orb", Vector3.new(1, 1, 1))
  1037. local msh = CreateMesh("SpecialMesh", Orbl, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1038. Orbl.Anchored = false
  1039. Orbl.CFrame = LeftArm.CFrame * CFrame.new(0, -1, 0)
  1040. table.insert(Orbs, Orbl)
  1041. end
  1042. end
  1043. for i = 0, 1, 0.1 do
  1044. swait()
  1045. SphereEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .1, .1, .1, .5, .5, .5, .05)
  1046. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), .33)
  1047. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-60)), .33)
  1048. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1049. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.1) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .33)
  1050. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33)
  1051. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-40), math.rad(0)), .33)
  1052. end
  1053. for i = 0, 1, 0.1 do
  1054. swait()
  1055. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .09, 1)
  1056. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1057. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1058. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1059. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, -.1) * angles(math.rad(180), math.rad(0), math.rad(0)), .33)
  1060. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1061. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1062. end
  1063. for e = 1, #Orbs do
  1064. CreateSound("http://www.roblox.com/asset/?id=315744661", Torso, 1, 1)
  1065. CreateSound("http://www.roblox.com/asset/?id=315748999", Torso, 1, 1)
  1066. OrbNumb = OrbNumb - 1
  1067. Orbs[e].Parent = nil
  1068. BlockEffect(Torso.BrickColor, Orbs[e].CFrame, .5, .5, .5, .8, .8, .8, .04, 1)
  1069. for i = 1, math.random(4, 10) do
  1070. BreakEffect(Orbs[e].BrickColor, Orbs[e].CFrame, 1, 3, 2)
  1071. end
  1072. end
  1073. for i = 1, 10 do
  1074. print("nou")
  1075. for e = 1, #Orbs do
  1076. print(#Orbs)
  1077. table.remove(Orbs, e)
  1078. end
  1079. end
  1080. BlockEffect(Torso.BrickColor, LeftArm.CFrame * CFrame.new(0, -1, 0), .5, .5, .5, .8, .8, .8, .04, 1)
  1081. for i = 0, 1, 0.1 do
  1082. swait()
  1083. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1084. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1085. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1086. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), .33)
  1087. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1088. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .33)
  1089. end
  1090. OrbNumb = 0
  1091. Humanoid.WalkSpeed = 16
  1092. attack = false
  1093. end
  1094.  
  1095. function ShockWave(Part, cframe1, cframe2, Damage, Size)
  1096. coroutine.resume(coroutine.create(function()
  1097. local wave = CreatePart(workspace, "Neon", 0, 0, Torso.BrickColor, "Effect", Vector3.new(1, 1, 5))
  1098. wave.Anchored = true
  1099. wave.CFrame = Part.CFrame * cframe1
  1100. local Msh = Create("SpecialMesh"){
  1101. Parent = wave,
  1102. MeshType = "Sphere"
  1103. }
  1104. BlockEffect(Torso.BrickColor, wave.CFrame * CFrame.new(0, 0, 1), 1, 1, 1, 2, 2, 2, 0.05)
  1105. CreateSound("http://roblox.com/asset/?id=300916105", wave, 1, 1.3)
  1106. CreateSound("http://roblox.com/asset/?id=301031757", wave, 1, 1.2)
  1107. for i = 0, 1, 0.2 do
  1108. wait()
  1109. local dir = wave.CFrame.lookVector * -1
  1110. local pos = rayCast(wave.Position, dir, 5, Character)
  1111. wave.CFrame = wave.CFrame * cframe2
  1112. Effects[#Effects + 1] = {
  1113. wave,
  1114. "Cylinder",
  1115. 0.01,
  1116. .03,
  1117. .03,
  1118. .03
  1119. }
  1120. end
  1121. end))
  1122. end
  1123.  
  1124. function Wave()
  1125. attack = true
  1126. Humanoid.WalkSpeed = 0
  1127. for i = 0, 1, 0.1 do
  1128. swait()
  1129. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), .33)
  1130. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .33)
  1131. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), .33)
  1132. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.8, 0) * angles(math.rad(-20), math.rad(0), math.rad(-10)), .33)
  1133. RH.C0 = clerp(RH.C0, cn(1, .5, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), .33)
  1134. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(10)), .33)
  1135. end
  1136. local inc = -3
  1137. for i = 1, 3 do
  1138. ShockWave(RootPart, CFrame.new(0, -4, inc) * CFrame.fromEulerAnglesXYZ(-2, 0, 1.57), CFrame.new(0, 0, 0.8), 10, 5)
  1139. inc = inc - 5
  1140. end
  1141. for i = 0, 1, 0.1 do
  1142. swait()
  1143. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .5)
  1144. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .33)
  1145. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(10)), .33)
  1146. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-30)), .33)
  1147. RH.C0 = clerp(RH.C0, cn(1, -1, -.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10)), .7)
  1148. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(-10)), .33)
  1149. end
  1150. Humanoid.WalkSpeed = 16
  1151. attack = false
  1152. end
  1153.  
  1154. local Blocking = false
  1155.  
  1156. function Block()
  1157. attack = true
  1158. Humanoid.WalkSpeed = 10
  1159. Hitbox.CanCollide = true
  1160. while wait() do
  1161. change = 1
  1162. if Blocking == true then
  1163. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1164. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1165. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1166. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1167. if Torsovelocity > 2 then
  1168. 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)
  1169. 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)
  1170. elseif Torsovelocity < 1 then
  1171. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1172. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1173. end
  1174. elseif Blocking == false then
  1175. break
  1176. end
  1177. end
  1178. Hitbox.CanCollide = false
  1179. Humanoid.WalkSpeed = 16
  1180. attack = false
  1181. end
  1182.  
  1183. function RushCharge()
  1184. attack = true
  1185. Humanoid.WalkSpeed = 5
  1186. Hitbox.CanCollide = true
  1187. for i = 0, 1, 0.15 do
  1188. swait()
  1189. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1190. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1191. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1192. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.3, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1193. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  1194. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(0)), .33)
  1195. end
  1196. CreateSound("http://roblox.com/asset/?id=153092348", Torso, 1, .9)
  1197. for i = 0, 1, 0.05 do
  1198. swait()
  1199. WaveEffect(Torso.BrickColor, RootPart.CFrame * CFrame.Angles(1.4, 0, 0), .2, .2, .2, .3, .3, .3, .08)
  1200. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1201. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .33)
  1202. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-10), math.rad(-70)), .33)
  1203. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.4, -.2) * angles(math.rad(90), math.rad(0), math.rad(-30)), .33)
  1204. LW.C0 = clerp(LW.C0, CFrame.new(-.6, 0.4, -1) * angles(math.rad(95), math.rad(0), math.rad(65)), .33)
  1205. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-5), math.rad(-20), math.rad(-10)), .33)
  1206. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-5), math.rad(-20), math.rad(20)), .33)
  1207. end
  1208. Hitbox.CanCollide = false
  1209. Humanoid.WalkSpeed = 16
  1210. attack = false
  1211. end
  1212.  
  1213. function Ult()
  1214. attack = true
  1215. Humanoid.WalkSpeed = 5
  1216. Hitbox.CanCollide = true
  1217. Humanoid.JumpPower = 200
  1218. local AntiJump = Humanoid.Changed:connect(function()
  1219. Humanoid.Jump = false
  1220. end)
  1221. for i = 0, 1, 0.15 do
  1222. swait()
  1223. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.3) * angles(math.rad(0), math.rad(0), math.rad(50)), .33)
  1224. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1225. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1226. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1227. RH.C0 = clerp(RH.C0, cn(1, -.8, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(0)), .3)
  1228. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1229. end
  1230. WaveEffect(Torso.BrickColor, RootPart.CFrame, .2, .2, .2, .5, .5, .5, .04)
  1231. AntiJump:disconnect()
  1232. Humanoid.Jump = true
  1233. Humanoid.WalkSpeed = 16
  1234. CreateSound("http://roblox.com/asset/?id=199145327", Torso, 1, .9)
  1235. for i = 0, 1, 0.1 do
  1236. swait()
  1237. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(6 * i, math.rad(0), math.rad(50)), .33)
  1238. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1239. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1240. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1241. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3)
  1242. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1243. end
  1244. for i = 0, 1, 0.1 do
  1245. swait()
  1246. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.5) * angles(math.rad(90), math.rad(0), math.rad(40)), .33)
  1247. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-50)), .33)
  1248. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(-50)), .33)
  1249. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.6) * angles(math.rad(95), math.rad(0), math.rad(45)), .33)
  1250. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(-30), math.rad(-30)), .3)
  1251. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(-30), math.rad(30)), .3)
  1252. end
  1253. local hitfloor = nil
  1254. while hitfloor == nil do
  1255. swait()
  1256. hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 6, Character)
  1257. end
  1258. local hit, pos = rayCast(Hitbox.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1259. if hit ~= nil then
  1260. local Color = hit.BrickColor
  1261. local refpart = CreatePart(workspace, "SmoothPlastic", 0, 1, "Really red", "Effect", Vector3.new())
  1262. refpart.Anchored = true
  1263. refpart.CFrame = CFrame.new(pos)
  1264. game:GetService("Debris"):AddItem(refpart, 1)
  1265. CreateSound("http://www.roblox.com/asset/?id=199145477", refpart, .8, 0.75)
  1266. CreateSound("http://www.roblox.com/asset/?id=142070127", refpart, .7, .9)
  1267. for i = 1, 10 do
  1268. local Color = hit.BrickColor
  1269. local Materials = hit.Material
  1270. 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))
  1271. groundpart.Anchored = false
  1272. groundpart.Material = Materials
  1273. groundpart.CanCollide = true
  1274. groundpart.Friction = 0.1
  1275. groundpart.Velocity = Vector3.new(math.random(-50, 50), math.random(25, 50), math.random(-50, 50))
  1276. 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))
  1277. game:GetService("Debris"):AddItem(groundpart, 10)
  1278. end
  1279. for i = 1, 10 do
  1280. local Color = hit.BrickColor
  1281. local Materials = hit.Material
  1282. 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))
  1283. actualgroundpart.Anchored = true
  1284. actualgroundpart.Material = Materials
  1285. actualgroundpart.CanCollide = true
  1286. actualgroundpart.Friction = 1
  1287. 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))
  1288. game:GetService("Debris"):AddItem(actualgroundpart, 10)
  1289. end
  1290. WaveEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, .5, .5, .5, .04)
  1291. SphereEffect(hit.BrickColor, refpart.CFrame, .2, .2, .2, 3, 3, 3, .04)
  1292. 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)
  1293. end
  1294. Humanoid.JumpPower = 50
  1295. Hitbox.CanCollide = false
  1296. Humanoid.WalkSpeed = 16
  1297. attack = false
  1298. end
  1299.  
  1300. function subtractMana(k)
  1301. if Mana >= k then
  1302. Mana = Mana - k
  1303. end
  1304. end
  1305.  
  1306. mouse.Button1Down:connect(function()
  1307. if attack == false and attacktype == 1 then
  1308. attacktype = 2
  1309. attackone()
  1310. elseif attack == false and attacktype == 2 then
  1311. attacktype = 3
  1312. attacktwo()
  1313. elseif attack == false and attacktype == 3 then
  1314. attacktype = 1
  1315. attackthree()
  1316. end
  1317. end)
  1318.  
  1319. mouse.KeyDown:connect(function(k)
  1320. k = k:lower()
  1321. if attack == false and k == 'z' and cooldown1 >= co1 and Mana >= skill1stam then
  1322. cooldown1 = 0
  1323. subtractMana(skill1stam)
  1324. MakeOrbs()
  1325. elseif attack == false and k == 'x' and cooldown2 >= co2 and Mana >= skill2stam then
  1326. cooldown2 = 0
  1327. subtractMana(skill2stam)
  1328. Wave()
  1329. elseif attack == false and k == 'e' then
  1330. Blocking = true
  1331. Block()
  1332. elseif attack == false and k == 'c' and cooldown3 >= co3 and Mana >= skill3stam then
  1333. cooldown3 = 0
  1334. subtractMana(skill3stam)
  1335. RushCharge()
  1336. elseif attack == false and k == 'v' and cooldown4 >= co4 and Mana >= skill4stam then
  1337. cooldown4 = 0
  1338. subtractMana(skill4stam)
  1339. Ult()
  1340. end
  1341. end)
  1342.  
  1343. mouse.KeyUp:connect(function(k)
  1344. if attack == true and k == 'e' and Blocking == true then
  1345. Blocking = false
  1346. end
  1347. end)
  1348.  
  1349. numbb = 0
  1350. datnumb = 0
  1351.  
  1352. local Blink = 0
  1353.  
  1354. local BlinkEff = false
  1355.  
  1356. function updateskills()
  1357. if cooldown1 <= co1 then
  1358. cooldown1 = cooldown1 + 1 / 30
  1359. end
  1360. if cooldown2 <= co2 then
  1361. cooldown2 = cooldown2 + 1 / 30
  1362. end
  1363. if cooldown3 <= co3 then
  1364. cooldown3 = cooldown3 + 1 / 30
  1365. end
  1366. if cooldown4 <= co4 then
  1367. cooldown4 = cooldown4 + 1 / 30
  1368. end
  1369. if Mana <= skill1stam then
  1370. bar4.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1371. else
  1372. bar4.BackgroundColor3 = skillcolorscheme
  1373. end
  1374. if Mana <= skill2stam then
  1375. bar3.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1376. else
  1377. bar3.BackgroundColor3 = skillcolorscheme
  1378. end
  1379. if Mana <= skill3stam then
  1380. bar1.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1381. else
  1382. bar1.BackgroundColor3 = skillcolorscheme
  1383. end
  1384. if Mana <= skill4stam then
  1385. bar2.BackgroundColor3 = Color3.new(104 / 255, 104 / 255, 104 / 255)
  1386. else
  1387. bar2.BackgroundColor3 = skillcolorscheme
  1388. end
  1389. if Mana <= maxMana then
  1390. Mana = Mana + recovermana / 30
  1391. end
  1392. end
  1393.  
  1394. while true do
  1395. swait()
  1396. for i, v in pairs(Character:GetChildren()) do
  1397. if v:IsA("Part") then
  1398. v.Material = "SmoothPlastic"
  1399. elseif v:IsA("Hat") then
  1400. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1401. end
  1402. end
  1403. updateskills()
  1404. healthcover:TweenSize(UDim2.new(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
  1405. Manacover:TweenSize(UDim2.new(1 * (Mana / maxMana), 0, 1, 0), 'Out', 'Quad', .5)
  1406. bar4:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
  1407. bar3:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
  1408. bar1:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
  1409. bar2:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
  1410. Blink = Blink + .55
  1411. if Blink >= 15 - (5 * (Humanoid.WalkSpeed / 16)) then
  1412. Blink = 0
  1413. if BlinkEff == true then
  1414. BlinkEff = false
  1415. elseif BlinkEff == false then
  1416. BlinkEff = true
  1417. end
  1418. end
  1419. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1420. velocity = RootPart.Velocity.y
  1421. sine = sine + change
  1422. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1423. if equipped == true or equipped == false then
  1424. if RootPart.Velocity.y > 1 and hit == nil then
  1425. Anim = "Jump"
  1426. if attack == false then
  1427. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1428. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), .3)
  1429. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(10)), .3)
  1430. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), .3)
  1431. RH.C0 = clerp(RH.C0, CFrame.new(1, -.5, -.3) * RHCF * CFrame.Angles(math.rad(-3), math.rad(0), math.rad(-20)), .3)
  1432. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1433. end
  1434. elseif RootPart.Velocity.y < -1 and hit == nil then
  1435. Anim = "Fall"
  1436. if attack == false then
  1437. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1438. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1439. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(20)), .3)
  1440. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-30)), .3)
  1441. RH.C0 = clerp(RH.C0, CFrame.new(1, -.8, 0) * RHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1442. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), .3)
  1443. end
  1444. elseif Torsovelocity < 1 and hit ~= nil then
  1445. Anim = "Idle"
  1446. if attack == false then
  1447. change = 1
  1448. Jumping = false
  1449. 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)
  1450. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10 - 2 * math.cos(sine / 15)), math.rad(0), math.rad(30)), .3)
  1451. 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)
  1452. 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)
  1453. 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)
  1454. 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)
  1455. end
  1456. elseif Torsovelocity > 2 and hit ~= nil then
  1457. Anim = "Walk"
  1458. if attack == false then
  1459. change = 3
  1460. Jumping = false
  1461. 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)
  1462. 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)
  1463. 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)
  1464. 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)
  1465. 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)
  1466. 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)
  1467. end
  1468. end
  1469. end
  1470. if #Effects > 0 then
  1471. for e = 1, #Effects do
  1472. if Effects[e] ~= nil then
  1473. local Thing = Effects[e]
  1474. if Thing ~= nil then
  1475. local Part = Thing[1]
  1476. local Mode = Thing[2]
  1477. local Delay = Thing[3]
  1478. local IncX = Thing[4]
  1479. local IncY = Thing[5]
  1480. local IncZ = Thing[6]
  1481. if Thing[1].Transparency <= 1 then
  1482. if Thing[2] == "Block1" then
  1483. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1484. Mesh = Thing[1].Mesh
  1485. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1486. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1487. elseif Thing[2] == "Block2" then
  1488. Thing[1].CFrame = Thing[1].CFrame
  1489. Mesh = Thing[7]
  1490. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1491. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1492. elseif Thing[2] == "Cylinder" then
  1493. Mesh = Thing[1].Mesh
  1494. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1495. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1496. elseif Thing[2] == "Blood" then
  1497. Mesh = Thing[7]
  1498. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1499. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1500. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1501. elseif Thing[2] == "Elec" then
  1502. Mesh = Thing[1].Mesh
  1503. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1504. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1505. elseif Thing[2] == "Disappear" then
  1506. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1507. elseif Thing[2] == "Shatter" then
  1508. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1509. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1510. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1511. Thing[6] = Thing[6] + Thing[5]
  1512. end
  1513. else
  1514. Part.Parent = nil
  1515. table.remove(Effects, e)
  1516. end
  1517. end
  1518. end
  1519. end
  1520. end
  1521. datnumb = 0
  1522. BaseNumb = 6.28
  1523. BaseNumb = BaseNumb / OrbNumb
  1524. for d, Orb in pairs (Orbs) do
  1525. datnumb = datnumb + BaseNumb
  1526. Orb.Anchored = true
  1527. if Orb.ClassName == "Part" then
  1528. if #Orbs ~= 0 then
  1529. 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)
  1530. numbb = numbb + 0.05
  1531. end
  1532. end
  1533. end
  1534. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement