Advertisement
MarcAndrew

Untitled

Mar 27th, 2018
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --------------------------This is an Official script from Duelist--------------------------
  2. ---{-------------------- -------------------}---
  3. ---{-------------------- / \ -------------------}---
  4. ---{-------------------- II -------------------}---
  5. ---{-------------------- II -------------------}---
  6. ---{-------------------- II -------------------}---
  7. ---{-------------------- A========A -------------------}---
  8. ---{-------------------- II -------------------}---
  9. ---{-------------------- II -------------------}---
  10. ---{-------------------- W -------------------}---
  11. -------------------------------------------------------------------------------------------------------------
  12. --i used stravants Beautifier so it might look a bit wonky
  13. Meshes = {
  14. Blast = '20329976',
  15. Crown = '1323306',
  16. Ring = '3270017',
  17. Claw = '10681506',
  18. Crystal = '9756362',
  19. Coil = '9753878',
  20. Cloud = '1095708',
  21. }
  22. clangsounds = {
  23. '199149119',
  24. '199149109',
  25. '199149072',
  26. '199149025',
  27. '199148971'
  28. }
  29. hitsounds = {
  30. '199149137',
  31. '199149186',
  32. '199149221',
  33. '199149235',
  34. '199149269',
  35. '199149297'
  36. }
  37. blocksounds = {
  38. '199148933',
  39. '199148947'
  40. }
  41. armorsounds = {
  42. '199149321',
  43. '199149338',
  44. '199149367',
  45. '199149409',
  46. '199149452'
  47. }
  48. woosh = {
  49. Heavy1 = '320557353',
  50. Heavy2 = '320557382',
  51. Heavy3 = '320557453',
  52. Heavy4 = '199144226',
  53. Heavy5 = '203691447',
  54. Heavy6 = '203691467',
  55. Heavy7 = '203691492',
  56. Light1 = '320557413',
  57. Light2 = '320557487',
  58. Light3 = '199145095',
  59. Light4 = '199145146',
  60. Light5 = '199145887',
  61. Light6 = '199145913',
  62. Light7 = '199145841',
  63. Medium1 = '320557518',
  64. Medium2 = '320557537',
  65. Medium3 = '320557563',
  66. Medium4 = '199145204'
  67. }
  68. music = {--i like music a lot
  69. Breaking = '179281636',
  70. FinalReckoning = '357375770',
  71. NotDeadYet = '346175829',
  72. Intense = '151514610',
  73. JumpP1 = '160536628',
  74. JumpP2 = '60536666',
  75. SonsOfWar = '158929777',
  76. WrathOfSea = '165520893',
  77. ProtecTorsofEarth = '160542922',
  78. SkyTitans = '179282324',
  79. ArchAngel = '144043274',
  80. Anticipation = '168614529',
  81. TheMartyred = '186849544',
  82. AwakeP1 = '335631255',
  83. AwakeP2 = '335631297',
  84. ReadyAimFireP1 = '342455387',
  85. ReadyAimFireP2 = '342455399',
  86. DarkLordP1 = '209567483',
  87. DarkLordP2 = '209567529',
  88. BloodDrainP1 = '162914123',
  89. BloodDrainP2 = '162914203',
  90. DanceOfSwords = '320473062',
  91. Opal = '286415112',
  92. Calamity = '190454307',
  93. Hypnotica = '155968128',
  94. Nemisis = '160453802',
  95. Breathe = '276963903',
  96. GateToTheRift = '270655227',
  97. InfernalBeserking = '244143404',
  98. Trust = '246184492',
  99. AwakeningTheProject = '245121821',
  100. BloodPain = '242545577',
  101. Chaos = '247241693',
  102. NightmareFictionHighStake = '248062278',
  103. TheWhiteWeapon = '247236446',
  104. Gale = '256851659',
  105. ImperialCode = '256848383',
  106. Blitzkrieg = '306431437',
  107. RhapsodyRage = '348690251',
  108. TheGodFist = '348541501',
  109. BattleForSoul = '321185592',
  110. TheDarkColossus = '305976780',
  111. EmpireOfAngels = '302580452',
  112. Kronos = '302205297',
  113. Exorcist = '299796054',
  114. CrimsonFlames = '297799220',
  115. UltimatePower = '295753229',
  116. DrivingInTheDark = '295753229',
  117. AscendToPower = '293860654',
  118. GodOfTheSun = '293612495',
  119. DarkRider = '293861765',
  120. Vengeance = '293375555',
  121. SoundOfWar = '293376196',
  122. HellsCrusaders = '293012202',
  123. Legend = '293011823',
  124. RisingSouls = '290524959'
  125. }
  126. misc = {
  127. GroundSlam = '199145477',
  128. LaserSlash = '199145497',
  129. RailGunFire = '199145534',
  130. Charge1 = '199145659',
  131. Charge2 = '169380469',
  132. Charge3 = '169380479',
  133. EmptyGun = '203691822',
  134. GunShoot = '203691837',
  135. Stomp1 = '200632875',
  136. Stomp2 = '200632561',
  137. TelsaCannonCharge = '169445572',
  138. TelsaCannonShoot = '169445602',
  139. AncientHymm = '245313442'
  140. }
  141. wait(1 / 60)
  142. local Player = game.Players.localPlayer
  143. local Character = Player.Character
  144. local Humanoid = Character.Humanoid
  145. local mouse = Player:GetMouse()
  146. local m = Instance.new('Model', Character)
  147. m.Name = "WeaponModel"
  148. local LeftArm = Character["Left Arm"]
  149. local RightArm = Character["Right Arm"]
  150. local LeftLeg = Character["Left Leg"]
  151. local RightLeg = Character["Right Leg"]
  152. local Head = Character.Head
  153. local Torso = Character.Torso
  154. local cam = game.Workspace.CurrentCamera
  155. local RootPart = Character.HumanoidRootPart
  156. local RootJoint = RootPart.RootJoint
  157. --cam.CameraSubject = Head
  158. local equipped = false
  159. local attack = false
  160. local Anim = 'Idle'
  161. local idle = 0
  162. local sprint = false
  163. local battlestance = false
  164. local attacktype = 1
  165. local state = 'none'
  166. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  167. local velocity = RootPart.Velocity.y
  168. local sine = 0
  169. local change = 1
  170. local on = false
  171. local grabbed = false
  172. local skill1 = false
  173. local skill2 = false
  174. local skill3 = false
  175. local skill4 = false
  176. local cooldown1 = 0
  177. local cooldown2 = 0
  178. local cooldown3 = 0
  179. local cooldown4 = 0
  180. local co1 = 10--how long it will take for skill to cooldown
  181. local co2 = 15
  182. local co3 = 15
  183. local co4 = 25
  184. local inputserv = game:GetService('UserInputService')
  185. local typing = false
  186. local crit = false
  187. local critchance = 2--critical chance percentage
  188. local critdamageaddmin = 3--minimum amount of critical damage being added to regular damage
  189. local critdamageaddmax = 7--maximum amount
  190. local maxstamina = 100--max amount of stamina
  191. local stamina = 0--stamina you start out with
  192. local skill1stam = 10--how much stamina is needed for a skill
  193. local skill2stam = 10
  194. local skill3stam = 20
  195. local skill4stam = 30
  196. local recovermana = 3--how much mana per second
  197. local defensevalue = 1--how much defense this character has
  198. local speedvalue = 1--how much speed this character has
  199. --speed is 16*speedvalue
  200. local mindamage = 5--self explanatory
  201. local maxdamage = 7--self explanatory
  202. local damagevalue = 1--how much damage this character has
  203. --damage is math.random(mindamage,maxdamage)*damagevalue
  204. --damage(hit, mindamage, maxdamage, 1, 1, RootPart)
  205. --asd
  206. local cn = CFrame.new-- make things easier :)
  207. local mr = math.rad
  208. local angles = CFrame.Angles
  209. local ud = UDim2.new
  210. local c3 = Color3.new
  211. local skillcolorscheme = c3(1, 1, 1)--color scheme for skills lol
  212. --asd
  213. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  214. Humanoid.Animator:Destroy()
  215.  
  216. --Angles For RootJoint `~`
  217. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  218. --Save Shoulders/Hips
  219. RSH, LSH = nil, nil
  220. RHS, LHS = nil, nil
  221. --Shoulders
  222. RW = Instance.new("Weld")
  223. LW = Instance.new("Weld")
  224. --Hips
  225. RH = Instance.new("Weld")
  226. LH = Instance.new("Weld")
  227. --
  228. Player = Player
  229. ch = Character
  230. LHS = Torso["Left Hip"]
  231. RHS = Torso["Right Hip"]
  232. RSH = ch.Torso["Right Shoulder"]
  233. LSH = ch.Torso["Left Shoulder"]
  234. --
  235. RSH.Parent = nil
  236. LSH.Parent = nil
  237. --
  238. LHS.Parent = nil
  239. RHS.Parent = nil
  240. --
  241. RW.Name = "RW"
  242. RW.Part0 = ch.Torso
  243. RW.C0 = cn(1.5, 0.5, 0)
  244. RW.C1 = cn(0, 0.5, 0)
  245. RW.Part1 = ch["Right Arm"]
  246. RW.Parent = ch.Torso
  247. --
  248. LW.Name = "LW"
  249. LW.Part0 = ch.Torso
  250. LW.C0 = cn(-1.5, 0.5, 0)
  251. LW.C1 = cn(0, 0.5, 0)
  252. LW.Part1 = ch["Left Arm"]
  253. LW.Parent = ch.Torso
  254. --
  255. LH.Name = "LH"
  256. LH.Part0 = ch.Torso
  257. LH.C0 = cn(-0.5, -2, 0)
  258. LH.Part1 = ch["Left Leg"]
  259. LH.Parent = ch.Torso
  260. --
  261. RH.Name = "RH"
  262. RH.Part0 = ch.Torso
  263. RH.C0 = cn(0.5, -2, 0)
  264. RH.Part1 = ch["Right Leg"]
  265. RH.Parent = ch.Torso
  266.  
  267. local Flying = false
  268.  
  269. game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function(jump)
  270. if Flying == true then
  271. if jump == "Jump" then
  272. Humanoid.Jump = false
  273. end
  274. end
  275. end)
  276.  
  277. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  278.  
  279. Torso.Transparency = 1
  280. Head.Transparency = 1
  281. LeftLeg.Transparency = 1
  282. RightLeg.Transparency = 1
  283. LeftArm.Transparency = 1
  284. RightArm.Transparency = 1
  285.  
  286. for i,v in pairs (Character:GetChildren()) do
  287. if v.ClassName == "Hat"
  288. then v:Destroy()
  289. end
  290. end
  291.  
  292. for i,v in pairs (Character.Head:GetChildren()) do
  293. if v.ClassName == "Decal"
  294. then v:Destroy()
  295. end
  296. end
  297.  
  298. Character.Animate:Destroy()
  299.  
  300. local scrn = Instance.new('ScreenGui')
  301. scrn.Parent = nil
  302.  
  303. function makeframe(par, trans, pos, size, color)
  304. local frame = Instance.new('Frame', par)
  305. frame.BackgroundTransparency = trans
  306. frame.BorderSizePixel = 0
  307. frame.Position = pos
  308. frame.Size = size
  309. frame.BackgroundColor3 = color
  310. return frame
  311. end
  312. function makelabel(par, text)
  313. local label = Instance.new('TextLabel', par)
  314. label.BackgroundTransparency = 1
  315. label.Size = ud(1, 0, 1, 0)
  316. label.Position = ud(0, 0, 0, 0)
  317. label.TextColor3 = c3(255, 255, 255)
  318. label.TextStrokeTransparency = 0
  319. label.FontSize = Enum.FontSize.Size32
  320. label.Font = Enum.Font.SourceSansBold
  321. label.BorderSizePixel = 0
  322. label.TextScaled = true
  323. label.Text = text
  324. end
  325. framesk1 = makeframe(scrn, .5, ud(.23, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  326. framesk2 = makeframe(scrn, .5, ud(.5, 0, .93, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  327. framesk3 = makeframe(scrn, .5, ud(.5, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  328. framesk4 = makeframe(scrn, .5, ud(.23, 0, .86, 0), ud(.26, 0, .06, 0), skillcolorscheme)
  329. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  330. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  331. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  332. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  333. text1 = makelabel(framesk1, '[3] Skill3')
  334. text2 = makelabel(framesk2, '[4] Skill4')
  335. text3 = makelabel(framesk3, "[2] Skill2")
  336. text4 = makelabel(framesk4, '[1] Skill1')
  337. staminabar = makeframe(scrn, .5, ud(.23, 0, .82, 0), ud(.26, 0, .03, 0), c3(61 / 255, 171 / 255, 1))
  338. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(61 / 255, 171 / 255, 1))
  339. staminatext = makelabel(staminabar, 'Mana')
  340. healthbar = makeframe(scrn, .5, ud(.5, 0, .82, 0), ud(.26, 0, .03, 0), c3(1, 1, 0))
  341. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 46 / 255, 49 / 255))
  342. healthtext = makelabel(healthbar, 'Health')
  343.  
  344. local stats = Instance.new('Folder', Character)
  345. stats.Name = 'Stats'
  346. local block = Instance.new('BoolValue', stats)
  347. block.Name = 'Block'
  348. block.Value = false
  349. local stun = Instance.new('BoolValue', stats)
  350. stun.Name = 'Stun'
  351. stun.Value = false
  352. local defense = Instance.new('NumberValue', stats)
  353. defense.Name = 'Defence'
  354. defense.Value = defensevalue
  355. local speed = Instance.new('NumberValue', stats)
  356. speed.Name = 'Speed'
  357. speed.Value = speedvalue
  358. local damagea = Instance.new('NumberValue', stats)
  359. damagea.Name = 'Damage'
  360. damagea.Value = damagevalue
  361.  
  362. function atktype(s, e)
  363. coroutine.resume(coroutine.create(function()
  364. attacktype = e
  365. wait(1.5)
  366. attacktype = s
  367. end))
  368. end
  369.  
  370. function turncrit()
  371. coroutine.resume(coroutine.create(function()
  372. print'CRITICAL!'
  373. crit = true
  374. wait(.25)
  375. crit = false
  376. end))
  377. end
  378.  
  379. function subtractstamina(k)
  380. if stamina >= k then
  381. stamina = stamina - k
  382. end
  383. end
  384.  
  385. function clerp(a, b, t)
  386. return a:lerp(b, t)
  387. end
  388.  
  389. function randomizer(percent)
  390. local randomized = math.random(0, 100)
  391. if randomized <= percent then
  392. return true
  393. elseif randomized >= percent then
  394. return false
  395. end
  396. end
  397.  
  398. local RbxUtility = LoadLibrary("RbxUtility")
  399. local Create = RbxUtility.Create
  400.  
  401. function RemoveOutlines(part)
  402. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  403. end
  404.  
  405. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  406. local Part = Create("Part"){
  407. formFactor = FormFactor,
  408. Parent = Parent,
  409. Reflectance = Reflectance,
  410. Transparency = Transparency,
  411. CanCollide = false,
  412. Locked = true,
  413. BrickColor = BrickColor.new(tostring(BColor)),
  414. Name = Name,
  415. Size = Size,
  416. Material = Material,
  417. }
  418. RemoveOutlines(Part)
  419. return Part
  420. end
  421.  
  422. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  423. local Msh = Create(Mesh){
  424. Parent = Part,
  425. Offset = OffSet,
  426. Scale = Scale,
  427. }
  428. if Mesh == "SpecialMesh" then
  429. Msh.MeshType = MeshType
  430. Msh.MeshId = MeshId
  431. end
  432. return Msh
  433. end
  434.  
  435. function CreateWeld(Parent, Part0, Part1, C0, C1)
  436. local Weld = Create("Weld"){
  437. Parent = Parent,
  438. Part0 = Part0,
  439. Part1 = Part1,
  440. C0 = C0,
  441. C1 = C1,
  442. }
  443. return Weld
  444. end
  445.  
  446. function rayCast(pos, dir, maxl, ignore)
  447. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  448. end
  449. --Effects
  450. function makeeffect(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  451. local p = Instance.new('Part', par or workspace)
  452. p.CFrame = pos1
  453. p.Anchored = true
  454. p.Material = 'SmoothPlastic'
  455. p.CanCollide = false
  456. p.TopSurface = 0
  457. p.Size = Vector3.new(1, 1, 1)
  458. p.BottomSurface = 0
  459. p.Transparency = trans
  460. p.FormFactor = 'Custom'
  461. RemoveOutlines(p)
  462. local mesh = Instance.new('SpecialMesh', p)
  463. mesh.Scale = size
  464. if id ~= nil and type == nil then
  465. mesh.MeshId = 'rbxassetid://'..id
  466. elseif id == nil and type ~= nil then
  467. mesh.MeshType = type
  468. elseif id == nil and type == nil then
  469. mesh.MeshType = 'Brick'
  470. end
  471. coroutine.wrap(function()
  472. for i = 0, delay1, .1 do
  473. wait(1 / 60)
  474. p.CFrame = p.CFrame
  475. mesh.Scale = mesh.Scale + howmuch
  476. p.Transparency = p.Transparency + trans1
  477. end
  478. p:Destroy()
  479. end)()
  480. return p
  481. end
  482. function clangy(cframe)
  483. wait(1 / 60)
  484. local clang = {}
  485. local dis = 0
  486. local part = Instance.new('Part', nil)
  487. part.CFrame = cframe
  488. part.Anchored = true
  489. part.CanCollide = false
  490. part.BrickColor = BrickColor.new('New Yeller')
  491. part.FormFactor = 'Custom'
  492. part.Name = 'clanger'
  493. part.Size = Vector3.new(.2, .2, .2)
  494. part.TopSurface = 10
  495. part.BottomSurface = 10
  496. part.RightSurface = 10
  497. part.LeftSurface = 10
  498. part.BackSurface = 10
  499. part.FrontSurface = 10
  500. --part.Material='Neon'
  501. part:BreakJoints()
  502. local mesh = Instance.new('BlockMesh', part)
  503. coroutine.wrap(function()
  504. for i = 1, 7 do
  505. wait(1 / 60)
  506. dis = dis + .2
  507. local partc = part:clone()
  508. partc.Parent = workspace
  509. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  510. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  511. table.insert(clang, partc)
  512. end
  513. for i, v in pairs(clang) do
  514. coroutine.wrap(function()
  515. for i = 1, 10 do
  516. wait(.01)
  517. v.Transparency = v.Transparency + .1
  518. end
  519. v:destroy()
  520. end)()
  521. end
  522. end)()
  523. end
  524. --damage effects
  525. function circle(color, pos1)
  526. local p = Instance.new('Part', m)
  527. p.BrickColor = BrickColor.new(color)
  528. p.CFrame = pos1
  529. p.Anchored = true
  530. p.Material = 'Plastic'
  531. p.CanCollide = false
  532. p.TopSurface = 0
  533. p.Size = Vector3.new(1, 1, 1)
  534. p.BottomSurface = 0
  535. p.Transparency = 0.35
  536. p.FormFactor = 'Custom'
  537. local mesh = Instance.new('CylinderMesh', p)
  538. mesh.Scale = Vector3.new(0, 0, 0)
  539. coroutine.wrap(function()
  540. for i = 0, 5, .1 do
  541. wait(1 / 60)
  542. p.CFrame = p.CFrame
  543. mesh.Scale = mesh.Scale + Vector3.new(.5, 0, .5)
  544. p.Transparency = p.Transparency + .025
  545. end
  546. p:Destroy()
  547. end)()
  548. end
  549. function firespaz1(color, pos1)
  550. local p = Instance.new('Part', m)
  551. p.BrickColor = BrickColor.new(color)
  552. p.CFrame = pos1
  553. p.Anchored = true
  554. p.Material = 'Plastic'
  555. p.CanCollide = false
  556. p.TopSurface = 0
  557. p.Size = Vector3.new(1, 1, 1)
  558. p.BottomSurface = 0
  559. p.Transparency = 0.5
  560. p.FormFactor = 'Custom'
  561. local mesh = Instance.new('BlockMesh', p)
  562. mesh.Scale = Vector3.new(1, 1, 1)
  563. coroutine.wrap(function()
  564. for i = 0, 15, .1 do
  565. wait(1 / 30)
  566. p.CFrame = p.CFrame * CFrame.new(0, .1, 0)
  567. mesh.Scale = mesh.Scale - Vector3.new(.1, .1, .1)
  568. p.Transparency = p.Transparency + .025
  569. end
  570. p:Destroy()
  571. end)()
  572. end
  573.  
  574. function pickrandom(tablesa)
  575. local randomized = tablesa[math.random(1, #tablesa)]
  576. return randomized
  577. end
  578. function sound(id, pitch, volume, par, last)
  579. local s = Instance.new('Sound', par or Torso)
  580. s.SoundId = 'rbxassetid://'..id
  581. s.Pitch = pitch or 1
  582. s.Volume = volume or 1
  583. wait()
  584. s:play()
  585. game.Debris:AddItem(s, last or 120)
  586. end
  587. function clangy(cframe)
  588. wait(1 / 60)
  589. local clang = {}
  590. local dis = 0
  591. local part = Instance.new('Part', nil)
  592. part.CFrame = cframe
  593. part.Anchored = true
  594. part.CanCollide = false
  595. part.BrickColor = BrickColor.new('New Yeller')
  596. part.FormFactor = 'Custom'
  597. part.Name = 'clanger'
  598. part.Size = Vector3.new(.2, .2, .2)
  599. part.TopSurface = 10
  600. part.BottomSurface = 10
  601. part.RightSurface = 10
  602. part.LeftSurface = 10
  603. part.BackSurface = 10
  604. part.FrontSurface = 10
  605. --part.Material='Neon'
  606. part:BreakJoints()
  607. local mesh = Instance.new('BlockMesh', part)
  608. coroutine.wrap(function()
  609. for i = 1, 7 do
  610. wait(1 / 60)
  611. dis = dis + .2
  612. local partc = part:clone()
  613. partc.Parent = workspace
  614. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  615. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  616. table.insert(clang, partc)
  617. end
  618. for i, v in pairs(clang) do
  619. coroutine.wrap(function()
  620. for i = 1, 10 do
  621. wait(.01)
  622. v.Transparency = v.Transparency + .1
  623. end
  624. v:destroy()
  625. end)()
  626. end
  627. end)()
  628. end
  629. --damage effects
  630. --Effects
  631. so = function(id, par, vol, pit)
  632. coroutine.resume(coroutine.create(function()
  633. local sou = Instance.new("Sound", par or workspace)
  634. sou.Volume = vol
  635. sou.Pitch = pit or 1
  636. sou.SoundId = id
  637. wait()
  638. sou:play()
  639. game:GetService("Debris"):AddItem(sou, 6)
  640. end))
  641. end
  642.  
  643. local function getclosest(obj, distance)
  644. local last, lastx = distance + 1
  645. for i, v in pairs(workspace:GetChildren()) do
  646. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  647. local t = v.Torso
  648. local dist = (t.Position - obj.Position).magnitude
  649. if dist <= distance then
  650. if dist < last then
  651. last = dist
  652. lastx = v
  653. end
  654. end
  655. end
  656. end
  657. return lastx
  658. end
  659.  
  660. function makegui(cframe, text)
  661. local a = math.random(-10, 10) / 100
  662. local c = Instance.new("Part")
  663. c.Transparency = 1
  664. Instance.new("BodyGyro").Parent = c
  665. c.Parent = m
  666. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  667. local f = Instance.new("BodyPosition")
  668. f.P = 2000
  669. f.D = 100
  670. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  671. f.position = c.Position + Vector3.new(0, 3, 0)
  672. f.Parent = c
  673. game:GetService("Debris"):AddItem(c, .5 + 6)
  674. c.CanCollide = false
  675. m.Parent = workspace
  676. c.CanCollide = false
  677. local bg = Instance.new('BillboardGui', m)
  678. bg.Adornee = c
  679. bg.Size = UDim2.new(1, 0, 1, 0)
  680. bg.StudsOffset = Vector3.new(0, 0, 0)
  681. bg.AlwaysOnTop = false
  682. local tl = Instance.new('TextLabel', bg)
  683. tl.BackgroundTransparency = 1
  684. tl.Size = UDim2.new(1, 0, 1, 0)
  685. tl.Text = text
  686. tl.Font = 'SourceSansBold'
  687. tl.FontSize = 'Size42'
  688. if crit == true then
  689. tl.TextColor3 = Color3.new(180 / 255, 0, 0)
  690. else
  691. tl.TextColor3 = Color3.new(255, 180 / 255, 51 / 255)
  692. end
  693. tl.TextStrokeTransparency = 0
  694. tl.TextScaled = true
  695. tl.TextWrapped = true
  696. coroutine.wrap(function()
  697. wait(2)
  698. for i = 1, 10 do
  699. wait()
  700. tl.TextTransparency = tl.TextTransparency + .1
  701. end
  702. end)()
  703. end
  704.  
  705. function tag(hum, Player)
  706. local creator = Instance.new('ObjectValue', hum)
  707. creator.Value = Player
  708. creator.Name = 'creator'
  709. end
  710. function untag(hum)
  711. if hum ~= nil then
  712. local tag = hum:findFirstChild("creator")
  713. if tag ~= nil then
  714. tag.Parent = nil
  715. end
  716. end
  717. end
  718.  
  719. function tagPlayer(h)
  720. coroutine.wrap(function()
  721. tag(h, Player)
  722. wait(1)
  723. untag(h)
  724. end)()
  725. end
  726. function damage(hit, mind, maxd, knock, type, prop)
  727. --[[
  728. to apply it to a Player directly, make the first arg go to the Players Torso
  729. 1 - normal type(damage and knockback)
  730. 2 - drain type(damage no knockback)
  731. 3 - lifesteal(absorbs hp) crit does not have an effect on how much life is absorbed
  732. 4 - heal(heals target)
  733. 5 - subtracts enemies defense
  734. 6 - subtracts enemies speed
  735. 7 -
  736. ]]
  737. if hit.Name:lower() == 'Hitbox' then
  738. local pos = CFrame.new(0, 1, -1)
  739. sound(pickrandom(clangsounds), math.random(100, 150) / 100, 1, Torso, 6)
  740. coroutine.wrap(function()
  741. for i = 1, 4 do
  742. clangy(Torso.CFrame * pos * CFrame.Angles(0, math.rad(math.random(0, 360)), 0))
  743. end
  744. end)()
  745. end
  746. if hit.Parent == nil then
  747. return
  748. end
  749. local h = hit.Parent:FindFirstChild("Humanoid")
  750. for i, v in pairs(hit.Parent:children()) do
  751. if v:IsA("Humanoid") then
  752. h = v
  753. end
  754. end
  755. if hit.Parent.Parent:FindFirstChild('Torso') ~= nil then
  756. h = hit.Parent.Parent:FindFirstChild('Humanoid')
  757. end
  758. if hit.Parent:IsA('Hat') then
  759. hit = hit.Parent.Parent:findFirstChild('Head')
  760. end
  761. local D = math.random(mind, maxd) * damagea.Value
  762. if h.Parent:FindFirstChild('Stats') then
  763. D = D / h.Parent:FindFirstChild('Stats').Defence.Value
  764. elseif not h.Parent:FindFirstChild('Stats') then
  765. D = D
  766. end
  767. if h then
  768. makegui(h.Parent.Head.CFrame, tostring(math.floor(D + .5)))
  769. end
  770. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  771. if type == 1 then
  772. tagPlayer(h)
  773. local asd = randomizer(critchance)
  774. if asd == true then
  775. turncrit()
  776. end
  777. if crit == false then
  778. h.Health = h.Health - D
  779. else
  780. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  781. end
  782. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  783. local vp = Instance.new('BodyVelocity')
  784. vp.P = 500
  785. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  786. vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity / 1.05
  787. if knock > 0 then
  788. vp.Parent = hit.Parent.Torso
  789. end
  790. game:GetService("Debris"):AddItem(vp, .5)
  791. elseif type == 2 then
  792. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  793. local asd = randomizer(critchance)
  794. if asd == true then
  795. turncrit()
  796. end
  797. if crit == false then
  798. h.Health = h.Health - D
  799. else
  800. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  801. end
  802. tagPlayer(h)
  803. elseif type == 3 then
  804. tagPlayer(h)
  805. local asd = randomizer(critchance)
  806. if asd == true then
  807. turncrit()
  808. end
  809. if crit == false then
  810. h.Health = h.Health - D
  811. else
  812. h.Health = h.Health - (D + math.random(critdamageaddmin, critdamageaddmax))
  813. end
  814. Character.Humanoid.Health = Character.Humanoid.Health + D / 2
  815. so("http://www.roblox.com/asset/?id=206083232", hit, 1, 1.5)
  816. for i = 1, 10 do
  817. firespaz1('Bright red', hit.CFrame * CFrame.Angles(math.random(0, 3), math.random(0, 3), math.random(0, 3)))
  818. end
  819. elseif type == 4 then
  820. h.Health = h.Health + D
  821. so("http://www.roblox.com/asset/?id=186883084", hit, 1, 1)
  822. circle('Dark green', h.Parent.Torso.CFrame * CFrame.new(0, -2.5, 0))
  823. end
  824. end
  825. end
  826.  
  827. function subtrackstamina(k)
  828. if stamina >= k then
  829. stamina = stamina - k
  830. end
  831. end
  832.  
  833. Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.39999986, 1.20000005, 1.39999998))
  834. Handleweld=CreateWeld(m,Torso,Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200019836, 2.05684233, -1.52587891e-005, -3.33786011e-006, 5.10364771e-007, -1.00000072, 7.4505806e-007, 0.999990106, 5.23030758e-006, 0.999992847, 1.10268593e-006, -2.98023224e-006))
  835. CreateMesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  836. LLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  837. LLeg1Connectorweld=CreateWeld(m,Handle,LLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.271961212, 0.323261261, 0.554561615, 0.953878522, 0.237942964, 0.183013678, -0.270872086, 0.945040286, 0.183021933, -0.12940976, -0.224147677, 0.965908945))
  838. CreateMesh("SpecialMesh",LLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  839. LLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  840. LLeg2Connectorweld=CreateWeld(m,Handle,LLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.286304474, 0.549964905, 0.383785248, 0.87001282, -0.368683487, -0.327339649, 0.475172013, 0.804078519, 0.357260257, 0.131499231, -0.466358542, 0.874748588))
  841. CreateMesh("SpecialMesh",LLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  842. NeckHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  843. NeckHandleConnectorweld=CreateWeld(m,Handle,NeckHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.800014496, 2.2649765e-006, -1.52587891e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  844. CreateMesh("SpecialMesh",NeckHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  845. RLeg2Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  846. RLeg2Connectorweld=CreateWeld(m,Handle,RLeg2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.284488678, 0.502339363, -0.511051178, 0.866028607, -0.433008194, 0.249994621, 0.482959986, 0.853833973, -0.194110557, -0.12941049, 0.288845479, 0.948575199))
  847. CreateMesh("SpecialMesh",RLeg2Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  848. RLeg1Connector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Connector",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  849. RLeg1Connectorweld=CreateWeld(m,Handle,RLeg1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.434127808, 0.261667252, -0.51184082, 0.953878462, 0.277202159, 0.115192153, -0.270872086, 0.960207343, -0.0678096935, -0.129410967, 0.0334844999, 0.991011441))
  850. CreateMesh("SpecialMesh",RLeg1Connector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  851. TailHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandleConnector",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  852. TailHandleConnectorweld=CreateWeld(m,Handle,TailHandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.800014496, -4.17232513e-006, -1.14440918e-005, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  853. CreateMesh("SpecialMesh",TailHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  854. Wings=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wings",Vector3.new(1.38, 0.600000024, 0.400000006))
  855. Wingsweld=CreateWeld(m,Handle,Wings,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999832153, -1.35054588, -0.870742798, -3.57603994e-007, 1.84772534e-006, 0.999992847, 0.707109332, 0.707094491, -2.27373675e-013, -0.707105219, 0.707105219, 0))
  856. CreateMesh("SpecialMesh",Wings,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=188700920 ",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 0.928000093))
  857. HeadHandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandleConnector",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  858. HeadHandleConnectorweld=CreateWeld(m, NeckHandleConnector, HeadHandleConnector, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.13883209, -1.22878647, -4.95910645e-005, 0.965921879, -0.258816749, -8.3394184e-007, 0.258814901, 0.965910494, 1.70232727e-006, 7.33734851e-009, -1.24428539e-008, 0.999992847))
  859. CreateMesh("SpecialMesh",HeadHandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  860. HeadHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HeadHandle",Vector3.new(0.799999774, 0.800000012, 1.19999993))
  861. HeadHandleweld=CreateWeld(m,HeadHandleConnector,HeadHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(.5,.3,0))
  862. CreateMesh("SpecialMesh",HeadHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  863. BlinkPartL=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartL",Vector3.new(0.430000007, 0.349999994, 0.209999993))
  864. BlinkPartLweld=CreateWeld(m,HeadHandle,BlinkPartL,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.627552032, -0.15424633, 0.675392151, 0.965920627, 3.52720974e-007, 0.258818448, -3.27823614e-007, 0.999994576, -4.27638327e-007, -0.258816987, 3.32397349e-007, 0.965925992))
  865. CreateMesh("SpecialMesh",BlinkPartL,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  866. BlinkPartR=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BlinkPartR",Vector3.new(0.430000007, 0.349999994, 0.209999919))
  867. BlinkPartRweld=CreateWeld(m,HeadHandle,BlinkPartR,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.668586731, 0.0254650116, 0.6536026, 0.963257611, 0.166627169, -0.210616693, 0.170450777, -0.985360563, 7.06354513e-007, -0.207533255, -0.035900455, -0.977568686))
  868. CreateMesh("SpecialMesh",BlinkPartR,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  869. Head=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Head",Vector3.new(1.59999979, 1, 1.19999993))
  870. Headweld=CreateWeld(m,HeadHandle,Head,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399993896, -0.100018501, -3.81469727e-006, 0.999994338, -7.45053441e-008, 0, 4.59620352e-013, 0.999994516, 5.40012479e-013, -6.82121026e-013, -1.62003744e-012, 1))
  871. CreateMesh("SpecialMesh",Head,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  872. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  873. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268547058, 0.0147666931, 0.492343903, 0.266456544, 0.961500287, -0.0669870079, -0.937416613, 0.24235782, -0.249999925, -0.22414504, 0.129409671, 0.965918422))
  874. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  875. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  876. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.35981369, -0.0811252594, -0.392364502, 0.499998569, 0.866011322, 1.38495011e-007, -0.836511791, 0.482955486, 0.258817196, 0.224141717, -0.129405871, 0.965918958))
  877. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  878. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.400000006))
  879. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.359809875, -0.0811347961, 0.392364502, 0.500002265, 0.866017759, 4.3843329e-009, -0.836509109, 0.48296532, -0.25881812, -0.224141061, 0.129409656, 0.965926051))
  880. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  881. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.200000003, 1.39999998, 0.200000003))
  882. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.268550873, 0.0147647858, -0.492359161, 0.266456187, 0.961500764, 0.066986382, -0.937418401, 0.242359444, 0.249994203, 0.224138066, -0.129404321, 0.965920031))
  883. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  884. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  885. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148231506, -0.399997711, 0.999991596, -8.94065053e-008, -6.82121026e-013, -4.47030253e-008, 0.999991894, -1.00897068e-012, -4.54747351e-013, -1.05160325e-012, 1))
  886. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  887. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(0.599999785, 0.400000006, 0.399999917))
  888. Partweld=CreateWeld(m,HeadHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.706802368, -0.148216248, 0.399990082, 0.999985158, -5.96041865e-008, -1.13686838e-012, -8.94065053e-008, 0.999985576, -1.15107923e-012, -6.82121026e-013, -1.44950718e-012, 1))
  889. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  890. LLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  891. LLeg1Handleweld=CreateWeld(m,LLeg1Connector,LLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365982056, 0.0366020203, 0.193164825, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  892. CreateMesh("SpecialMesh",LLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  893. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  894. Partweld=CreateWeld(m,LLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.299993515, 7.62939453e-006, 0.999997556, -8.96677375e-006, -5.36441803e-007, -8.96677375e-006, 0.999984801, 3.7252903e-006, -5.36441803e-007, 3.7252903e-006, 0.999984503))
  895. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  896. LLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","LLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  897. LLeg2Handleweld=CreateWeld(m,LLeg2Connector,LLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0654640198, 0.0714416504, 0.174942017, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  898. CreateMesh("SpecialMesh",LLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  899. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  900. Partweld=CreateWeld(m,LLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.300003052, 0, 1.0000006, 4.96953726e-006, 2.38418579e-006, 4.96953726e-006, 0.999982536, 4.35113907e-006, 2.38418579e-006, 4.35113907e-006, 0.999983668))
  901. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  902. RLeg1Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg1Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  903. RLeg1Handleweld=CreateWeld(m,RLeg1Connector,RLeg1Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  904. CreateMesh("SpecialMesh",RLeg1Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  905. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  906. Partweld=CreateWeld(m,RLeg1Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0.299995422, 7.62939453e-006, 0.999997318, -9.39005986e-006, -1.82539225e-006, -9.39005986e-006, 0.999983907, 2.83867121e-006, -1.82539225e-006, 2.83867121e-006, 0.999985874))
  907. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  908. RLeg2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","RLeg2Handle",Vector3.new(0.599999726, 0.600000024, 0.600000024))
  909. RLeg2Handleweld=CreateWeld(m,RLeg2Connector,RLeg2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0499954224, 0.038819313, -0.189697266, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  910. CreateMesh("SpecialMesh",RLeg2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  911. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.599999726, 1.20000005, 0.600000024))
  912. Partweld=CreateWeld(m,RLeg2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.299996376, -7.62939453e-006, 0.999999583, 6.79865479e-006, -3.51667404e-006, 6.79865479e-006, 0.999980748, -1.23679638e-006, -3.51667404e-006, -1.23679638e-006, 0.999986768))
  913. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  914. NeckHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","NeckHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  915. NeckHandleweld=CreateWeld(m,NeckHandleConnector,NeckHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  916. CreateMesh("SpecialMesh",NeckHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  917. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 0.800000012, 0.99999994))
  918. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.673364639, 0.315284729, 1.14440918e-005, 0.499996573, 0.866005898, 1.41687553e-006, -0.866028965, 0.499994099, 1.24860276e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  919. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  920. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.5999999, 1, 1.39999998))
  921. Partweld=CreateWeld(m,NeckHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.456003189, -0.000812530518, 1.52587891e-005, 0.707109332, 0.707094491, 1.05421987e-006, -0.707105219, 0.707105219, 1.56317299e-006, 2.27782948e-009, -3.0485694e-009, 0.999992847))
  922. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  923. TailHandle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","TailHandle",Vector3.new(0.799999714, 0.800000012, 0.99999994))
  924. TailHandleweld=CreateWeld(m,TailHandleConnector,TailHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -1.90734863e-006, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  925. CreateMesh("SpecialMesh",TailHandle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  926. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.99999994))
  927. Partweld=CreateWeld(m,TailHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.299999237, 3.57627869e-007, 0, 1.00000143, -4.71995372e-006, -3.57601493e-007, -4.71995372e-006, 0.999980211, 1.84771216e-006, -3.57601493e-007, 1.84771216e-006, 0.999985695))
  928. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  929. Tail2HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2HandleConnector",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  930. Tail2HandleConnectorweld=CreateWeld(m,TailHandle,Tail2HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.674129486, -0.0147686005, -0.00961303711, 0.999255121, 0.0334871411, -0.0192402583, -0.0341572762, 0.998781741, -0.0350642987, 0.0180421956, 0.0356986672, 0.999185622))
  931. CreateMesh("SpecialMesh",Tail2HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  932. Tail2Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail2Handle",Vector3.new(0.599999726, 0.800000012, 0.799999952))
  933. Tail2Handleweld=CreateWeld(m,Tail2HandleConnector,Tail2Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  934. CreateMesh("SpecialMesh",Tail2Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  935. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999974, 0.800000012, 0.799999952))
  936. Partweld=CreateWeld(m,Tail2Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399993896, -2.86102295e-006, 3.81469727e-006, 1.00000131, -5.39020402e-006, -1.95577741e-007, -5.39020402e-006, 0.999980748, 1.59069896e-006, -1.95577741e-007, 1.59069896e-006, 0.999985993))
  937. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  938. Tail3HandleConnector=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3HandleConnector",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  939. Tail3HandleConnectorweld=CreateWeld(m,Tail2Handle,Tail3HandleConnector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.933692932, 0.152185202, 0.0128250122, 0.989802122, -0.139427915, 0.0292246509, 0.138289496, 0.989660025, 0.0377997532, -0.0341934189, -0.0333709307, 0.998850942))
  940. CreateMesh("SpecialMesh",Tail3HandleConnector,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  941. Tail3Handle=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Tail3Handle",Vector3.new(0.599999845, 0.800000012, 0.799999952))
  942. Tail3Handleweld=CreateWeld(m,Tail3HandleConnector,Tail3Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  943. CreateMesh("SpecialMesh",Tail3Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  944. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.800000012, 0.200000003))
  945. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04519272, 0.064440012, -0.0208930969, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  946. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  947. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  948. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.11207199, 0.0611591339, 0.00499725342, 0.965926647, -0.258816153, -5.12227416e-008, 0.258816123, 0.965926647, -1.83936208e-007, 9.68575478e-008, 1.64000085e-007, 1))
  949. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  950. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"New Yeller","Part",Vector3.new(1.79999983, 0.600000024, 0.200000003))
  951. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.07800674, 0.0849123001, -0.020816803, 0.965926468, 0.258816481, 2.40281224e-007, -0.258821636, 0.965915978, -1.06403604e-006, -1.3038516e-006, 2.83645932e-006, 0.999992907))
  952. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  953. Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.39999986, 0.800000012, 0.799999952))
  954. Partweld=CreateWeld(m,Tail3Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400001526, -2.14576721e-006, -3.81469727e-006, 1, 2.3010216e-009, 0, 2.3010216e-009, 1, 0, 0, 0, 1.00000012))
  955. CreateMesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  956.  
  957. mouse.Button1Down:connect(function()
  958. end)
  959.  
  960. mouse.KeyDown:connect(function(k)
  961. k = k:lower()
  962. if k == "f" and attack == false and Flying == false then
  963. Humanoid.CameraOffset = Vector3.new(0, -1, 0)
  964. Humanoid.WalkSpeed = 25
  965. Flying = true
  966. elseif k == "f" and attack == false and Flying == true then
  967. Humanoid.CameraOffset = Vector3.new(0, -2, 0)
  968. Humanoid.WalkSpeed = 16
  969. Flying = false
  970. end
  971. end)
  972.  
  973.  
  974. inputserv.InputBegan:connect(function(k)
  975. if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
  976. elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
  977. elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
  978. elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
  979. end
  980. end)
  981.  
  982. inputserv.InputBegan:connect(function(k)
  983. if k.KeyCode == Enum.KeyCode.Slash then
  984. local fin = nil
  985. typing = true
  986. fin = inputserv.InputBegan:connect(function(k)
  987. if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
  988. typing = false
  989. fin:disconnect()
  990. end
  991. end)
  992. end
  993. end)
  994.  
  995. function updateskills()
  996. if cooldown1 <= co1 then
  997. cooldown1 = cooldown1 + 1 / 30
  998. end
  999. if cooldown2 <= co2 then
  1000. cooldown2 = cooldown2 + 1 / 30
  1001. end
  1002. if cooldown3 <= co3 then
  1003. cooldown3 = cooldown3 + 1 / 30
  1004. end
  1005. if cooldown4 <= co4 then
  1006. cooldown4 = cooldown4 + 1 / 30
  1007. end
  1008. if stamina <= maxstamina then
  1009. stamina = stamina + recovermana / 30
  1010. end
  1011. end
  1012.  
  1013. coroutine.resume(coroutine.create(function(Part,Weld)
  1014. while Part.Parent~=nil do
  1015. wait(5)
  1016. for i=0,1,0.2 do
  1017. wait()
  1018. BlinkPartR.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1019. end
  1020. for i=0,1,0.2 do
  1021. wait()
  1022. BlinkPartR.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1023. end
  1024. end
  1025. end),BlinkPartR,BlinkPartRweld)
  1026.  
  1027. coroutine.resume(coroutine.create(function(Part,Weld)
  1028. while Part.Parent~=nil do
  1029. wait(5)
  1030. for i=0,1,0.2 do
  1031. wait()
  1032. BlinkPartL.Mesh.Scale = Vector3.new(.7-1*i,1,1)
  1033. end
  1034. for i=0,1,0.2 do
  1035. wait()
  1036. BlinkPartL.Mesh.Scale = Vector3.new(.7+.3*i,1,1)
  1037. end
  1038. end
  1039. end),BlinkPartL,BlinkPartLweld)
  1040.  
  1041. game:GetService'RunService'.Heartbeat:connect(function()
  1042. updateskills()
  1043. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1044. velocity = RootPart.Velocity.y
  1045. sine = sine + change
  1046. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1047. if equipped == true or equipped == false then
  1048. if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
  1049. Anim = "Jump"
  1050. if attack == false then
  1051. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 2) * angles(math.rad(50), math.rad(0), math.rad(0)), .3)
  1052. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1053. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1054. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1055. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1056. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1057. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), .3)
  1058. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1059. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1060. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .3)
  1061. end
  1062. elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
  1063. Anim = "Fall"
  1064. if attack == false then
  1065. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 1) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
  1066. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), .3)
  1067. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1068. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1069. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1070. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1071. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .3)
  1072. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1073. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1074. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), .3)
  1075. end
  1076. elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
  1077. Anim = "Idle"
  1078. if attack == false and Flying == false then
  1079. change = 1
  1080. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1081. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+1.5*math.cos(sine/10))), .3)
  1082. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-5+1.5*math.cos(sine/10))), .3)
  1083. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1084. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1085. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1086. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2-3*math.cos(sine/10))), .3)
  1087. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(15*math.cos(sine/15)), math.rad(5*math.cos(sine/25))), .3)
  1088. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(-15*math.cos(sine/15)), math.rad(20*math.cos(sine/15)), math.rad(2*math.cos(sine/15))), .3)
  1089. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(15*math.cos(sine/15)), math.rad(10*math.cos(sine/15)), math.rad(0)), .3)
  1090. elseif attack == false and Flying == true then
  1091. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 2) * angles(math.rad(40+2*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1092. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+3*math.cos(sine/10))), .3)
  1093. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20-3*math.cos(sine/10))), .3)
  1094. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1095. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1096. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1097. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1098. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20-3*math.cos(sine/10))), .3)
  1099. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10+2*math.cos(sine/10))), .3)
  1100. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15-1.5*math.cos(sine/10))), .3)
  1101. end
  1102. elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
  1103. Anim = "Walk"
  1104. if attack == false and Flying == false then
  1105. change = 1
  1106. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 0, 0) * angles(math.rad(1.5+1*math.cos(sine/10)), math.rad(0), math.rad(0)), .3)
  1107. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1108. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+1.5*math.cos(sine/10))), .3)
  1109. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1110. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1111. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30*math.cos(sine/5))), .3)
  1112. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30*math.cos(sine/4.5))), .3)
  1113. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1114. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(2*math.cos(sine/15))), .3)
  1115. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3*math.cos(sine/15))), .3)
  1116. elseif attack == false and Flying == true then
  1117. change = 1
  1118. Handleweld.C0 = clerp(Handleweld.C0, cn(0, 3.5+.2*math.cos(sine/10), 1) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1119. NeckHandleConnectorweld.C0 = clerp(NeckHandleConnectorweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-10+1*math.cos(sine/10))), .3)
  1120. HeadHandleweld.C0 = clerp(HeadHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20+1*math.cos(sine/10))), .3)
  1121. LLeg1Handleweld.C0 = clerp(LLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1122. LLeg2Handleweld.C0 = clerp(LLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1123. RLeg1Handleweld.C0 = clerp(RLeg1Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-40+5*math.cos(sine/10))), .3)
  1124. RLeg2Handleweld.C0 = clerp(RLeg2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30+5*math.cos(sine/10))), .3)
  1125. TailHandleweld.C0 = clerp(TailHandleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(10-3*math.cos(sine/10))), .3)
  1126. Tail2Handleweld.C0 = clerp(Tail2Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(5+2*math.cos(sine/10))), .3)
  1127. Tail3Handleweld.C0 = clerp(Tail3Handleweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(3-1.5*math.cos(sine/10))), .3)
  1128. end
  1129. end
  1130. end
  1131. end)
  1132.  
  1133.  
  1134.  
  1135. Character = game.Players.LocalPlayer.Character
  1136. Head = Character.Head
  1137.  
  1138. CV="Blue"
  1139. p = game.Players.LocalPlayer
  1140. char = p.Character
  1141. local txt = Instance.new("BillboardGui", char)
  1142. txt.Adornee = char .Head
  1143. txt.Name = "_status"
  1144. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1145. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1146. local text = Instance.new("TextLabel", txt)
  1147. text.Size = UDim2.new(10, 0, 7, 0)
  1148. text.FontSize = "Size24"
  1149. text.TextScaled = true
  1150. text.TextTransparency = 0
  1151. text.BackgroundTransparency = 1
  1152. text.TextTransparency = 0
  1153. text.TextStrokeTransparency = 0
  1154. text.Font = "Cartoon"
  1155. text.TextStrokeColor3 = Color3.new(0,0,.50)
  1156.  
  1157. v=Instance.new("Part")
  1158. v.Name = "ColorBrick"
  1159. v.Parent=p.Character
  1160. v.FormFactor="Symmetric"
  1161. v.Anchored=true
  1162. v.CanCollide=false
  1163. v.BottomSurface="Smooth"
  1164. v.TopSurface="Smooth"
  1165. v.Size=Vector3.new(10,5,3)
  1166. v.Transparency=1
  1167. v.CFrame=char.Torso.CFrame
  1168. v.BrickColor=BrickColor.new(CV)
  1169. v.Transparency=1
  1170. text.TextColor3 = Color3.new(0,0,.50)
  1171. v.Shape="Block"
  1172. text.Text = "Inferno"
  1173.  
  1174. local s = Instance.new("Sound",char)
  1175. s.Name = "BGMusic"
  1176. s.SoundId = "rbxassetid://792238435"
  1177. s.Pitch = 1
  1178. s.Volume = 10
  1179. s.Looped = true
  1180. s.archivable = false
  1181. s.Parent = char.Head
  1182. wait(0.1)
  1183. s:play()
  1184.  
  1185. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  1186. print("Inferno Loaded.")
  1187. print("Unleash the deadly fire to anyone to destroy.")
  1188. p = game.Players.LocalPlayer
  1189. char = p.Character
  1190. torso = char.Torso
  1191. neck = char.Torso.Neck
  1192.  
  1193. Player=game:GetService("Players").LocalPlayer
  1194. Character=Player.Character
  1195. PlayerGui=Player.PlayerGui
  1196. Backpack=Player.Backpack
  1197. Torso=Character.Torso
  1198. Head=Character.Head
  1199. Humanoid=Character.Humanoid
  1200. LeftArm=Character["Left Arm"]
  1201. LeftLeg=Character["Left Leg"]
  1202. RightArm=Character["Right Arm"]
  1203. RightLeg=Character["Right Leg"]
  1204. cam=game.Workspace.CurrentCamera
  1205. LS=Torso["Left Shoulder"]
  1206. LH=Torso["Left Hip"]
  1207. RS=Torso["Right Shoulder"]
  1208. RH=Torso["Right Hip"]
  1209. Face = Head.face
  1210. Neck=Torso.Neck
  1211. it=Instance.new
  1212. attacktype=1
  1213. vt=Vector3.new
  1214. cf=CFrame.new
  1215. euler=CFrame.fromEulerAnglesXYZ
  1216. angles=CFrame.Angles
  1217. cloaked=false
  1218. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1219. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1220. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1221. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1222. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1223. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1224. RootPart=Character.HumanoidRootPart
  1225. RootJoint=RootPart.RootJoint
  1226. RootCF=euler(-1.57,0,3.14)
  1227. attack = false
  1228. bounce=false
  1229. cooldown=false
  1230. deeznuts=false
  1231. attackdebounce = false
  1232. deb=false
  1233. equipped=true
  1234. hand=false
  1235. MMouse=nil
  1236. combo=0
  1237. mana=0
  1238. trispeed=.2
  1239. attackmode='none'
  1240. local idle=0
  1241. local Anim="Idle"
  1242. local Effects={}
  1243. local gun=false
  1244. local shoot=false
  1245. player=nil
  1246. mana=0
  1247. cam = workspace.CurrentCamera
  1248. ZTarget = nil
  1249. RocketTarget = nil
  1250. local m = Instance.new("Model",Character)
  1251. m.Name = "WeaponModel"
  1252.  
  1253. mouse=Player:GetMouse()
  1254. --save shoulders
  1255. RSH, LSH=nil, nil
  1256. --welds
  1257. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1258. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1259. LH=Torso["Left Hip"]
  1260. RH=Torso["Right Hip"]
  1261. TorsoColor=Torso.BrickColor
  1262. function NoOutline(Part)
  1263. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1264. end
  1265. player=Player
  1266. ch=Character
  1267. RSH=ch.Torso["Right Shoulder"]
  1268. LSH=ch.Torso["Left Shoulder"]
  1269. --
  1270. RSH.Parent=nil
  1271. LSH.Parent=nil
  1272. --
  1273. RW.Name="Right Shoulder"
  1274. RW.Part0=ch.Torso
  1275. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1276. RW.C1=cf(0, 0.5, 0)
  1277. RW.Part1=ch["Right Arm"]
  1278. RW.Parent=ch.Torso
  1279. --
  1280. LW.Name="Left Shoulder"
  1281. LW.Part0=ch.Torso
  1282. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1283. LW.C1=cf(0, 0.5, 0)
  1284. LW.Part1=ch["Left Arm"]
  1285. LW.Parent=ch.Torso
  1286.  
  1287. function swait(num)
  1288. if num==0 or num==nil then
  1289. game:service'RunService'.Heartbeat:wait(0)
  1290. else
  1291. for i=0,num do
  1292. game:service'RunService'.Heartbeat:wait(0)
  1293. end
  1294. end
  1295. end
  1296.  
  1297.  
  1298. local Player = game.Players.localPlayer
  1299. local Character = Player.Character
  1300. local red = 255
  1301. local green = 255
  1302. local blue = 255
  1303. local Humanoid = Character.Humanoid
  1304. local mouse = Player:GetMouse()
  1305. local m = Instance.new("Model", Character)
  1306. m.Name = "WeaponModel"
  1307. local LeftArm = Character["Left Arm"]
  1308. local RightArm = Character["Right Arm"]
  1309. local LeftLeg = Character["Left Leg"]
  1310. local RightLeg = Character["Right Leg"]
  1311. local Head = Character.Head
  1312. local Torso = Character.Torso
  1313. local cam = game.Workspace.CurrentCamera
  1314. local RootPart = Character.HumanoidRootPart
  1315. local RootJoint = RootPart.RootJoint
  1316. local equipped = false
  1317. local attack = false
  1318. local Anim = "Idle"
  1319. local idle = 0
  1320. local attacktype = 1
  1321. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1322. local velocity = RootPart.Velocity.y
  1323. local sine = 0
  1324. local change = 1
  1325. local grabbed = false
  1326. local cn = CFrame.new
  1327. local mr = math.rad
  1328. local angles = CFrame.Angles
  1329. local ud = UDim2.new
  1330. local c3 = Color3.new
  1331. local lim = 0
  1332. local st = 0
  1333. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1334. local attacktype = 1
  1335. local ZTarget, RocketTarget = nil, nil
  1336. local euler = CFrame.fromEulerAnglesXYZ
  1337. function clerp(a,b,t)
  1338. local qa = {QuaternionFromCFrame(a)}
  1339. local qb = {QuaternionFromCFrame(b)}
  1340. local ax, ay, az = a.x, a.y, a.z
  1341. local bx, by, bz = b.x, b.y, b.z
  1342. local _t = 1-t
  1343. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1344. end
  1345.  
  1346. function QuaternionFromCFrame(cf)
  1347. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1348. local trace = m00 + m11 + m22
  1349. if trace > 0 then
  1350. local s = math.sqrt(1 + trace)
  1351. local recip = 0.5/s
  1352. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1353. else
  1354. local i = 0
  1355. if m11 > m00 then
  1356. i = 1
  1357. end
  1358. if m22 > (i == 0 and m00 or m11) then
  1359. i = 2
  1360. end
  1361. if i == 0 then
  1362. local s = math.sqrt(m00-m11-m22+1)
  1363. local recip = 0.5/s
  1364. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1365. elseif i == 1 then
  1366. local s = math.sqrt(m11-m22-m00+1)
  1367. local recip = 0.5/s
  1368. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1369. elseif i == 2 then
  1370. local s = math.sqrt(m22-m00-m11+1)
  1371. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1372. end
  1373. end
  1374. end
  1375.  
  1376. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1377. local xs, ys, zs = x + x, y + y, z + z
  1378. local wx, wy, wz = w*xs, w*ys, w*zs
  1379. local xx = x*xs
  1380. local xy = x*ys
  1381. local xz = x*zs
  1382. local yy = y*ys
  1383. local yz = y*zs
  1384. local zz = z*zs
  1385. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1386. end
  1387.  
  1388. function QuaternionSlerp(a, b, t)
  1389. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1390. local startInterp, finishInterp;
  1391. if cosTheta >= 0.0001 then
  1392. if (1 - cosTheta) > 0.0001 then
  1393. local theta = math.acos(cosTheta)
  1394. local invSinTheta = 1/math.sin(theta)
  1395. startInterp = math.sin((1-t)*theta)*invSinTheta
  1396. finishInterp = math.sin(t*theta)*invSinTheta
  1397. else
  1398. startInterp = 1-t
  1399. finishInterp = t
  1400. end
  1401. else
  1402. if (1+cosTheta) > 0.0001 then
  1403. local theta = math.acos(-cosTheta)
  1404. local invSinTheta = 1/math.sin(theta)
  1405. startInterp = math.sin((t-1)*theta)*invSinTheta
  1406. finishInterp = math.sin(t*theta)*invSinTheta
  1407. else
  1408. startInterp = t-1
  1409. finishInterp = t
  1410. end
  1411. end
  1412. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1413. end
  1414. rayCast = function(Position, Direction, Range, Ignore)
  1415. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1416. end
  1417. local v = game.Players.localPlayer
  1418. local torso = v.Character.Torso
  1419.  
  1420. plr = game.Players.LocalPlayer
  1421. char = game.Players.LocalPlayer.Character
  1422. hum = game.Players.LocalPlayer.Character.Humanoid
  1423. t = game.Players.LocalPlayer.Character.Torso
  1424. h = game.Players.LocalPlayer.Character.Head
  1425. ra = game.Players.LocalPlayer.Character["Right Arm"]
  1426. la = game.Players.LocalPlayer.Character["Left Arm"]
  1427. rl = game.Players.LocalPlayer.Character["Right Leg"]
  1428. ll = game.Players.LocalPlayer.Character["Left Leg"]
  1429. tors = Character.Torso
  1430. lleg = Character["Left Leg"]
  1431. root = Character.HumanoidRootPart
  1432. hed = Character.Head
  1433. rleg = Character["Right Leg"]
  1434. rarm = Character["Right Arm"]
  1435. larm = Character["Left Arm"]
  1436. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  1437. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  1438. local Effects = {}
  1439. attack = false
  1440. local attacking = false
  1441. vt = Vector3.new
  1442. bc = BrickColor.new
  1443. br = BrickColor.random
  1444. it = Instance.new
  1445. cf = CFrame.new
  1446. euler = CFrame.fromEulerAnglesXYZ
  1447. angles = CFrame.Angles
  1448. matr = math.random
  1449. local colororg = BrickColor.new("Dark indigo") -- set color u like
  1450. local meshtype = "Sphere" -- only for specialmesh
  1451. mouse = plr:GetMouse()
  1452.  
  1453. CFuncs = {
  1454. ["Part"] = {
  1455. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1456. local Part = Create("Part"){
  1457. Parent = Parent,
  1458. Reflectance = Reflectance,
  1459. Transparency = Transparency,
  1460. CanCollide = false,
  1461. Locked = true,
  1462. BrickColor = BrickColor.new(tostring(BColor)),
  1463. Name = Name,
  1464. Size = Size,
  1465. Material = Material,
  1466. }
  1467. RemoveOutlines(Part)
  1468. return Part
  1469. end;
  1470. };
  1471.  
  1472. ["Mesh"] = {
  1473. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1474. local Msh = Create(Mesh){
  1475. Parent = Part,
  1476. Offset = OffSet,
  1477. Scale = Scale,
  1478. }
  1479. if Mesh == "SpecialMesh" then
  1480. Msh.MeshType = MeshType
  1481. Msh.MeshId = MeshId
  1482. end
  1483. return Msh
  1484. end;
  1485. };
  1486.  
  1487. ["Mesh"] = {
  1488. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1489. local Msh = Create(Mesh){
  1490. Parent = Part,
  1491. Offset = OffSet,
  1492. Scale = Scale,
  1493. }
  1494. if Mesh == "SpecialMesh" then
  1495. Msh.MeshType = MeshType
  1496. Msh.MeshId = MeshId
  1497. end
  1498. return Msh
  1499. end;
  1500. };
  1501.  
  1502. ["Weld"] = {
  1503. Create = function(Parent, Part0, Part1, C0, C1)
  1504. local Weld = Create("Weld"){
  1505. Parent = Parent,
  1506. Part0 = Part0,
  1507. Part1 = Part1,
  1508. C0 = C0,
  1509. C1 = C1,
  1510. }
  1511. return Weld
  1512. end;
  1513. };
  1514.  
  1515. ["Sound"] = {
  1516. Create = function(id, par, vol, pit)
  1517. coroutine.resume(coroutine.create(function()
  1518. local S = Create("Sound"){
  1519. Volume = vol,
  1520. Pitch = pit or 1,
  1521. SoundId = id,
  1522. Parent = par or workspace,
  1523. }
  1524. wait()
  1525. S:play()
  1526. game:GetService("Debris"):AddItem(S, 6)
  1527. end))
  1528. end;
  1529. };
  1530.  
  1531. ["ParticleEmitter"] = {
  1532. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1533. local fp = Create("ParticleEmitter"){
  1534. Parent = Parent,
  1535. Color = ColorSequence.new(Color1, Color2),
  1536. LightEmission = LightEmission,
  1537. Size = Size,
  1538. Texture = Texture,
  1539. Transparency = Transparency,
  1540. ZOffset = ZOffset,
  1541. Acceleration = Accel,
  1542. Drag = Drag,
  1543. LockedToPart = LockedToPart,
  1544. VelocityInheritance = VelocityInheritance,
  1545. EmissionDirection = EmissionDirection,
  1546. Enabled = Enabled,
  1547. Lifetime = LifeTime,
  1548. Rate = Rate,
  1549. Rotation = Rotation,
  1550. RotSpeed = RotSpeed,
  1551. Speed = Speed,
  1552. VelocitySpread = VelocitySpread,
  1553. }
  1554. return fp
  1555. end;
  1556. };
  1557.  
  1558. CreateTemplate = {
  1559.  
  1560. };
  1561. }
  1562.  
  1563.  
  1564.  
  1565. New = function(Object, Parent, Name, Data)
  1566. local Object = Instance.new(Object)
  1567. for Index, Value in pairs(Data or {}) do
  1568. Object[Index] = Value
  1569. end
  1570. Object.Parent = Parent
  1571. Object.Name = Name
  1572. return Object
  1573. end
  1574.  
  1575. function chatfunc(text)
  1576. local chat = coroutine.wrap(function()
  1577. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1578. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1579. end
  1580. local naeeym2 = Instance.new("BillboardGui",Character)
  1581. naeeym2.Size = UDim2.new(0,100,0,40)
  1582. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1583. naeeym2.Adornee = Character.Head
  1584. naeeym2.Name = "TalkingBillBoard"
  1585. local tecks2 = Instance.new("TextLabel",naeeym2)
  1586. tecks2.BackgroundTransparency = 1
  1587. tecks2.BorderSizePixel = 0
  1588. tecks2.Text = ""
  1589. tecks2.Font = "SciFi"
  1590. tecks2.TextSize = 30
  1591. tecks2.TextStrokeTransparency = 0
  1592. tecks2.TextColor3 = Color3.new(0.15,0.15,1)
  1593. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1594. tecks2.Size = UDim2.new(1,0,0.5,0)
  1595. local tecks3 = Instance.new("TextLabel",naeeym2)
  1596. tecks3.BackgroundTransparency = 1
  1597. tecks3.BorderSizePixel = 0
  1598. tecks3.Text = ""
  1599. tecks3.Font = "SciFi"
  1600. tecks3.TextSize = 30
  1601. tecks3.TextStrokeTransparency = 0
  1602. tecks3.TextColor3 = Color3.new(0.15,0.15,1)
  1603. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1604. tecks3.Size = UDim2.new(1,0,0.5,0)
  1605. for i = 1,string.len(text),1 do
  1606. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
  1607. tecks2.Text = string.sub(text,1,i)
  1608. tecks3.Text = string.sub(text,1,i)
  1609. wait(0.01)
  1610. end
  1611. wait(2)
  1612. for i = 1, 50 do
  1613. swait()
  1614. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1615. tecks2.Rotation = tecks2.Rotation - .8
  1616. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1617. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1618. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1619. tecks3.Rotation = tecks2.Rotation + .8
  1620. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1621. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1622. end
  1623. naeeym2:Destroy()
  1624. end)
  1625. chat()
  1626. end
  1627. function onChatted(msg)
  1628. chatfunc(msg)
  1629. end
  1630. Player.Chatted:connect(onChatted)
  1631.  
  1632.  
  1633. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1634. if hit.Parent==nil then
  1635. return
  1636. end
  1637. h=hit.Parent:FindFirstChild("Humanoid")
  1638. for _,v in pairs(hit.Parent:children()) do
  1639. if v:IsA("Humanoid") then
  1640. h=v
  1641. end
  1642. end
  1643. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1644. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1645. end
  1646. if hit.Parent.className=="Hat" then
  1647. hit=hit.Parent.Parent:findFirstChild("Head")
  1648. end
  1649. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1650. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1651. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1652. return
  1653. end]]
  1654. -- hs(hit,1.2)
  1655. c=Instance.new("ObjectValue")
  1656. c.Name="creator"
  1657. c.Value=game:service("Players").LocalPlayer
  1658. c.Parent=h
  1659. game:GetService("Debris"):AddItem(c,.5)
  1660. Damage=math.random(minim,maxim)
  1661. -- h:TakeDamage(Damage)
  1662. blocked=false
  1663. block=hit.Parent:findFirstChild("Block")
  1664. if block~=nil then
  1665. print(block.className)
  1666. if block.className=="NumberValue" then
  1667. if block.Value>0 then
  1668. blocked=true
  1669. if decreaseblock==nil then
  1670. block.Value=block.Value-1
  1671. end
  1672. end
  1673. end
  1674. if block.className=="IntValue" then
  1675. if block.Value>0 then
  1676. blocked=true
  1677. if decreaseblock~=nil then
  1678. block.Value=block.Value-1
  1679. end
  1680. end
  1681. end
  1682. end
  1683. if blocked==false then
  1684. -- h:TakeDamage(Damage)
  1685. h.Health=h.Health-Damage
  1686. showDamage(hit.Parent,Damage,3,TorsoColor)
  1687. else
  1688. h.Health=h.Health-(Damage/2)
  1689. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
  1690. end
  1691. if Type=="Knockdown" then
  1692. hum=hit.Parent.Humanoid
  1693. hum.PlatformStand=true
  1694. coroutine.resume(coroutine.create(function(HHumanoid)
  1695. swait(1)
  1696. HHumanoid.PlatformStand=false
  1697. end),hum)
  1698. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1699. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1700. local bodvol=Instance.new("BodyVelocity")
  1701. bodvol.velocity=angle*knockback
  1702. bodvol.P=5000
  1703. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1704. bodvol.Parent=hit
  1705. rl=Instance.new("BodyAngularVelocity")
  1706. rl.P=3000
  1707. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1708. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1709. rl.Parent=hit
  1710. game:GetService("Debris"):AddItem(bodvol,.5)
  1711. game:GetService("Debris"):AddItem(rl,.5)
  1712. elseif Type=="Normal" then
  1713. vp=Instance.new("BodyVelocity")
  1714. vp.P=500
  1715. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1716. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1717. if KnockbackType==1 then
  1718. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1719. elseif KnockbackType==2 then
  1720. vp.velocity=Property.CFrame.lookVector*knockback
  1721. end
  1722. if knockback>0 then
  1723. vp.Parent=hit.Parent.Torso
  1724. end
  1725. game:GetService("Debris"):AddItem(vp,.5)
  1726. elseif Type=="Up" then
  1727. local bodyVelocity=Instance.new("BodyVelocity")
  1728. bodyVelocity.velocity=vt(0,10,0)
  1729. bodyVelocity.P=1000
  1730. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  1731. bodyVelocity.Parent=hit
  1732. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1733. rl=Instance.new("BodyAngularVelocity")
  1734. rl.P=3000
  1735. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1736. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1737. rl.Parent=hit
  1738. game:GetService("Debris"):AddItem(rl,.5)
  1739. elseif Type=="Snare" then
  1740. bp=Instance.new("BodyPosition")
  1741. bp.P=2000
  1742. bp.D=100
  1743. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1744. bp.position=hit.Parent.Torso.Position
  1745. bp.Parent=hit.Parent.Torso
  1746. game:GetService("Debris"):AddItem(bp,1)
  1747. elseif Type=="Target" then
  1748. if Targetting==false then
  1749. ZTarget=hit.Parent.Torso
  1750. coroutine.resume(coroutine.create(function(Part)
  1751. swait(5)
  1752. end),ZTarget)
  1753. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1754. targetgui=Instance.new("BillboardGui")
  1755. targetgui.Parent=ZTarget
  1756. targetgui.Size=UDim2.new(10,100,10,100)
  1757. targ=Instance.new("ImageLabel")
  1758. targ.Parent=targetgui
  1759. targ.BackgroundTransparency=1
  1760. targ.Image="rbxassetid://4834067"
  1761. targ.Size=UDim2.new(1,0,1,0)
  1762. cam.CameraType="Scriptable"
  1763. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1764. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1765. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1766. Targetting=true
  1767. RocketTarget=ZTarget
  1768. for i=1,Property do
  1769. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1770. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1771. swait()
  1772. end
  1773. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1774. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1775. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1776. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1777. end
  1778. Targetting=false
  1779. RocketTarget=nil
  1780. targetgui.Parent=nil
  1781. cam.CameraType="Custom"
  1782. end
  1783. end
  1784. debounce=Instance.new("BoolValue")
  1785. debounce.Name="DebounceHit"
  1786. debounce.Parent=hit.Parent
  1787. debounce.Value=true
  1788. game:GetService("Debris"):AddItem(debounce,Delay)
  1789. c=Instance.new("ObjectValue")
  1790. c.Name="creator"
  1791. c.Value=Player
  1792. c.Parent=h
  1793. game:GetService("Debris"):AddItem(c,.5)
  1794. CRIT=false
  1795. hitDeb=true
  1796. AttackPos=6
  1797. end
  1798. end
  1799.  
  1800. showDamage=function(Char,Dealt,du,Color)
  1801. m=Instance.new("Model")
  1802. m.Name=""
  1803. h=Instance.new("Humanoid")
  1804. h.Health=0
  1805. h.MaxHealth=0
  1806. h.Parent=m
  1807. c=Instance.new("Part")
  1808. c.Transparency=0
  1809. c.Material = "Neon"
  1810. c.BrickColor=bc("Bright red")
  1811. c.Name="Head"
  1812. c.TopSurface=0
  1813. c.BottomSurface=0
  1814. CV="Hot pink"
  1815.  
  1816. local txt = Instance.new("BillboardGui", c)
  1817. txt.Adornee = c
  1818. txt.Name = "_status"
  1819. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1820. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1821. local text = Instance.new("TextLabel", txt)
  1822. text.Size = UDim2.new(10, 0, 7, 0)
  1823. text.FontSize = "Size24"
  1824. text.TextScaled = true
  1825. text.TextTransparency = 0
  1826. text.BackgroundTransparency = 1
  1827. text.TextTransparency = 0
  1828. text.TextStrokeTransparency = 0
  1829. if Dealt < 12 then
  1830. text.Font = "Highway"
  1831. elseif Dealt < 20 then
  1832. text.Font = "SourceSansBold"
  1833. elseif Dealt >= 20 then
  1834. text.Font = "Fantasy"
  1835. end
  1836. text.TextStrokeColor3 = BrickColor.new("Really black").Color
  1837. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1838. v=Instance.new("Part")
  1839. v.Name = "ColorBrick"
  1840. v.Parent=c
  1841. v.FormFactor="Symmetric"
  1842. v.Anchored=true
  1843. v.CanCollide=false
  1844. v.BottomSurface="Smooth"
  1845. v.TopSurface="Smooth"
  1846. v.Size=Vector3.new(10,5,3)
  1847. v.Transparency=1
  1848. v.CFrame=c.CFrame
  1849. v.BrickColor=BrickColor.new(CV)
  1850. v.Transparency=1
  1851. if Dealt < 12 then
  1852. text.TextColor3 = BrickColor.new("White").Color
  1853. elseif Dealt < 20 then
  1854. text.TextColor3 = BrickColor.new("Bright yellow").Color
  1855. elseif Dealt >= 20 then
  1856. text.TextColor3 = BrickColor.new("Really red").Color
  1857. end
  1858. v.Shape="Block"
  1859. text.Text = tostring(Dealt).. "!"
  1860. local dam = Instance.new("Sound",c)
  1861. local rndm=math.random(1,#hitsounds)
  1862. local r=rndm
  1863. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  1864. dam.Volume = 1.25
  1865. dam.Pitch = 1
  1866. dam:Play()
  1867. c.formFactor="Plate"
  1868. c.Transparency = 1
  1869. c.Size=Vector3.new(1,.4,1)
  1870. ms=Instance.new("CylinderMesh")
  1871. ms.Scale=Vector3.new(.8,.8,.8)
  1872. if CRIT==true then
  1873. ms.Scale=Vector3.new(1,1.25,1)
  1874. end
  1875. ms.Parent=c
  1876. c.Reflectance=0
  1877. Instance.new("BodyGyro").Parent=c
  1878. c.Parent=m
  1879. if Char:findFirstChild("Head")~=nil then
  1880. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1881. elseif Char.Parent:findFirstChild("Head")~=nil then
  1882. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1883. end
  1884. f=Instance.new("BodyPosition")
  1885. f.P=2000
  1886. f.D=100
  1887. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1888. f.position=c.Position+Vector3.new(0,3,0)
  1889. f.Parent=c
  1890. game:GetService("Debris"):AddItem(m,.5+du)
  1891. c.CanCollide=false
  1892. m.Parent=workspace
  1893. c.CanCollide=false
  1894. wait(1)
  1895. for l = 0, 9 do
  1896. text.TextTransparency = text.TextTransparency + 0.1
  1897. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  1898. wait()
  1899. end
  1900. end
  1901.  
  1902. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1903. local gui = it(GuiType)
  1904. gui.Parent = parent
  1905. gui.Text = text
  1906. gui.BackgroundTransparency = backtrans
  1907. gui.BackgroundColor3 = backcol
  1908. gui.SizeConstraint = "RelativeXY"
  1909. gui.TextXAlignment = "Center"
  1910. gui.TextYAlignment = "Center"
  1911. gui.Position = pos
  1912. gui.Size = size
  1913. gui.Font = "SourceSans"
  1914. gui.FontSize = "Size14"
  1915. gui.TextWrapped = false
  1916. gui.TextStrokeTransparency = 0
  1917. gui.TextColor = BrickColor.new("White")
  1918. return gui
  1919. end
  1920. ---- GUI set
  1921. local basgui = it("GuiMain")
  1922. basgui.Parent = Player.PlayerGui
  1923. basgui.Name = "CooldownsGUI"
  1924. local basframe = it("Frame")
  1925. basframe.Parent = basgui
  1926. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  1927. basframe.BackgroundTransparency = 1
  1928. basframe.BorderColor3 = Color3.new(17, 17, 17)
  1929. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  1930. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  1931. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  1932. basicgui.ZIndex = 2
  1933. basicgui.Font = "Highway"
  1934. basicgui.BackgroundTransparency = 0.5
  1935. basicgui.BorderSizePixel = 0.65
  1936. basicgui.TextScaled = true
  1937. basicgui.Text = "(F)\nInferno Meteor"
  1938. basicgui.TextSize = 24
  1939. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  1940. basicgui2.ZIndex = 2
  1941. basicgui2.Font = "Highway"
  1942. basicgui2.BackgroundTransparency = 0.5
  1943. basicgui2.BorderSizePixel = 0.65
  1944. basicgui2.TextScaled = true
  1945. basicgui2.Text = "(E)\nInferno Demise"
  1946. basicgui2.TextSize = 24
  1947. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1948. basicgui3.ZIndex = 2
  1949. basicgui3.Font = "Highway"
  1950. basicgui3.BackgroundTransparency = 0.5
  1951. basicgui3.BorderSizePixel = 0.65
  1952. basicgui3.TextScaled = true
  1953. basicgui3.Text = "(Q)\nInferno Comet"
  1954. basicgui3.TextSize = 24
  1955. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1956. basicgui4.ZIndex = 2
  1957. basicgui4.Font = "Highway"
  1958. basicgui4.BackgroundTransparency = 0.5
  1959. basicgui4.BorderSizePixel = 0.65
  1960. basicgui4.TextScaled = true
  1961. basicgui4.Text = "(R)\nInferno Wrath"
  1962. basicgui4.TextSize = 24
  1963. local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  1964. basicgui5.ZIndex = 2
  1965. basicgui5.Font = "Highway"
  1966. basicgui5.BackgroundTransparency = 0.5
  1967. basicgui5.BorderSizePixel = 0.65
  1968. basicgui5.TextScaled = true
  1969. basicgui5.Text = "(Z)\n???"
  1970. basicgui5.TextSize = 24
  1971. local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really blue").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  1972. basicgui6.ZIndex = 2
  1973. basicgui6.Font = "Highway"
  1974. basicgui6.BackgroundTransparency = 0.5
  1975. basicgui6.BorderSizePixel = 0.65
  1976. basicgui6.TextScaled = true
  1977. basicgui6.Text = "(X)\nInferno Hell"
  1978. basicgui6.TextSize = 24
  1979.  
  1980. local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
  1981. healthg.ZIndex = 2
  1982. healthg.Font = "Highway"
  1983. healthg.BackgroundTransparency = 0.5
  1984. healthg.BorderSizePixel = 0.65
  1985. healthg.TextScaled = true
  1986. healthg.Text = "health"
  1987. healthg.TextSize = 24
  1988.  
  1989. char.Humanoid.Animator.Parent = nil
  1990.  
  1991. ---------------- set a position
  1992. local handle = Instance.new("Part")
  1993. handle.Parent = Character
  1994. handle.Size = Vector3.new(0.2,0.2,0.2)
  1995. handle.Archivable = true
  1996. handle.Transparency = 1
  1997. handle.CanCollide = false
  1998. handle.BrickColor = BrickColor.new("White")
  1999. handle.Material = "Neon"
  2000. local handlmesh = Instance.new("BlockMesh",handle)
  2001. handlmesh.Scale = Vector3.new(1,1,1)
  2002. local handleweld = Instance.new("Weld")
  2003. handleweld.Parent = handle
  2004. handleweld.Part0 = rarm
  2005. handleweld.Part1 = handle
  2006. handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2007. handleweld.Part0 = rarm
  2008.  
  2009. ---- yeee boi here comes entrance of inferno
  2010.  
  2011. hum.WalkSpeed = 0
  2012.  
  2013. local dd = Instance.new("ParticleEmitter",handle)
  2014. dd.Texture = "http://www.roblox.com/asset/?id=745304849"
  2015. dd.LightEmission = 1
  2016. dd.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2017. dd.Rate = 50
  2018. dd.Lifetime = NumberRange.new(0.5)
  2019. dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  2020. dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  2021. dd.Speed = NumberRange.new(0)
  2022. dd.Rotation = NumberRange.new(-500,500)
  2023. dd.VelocitySpread = 90000
  2024. dd.LockedToPart = true
  2025. dd.RotSpeed = NumberRange.new(-500,500)
  2026. local bon = Instance.new("ParticleEmitter",handle)
  2027. bon.Texture = "rbxassetid://296874871"
  2028. bon.LightEmission = 0.75
  2029. bon.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2030. bon.Rate = 0
  2031. bon.Lifetime = NumberRange.new(2.5)
  2032. bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2033. bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2034. bon.Speed = NumberRange.new(15)
  2035. bon.Rotation = NumberRange.new(-500,500)
  2036. bon.VelocitySpread = 90000
  2037. bon.RotSpeed = NumberRange.new(-500,500)
  2038. local bon2 = Instance.new("ParticleEmitter",handle)
  2039. bon2.Texture = "rbxassetid://296874871"
  2040. bon2.LightEmission = 0.75
  2041. bon2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2042. bon2.Rate = 0
  2043. bon2.Lifetime = NumberRange.new(2.5)
  2044. bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
  2045. bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2046. bon2.Speed = NumberRange.new(25)
  2047. bon2.Rotation = NumberRange.new(-500,500)
  2048. bon2.VelocitySpread = 90000
  2049. bon2.RotSpeed = NumberRange.new(-500,500)
  2050. for i = 0,8,0.1 do
  2051. swait()
  2052. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2053. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2054. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3)
  2055. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3)
  2056. end
  2057. dd.Rate = 0
  2058. bon.Rate = 99999
  2059. bon2.Rate = 99999
  2060.  
  2061. local tran = Instance.new("ParticleEmitter",handle)
  2062. tran.Texture = "rbxassetid://296874871"
  2063. tran.LightEmission = 0.75
  2064. tran.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2065. tran.Rate = 99999
  2066. tran.Lifetime = NumberRange.new(0.25)
  2067. tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2068. tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  2069. tran.Speed = NumberRange.new(0)
  2070. tran.Rotation = NumberRange.new(-500,500)
  2071. tran.VelocitySpread = 90000
  2072. tran.LockedToPart = true
  2073. tran.RotSpeed = NumberRange.new(-500,500)
  2074. local tran2 = Instance.new("ParticleEmitter",handle)
  2075. tran2.Texture = "http://www.roblox.com/asset/?id=745304849"
  2076. tran2.LightEmission = 1
  2077. tran2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2078. tran2.Rate = 50
  2079. tran2.Lifetime = NumberRange.new(0.5)
  2080. tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2081. tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  2082. tran2.Speed = NumberRange.new(0)
  2083. tran2.Rotation = NumberRange.new(-500,500)
  2084. tran2.VelocitySpread = 90000
  2085. tran2.LockedToPart = true
  2086. tran2.RotSpeed = NumberRange.new(-500,500)
  2087. wait(0.5)
  2088. bon.Rate = 0
  2089. bon2.Rate = 0
  2090. wait(3.25)
  2091. bon:Destroy()
  2092. bon:Destroy()
  2093. dd:Destroy()
  2094. hum.WalkSpeed = 16
  2095. -----------
  2096.  
  2097. function InfernoComet()
  2098. attack = true
  2099. chatfunc("Inferno Comet!!")
  2100. handleweld.Part0 = rarm
  2101. local tra = Instance.new("ParticleEmitter",handle)
  2102. tra.Texture = "rbxassetid://296874871"
  2103. tra.LightEmission = 0.75
  2104. tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2105. tra.Rate = 99999
  2106. tra.Lifetime = NumberRange.new(0.25)
  2107. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2108. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  2109. tra.Speed = NumberRange.new(0)
  2110. tra.Rotation = NumberRange.new(-500,500)
  2111. tra.VelocitySpread = 90000
  2112. tra.LockedToPart = true
  2113. tra.RotSpeed = NumberRange.new(-500,500)
  2114. local tra2 = Instance.new("ParticleEmitter",handle)
  2115. tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
  2116. tra2.LightEmission = 1
  2117. tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2118. tra2.Rate = 50
  2119. tra2.Lifetime = NumberRange.new(0.5)
  2120. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2121. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  2122. tra2.Speed = NumberRange.new(0)
  2123. tra2.Rotation = NumberRange.new(-500,500)
  2124. tra2.VelocitySpread = 90000
  2125. tra2.LockedToPart = true
  2126. tra2.RotSpeed = NumberRange.new(-500,500)
  2127. for i = 0,4,0.1 do
  2128. swait()
  2129. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2131. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  2132. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  2133. end
  2134. local sa = Instance.new("Sound",handle)
  2135. sa.SoundId = "rbxassetid://304448425"
  2136. sa.Volume = 1
  2137. sa.Pitch = 1
  2138. sa:Play()
  2139. tra.Rate = 0
  2140. tra2.Rate = 0
  2141. local lb = Instance.new("Part")
  2142. lb.Parent = char
  2143. lb.Material = "Neon"
  2144. lb.Color = BrickColor.new("Bright blue").Color
  2145. lb.CanCollide = false
  2146. lb.Shape = "Ball"
  2147. lb.CFrame = handle.CFrame
  2148. lb.Anchored = true
  2149. lb.Transparency = 1
  2150. lb.Size = vt(1,1,1)
  2151. local thing = Instance.new("SpecialMesh",lb)
  2152. thing.MeshType = meshtype
  2153. local hitted = false
  2154. lb.Anchored = false
  2155. local trail = Instance.new("ParticleEmitter",lb)
  2156. trail.Texture = "rbxassetid://296874871"
  2157. trail.LightEmission = 1
  2158. trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2159. trail.Rate = 9999
  2160. trail.Lifetime = NumberRange.new(1.5)
  2161. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  2162. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2163. trail.Speed = NumberRange.new(0,0)
  2164. trail.Rotation = NumberRange.new(-500,500)
  2165. trail.RotSpeed = NumberRange.new(-500,500)
  2166. local bv = Instance.new("BodyVelocity")
  2167. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2168. bv.velocity = mouse.Hit.lookVector *75
  2169. bv.Parent = lb
  2170. wait(0.05)
  2171. lb.Touched:connect(function(hit)
  2172. if hitted == false then
  2173. hitted = true
  2174. trail.Rate = 0
  2175. lb.Anchored = true
  2176. local aa = Instance.new("Part")
  2177. local val = 1*3.5
  2178. aa.Parent = lb
  2179. local exsound = Instance.new("Sound",aa)
  2180. exsound.SoundId = "rbxassetid://402347142"
  2181. exsound.Volume = 3.5
  2182. exsound.Pitch = 1
  2183. exsound:Play()
  2184. aa.Material = "Neon"
  2185. aa.Color = BrickColor.new("Bright blue").Color
  2186. aa.CanCollide = false
  2187. aa.Shape = "Ball"
  2188. aa.CFrame = lb.CFrame
  2189. aa.Anchored = true
  2190. aa.Transparency = 0
  2191. aa.Size = vt(1,1,1)
  2192. local thinger = Instance.new("SpecialMesh",aa)
  2193. thinger.MeshType = meshtype
  2194. thinger.Scale = vt(15,15,15)
  2195. local explosion = Instance.new("Explosion",aa)
  2196. explosion.Position = aa.Position
  2197. explosion.BlastRadius = 22.5
  2198. explosion.BlastPressure = 100
  2199. local exp = Instance.new("ParticleEmitter",aa)
  2200. exp.Texture = "rbxassetid://296874871"
  2201. exp.LightEmission = 1
  2202. exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2203. exp.Rate = 9000000000
  2204. exp.Lifetime = NumberRange.new(1)
  2205. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  2206. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2207. exp.Speed = NumberRange.new(100)
  2208. exp.VelocitySpread = 9000000
  2209. exp.Rotation = NumberRange.new(-500,500)
  2210. exp.RotSpeed = NumberRange.new(-500,500)
  2211. local expa = Instance.new("ParticleEmitter",aa)
  2212. expa.Texture = "rbxassetid://296874871"
  2213. expa.LightEmission = 1
  2214. expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2215. expa.Rate = 9000000000
  2216. expa.Lifetime = NumberRange.new(2.75)
  2217. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  2218. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2219. expa.Speed = NumberRange.new(100)
  2220. expa.VelocitySpread = 9000000
  2221. expa.Rotation = NumberRange.new(-500,500)
  2222. expa.RotSpeed = NumberRange.new(-500,500)
  2223. local exp2 = exp:Clone()
  2224. exp2.Parent = aa
  2225. local exp3 = exp:Clone()
  2226. exp3.Parent = aa
  2227. local exp4 = exp:Clone()
  2228. exp4.Parent = aa
  2229. local exp5 = exp:Clone()
  2230. exp5.Parent = aa
  2231. local exp6 = exp:Clone()
  2232. exp6.Parent = aa
  2233. local exp7 = exp:Clone()
  2234. exp7.Parent = aa
  2235. local expa2 = expa:Clone()
  2236. expa2.Parent = aa
  2237. local expa3 = expa:Clone()
  2238. expa3.Parent = aa
  2239. local expa4 = expa:Clone()
  2240. expa4.Parent = aa
  2241. local expa5 = expa:Clone()
  2242. expa5.Parent = aa
  2243. local expa6 = expa:Clone()
  2244. expa6.Parent = aa
  2245. local expa7 = expa:Clone()
  2246. expa7.Parent = aa
  2247. for i = 0, 1 do
  2248. val = val - 0.025*3.5
  2249. thinger.Scale = thinger.Scale + vt(val,val,val)
  2250. wait()
  2251. end
  2252. exp.Rate = 0
  2253. exp2.Rate = 0
  2254. exp3.Rate = 0
  2255. exp4.Rate = 0
  2256. exp5.Rate = 0
  2257. exp6.Rate = 0
  2258. exp7.Rate = 0
  2259. for i = 0, 1 do
  2260. val = val - 0.025*3.5
  2261. thinger.Scale = thinger.Scale + vt(val,val,val)
  2262. wait()
  2263. end
  2264. expa.Rate = 0
  2265. expa2.Rate = 0
  2266. expa3.Rate = 0
  2267. expa4.Rate = 0
  2268. expa5.Rate = 0
  2269. expa6.Rate = 0
  2270. expa7.Rate = 0
  2271. for i = 0, 21 do
  2272. val = val - 0.025*3.5
  2273. thinger.Scale = thinger.Scale + vt(val,val,val)
  2274. wait()
  2275. end
  2276. for i = 0, 74 do
  2277. val = val - 0.0145
  2278. aa.Transparency = aa.Transparency + 0.0145
  2279. thinger.Scale = thinger.Scale + vt(val,val,val)
  2280. wait()
  2281. end
  2282. end
  2283. end)
  2284. attack = false
  2285. wait(30)
  2286. sa:Destroy()
  2287. tra:Destroy()
  2288. tra2:Destroy()
  2289. lb:Destroy()
  2290. end
  2291.  
  2292. function InfernoHell()
  2293. attack = true
  2294. chatfunc("INFERNO...")
  2295. handleweld.Part0 = rarm
  2296. local aura = Instance.new("ParticleEmitter",tors)
  2297. aura.Texture = "rbxassetid://305563617"
  2298. aura.LightEmission = 1
  2299. aura.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2300. aura.Rate = 25
  2301. aura.Lifetime = NumberRange.new(0.75)
  2302. aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
  2303. aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2304. aura.Speed = NumberRange.new(15)
  2305. aura.VelocitySpread = 50
  2306. local aura2 = Instance.new("ParticleEmitter",tors)
  2307. aura2.Texture = "rbxassetid://296874871"
  2308. aura2.LightEmission = 1
  2309. aura2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2310. aura2.Rate = 99999
  2311. aura2.Lifetime = NumberRange.new(1.5)
  2312. aura2.Acceleration = vt(0,45,0)
  2313. aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  2314. aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2315. aura2.Speed = NumberRange.new(-25)
  2316. aura2.Rotation = NumberRange.new(-500,500)
  2317. aura2.VelocitySpread = 45
  2318. aura2.RotSpeed = NumberRange.new(-500,500)
  2319. local auran = Instance.new("ParticleEmitter",tors)
  2320. auran.Texture = "rbxassetid://296874871"
  2321. auran.LightEmission = 1
  2322. auran.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2323. auran.Rate = 0
  2324. auran.Lifetime = NumberRange.new(5)
  2325. auran.Acceleration = vt(0,-45,0)
  2326. auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2327. auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2328. auran.Speed = NumberRange.new(65)
  2329. auran.Rotation = NumberRange.new(-500,500)
  2330. auran.VelocitySpread = 100
  2331. auran.RotSpeed = NumberRange.new(-500,500)
  2332. local sa = Instance.new("Sound",handle)
  2333. sa.SoundId = "rbxassetid://431105970"
  2334. sa.Volume = 5
  2335. sa.Pitch = 1
  2336. sa:Play()
  2337. for i = 0,2,0.1 do
  2338. swait()
  2339. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2340. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2341. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3)
  2342. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  2343. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  2344. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2345. end
  2346. for i = 0, 5 do
  2347. auran.Rate = 99999
  2348. local lb = Instance.new("Part")
  2349. lb.Parent = char
  2350. lb.Material = "Neon"
  2351. lb.Color = BrickColor.new("Bright blue").Color
  2352. lb.CanCollide = false
  2353. lb.Size = vt(1,1,1)
  2354. lb.CFrame = tors.CFrame
  2355. lb.Rotation = vt(0,0,0)
  2356. lb.Anchored = true
  2357. lb.Transparency = 0
  2358. local thing = Instance.new("SpecialMesh",lb)
  2359. thing.MeshType = "FileMesh"
  2360. thing.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2361. thing.Scale = vt(0,15,0)
  2362. local chancerot = math.random(1,2)
  2363. for z = 0, 4 do
  2364. if chancerot == 1 then
  2365. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  2366. elseif chancerot == 2 then
  2367. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  2368. end
  2369. lb.Transparency = lb.Transparency + 0.1
  2370. thing.Scale = thing.Scale + vt(15,0,15)
  2371. wait()
  2372. end
  2373. auran.Rate = 0
  2374. for z = 0, 4 do
  2375. if chancerot == 1 then
  2376. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  2377. elseif chancerot == 2 then
  2378. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  2379. end
  2380. lb.Transparency = lb.Transparency + 0.1
  2381. thing.Scale = thing.Scale + vt(15,0,15)
  2382. wait()
  2383. end
  2384. lb:Destroy()
  2385. end
  2386. chatfunc("HELL!!!")
  2387. local sa = Instance.new("Sound",handle)
  2388. sa.SoundId = "rbxassetid://416328540"
  2389. sa.Volume = 10
  2390. sa.Pitch = 0.75
  2391. sa:Play()
  2392.  
  2393. local sbs = Instance.new("BodyPosition", root)
  2394. sbs.P = 3000
  2395. sbs.D = 1000
  2396. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  2397. sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0)
  2398. for i = 0,24,0.1 do
  2399. swait()
  2400. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2401. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2402. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  2403. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  2404. end
  2405. local shur = Instance.new("Part",char)
  2406. local gahde = Instance.new("Sound",char)
  2407. gahde.SoundId = "rbxassetid://402981977"
  2408. gahde.Volume = 5
  2409. gahde.Pitch = 0.6
  2410. gahde:Play()
  2411. shur.Transparency = 1
  2412. shur.Material = "Neon"
  2413. shur.BrickColor = bc("Bright red")
  2414. shur.Anchored = true
  2415. shur.CFrame = tors.CFrame + vt(0,10,0)
  2416. shur.Size = vt(1,0.2,1)
  2417. shur.CanCollide = false
  2418. local dec = Instance.new("Decal",shur)
  2419. dec.Texture = "http://www.roblox.com/asset/?id=840391577"
  2420. dec.Face = "Top"
  2421. local dec2 = dec:Clone()
  2422. dec2.Parent = shur
  2423. dec2.Face = "Bottom"
  2424. local Meshshur = Instance.new("CylinderMesh",shur)
  2425. Meshshur.Scale = vt(0,1,0)
  2426. for i = 0, 39 do
  2427. wait()
  2428. Meshshur.Scale = Meshshur.Scale + vt(15,0,15)
  2429. end
  2430. local sa = Instance.new("Sound",char)
  2431. sa.SoundId = "rbxassetid://428027602"
  2432. sa.Volume = 2.5
  2433. sa.Pitch = 0.5
  2434. sa:Play()
  2435. local lb = Instance.new("Part")
  2436. lb.Parent = char
  2437. lb.Material = "Neon"
  2438. lb.Color = BrickColor.new("Bright blue").Color
  2439. lb.CanCollide = false
  2440. lb.Shape = "Ball"
  2441. lb.CFrame = handle.CFrame
  2442. lb.Anchored = true
  2443. lb.Transparency = 0
  2444. lb.Size = vt(1,1,1)
  2445. lb.CFrame = handle.CFrame
  2446. local thing = Instance.new("SpecialMesh",lb)
  2447. thing.MeshType = meshtype
  2448. thing.Scale = vt(0,0,0)
  2449. for i = 0, 89 do
  2450. thing.Scale = thing.Scale + vt(2.5,2.5,2.5)
  2451. lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0)
  2452. wait()
  2453. end
  2454. wait(1)
  2455. for i = 0, 39 do
  2456. wait()
  2457. Meshshur.Scale = Meshshur.Scale - vt(15,0,15)
  2458. end
  2459. local sa = Instance.new("Sound",char)
  2460. sa.SoundId = "rbxassetid://565538688"
  2461. sa.Volume = 1
  2462. sa.Pitch = 0.95
  2463. sa:Play()
  2464. wait(0.5)
  2465. shur:Destroy()
  2466. sbs:Destroy()
  2467. local sa = Instance.new("Sound",char)
  2468. sa.SoundId = "rbxassetid://416328540"
  2469. sa.Volume = 1.5
  2470. sa.Pitch = 0.5
  2471. sa:Play()
  2472. local sa = Instance.new("Sound",char)
  2473. sa.SoundId = "rbxassetid://466493476"
  2474. sa.Volume = 1.5
  2475. sa.Pitch = 0.5
  2476. sa:Play()
  2477. aura.Rate = 0
  2478. aura2.Rate = 0
  2479. local hitted = false
  2480. lb.Anchored = false
  2481. local trail = Instance.new("ParticleEmitter",lb)
  2482. trail.Texture = "rbxassetid://296874871"
  2483. trail.LightEmission = 1
  2484. trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2485. trail.Rate = 9999
  2486. trail.Lifetime = NumberRange.new(2.5)
  2487. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
  2488. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2489. trail.Speed = NumberRange.new(100)
  2490. trail.VelocitySpread = 9000000
  2491. trail.Rotation = NumberRange.new(-500,500)
  2492. trail.RotSpeed = NumberRange.new(-500,500)
  2493. local bv = Instance.new("BodyVelocity")
  2494. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2495. bv.velocity = mouse.Hit.lookVector *75
  2496. bv.Parent = lb
  2497. wait(0.05)
  2498. lb.Touched:connect(function(hit)
  2499. if hitted == false then
  2500. hitted = true
  2501. trail.Rate = 0
  2502. lb.Anchored = true
  2503. local aa = Instance.new("Part")
  2504. for i = 0, 9 do
  2505. lb.Transparency = lb.Transparency + 0.1
  2506. local val = 1*3.5
  2507. aa.Parent = lb
  2508. local exsound = Instance.new("Sound",aa)
  2509. exsound.SoundId = "rbxassetid://412831137"
  2510. exsound.Volume = 10
  2511. exsound.Pitch = 0.5
  2512. exsound:Play()
  2513. local exsound = Instance.new("Sound",aa)
  2514. exsound.SoundId = "rbxassetid://439342426"
  2515. exsound.Volume = 10
  2516. exsound.Pitch = 0.75
  2517. exsound:Play()
  2518. local exsound = Instance.new("Sound",aa)
  2519. exsound.SoundId = "rbxassetid://439342426"
  2520. exsound.Volume = 10
  2521. exsound.Pitch = 0.5
  2522. exsound:Play()
  2523. local exsound = Instance.new("Sound",aa)
  2524. exsound.SoundId = "rbxassetid://439342426"
  2525. exsound.Volume = 10
  2526. exsound.Pitch = 0.35
  2527. exsound:Play()
  2528. local exsound = Instance.new("Sound",aa)
  2529. exsound.SoundId = "rbxassetid://439342426"
  2530. exsound.Volume = 10
  2531. exsound.Pitch = 0.25
  2532. exsound:Play()
  2533. local exsound = Instance.new("Sound",aa)
  2534. exsound.SoundId = "rbxassetid://439342426"
  2535. exsound.Volume = 10
  2536. exsound.Pitch = 0.2
  2537. exsound:Play()
  2538. aa.Material = "Neon"
  2539. aa.Color = BrickColor.new("Bright blue").Color
  2540. aa.CanCollide = false
  2541. aa.Shape = "Ball"
  2542. aa.CFrame = lb.CFrame
  2543. aa.Anchored = true
  2544. aa.Transparency = 0
  2545. aa.Size = vt(1,1,1)
  2546. local thinger = Instance.new("SpecialMesh",aa)
  2547. thinger.MeshType = meshtype
  2548. thinger.Scale = vt(225,225,225)
  2549. local explosion = Instance.new("Explosion",aa)
  2550. explosion.Position = aa.Position
  2551. explosion.BlastRadius = 500
  2552. explosion.BlastPressure = 100
  2553. local exp = Instance.new("ParticleEmitter",aa)
  2554. exp.Texture = "rbxassetid://296874871"
  2555. exp.LightEmission = 1
  2556. exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2557. exp.Rate = 9000000000
  2558. exp.Lifetime = NumberRange.new(1)
  2559. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
  2560. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2561. exp.Speed = NumberRange.new(100)
  2562. exp.VelocitySpread = 9000000
  2563. exp.Rotation = NumberRange.new(-500,500)
  2564. exp.RotSpeed = NumberRange.new(-500,500)
  2565. local expa = Instance.new("ParticleEmitter",aa)
  2566. expa.Texture = "rbxassetid://296874871"
  2567. expa.LightEmission = 1
  2568. expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2569. expa.Rate = 9000000000
  2570. expa.Lifetime = NumberRange.new(2.75)
  2571. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
  2572. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2573. expa.Speed = NumberRange.new(100)
  2574. expa.VelocitySpread = 9000000
  2575. expa.Rotation = NumberRange.new(-500,500)
  2576. expa.RotSpeed = NumberRange.new(-500,500)
  2577. local exp2 = exp:Clone()
  2578. exp2.Parent = aa
  2579. local exp3 = exp:Clone()
  2580. exp3.Parent = aa
  2581. local exp4 = exp:Clone()
  2582. exp4.Parent = aa
  2583. local exp5 = exp:Clone()
  2584. exp5.Parent = aa
  2585. local exp6 = exp:Clone()
  2586. exp6.Parent = aa
  2587. local exp7 = exp:Clone()
  2588. exp7.Parent = aa
  2589. local expa2 = expa:Clone()
  2590. expa2.Parent = aa
  2591. local expa3 = expa:Clone()
  2592. expa3.Parent = aa
  2593. local expa4 = expa:Clone()
  2594. expa4.Parent = aa
  2595. local expa5 = expa:Clone()
  2596. expa5.Parent = aa
  2597. local expa6 = expa:Clone()
  2598. expa6.Parent = aa
  2599. local expa7 = expa:Clone()
  2600. expa7.Parent = aa
  2601. for i = 0, 1 do
  2602. val = val - 0.025*3.5
  2603. thinger.Scale = thinger.Scale + vt(val,val,val)
  2604. wait()
  2605. end
  2606. exp.Rate = 0
  2607. exp2.Rate = 0
  2608. exp3.Rate = 0
  2609. exp4.Rate = 0
  2610. exp5.Rate = 0
  2611. exp6.Rate = 0
  2612. exp7.Rate = 0
  2613. for i = 0, 1 do
  2614. val = val - 0.025*3.5
  2615. thinger.Scale = thinger.Scale + vt(val,val,val)
  2616. wait()
  2617. end
  2618. expa.Rate = 0
  2619. expa2.Rate = 0
  2620. expa3.Rate = 0
  2621. expa4.Rate = 0
  2622. expa5.Rate = 0
  2623. expa6.Rate = 0
  2624. expa7.Rate = 0
  2625. for i = 0, 21 do
  2626. val = val - 0.025*3.5
  2627. thinger.Scale = thinger.Scale + vt(val,val,val)
  2628. wait()
  2629. end
  2630. for i = 0, 4 do
  2631. val = val - 0.05
  2632. aa.Transparency = aa.Transparency + 0.065*4.5
  2633. thinger.Scale = thinger.Scale + vt(val,val,val)
  2634. wait()
  2635. end
  2636. end
  2637. end
  2638. end)
  2639. for i = 0,2,0.1 do
  2640. swait()
  2641. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2642. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3)
  2643. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  2644. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  2645. end
  2646. attack = false
  2647. wait(60)
  2648. sa:Destroy()
  2649. sa:Destroy()
  2650. sa:Destroy()
  2651. sa:Destroy()
  2652. sa:Destroy()
  2653. aura:Destroy()
  2654. aura2:Destroy()
  2655. lb:Destroy()
  2656. end
  2657.  
  2658.  
  2659. function InfernoMeteor()
  2660. attack = true
  2661. chatfunc("Inferno...")
  2662. handleweld.Part0 = rarm
  2663. local tra = Instance.new("ParticleEmitter",handle)
  2664. tra.Texture = "rbxassetid://296874871"
  2665. tra.LightEmission = 0.75
  2666. tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2667. tra.Rate = 99999
  2668. tra.Lifetime = NumberRange.new(0.25)
  2669. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2670. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  2671. tra.Speed = NumberRange.new(0)
  2672. tra.Rotation = NumberRange.new(-500,500)
  2673. tra.VelocitySpread = 90000
  2674. tra.LockedToPart = true
  2675. tra.RotSpeed = NumberRange.new(-500,500)
  2676. local tra2 = Instance.new("ParticleEmitter",handle)
  2677. tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
  2678. tra2.LightEmission = 1
  2679. tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2680. tra2.Rate = 50
  2681. tra2.Lifetime = NumberRange.new(0.5)
  2682. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  2683. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  2684. tra2.Speed = NumberRange.new(0)
  2685. tra2.Rotation = NumberRange.new(-500,500)
  2686. tra2.VelocitySpread = 90000
  2687. tra2.LockedToPart = true
  2688. tra2.RotSpeed = NumberRange.new(-500,500)
  2689. local sa = Instance.new("Sound",handle)
  2690. sa.SoundId = "rbxassetid://565538688"
  2691. sa.Volume = 1.5
  2692. sa.Pitch = 0.975
  2693. sa:Play()
  2694. for i = 0,4,0.1 do
  2695. swait()
  2696. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2697. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  2698. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  2699. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  2700. end
  2701. chatfunc("Meteor!!")
  2702. local sa = Instance.new("Sound",handle)
  2703. sa.SoundId = "rbxassetid://304529688"
  2704. sa.Volume = 1.5
  2705. sa.Pitch = 0.85
  2706. sa:Play()
  2707. tra.Rate = 0
  2708. tra2.Rate = 0
  2709. local lb = Instance.new("Part")
  2710. lb.Parent = char
  2711. lb.Material = "Neon"
  2712. lb.Color = BrickColor.new("Bright blue").Color
  2713. lb.CanCollide = false
  2714. lb.Shape = "Ball"
  2715. lb.CFrame = handle.CFrame
  2716. lb.Anchored = true
  2717. lb.Transparency = 1
  2718. lb.Size = vt(1,1,1)
  2719. local thing = Instance.new("SpecialMesh",lb)
  2720. thing.MeshType = meshtype
  2721. local hitted = false
  2722. lb.Anchored = false
  2723. local trail = Instance.new("ParticleEmitter",lb)
  2724. trail.Texture = "rbxassetid://296874871"
  2725. trail.LightEmission = 1
  2726. trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2727. trail.Rate = 9999
  2728. trail.Lifetime = NumberRange.new(1.5)
  2729. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2730. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2731. trail.Speed = NumberRange.new(0,0)
  2732. trail.Rotation = NumberRange.new(-500,500)
  2733. trail.RotSpeed = NumberRange.new(-500,500)
  2734. local bv = Instance.new("BodyVelocity")
  2735. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2736. bv.velocity = mouse.Hit.lookVector *95
  2737. bv.Parent = lb
  2738. wait(0.05)
  2739. lb.Touched:connect(function(hit)
  2740. if hitted == false then
  2741. hitted = true
  2742. trail.Rate = 0
  2743. lb.Anchored = true
  2744. local aa = Instance.new("Part")
  2745. local val = 1*8
  2746. aa.Parent = lb
  2747. local exsound = Instance.new("Sound",aa)
  2748. exsound.SoundId = "rbxassetid://402347142"
  2749. exsound.Volume = 10
  2750. exsound.Pitch = 0.945
  2751. exsound:Play()
  2752. aa.Material = "Neon"
  2753. aa.Color = BrickColor.new("Bright blue").Color
  2754. aa.CanCollide = false
  2755. aa.Shape = "Ball"
  2756. aa.CFrame = lb.CFrame
  2757. aa.Anchored = true
  2758. aa.Transparency = 0
  2759. aa.Size = vt(1,1,1)
  2760. local thinger = Instance.new("SpecialMesh",aa)
  2761. thinger.MeshType = meshtype
  2762. thinger.Scale = vt(15,15,15)
  2763. local explosion = Instance.new("Explosion",aa)
  2764. explosion.Position = aa.Position
  2765. explosion.BlastRadius = 65
  2766. explosion.BlastPressure = 100
  2767. local exp = Instance.new("ParticleEmitter",aa)
  2768. exp.Texture = "rbxassetid://296874871"
  2769. exp.LightEmission = 1
  2770. exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2771. exp.Rate = 9000000000
  2772. exp.Lifetime = NumberRange.new(1)
  2773. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
  2774. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2775. exp.Speed = NumberRange.new(200)
  2776. exp.VelocitySpread = 9000000
  2777. exp.Rotation = NumberRange.new(-500,500)
  2778. exp.RotSpeed = NumberRange.new(-500,500)
  2779. local expa = Instance.new("ParticleEmitter",aa)
  2780. expa.Texture = "rbxassetid://296874871"
  2781. expa.LightEmission = 1
  2782. expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2783. expa.Rate = 9000000000
  2784. expa.Lifetime = NumberRange.new(2.75)
  2785. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
  2786. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2787. expa.Speed = NumberRange.new(200)
  2788. expa.VelocitySpread = 9000000
  2789. expa.Rotation = NumberRange.new(-500,500)
  2790. expa.RotSpeed = NumberRange.new(-500,500)
  2791. local exp2 = exp:Clone()
  2792. exp2.Parent = aa
  2793. local exp3 = exp:Clone()
  2794. exp3.Parent = aa
  2795. local exp4 = exp:Clone()
  2796. exp4.Parent = aa
  2797. local exp5 = exp:Clone()
  2798. exp5.Parent = aa
  2799. local exp6 = exp:Clone()
  2800. exp6.Parent = aa
  2801. local exp7 = exp:Clone()
  2802. exp7.Parent = aa
  2803. local expa2 = expa:Clone()
  2804. expa2.Parent = aa
  2805. local expa3 = expa:Clone()
  2806. expa3.Parent = aa
  2807. local expa4 = expa:Clone()
  2808. expa4.Parent = aa
  2809. local expa5 = expa:Clone()
  2810. expa5.Parent = aa
  2811. local expa6 = expa:Clone()
  2812. expa6.Parent = aa
  2813. local expa7 = expa:Clone()
  2814. expa7.Parent = aa
  2815. for i = 0, 1 do
  2816. val = val - 0.025*8
  2817. thinger.Scale = thinger.Scale + vt(val,val,val)
  2818. wait()
  2819. end
  2820. exp.Rate = 0
  2821. exp2.Rate = 0
  2822. exp3.Rate = 0
  2823. exp4.Rate = 0
  2824. exp5.Rate = 0
  2825. exp6.Rate = 0
  2826. exp7.Rate = 0
  2827. for i = 0, 1 do
  2828. val = val - 0.025*8
  2829. thinger.Scale = thinger.Scale + vt(val,val,val)
  2830. wait()
  2831. end
  2832. expa.Rate = 0
  2833. expa2.Rate = 0
  2834. expa3.Rate = 0
  2835. expa4.Rate = 0
  2836. expa5.Rate = 0
  2837. expa6.Rate = 0
  2838. expa7.Rate = 0
  2839. for i = 0, 21 do
  2840. val = val - 0.025*8
  2841. thinger.Scale = thinger.Scale + vt(val,val,val)
  2842. wait()
  2843. end
  2844. for i = 0, 74 do
  2845. val = val - 0.0145
  2846. aa.Transparency = aa.Transparency + 0.0145
  2847. thinger.Scale = thinger.Scale + vt(val,val,val)
  2848. wait()
  2849. end
  2850. end
  2851. end)
  2852. attack = false
  2853. wait(30)
  2854. sa:Destroy()
  2855. tra:Destroy()
  2856. tra2:Destroy()
  2857. lb:Destroy()
  2858. end
  2859.  
  2860.  
  2861. function InfernoWrath()
  2862. attack = true
  2863. chatfunc("Inferno Wrath!!")
  2864. for i = 0,4,0.1 do
  2865. swait()
  2866. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2867. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2868. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2869. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2870. end
  2871. local ff = Instance.new("ForceField",char)
  2872. hum.WalkSpeed = 0
  2873. local lb = Instance.new("Part")
  2874. lb.Parent = char
  2875. lb.Material = "Neon"
  2876. lb.Color = BrickColor.new("Bright blue").Color
  2877. lb.CanCollide = false
  2878. lb.Shape = "Ball"
  2879. lb.CFrame = torso.CFrame
  2880. lb.Anchored = true
  2881. lb.Transparency = 1
  2882. lb.Size = vt(1,1,1)
  2883. local thing = Instance.new("SpecialMesh",lb)
  2884. thing.MeshType = meshtype
  2885. for i = 0, 4 do
  2886. local lbr = Instance.new("Part")
  2887. lbr.Parent = char
  2888. lbr.Material = "Neon"
  2889. lbr.Color = BrickColor.new("Bright blue").Color
  2890. lbr.CanCollide = false
  2891. lbr.Shape = "Ball"
  2892. lbr.CFrame = lb.CFrame
  2893. lbr.Anchored = true
  2894. lbr.Transparency = 1
  2895. lbr.Size = vt(1,1,1)
  2896. local thinga = Instance.new("SpecialMesh",lbr)
  2897. thinga.MeshType = meshtype
  2898. thinga.Scale = vt(20*6,20*6,20*6)
  2899. for z = 0, 19 do
  2900. wait(0.025)
  2901. lbr.Transparency = lbr.Transparency - 0.05
  2902. thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6)
  2903. end
  2904. lbr:Destroy()
  2905. end
  2906. local aa = Instance.new("Part")
  2907. local val = 1*7.5
  2908. aa.Parent = lb
  2909. local exsound = Instance.new("Sound",handle)
  2910. exsound.SoundId = "rbxassetid://402347142"
  2911. exsound.Volume = 10
  2912. exsound.Pitch = 1
  2913. exsound:Play()
  2914. aa.Material = "Neon"
  2915. aa.Color = BrickColor.new("Bright blue").Color
  2916. aa.CanCollide = false
  2917. aa.Shape = "Ball"
  2918. aa.CFrame = lb.CFrame
  2919. aa.Anchored = true
  2920. aa.Transparency = 0
  2921. aa.Size = vt(1,1,1)
  2922. local thinger = Instance.new("SpecialMesh",aa)
  2923. thinger.MeshType = meshtype
  2924. thinger.Scale = vt(15*1.5,15*1.5,15*1.5)
  2925. local explosion = Instance.new("Explosion",aa)
  2926. explosion.Position = aa.Position
  2927. explosion.BlastRadius = 50
  2928. explosion.BlastPressure = 100
  2929. local exp = Instance.new("ParticleEmitter",aa)
  2930. exp.Texture = "rbxassetid://296874871"
  2931. exp.LightEmission = 1
  2932. exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2933. exp.Rate = 9000000000
  2934. exp.Lifetime = NumberRange.new(1)
  2935. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  2936. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2937. exp.Speed = NumberRange.new(115)
  2938. exp.VelocitySpread = 9000000
  2939. exp.Rotation = NumberRange.new(-500,500)
  2940. exp.RotSpeed = NumberRange.new(-500,500)
  2941. local expa = Instance.new("ParticleEmitter",aa)
  2942. expa.Texture = "rbxassetid://296874871"
  2943. expa.LightEmission = 1
  2944. expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  2945. expa.Rate = 9000000000
  2946. expa.Lifetime = NumberRange.new(2.75)
  2947. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  2948. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2949. expa.Speed = NumberRange.new(115)
  2950. expa.VelocitySpread = 9000000
  2951. expa.Rotation = NumberRange.new(-500,500)
  2952. expa.RotSpeed = NumberRange.new(-500,500)
  2953. local exp2 = exp:Clone()
  2954. exp2.Parent = aa
  2955. local exp3 = exp:Clone()
  2956. exp3.Parent = aa
  2957. local exp4 = exp:Clone()
  2958. exp4.Parent = aa
  2959. local exp5 = exp:Clone()
  2960. exp5.Parent = aa
  2961. local exp6 = exp:Clone()
  2962. exp6.Parent = aa
  2963. local exp7 = exp:Clone()
  2964. exp7.Parent = aa
  2965. local expa2 = expa:Clone()
  2966. expa2.Parent = aa
  2967. local expa3 = expa:Clone()
  2968. expa3.Parent = aa
  2969. local expa4 = expa:Clone()
  2970. expa4.Parent = aa
  2971. local expa5 = expa:Clone()
  2972. expa5.Parent = aa
  2973. local expa6 = expa:Clone()
  2974. expa6.Parent = aa
  2975. local expa7 = expa:Clone()
  2976. expa7.Parent = aa
  2977. for i = 0, 1 do
  2978. val = val - 0.025*7.5
  2979. thinger.Scale = thinger.Scale + vt(val,val,val)
  2980. wait()
  2981. end
  2982. exp.Rate = 0
  2983. exp2.Rate = 0
  2984. exp3.Rate = 0
  2985. exp4.Rate = 0
  2986. exp5.Rate = 0
  2987. exp6.Rate = 0
  2988. exp7.Rate = 0
  2989. for i = 0, 1 do
  2990. val = val - 0.025*7.5
  2991. thinger.Scale = thinger.Scale + vt(val,val,val)
  2992. wait()
  2993. end
  2994. ff:Destroy()
  2995. hum.WalkSpeed = 16
  2996. attack = false
  2997. expa.Rate = 0
  2998. expa2.Rate = 0
  2999. expa3.Rate = 0
  3000. expa4.Rate = 0
  3001. expa5.Rate = 0
  3002. expa6.Rate = 0
  3003. expa7.Rate = 0
  3004. for i = 0, 21 do
  3005. val = val - 0.025*7.5
  3006. thinger.Scale = thinger.Scale + vt(val,val,val)
  3007. wait()
  3008. end
  3009. for i = 0, 74 do
  3010. val = val - 0.0145
  3011. aa.Transparency = aa.Transparency + 0.0145
  3012. thinger.Scale = thinger.Scale + vt(val,val,val)
  3013. wait()
  3014. end
  3015. wait(5)
  3016. lb:Destroy()
  3017. end
  3018.  
  3019. function InfernoDemise()
  3020. attack = true
  3021. chatfunc("Inferno Demise!!")
  3022. local tra = Instance.new("ParticleEmitter",handle)
  3023. tra.Texture = "rbxassetid://296874871"
  3024. tra.LightEmission = 0.75
  3025. tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  3026. tra.Rate = 99999
  3027. tra.Lifetime = NumberRange.new(0.25)
  3028. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3029. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  3030. tra.Speed = NumberRange.new(0)
  3031. tra.Rotation = NumberRange.new(-500,500)
  3032. tra.VelocitySpread = 90000
  3033. tra.LockedToPart = true
  3034. tra.RotSpeed = NumberRange.new(-500,500)
  3035. local tra2 = Instance.new("ParticleEmitter",handle)
  3036. tra2.Texture = "http://www.roblox.com/asset/?id=745304849"
  3037. tra2.LightEmission = 1
  3038. tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  3039. tra2.Rate = 50
  3040. tra2.Lifetime = NumberRange.new(0.5)
  3041. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  3042. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  3043. tra2.Speed = NumberRange.new(0)
  3044. tra2.Rotation = NumberRange.new(-500,500)
  3045. tra2.VelocitySpread = 90000
  3046. tra2.LockedToPart = true
  3047. tra2.RotSpeed = NumberRange.new(-500,500)
  3048. for i = 0,1,0.1 do
  3049. swait()
  3050. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  3051. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  3052. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  3053. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  3054. end
  3055. tra.Rate = 0
  3056. tra2.Rate = 0
  3057. local lb = Instance.new("Part")
  3058. lb.Parent = char
  3059. lb.Material = "Neon"
  3060. lb.Color = BrickColor.new("Bright blue").Color
  3061. lb.CanCollide = false
  3062. lb.Shape = "Ball"
  3063. lb.CFrame = mouse.Hit
  3064. lb.Anchored = true
  3065. lb.Transparency = 1
  3066. lb.Size = vt(1,1,1)
  3067. local thing = Instance.new("SpecialMesh",lb)
  3068. thing.MeshType = meshtype
  3069. for i = 0, 4 do
  3070. local lbr = Instance.new("Part")
  3071. lbr.Parent = char
  3072. lbr.Material = "Neon"
  3073. lbr.Color = BrickColor.new("Bright blue").Color
  3074. lbr.CanCollide = false
  3075. lbr.Shape = "Ball"
  3076. lbr.CFrame = lb.CFrame
  3077. lbr.Anchored = true
  3078. lbr.Transparency = 1
  3079. lbr.Size = vt(1,1,1)
  3080. local thinga = Instance.new("SpecialMesh",lbr)
  3081. thinga.MeshType = meshtype
  3082. thinga.Scale = vt(20*4.5,20*4.5,20*4.5)
  3083. for z = 0, 19 do
  3084. wait(0.025)
  3085. lbr.Transparency = lbr.Transparency - 0.05
  3086. thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5)
  3087. end
  3088. lbr:Destroy()
  3089. end
  3090. local aa = Instance.new("Part")
  3091. local val = 1*6.25
  3092. aa.Parent = lb
  3093. local exsound = Instance.new("Sound",aa)
  3094. exsound.SoundId = "rbxassetid://402347142"
  3095. exsound.Volume = 4.5
  3096. exsound.Pitch = 1
  3097. exsound:Play()
  3098. aa.Material = "Neon"
  3099. aa.Color = BrickColor.new("Bright blue").Color
  3100. aa.CanCollide = false
  3101. aa.Shape = "Ball"
  3102. aa.CFrame = lb.CFrame
  3103. aa.Anchored = true
  3104. aa.Transparency = 0
  3105. aa.Size = vt(1,1,1)
  3106. local thinger = Instance.new("SpecialMesh",aa)
  3107. thinger.MeshType = meshtype
  3108. thinger.Scale = vt(15*1.15,15*1.15,15*1.15)
  3109. local explosion = Instance.new("Explosion",aa)
  3110. explosion.Position = aa.Position
  3111. explosion.BlastRadius = 35
  3112. explosion.BlastPressure = 100
  3113. local exp = Instance.new("ParticleEmitter",aa)
  3114. exp.Texture = "rbxassetid://296874871"
  3115. exp.LightEmission = 1
  3116. exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  3117. exp.Rate = 9000000000
  3118. exp.Lifetime = NumberRange.new(1)
  3119. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  3120. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3121. exp.Speed = NumberRange.new(105)
  3122. exp.VelocitySpread = 9000000
  3123. exp.Rotation = NumberRange.new(-500,500)
  3124. exp.RotSpeed = NumberRange.new(-500,500)
  3125. local expa = Instance.new("ParticleEmitter",aa)
  3126. expa.Texture = "rbxassetid://296874871"
  3127. expa.LightEmission = 1
  3128. expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255))
  3129. expa.Rate = 9000000000
  3130. expa.Lifetime = NumberRange.new(2.75)
  3131. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  3132. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3133. expa.Speed = NumberRange.new(105)
  3134. expa.VelocitySpread = 9000000
  3135. expa.Rotation = NumberRange.new(-500,500)
  3136. expa.RotSpeed = NumberRange.new(-500,500)
  3137. local exp2 = exp:Clone()
  3138. exp2.Parent = aa
  3139. local exp3 = exp:Clone()
  3140. exp3.Parent = aa
  3141. local exp4 = exp:Clone()
  3142. exp4.Parent = aa
  3143. local exp5 = exp:Clone()
  3144. exp5.Parent = aa
  3145. local exp6 = exp:Clone()
  3146. exp6.Parent = aa
  3147. local exp7 = exp:Clone()
  3148. exp7.Parent = aa
  3149. local expa2 = expa:Clone()
  3150. expa2.Parent = aa
  3151. local expa3 = expa:Clone()
  3152. expa3.Parent = aa
  3153. local expa4 = expa:Clone()
  3154. expa4.Parent = aa
  3155. local expa5 = expa:Clone()
  3156. expa5.Parent = aa
  3157. local expa6 = expa:Clone()
  3158. expa6.Parent = aa
  3159. local expa7 = expa:Clone()
  3160. expa7.Parent = aa
  3161. for i = 0, 1 do
  3162. val = val - 0.025*6.25
  3163. thinger.Scale = thinger.Scale + vt(val,val,val)
  3164. wait()
  3165. end
  3166. exp.Rate = 0
  3167. exp2.Rate = 0
  3168. exp3.Rate = 0
  3169. exp4.Rate = 0
  3170. exp5.Rate = 0
  3171. exp6.Rate = 0
  3172. exp7.Rate = 0
  3173. for i = 0, 1 do
  3174. val = val - 0.025*6.25
  3175. thinger.Scale = thinger.Scale + vt(val,val,val)
  3176. wait()
  3177. end
  3178. attack = false
  3179. expa.Rate = 0
  3180. expa2.Rate = 0
  3181. expa3.Rate = 0
  3182. expa4.Rate = 0
  3183. expa5.Rate = 0
  3184. expa6.Rate = 0
  3185. expa7.Rate = 0
  3186. for i = 0, 21 do
  3187. val = val - 0.025*6.25
  3188. thinger.Scale = thinger.Scale + vt(val,val,val)
  3189. wait()
  3190. end
  3191. for i = 0, 74 do
  3192. val = val - 0.0145
  3193. aa.Transparency = aa.Transparency + 0.0145
  3194. thinger.Scale = thinger.Scale + vt(val,val,val)
  3195. wait()
  3196. end
  3197. wait(5)
  3198. lb:Destroy()
  3199. tra:Destroy()
  3200. tra2:Destroy()
  3201. end
  3202.  
  3203. mouse.KeyDown:connect(function(key)
  3204. if key == "q" and attack == false then
  3205. InfernoComet()
  3206. end
  3207. if key == "e" and attack == false then
  3208. InfernoDemise()
  3209. end
  3210. if key == "r" and attack == false then
  3211. InfernoWrath()
  3212. end
  3213. if key == "f" and attack == false then
  3214. InfernoMeteor()
  3215. end
  3216. if key == "x" and attack == false then
  3217. InfernoHell()
  3218. end
  3219. end)
  3220.  
  3221. game:GetService("RunService").Stepped:connect(function()
  3222. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3223. velocity = RootPart.Velocity.y
  3224. sine = sine + change
  3225. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3226. if equipped == true or equipped == false then
  3227. healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
  3228. if RootPart.Velocity.y > 1 and hit == nil then
  3229. Anim = "Jump"
  3230. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3231. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3232. if attack == false then
  3233. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  3234. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  3235. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
  3236. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  3237. end
  3238. else
  3239. if RootPart.Velocity.y < -1 and hit == nil then
  3240. Anim = "Fall"
  3241. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3242. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3243. if attack == false then
  3244. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3245. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  3246. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  3247. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  3248. end
  3249. else
  3250. if Torsovelocity < 1 and hit ~= nil then
  3251. Anim = "Idle"
  3252. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3)
  3253. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3)
  3254. if attack == false then
  3255. change = 1
  3256. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  3257. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  3258. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3)
  3259. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3)
  3260. end
  3261. else
  3262. if Torsovelocity > 2 and hit ~= nil then
  3263. Anim = "Walk"
  3264. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  3265. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  3266. if attack == false then
  3267. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3)
  3268. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3)
  3269. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3)
  3270. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
  3271. end
  3272. end
  3273. end
  3274. end
  3275. end
  3276. end
  3277. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement