ericdesouza

The legendary user script

Feb 3rd, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.87 KB | None | 0 0
  1. Character = game.Players.LocalPlayer.Character
  2. Head = Character.Head
  3.  
  4. CV="Rainbow"
  5. p = game.Players.LocalPlayer
  6. char = p.Character
  7. local txt = Instance.new("BillboardGui", char)
  8. txt.Adornee = char .Head
  9. txt.Name = "_status"
  10. txt.Size = UDim2.new(2, 0, 1.2, 0)
  11. txt.StudsOffset = Vector3.new(-9, 8, 0)
  12. local text = Instance.new("TextLabel", txt)
  13. text.Size = UDim2.new(10, 0, 7, 0)
  14. text.FontSize = "Size24"
  15. text.TextScaled = true
  16. text.TextTransparency = 0
  17. text.BackgroundTransparency = 1
  18. text.TextTransparency = 0
  19. text.TextStrokeTransparency = 0
  20. text.Font = "Cartoon"
  21. text.TextStrokeColor3 = Color3.new(255,223,0)
  22.  
  23. v=Instance.new("Part")
  24. v.Name = "ColorBrick"
  25. v.Parent=p.Character
  26. v.FormFactor="Symmetric"
  27. v.Anchored=true
  28. v.CanCollide=false
  29. v.BottomSurface="Smooth"
  30. v.TopSurface="Smooth"
  31. v.Size=Vector3.new(10,5,3)
  32. v.Transparency=1
  33. v.CFrame=char.Torso.CFrame
  34. v.BrickColor=BrickColor.new(CV)
  35. v.Transparency=1
  36. text.TextColor3 = Color3.new(255,223,0)
  37. v.Shape="Block"
  38. text.Text = "Legendary"
  39.  
  40. local s = Instance.new("Sound",char)
  41. s.Name = "BGMusic"
  42. s.SoundId = "rbxassetid://898506256"
  43. s.Pitch = 1
  44. s.Volume = 10
  45. s.Looped = true
  46. s.archivable = false
  47. s.Parent = char.Head
  48. wait(0.1)
  49. s:play()
  50.  
  51. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  52. print("Legendary Loaded.")
  53. print("Unleash the super Legendary to anyone to destroy.")
  54. p = game.Players.LocalPlayer
  55. char = p.Character
  56. torso = char.Torso
  57. neck = char.Torso.Neck
  58.  
  59. Player=game:GetService("Players").LocalPlayer
  60. Character=Player.Character
  61. PlayerGui=Player.PlayerGui
  62. Backpack=Player.Backpack
  63. Torso=Character.Torso
  64. Head=Character.Head
  65. Humanoid=Character.Humanoid
  66. LeftArm=Character["Left Arm"]
  67. LeftLeg=Character["Left Leg"]
  68. RightArm=Character["Right Arm"]
  69. RightLeg=Character["Right Leg"]
  70. cam=game.Workspace.CurrentCamera
  71. LS=Torso["Left Shoulder"]
  72. LH=Torso["Left Hip"]
  73. RS=Torso["Right Shoulder"]
  74. RH=Torso["Right Hip"]
  75. Face = Head.face
  76. Neck=Torso.Neck
  77. it=Instance.new
  78. attacktype=1
  79. vt=Vector3.new
  80. cf=CFrame.new
  81. euler=CFrame.fromEulerAnglesXYZ
  82. angles=CFrame.Angles
  83. cloaked=false
  84. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  85. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  86. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  87. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  88. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  89. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  90. RootPart=Character.HumanoidRootPart
  91. RootJoint=RootPart.RootJoint
  92. RootCF=euler(-1.57,0,3.14)
  93. attack = false
  94. bounce=false
  95. cooldown=false
  96. deeznuts=false
  97. attackdebounce = false
  98. deb=false
  99. equipped=true
  100. hand=false
  101. MMouse=nil
  102. combo=0
  103. mana=0
  104. trispeed=.2
  105. attackmode='none'
  106. local idle=0
  107. local Anim="Idle"
  108. local Effects={}
  109. local gun=false
  110. local shoot=false
  111. player=nil
  112. mana=0
  113. cam = workspace.CurrentCamera
  114. ZTarget = nil
  115. RocketTarget = nil
  116. local m = Instance.new("Model",Character)
  117. m.Name = "WeaponModel"
  118.  
  119. mouse=Player:GetMouse()
  120. --save shoulders
  121. RSH, LSH=nil, nil
  122. --welds
  123. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  124. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  125. LH=Torso["Left Hip"]
  126. RH=Torso["Right Hip"]
  127. TorsoColor=Torso.BrickColor
  128. function NoOutline(Part)
  129. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  130. end
  131. player=Player
  132. ch=Character
  133. RSH=ch.Torso["Right Shoulder"]
  134. LSH=ch.Torso["Left Shoulder"]
  135. --
  136. RSH.Parent=nil
  137. LSH.Parent=nil
  138. --
  139. RW.Name="Right Shoulder"
  140. RW.Part0=ch.Torso
  141. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  142. RW.C1=cf(0, 0.5, 0)
  143. RW.Part1=ch["Right Arm"]
  144. RW.Parent=ch.Torso
  145. --
  146. LW.Name="Left Shoulder"
  147. LW.Part0=ch.Torso
  148. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  149. LW.C1=cf(0, 0.5, 0)
  150. LW.Part1=ch["Left Arm"]
  151. LW.Parent=ch.Torso
  152.  
  153. function swait(num)
  154. if num==0 or num==nil then
  155. game:service'RunService'.Heartbeat:wait(0)
  156. else
  157. for i=0,num do
  158. game:service'RunService'.Heartbeat:wait(0)
  159. end
  160. end
  161. end
  162.  
  163.  
  164. local Player = game.Players.localPlayer
  165. local Character = Player.Character
  166. local red = 255
  167. local green = 255
  168. local blue = 255
  169. local Humanoid = Character.Humanoid
  170. local mouse = Player:GetMouse()
  171. local m = Instance.new("Model", Character)
  172. m.Name = "WeaponModel"
  173. local LeftArm = Character["Left Arm"]
  174. local RightArm = Character["Right Arm"]
  175. local LeftLeg = Character["Left Leg"]
  176. local RightLeg = Character["Right Leg"]
  177. local Head = Character.Head
  178. local Torso = Character.Torso
  179. local cam = game.Workspace.CurrentCamera
  180. local RootPart = Character.HumanoidRootPart
  181. local RootJoint = RootPart.RootJoint
  182. local equipped = false
  183. local attack = false
  184. local Anim = "Idle"
  185. local idle = 0
  186. local attacktype = 1
  187. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  188. local velocity = RootPart.Velocity.y
  189. local sine = 0
  190. local change = 1
  191. local grabbed = false
  192. local cn = CFrame.new
  193. local mr = math.rad
  194. local angles = CFrame.Angles
  195. local ud = UDim2.new
  196. local c3 = Color3.new
  197. local lim = 0
  198. local st = 0
  199. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  200. local attacktype = 1
  201. local ZTarget, RocketTarget = nil, nil
  202. local euler = CFrame.fromEulerAnglesXYZ
  203. function clerp(a,b,t)
  204. local qa = {QuaternionFromCFrame(a)}
  205. local qb = {QuaternionFromCFrame(b)}
  206. local ax, ay, az = a.x, a.y, a.z
  207. local bx, by, bz = b.x, b.y, b.z
  208. local _t = 1-t
  209. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  210. end
  211.  
  212. function QuaternionFromCFrame(cf)
  213. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  214. local trace = m00 + m11 + m22
  215. if trace > 0 then
  216. local s = math.sqrt(1 + trace)
  217. local recip = 0.5/s
  218. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  219. else
  220. local i = 0
  221. if m11 > m00 then
  222. i = 1
  223. end
  224. if m22 > (i == 0 and m00 or m11) then
  225. i = 2
  226. end
  227. if i == 0 then
  228. local s = math.sqrt(m00-m11-m22+1)
  229. local recip = 0.5/s
  230. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  231. elseif i == 1 then
  232. local s = math.sqrt(m11-m22-m00+1)
  233. local recip = 0.5/s
  234. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  235. elseif i == 2 then
  236. local s = math.sqrt(m22-m00-m11+1)
  237. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  238. end
  239. end
  240. end
  241.  
  242. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  243. local xs, ys, zs = x + x, y + y, z + z
  244. local wx, wy, wz = w*xs, w*ys, w*zs
  245. local xx = x*xs
  246. local xy = x*ys
  247. local xz = x*zs
  248. local yy = y*ys
  249. local yz = y*zs
  250. local zz = z*zs
  251. 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))
  252. end
  253.  
  254. function QuaternionSlerp(a, b, t)
  255. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  256. local startInterp, finishInterp;
  257. if cosTheta >= 0.0001 then
  258. if (1 - cosTheta) > 0.0001 then
  259. local theta = math.acos(cosTheta)
  260. local invSinTheta = 1/math.sin(theta)
  261. startInterp = math.sin((1-t)*theta)*invSinTheta
  262. finishInterp = math.sin(t*theta)*invSinTheta
  263. else
  264. startInterp = 1-t
  265. finishInterp = t
  266. end
  267. else
  268. if (1+cosTheta) > 0.0001 then
  269. local theta = math.acos(-cosTheta)
  270. local invSinTheta = 1/math.sin(theta)
  271. startInterp = math.sin((t-1)*theta)*invSinTheta
  272. finishInterp = math.sin(t*theta)*invSinTheta
  273. else
  274. startInterp = t-1
  275. finishInterp = t
  276. end
  277. end
  278. 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
  279. end
  280. rayCast = function(Position, Direction, Range, Ignore)
  281. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  282. end
  283. local v = game.Players.localPlayer
  284. local torso = v.Character.Torso
  285.  
  286. plr = game.Players.LocalPlayer
  287. char = game.Players.LocalPlayer.Character
  288. hum = game.Players.LocalPlayer.Character.Humanoid
  289. t = game.Players.LocalPlayer.Character.Torso
  290. h = game.Players.LocalPlayer.Character.Head
  291. ra = game.Players.LocalPlayer.Character["Right Arm"]
  292. la = game.Players.LocalPlayer.Character["Left Arm"]
  293. rl = game.Players.LocalPlayer.Character["Right Leg"]
  294. ll = game.Players.LocalPlayer.Character["Left Leg"]
  295. tors = Character.Torso
  296. lleg = Character["Left Leg"]
  297. root = Character.HumanoidRootPart
  298. hed = Character.Head
  299. rleg = Character["Right Leg"]
  300. rarm = Character["Right Arm"]
  301. larm = Character["Left Arm"]
  302. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  303. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  304. local Effects = {}
  305. attack = false
  306. local attacking = false
  307. vt = Vector3.new
  308. bc = BrickColor.new
  309. br = BrickColor.random
  310. it = Instance.new
  311. cf = CFrame.new
  312. euler = CFrame.fromEulerAnglesXYZ
  313. angles = CFrame.Angles
  314. matr = math.random
  315. local colororg = BrickColor.new("White") -- set color u like
  316. local meshtype = "Sphere" -- only for specialmesh
  317. mouse = plr:GetMouse()
  318.  
  319. CFuncs = {
  320. ["Part"] = {
  321. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  322. local Part = Create("Part"){
  323. Parent = Parent,
  324. Reflectance = Reflectance,
  325. Transparency = Transparency,
  326. CanCollide = false,
  327. Locked = true,
  328. BrickColor = BrickColor.new(tostring(BColor)),
  329. Name = Name,
  330. Size = Size,
  331. Material = Material,
  332. }
  333. RemoveOutlines(Part)
  334. return Part
  335. end;
  336. };
  337.  
  338. ["Mesh"] = {
  339. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  340. local Msh = Create(Mesh){
  341. Parent = Part,
  342. Offset = OffSet,
  343. Scale = Scale,
  344. }
  345. if Mesh == "SpecialMesh" then
  346. Msh.MeshType = MeshType
  347. Msh.MeshId = MeshId
  348. end
  349. return Msh
  350. end;
  351. };
  352.  
  353. ["Mesh"] = {
  354. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  355. local Msh = Create(Mesh){
  356. Parent = Part,
  357. Offset = OffSet,
  358. Scale = Scale,
  359. }
  360. if Mesh == "SpecialMesh" then
  361. Msh.MeshType = MeshType
  362. Msh.MeshId = MeshId
  363. end
  364. return Msh
  365. end;
  366. };
  367.  
  368. ["Weld"] = {
  369. Create = function(Parent, Part0, Part1, C0, C1)
  370. local Weld = Create("Weld"){
  371. Parent = Parent,
  372. Part0 = Part0,
  373. Part1 = Part1,
  374. C0 = C0,
  375. C1 = C1,
  376. }
  377. return Weld
  378. end;
  379. };
  380.  
  381. ["Sound"] = {
  382. Create = function(id, par, vol, pit)
  383. coroutine.resume(coroutine.create(function()
  384. local S = Create("Sound"){
  385. Volume = vol,
  386. Pitch = pit or 1,
  387. SoundId = id,
  388. Parent = par or workspace,
  389. }
  390. wait()
  391. S:play()
  392. game:GetService("Debris"):AddItem(S, 6)
  393. end))
  394. end;
  395. };
  396.  
  397. ["ParticleEmitter"] = {
  398. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  399. local fp = Create("ParticleEmitter"){
  400. Parent = Parent,
  401. Color = ColorSequence.new(Color1, Color2),
  402. LightEmission = LightEmission,
  403. Size = Size,
  404. Texture = Texture,
  405. Transparency = Transparency,
  406. ZOffset = ZOffset,
  407. Acceleration = Accel,
  408. Drag = Drag,
  409. LockedToPart = LockedToPart,
  410. VelocityInheritance = VelocityInheritance,
  411. EmissionDirection = EmissionDirection,
  412. Enabled = Enabled,
  413. Lifetime = LifeTime,
  414. Rate = Rate,
  415. Rotation = Rotation,
  416. RotSpeed = RotSpeed,
  417. Speed = Speed,
  418. VelocitySpread = VelocitySpread,
  419. }
  420. return fp
  421. end;
  422. };
  423.  
  424. CreateTemplate = {
  425.  
  426. };
  427. }
  428.  
  429.  
  430.  
  431. New = function(Object, Parent, Name, Data)
  432. local Object = Instance.new(Object)
  433. for Index, Value in pairs(Data or {}) do
  434. Object[Index] = Value
  435. end
  436. Object.Parent = Parent
  437. Object.Name = Name
  438. return Object
  439. end
  440.  
  441. function chatfunc(text)
  442. local chat = coroutine.wrap(function()
  443. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  444. Character:FindFirstChild("TalkingBillBoard"):destroy()
  445. end
  446. local naeeym2 = Instance.new("BillboardGui",Character)
  447. naeeym2.Size = UDim2.new(0,100,0,40)
  448. naeeym2.StudsOffset = Vector3.new(0,3,0)
  449. naeeym2.Adornee = Character.Head
  450. naeeym2.Name = "TalkingBillBoard"
  451. local tecks2 = Instance.new("TextLabel",naeeym2)
  452. tecks2.BackgroundTransparency = 1
  453. tecks2.BorderSizePixel = 0
  454. tecks2.Text = ""
  455. tecks2.Font = "SciFi"
  456. tecks2.TextSize = 30
  457. tecks2.TextStrokeTransparency = 0
  458. tecks2.TextColor3 = Color3.new(255,255,255)
  459. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  460. tecks2.Size = UDim2.new(1,0,0.5,0)
  461. local tecks3 = Instance.new("TextLabel",naeeym2)
  462. tecks3.BackgroundTransparency = 1
  463. tecks3.BorderSizePixel = 0
  464. tecks3.Text = ""
  465. tecks3.Font = "SciFi"
  466. tecks3.TextSize = 30
  467. tecks3.TextStrokeTransparency = 0
  468. tecks3.TextColor3 = Color3.new(255,255,255)
  469. tecks3.TextStrokeColor3 = Color3.new(255,255,255)
  470. tecks3.Size = UDim2.new(1,0,0.5,0)
  471. for i = 1,string.len(text),1 do
  472. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=177266782", Character, .6, .8)
  473. tecks2.Text = string.sub(text,1,i)
  474. tecks3.Text = string.sub(text,1,i)
  475. wait(0.01)
  476. end
  477. wait(2)
  478. for i = 1, 50 do
  479. swait()
  480. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  481. tecks2.Rotation = tecks2.Rotation - .8
  482. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  483. tecks2.TextTransparency = tecks2.TextTransparency + .04
  484. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  485. tecks3.Rotation = tecks2.Rotation + .8
  486. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  487. tecks3.TextTransparency = tecks2.TextTransparency + .04
  488. end
  489. naeeym2:Destroy()
  490. end)
  491. chat()
  492. end
  493. function onChatted(msg)
  494. chatfunc(msg)
  495. end
  496. Player.Chatted:connect(onChatted)
  497.  
  498.  
  499. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  500. if hit.Parent==nil then
  501. return
  502. end
  503. h=hit.Parent:FindFirstChild("Humanoid")
  504. for _,v in pairs(hit.Parent:children()) do
  505. if v:IsA("Humanoid") then
  506. h=v
  507. end
  508. end
  509. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  510. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  511. end
  512. if hit.Parent.className=="Hat" then
  513. hit=hit.Parent.Parent:findFirstChild("Head")
  514. end
  515. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  516. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  517. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  518. return
  519. end]]
  520. -- hs(hit,1.2)
  521. c=Instance.new("ObjectValue")
  522. c.Name="creator"
  523. c.Value=game:service("Players").LocalPlayer
  524. c.Parent=h
  525. game:GetService("Debris"):AddItem(c,.5)
  526. Damage=math.random(minim,maxim)
  527. -- h:TakeDamage(Damage)
  528. blocked=false
  529. block=hit.Parent:findFirstChild("Block")
  530. if block~=nil then
  531. print(block.className)
  532. if block.className=="NumberValue" then
  533. if block.Value>0 then
  534. blocked=true
  535. if decreaseblock==nil then
  536. block.Value=block.Value-1
  537. end
  538. end
  539. end
  540. if block.className=="IntValue" then
  541. if block.Value>0 then
  542. blocked=true
  543. if decreaseblock~=nil then
  544. block.Value=block.Value-1
  545. end
  546. end
  547. end
  548. end
  549. if blocked==false then
  550. -- h:TakeDamage(Damage)
  551. h.Health=h.Health-Damage
  552. showDamage(hit.Parent,Damage,3,TorsoColor)
  553. else
  554. h.Health=h.Health-(Damage/2)
  555. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright blue"))
  556. end
  557. if Type=="Knockdown" then
  558. hum=hit.Parent.Humanoid
  559. hum.PlatformStand=true
  560. coroutine.resume(coroutine.create(function(HHumanoid)
  561. swait(1)
  562. HHumanoid.PlatformStand=false
  563. end),hum)
  564. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  565. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  566. local bodvol=Instance.new("BodyVelocity")
  567. bodvol.velocity=angle*knockback
  568. bodvol.P=5000
  569. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  570. bodvol.Parent=hit
  571. rl=Instance.new("BodyAngularVelocity")
  572. rl.P=3000
  573. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  574. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  575. rl.Parent=hit
  576. game:GetService("Debris"):AddItem(bodvol,.5)
  577. game:GetService("Debris"):AddItem(rl,.5)
  578. elseif Type=="Normal" then
  579. vp=Instance.new("BodyVelocity")
  580. vp.P=500
  581. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  582. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  583. if KnockbackType==1 then
  584. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  585. elseif KnockbackType==2 then
  586. vp.velocity=Property.CFrame.lookVector*knockback
  587. end
  588. if knockback>0 then
  589. vp.Parent=hit.Parent.Torso
  590. end
  591. game:GetService("Debris"):AddItem(vp,.5)
  592. elseif Type=="Up" then
  593. local bodyVelocity=Instance.new("BodyVelocity")
  594. bodyVelocity.velocity=vt(0,10,0)
  595. bodyVelocity.P=1000
  596. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  597. bodyVelocity.Parent=hit
  598. game:GetService("Debris"):AddItem(bodyVelocity,1)
  599. rl=Instance.new("BodyAngularVelocity")
  600. rl.P=3000
  601. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  602. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  603. rl.Parent=hit
  604. game:GetService("Debris"):AddItem(rl,.5)
  605. elseif Type=="Snare" then
  606. bp=Instance.new("BodyPosition")
  607. bp.P=2000
  608. bp.D=100
  609. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  610. bp.position=hit.Parent.Torso.Position
  611. bp.Parent=hit.Parent.Torso
  612. game:GetService("Debris"):AddItem(bp,1)
  613. elseif Type=="Target" then
  614. if Targetting==false then
  615. ZTarget=hit.Parent.Torso
  616. coroutine.resume(coroutine.create(function(Part)
  617. swait(5)
  618. end),ZTarget)
  619. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  620. targetgui=Instance.new("BillboardGui")
  621. targetgui.Parent=ZTarget
  622. targetgui.Size=UDim2.new(10,100,10,100)
  623. targ=Instance.new("ImageLabel")
  624. targ.Parent=targetgui
  625. targ.BackgroundTransparency=1
  626. targ.Image="rbxassetid://177266782"
  627. targ.Size=UDim2.new(1,0,1,0)
  628. cam.CameraType="Scriptable"
  629. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  630. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  631. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  632. Targetting=true
  633. RocketTarget=ZTarget
  634. for i=1,Property do
  635. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  636. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  637. swait()
  638. end
  639. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  640. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  641. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  642. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  643. end
  644. Targetting=false
  645. RocketTarget=nil
  646. targetgui.Parent=nil
  647. cam.CameraType="Custom"
  648. end
  649. end
  650. debounce=Instance.new("BoolValue")
  651. debounce.Name="DebounceHit"
  652. debounce.Parent=hit.Parent
  653. debounce.Value=true
  654. game:GetService("Debris"):AddItem(debounce,Delay)
  655. c=Instance.new("ObjectValue")
  656. c.Name="creator"
  657. c.Value=Player
  658. c.Parent=h
  659. game:GetService("Debris"):AddItem(c,.5)
  660. CRIT=false
  661. hitDeb=true
  662. AttackPos=6
  663. end
  664. end
  665.  
  666. showDamage=function(Char,Dealt,du,Color)
  667. m=Instance.new("Model")
  668. m.Name=""
  669. h=Instance.new("Humanoid")
  670. h.Health=0
  671. h.MaxHealth=0
  672. h.Parent=m
  673. c=Instance.new("Part")
  674. c.Transparency=0
  675. c.Material = "Neon"
  676. c.BrickColor=bc("Bright red")
  677. c.Name="Head"
  678. c.TopSurface=0
  679. c.BottomSurface=0
  680. CV="Hot pink"
  681.  
  682. local txt = Instance.new("BillboardGui", c)
  683. txt.Adornee = c
  684. txt.Name = "_status"
  685. txt.Size = UDim2.new(2, 0, 1.2, 0)
  686. txt.StudsOffset = Vector3.new(-9, 8, 0)
  687. local text = Instance.new("TextLabel", txt)
  688. text.Size = UDim2.new(10, 0, 7, 0)
  689. text.FontSize = "Size24"
  690. text.TextScaled = true
  691. text.TextTransparency = 0
  692. text.BackgroundTransparency = 1
  693. text.TextTransparency = 0
  694. text.TextStrokeTransparency = 0
  695. if Dealt < 12 then
  696. text.Font = "Highway"
  697. elseif Dealt < 20 then
  698. text.Font = "SourceSansBold"
  699. elseif Dealt >= 20 then
  700. text.Font = "Fantasy"
  701. end
  702. text.TextStrokeColor3 = BrickColor.new("White").Color
  703. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  704. v=Instance.new("Part")
  705. v.Name = "ColorBrick"
  706. v.Parent=c
  707. v.FormFactor="Symmetric"
  708. v.Anchored=true
  709. v.CanCollide=false
  710. v.BottomSurface="Smooth"
  711. v.TopSurface="Smooth"
  712. v.Size=Vector3.new(10,5,3)
  713. v.Transparency=1
  714. v.CFrame=c.CFrame
  715. v.BrickColor=BrickColor.new(CV)
  716. v.Transparency=1
  717. if Dealt < 12 then
  718. text.TextColor3 = BrickColor.new("White").Color
  719. elseif Dealt < 20 then
  720. text.TextColor3 = BrickColor.new("Bright yellow").Color
  721. elseif Dealt >= 20 then
  722. text.TextColor3 = BrickColor.new("Really red").Color
  723. end
  724. v.Shape="Block"
  725. text.Text = tostring(Dealt).. "!"
  726. local dam = Instance.new("Sound",c)
  727. local rndm=math.random(1,#hitsounds)
  728. local r=rndm
  729. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  730. dam.Volume = 1.25
  731. dam.Pitch = 1
  732. dam:Play()
  733. c.formFactor="Plate"
  734. c.Transparency = 1
  735. c.Size=Vector3.new(1,.4,1)
  736. ms=Instance.new("CylinderMesh")
  737. ms.Scale=Vector3.new(.8,.8,.8)
  738. if CRIT==true then
  739. ms.Scale=Vector3.new(1,1.25,1)
  740. end
  741. ms.Parent=c
  742. c.Reflectance=0
  743. Instance.new("BodyGyro").Parent=c
  744. c.Parent=m
  745. if Char:findFirstChild("Head")~=nil then
  746. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  747. elseif Char.Parent:findFirstChild("Head")~=nil then
  748. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  749. end
  750. f=Instance.new("BodyPosition")
  751. f.P=2000
  752. f.D=100
  753. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  754. f.position=c.Position+Vector3.new(0,3,0)
  755. f.Parent=c
  756. game:GetService("Debris"):AddItem(m,.5+du)
  757. c.CanCollide=false
  758. m.Parent=workspace
  759. c.CanCollide=false
  760. wait(1)
  761. for l = 0, 9 do
  762. text.TextTransparency = text.TextTransparency + 0.1
  763. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  764. wait()
  765. end
  766. end
  767.  
  768. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  769. local gui = it(GuiType)
  770. gui.Parent = parent
  771. gui.Text = text
  772. gui.BackgroundTransparency = backtrans
  773. gui.BackgroundColor3 = backcol
  774. gui.SizeConstraint = "RelativeXY"
  775. gui.TextXAlignment = "Center"
  776. gui.TextYAlignment = "Center"
  777. gui.Position = pos
  778. gui.Size = size
  779. gui.Font = "SourceSans"
  780. gui.FontSize = "Size14"
  781. gui.TextWrapped = false
  782. gui.TextStrokeTransparency = 0
  783. gui.TextColor = BrickColor.new("White")
  784. return gui
  785. end
  786. ---- GUI set
  787. local basgui = it("GuiMain")
  788. basgui.Parent = Player.PlayerGui
  789. basgui.Name = "CooldownsGUI"
  790. local basframe = it("Frame")
  791. basframe.Parent = basgui
  792. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  793. basframe.BackgroundTransparency = 1
  794. basframe.BorderColor3 = Color3.new(17, 17, 17)
  795. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  796. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  797. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  798. basicgui.ZIndex = 2
  799. basicgui.Font = "Highway"
  800. basicgui.BackgroundTransparency = 0.5
  801. basicgui.BorderSizePixel = 0.65
  802. basicgui.TextScaled = true
  803. basicgui.Text = "(F)\nlegendary sky"
  804. basicgui.TextSize = 24
  805. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  806. basicgui2.ZIndex = 2
  807. basicgui2.Font = "Highway"
  808. basicgui2.BackgroundTransparency = 0.5
  809. basicgui2.BorderSizePixel = 0.65
  810. basicgui2.TextScaled = true
  811. basicgui2.Text = "(E)\nlegendary force"
  812. basicgui2.TextSize = 24
  813. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  814. basicgui3.ZIndex = 2
  815. basicgui3.Font = "Highway"
  816. basicgui3.BackgroundTransparency = 0.5
  817. basicgui3.BorderSizePixel = 0.65
  818. basicgui3.TextScaled = true
  819. basicgui3.Text = "(Q)\nlegendary blast"
  820. basicgui3.TextSize = 24
  821. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  822. basicgui4.ZIndex = 2
  823. basicgui4.Font = "Highway"
  824. basicgui4.BackgroundTransparency = 0.5
  825. basicgui4.BorderSizePixel = 0.65
  826. basicgui4.TextScaled = true
  827. basicgui4.Text = "(R)\nlegendary refused"
  828. basicgui4.TextSize = 24
  829. local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  830. basicgui5.ZIndex = 2
  831. basicgui5.Font = "Highway"
  832. basicgui5.BackgroundTransparency = 0.5
  833. basicgui5.BorderSizePixel = 0.65
  834. basicgui5.TextScaled = true
  835. basicgui5.Text = "(Z)\nLv 100"
  836. basicgui5.TextSize = 24
  837. local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("White").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  838. basicgui6.ZIndex = 2
  839. basicgui6.Font = "Highway"
  840. basicgui6.BackgroundTransparency = 0.5
  841. basicgui6.BorderSizePixel = 0.65
  842. basicgui6.TextScaled = true
  843. basicgui6.Text = "(X)\nlegendary supernova"
  844. basicgui6.TextSize = 24
  845.  
  846. local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Yellow").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
  847. healthg.ZIndex = 2
  848. healthg.Font = "Highway"
  849. healthg.BackgroundTransparency = 0.5
  850. healthg.BorderSizePixel = 0.65
  851. healthg.TextScaled = true
  852. healthg.Text = "health"
  853. healthg.TextSize = 24
  854.  
  855. char.Humanoid.Animator.Parent = nil
  856.  
  857. ---------------- set a position
  858. local handle = Instance.new("Part")
  859. handle.Parent = Character
  860. handle.Size = Vector3.new(0.2,0.2,0.2)
  861. handle.Archivable = true
  862. handle.Transparency = 1
  863. handle.CanCollide = false
  864. handle.BrickColor = BrickColor.new("White")
  865. handle.Material = "Neon"
  866. local handlmesh = Instance.new("BlockMesh",handle)
  867. handlmesh.Scale = Vector3.new(3,3,3)
  868. local handleweld = Instance.new("Weld")
  869. handleweld.Parent = handle
  870. handleweld.Part0 = rarm
  871. handleweld.Part1 = handle
  872. handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  873. handleweld.Part0 = rarm
  874.  
  875. ---- yeee boi here comes entrance of legendary
  876.  
  877. hum.WalkSpeed = 0
  878.  
  879. local dd = Instance.new("ParticleEmitter",handle)
  880. dd.Texture = "http://www.roblox.com/asset/?id=246689799"
  881. dd.LightEmission = 1
  882. dd.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  883. dd.Rate = 5000
  884. dd.Lifetime = NumberRange.new(50)
  885. dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  886. dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  887. dd.Speed = NumberRange.new(0)
  888. dd.Rotation = NumberRange.new(-500,500)
  889. dd.VelocitySpread = 90000
  890. dd.LockedToPart = true
  891. dd.RotSpeed = NumberRange.new(-500,500)
  892. local bon = Instance.new("ParticleEmitter",handle)
  893. bon.Texture = "rbxassetid://1331693148"
  894. bon.LightEmission = 0.75
  895. bon.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  896. bon.Rate = 0
  897. bon.Lifetime = NumberRange.new(50)
  898. bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  899. bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  900. bon.Speed = NumberRange.new(15)
  901. bon.Rotation = NumberRange.new(-500,500)
  902. bon.VelocitySpread = 90000
  903. bon.RotSpeed = NumberRange.new(-500,500)
  904. local bon2 = Instance.new("ParticleEmitter",handle)
  905. bon2.Texture = "rbxassetid://1331693148"
  906. bon2.LightEmission = 0.75
  907. bon2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  908. bon2.Rate = 0
  909. bon2.Lifetime = NumberRange.new(50)
  910. bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
  911. bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  912. bon2.Speed = NumberRange.new(25)
  913. bon2.Rotation = NumberRange.new(-500,500)
  914. bon2.VelocitySpread = 90000
  915. bon2.RotSpeed = NumberRange.new(-500,500)
  916. for i = 0,8,0.1 do
  917. swait()
  918. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  919. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  920. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3)
  921. 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)
  922. end
  923. dd.Rate = 0
  924. bon.Rate = 99999
  925. bon2.Rate = 99999
  926.  
  927. local tran = Instance.new("ParticleEmitter",handle)
  928. tran.Texture = "rbxassetid://1331693148"
  929. tran.LightEmission = 0.75
  930. tran.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  931. tran.Rate = 99999
  932. tran.Lifetime = NumberRange.new(50)
  933. tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
  934. tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  935. tran.Speed = NumberRange.new(0)
  936. tran.Rotation = NumberRange.new(-500,500)
  937. tran.VelocitySpread = 90000
  938. tran.LockedToPart = true
  939. tran.RotSpeed = NumberRange.new(-500,500)
  940. local tran2 = Instance.new("ParticleEmitter",handle)
  941. tran2.Texture = "http://www.roblox.com/asset/?id=246689799"
  942. tran2.LightEmission = 1
  943. tran2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  944. tran2.Rate = 50
  945. tran2.Lifetime = NumberRange.new(50)
  946. tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
  947. tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  948. tran2.Speed = NumberRange.new(0)
  949. tran2.Rotation = NumberRange.new(-500,500)
  950. tran2.VelocitySpread = 90000
  951. tran2.LockedToPart = true
  952. tran2.RotSpeed = NumberRange.new(-500,500)
  953. wait(0.5)
  954. bon.Rate = 0
  955. bon2.Rate = 0
  956. wait(3.25)
  957. bon:Destroy()
  958. bon:Destroy()
  959. dd:Destroy()
  960. hum.WalkSpeed = 60
  961. -----------
  962.  
  963. function InfernoComet()
  964. attack = true
  965. chatfunc("Inferno Comet!!")
  966. handleweld.Part0 = rarm
  967. local tra = Instance.new("ParticleEmitter",handle)
  968. tra.Texture = "rbxassetid://1331693148"
  969. tra.LightEmission = 0.75
  970. tra.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  971. tra.Rate = 99999
  972. tra.Lifetime = NumberRange.new(50)
  973. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  974. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  975. tra.Speed = NumberRange.new(0)
  976. tra.Rotation = NumberRange.new(-500,500)
  977. tra.VelocitySpread = 90000
  978. tra.LockedToPart = true
  979. tra.RotSpeed = NumberRange.new(-500,500)
  980. local tra2 = Instance.new("ParticleEmitter",handle)
  981. tra2.Texture = "http://www.roblox.com/asset/?id=246689799"
  982. tra2.LightEmission = 1
  983. tra2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  984. tra2.Rate = 50
  985. tra2.Lifetime = NumberRange.new(100)
  986. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  987. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  988. tra2.Speed = NumberRange.new(0)
  989. tra2.Rotation = NumberRange.new(-500,500)
  990. tra2.VelocitySpread = 90000
  991. tra2.LockedToPart = true
  992. tra2.RotSpeed = NumberRange.new(-500,500)
  993. for i = 0,4,0.1 do
  994. swait()
  995. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  996. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  997. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  998. 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)
  999. end
  1000. local sa = Instance.new("Sound",handle)
  1001. sa.SoundId = "rbxassetid://1048204074"
  1002. sa.Volume = 1
  1003. sa.Pitch = 1
  1004. sa:Play()
  1005. tra.Rate = 0
  1006. tra2.Rate = 0
  1007. local lb = Instance.new("Part")
  1008. lb.Parent = char
  1009. lb.Material = "Neon"
  1010. lb.Color = BrickColor.new("White").Color
  1011. lb.CanCollide = false
  1012. lb.Shape = "Ball"
  1013. lb.CFrame = handle.CFrame
  1014. lb.Anchored = true
  1015. lb.Transparency = 1
  1016. lb.Size = vt(3,3,3)
  1017. local thing = Instance.new("SpecialMesh",lb)
  1018. thing.MeshType = meshtype
  1019. local hitted = false
  1020. lb.Anchored = false
  1021. local trail = Instance.new("ParticleEmitter",lb)
  1022. trail.Texture = "rbxassetid://1331693148"
  1023. trail.LightEmission = 1
  1024. trail.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1025. trail.Rate = 9999
  1026. trail.Lifetime = NumberRange.new(50)
  1027. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1028. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1029. trail.Speed = NumberRange.new(0,0)
  1030. trail.Rotation = NumberRange.new(-500,500)
  1031. trail.RotSpeed = NumberRange.new(-500,500)
  1032. local bv = Instance.new("BodyVelocity")
  1033. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1034. bv.velocity = mouse.Hit.lookVector *75
  1035. bv.Parent = lb
  1036. wait(0.05)
  1037. lb.Touched:connect(function(hit)
  1038. if hitted == false then
  1039. hitted = true
  1040. trail.Rate = 0
  1041. lb.Anchored = true
  1042. local aa = Instance.new("Part")
  1043. local val = 1*3.5
  1044. aa.Parent = lb
  1045. local exsound = Instance.new("Sound",aa)
  1046. exsound.SoundId = "rbxassetid://1048204074"
  1047. exsound.Volume = 3.5
  1048. exsound.Pitch = 1
  1049. exsound:Play()
  1050. aa.Material = "Neon"
  1051. aa.Color = BrickColor.new("White").Color
  1052. aa.CanCollide = false
  1053. aa.Shape = "Ball"
  1054. aa.CFrame = lb.CFrame
  1055. aa.Anchored = true
  1056. aa.Transparency = 0
  1057. aa.Size = vt(2,2,2)
  1058. local thinger = Instance.new("SpecialMesh",aa)
  1059. thinger.MeshType = meshtype
  1060. thinger.Scale = vt(15,15,15)
  1061. local explosion = Instance.new("Explosion",aa)
  1062. explosion.Position = aa.Position
  1063. explosion.BlastRadius = 22.5
  1064. explosion.BlastPressure = 100
  1065. local exp = Instance.new("ParticleEmitter",aa)
  1066. exp.Texture = "rbxassetid://1331693148"
  1067. exp.LightEmission = 1
  1068. exp.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1069. exp.Rate = 9000000000
  1070. exp.Lifetime = NumberRange.new(50)
  1071. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1072. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1073. exp.Speed = NumberRange.new(100)
  1074. exp.VelocitySpread = 9000000
  1075. exp.Rotation = NumberRange.new(-500,500)
  1076. exp.RotSpeed = NumberRange.new(-500,500)
  1077. local expa = Instance.new("ParticleEmitter",aa)
  1078. expa.Texture = "rbxassetid://1331693148"
  1079. expa.LightEmission = 1
  1080. expa.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1081. expa.Rate = 9000000000
  1082. expa.Lifetime = NumberRange.new(50)
  1083. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  1084. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1085. expa.Speed = NumberRange.new(100)
  1086. expa.VelocitySpread = 9000000
  1087. expa.Rotation = NumberRange.new(-500,500)
  1088. expa.RotSpeed = NumberRange.new(-500,500)
  1089. local exp2 = exp:Clone()
  1090. exp2.Parent = aa
  1091. local exp3 = exp:Clone()
  1092. exp3.Parent = aa
  1093. local exp4 = exp:Clone()
  1094. exp4.Parent = aa
  1095. local exp5 = exp:Clone()
  1096. exp5.Parent = aa
  1097. local exp6 = exp:Clone()
  1098. exp6.Parent = aa
  1099. local exp7 = exp:Clone()
  1100. exp7.Parent = aa
  1101. local expa2 = expa:Clone()
  1102. expa2.Parent = aa
  1103. local expa3 = expa:Clone()
  1104. expa3.Parent = aa
  1105. local expa4 = expa:Clone()
  1106. expa4.Parent = aa
  1107. local expa5 = expa:Clone()
  1108. expa5.Parent = aa
  1109. local expa6 = expa:Clone()
  1110. expa6.Parent = aa
  1111. local expa7 = expa:Clone()
  1112. expa7.Parent = aa
  1113. for i = 0, 1 do
  1114. val = val - 0.025*3.5
  1115. thinger.Scale = thinger.Scale + vt(val,val,val)
  1116. wait()
  1117. end
  1118. exp.Rate = 0
  1119. exp2.Rate = 0
  1120. exp3.Rate = 0
  1121. exp4.Rate = 0
  1122. exp5.Rate = 0
  1123. exp6.Rate = 0
  1124. exp7.Rate = 0
  1125. for i = 0, 1 do
  1126. val = val - 0.025*3.5
  1127. thinger.Scale = thinger.Scale + vt(val,val,val)
  1128. wait()
  1129. end
  1130. expa.Rate = 0
  1131. expa2.Rate = 0
  1132. expa3.Rate = 0
  1133. expa4.Rate = 0
  1134. expa5.Rate = 0
  1135. expa6.Rate = 0
  1136. expa7.Rate = 0
  1137. for i = 0, 21 do
  1138. val = val - 0.025*3.5
  1139. thinger.Scale = thinger.Scale + vt(val,val,val)
  1140. wait()
  1141. end
  1142. for i = 0, 74 do
  1143. val = val - 0.0145
  1144. aa.Transparency = aa.Transparency + 0.0145
  1145. thinger.Scale = thinger.Scale + vt(val,val,val)
  1146. wait()
  1147. end
  1148. end
  1149. end)
  1150. attack = false
  1151. wait(30)
  1152. sa:Destroy()
  1153. tra:Destroy()
  1154. tra2:Destroy()
  1155. lb:Destroy()
  1156. end
  1157.  
  1158. function InfernoHell()
  1159. attack = true
  1160. chatfunc("INFERNO...")
  1161. handleweld.Part0 = rarm
  1162. local aura = Instance.new("ParticleEmitter",tors)
  1163. aura.Texture = "rbxassetid://1115249906"
  1164. aura.LightEmission = 1
  1165. aura.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1166. aura.Rate = 25
  1167. aura.Lifetime = NumberRange.new(50)
  1168. aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
  1169. aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1170. aura.Speed = NumberRange.new(15)
  1171. aura.VelocitySpread = 50
  1172. local aura2 = Instance.new("ParticleEmitter",tors)
  1173. aura2.Texture = "rbxassetid://1331693148"
  1174. aura2.LightEmission = 1
  1175. aura2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1176. aura2.Rate = 99999
  1177. aura2.Lifetime = NumberRange.new(50)
  1178. aura2.Acceleration = vt(0,45,0)
  1179. aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  1180. aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1181. aura2.Speed = NumberRange.new(-25)
  1182. aura2.Rotation = NumberRange.new(-500,500)
  1183. aura2.VelocitySpread = 45
  1184. aura2.RotSpeed = NumberRange.new(-500,500)
  1185. local auran = Instance.new("ParticleEmitter",tors)
  1186. auran.Texture = "rbxassetid://1331693148"
  1187. auran.LightEmission = 1
  1188. auran.Rate = 0
  1189. auran.Lifetime = NumberRange.new(50)
  1190. auran.Acceleration = vt(0,-45,0)
  1191. auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  1192. auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1193. auran.Speed = NumberRange.new(65)
  1194. auran.Rotation = NumberRange.new(-500,500)
  1195. auran.VelocitySpread = 100
  1196. auran.RotSpeed = NumberRange.new(-500,500)
  1197. local sa = Instance.new("Sound",handle)
  1198. sa.SoundId = "rbxassetid://163619849"
  1199. sa.Volume = 5
  1200. sa.Pitch = 0.9
  1201. sa:Play()
  1202. for i = 0,2,0.1 do
  1203. swait()
  1204. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1205. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1206. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3)
  1207. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  1208. 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)
  1209. 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)
  1210. end
  1211. for i = 0, 5 do
  1212. auran.Rate = 99999
  1213. local lb = Instance.new("Part")
  1214. lb.Parent = char
  1215. lb.Material = "Neon"
  1216. lb.Color = BrickColor.new("white").Color
  1217. lb.CanCollide = false
  1218. lb.Size = vt(1.5,1.5,1.5)
  1219. lb.CFrame = tors.CFrame
  1220. lb.Rotation = vt(0,0,0)
  1221. lb.Anchored = true
  1222. lb.Transparency = 0
  1223. local thing = Instance.new("SpecialMesh",lb)
  1224. thing.MeshType = "FileMesh"
  1225. thing.MeshId = "http://www.roblox.com/asset/?id=967645205"
  1226. thing.Scale = vt(0,15,0)
  1227. local chancerot = math.random(1,2)
  1228. for z = 0, 4 do
  1229. if chancerot == 1 then
  1230. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  1231. elseif chancerot == 2 then
  1232. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  1233. end
  1234. lb.Transparency = lb.Transparency + 0.1
  1235. thing.Scale = thing.Scale + vt(15,0,15)
  1236. wait()
  1237. end
  1238. auran.Rate = 0
  1239. for z = 0, 4 do
  1240. if chancerot == 1 then
  1241. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  1242. elseif chancerot == 2 then
  1243. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  1244. end
  1245. lb.Transparency = lb.Transparency + 0.1
  1246. thing.Scale = thing.Scale + vt(15,0,15)
  1247. wait()
  1248. end
  1249. lb:Destroy()
  1250. end
  1251. chatfunc("HELL!!!")
  1252. local sa = Instance.new("Sound",handle)
  1253. sa.SoundId = "rbxassetid://268931189"
  1254. sa.Volume = 10
  1255. sa.Pitch = 0.75
  1256. sa:Play()
  1257.  
  1258. local sbs = Instance.new("BodyPosition", root)
  1259. sbs.P = 3000
  1260. sbs.D = 1000
  1261. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  1262. sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0)
  1263. for i = 0,24,0.1 do
  1264. swait()
  1265. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1266. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1268. 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)
  1269. end
  1270. local shur = Instance.new("Part",char)
  1271. local gahde = Instance.new("Sound",char)
  1272. gahde.SoundId = "rbxassetid://402981977"
  1273. gahde.Volume = 5
  1274. gahde.Pitch = 0.6
  1275. gahde:Play()
  1276. shur.Transparency = 1
  1277. shur.Material = "Neon"
  1278. shur.BrickColor = bc("White")
  1279. shur.Anchored = true
  1280. shur.CFrame = tors.CFrame + vt(0,10,0)
  1281. shur.Size = vt(1,0.2,1)
  1282. shur.CanCollide = false
  1283. local dec = Instance.new("Decal",shur)
  1284. dec.Texture = "http://www.roblox.com/asset/?id=1258741631"
  1285. dec.Face = "Top"
  1286. local dec2 = dec:Clone()
  1287. dec2.Parent = shur
  1288. dec2.Face = "Bottom"
  1289. local Meshshur = Instance.new("CylinderMesh",shur)
  1290. Meshshur.Scale = vt(0,1,0)
  1291. for i = 0, 39 do
  1292. wait()
  1293. Meshshur.Scale = Meshshur.Scale + vt(50,0,50)
  1294. end
  1295. local sa = Instance.new("Sound",char)
  1296. sa.SoundId = "rbxassetid://268931189"
  1297. sa.Volume = 2.5
  1298. sa.Pitch = 0.5
  1299. sa:Play()
  1300. local lb = Instance.new("Part")
  1301. lb.Parent = char
  1302. lb.Material = "Neon"
  1303. lb.Color = BrickColor.new("White").Color
  1304. lb.CanCollide = false
  1305. lb.Shape = "Ball"
  1306. lb.CFrame = handle.CFrame
  1307. lb.Anchored = true
  1308. lb.Transparency = 0
  1309. lb.Size = vt(1.5,1.5,1.5)
  1310. lb.CFrame = handle.CFrame
  1311. local thing = Instance.new("SpecialMesh",lb)
  1312. thing.MeshType = meshtype
  1313. thing.Scale = vt(0,0,0)
  1314. for i = 0, 89 do
  1315. thing.Scale = thing.Scale + vt(2.5,2.5,2.5)
  1316. lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0)
  1317. wait()
  1318. end
  1319. wait(1)
  1320. for i = 0, 39 do
  1321. wait()
  1322. Meshshur.Scale = Meshshur.Scale - vt(15,0,15)
  1323. end
  1324. local sa = Instance.new("Sound",char)
  1325. sa.SoundId = "rbxassetid://342793847"
  1326. sa.Volume = 1
  1327. sa.Pitch = 0.95
  1328. sa:Play()
  1329. wait(0.5)
  1330. shur:Destroy()
  1331. sbs:Destroy()
  1332. local sa = Instance.new("Sound",char)
  1333. sa.SoundId = "rbxassetid://137463716"
  1334. sa.Volume = 1.5
  1335. sa.Pitch = 0.5
  1336. sa:Play()
  1337. local sa = Instance.new("Sound",char)
  1338. sa.SoundId = "rbxassetid://466493476"
  1339. sa.Volume = 1.5
  1340. sa.Pitch = 0.5
  1341. sa:Play()
  1342. aura.Rate = 0
  1343. aura2.Rate = 0
  1344. local hitted = false
  1345. lb.Anchored = false
  1346. local trail = Instance.new("ParticleEmitter",lb)
  1347. trail.Texture = "rbxassetid://1258741631"
  1348. trail.LightEmission = 1
  1349. trail.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1350. trail.Rate = 9999
  1351. trail.Lifetime = NumberRange.new(2.5)
  1352. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
  1353. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1354. trail.Speed = NumberRange.new(100)
  1355. trail.VelocitySpread = 9000000
  1356. trail.Rotation = NumberRange.new(-500,500)
  1357. trail.RotSpeed = NumberRange.new(-500,500)
  1358. local bv = Instance.new("BodyVelocity")
  1359. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1360. bv.velocity = mouse.Hit.lookVector *75
  1361. bv.Parent = lb
  1362. wait(0.05)
  1363. lb.Touched:connect(function(hit)
  1364. if hitted == false then
  1365. hitted = true
  1366. trail.Rate = 0
  1367. lb.Anchored = true
  1368. local aa = Instance.new("Part")
  1369. for i = 0, 9 do
  1370. lb.Transparency = lb.Transparency + 0.1
  1371. local val = 1*3.5
  1372. aa.Parent = lb
  1373. local exsound = Instance.new("Sound",aa)
  1374. exsound.SoundId = "rbxassetid://201858144"
  1375. exsound.Volume = 10
  1376. exsound.Pitch = 0.5
  1377. exsound:Play()
  1378. local exsound = Instance.new("Sound",aa)
  1379. exsound.SoundId = "rbxassetid://268931189"
  1380. exsound.Volume = 10
  1381. exsound.Pitch = 0.75
  1382. exsound:Play()
  1383. local exsound = Instance.new("Sound",aa)
  1384. exsound.SoundId = "rbxassetid://268931189"
  1385. exsound.Volume = 10
  1386. exsound.Pitch = 0.5
  1387. exsound:Play()
  1388. local exsound = Instance.new("Sound",aa)
  1389. exsound.SoundId = "rbxassetid://268931189"
  1390. exsound.Volume = 10
  1391. exsound.Pitch = 0.35
  1392. exsound:Play()
  1393. local exsound = Instance.new("Sound",aa)
  1394. exsound.SoundId = "rbxassetid://268931189"
  1395. exsound.Volume = 10
  1396. exsound.Pitch = 0.25
  1397. exsound:Play()
  1398. local exsound = Instance.new("Sound",aa)
  1399. exsound.SoundId = "rbxassetid://268931189"
  1400. exsound.Volume = 10
  1401. exsound.Pitch = 0.2
  1402. exsound:Play()
  1403. aa.Material = "Neon"
  1404. aa.Color = BrickColor.new("White").Color
  1405. aa.CanCollide = false
  1406. aa.Shape = "Ball"
  1407. aa.CFrame = lb.CFrame
  1408. aa.Anchored = true
  1409. aa.Transparency = 0
  1410. aa.Size = vt(2,2,2)
  1411. local thinger = Instance.new("SpecialMesh",aa)
  1412. thinger.MeshType = meshtype
  1413. thinger.Scale = vt(225,225,225)
  1414. local explosion = Instance.new("Explosion",aa)
  1415. explosion.Position = aa.Position
  1416. explosion.BlastRadius = 500
  1417. explosion.BlastPressure = 100
  1418. local exp = Instance.new("ParticleEmitter",aa)
  1419. exp.Texture = "rbxassetid://321556991"
  1420. exp.LightEmission = 1
  1421. exp.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1422. exp.Rate = 9000000000
  1423. exp.Lifetime = NumberRange.new(50)
  1424. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
  1425. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1426. exp.Speed = NumberRange.new(100)
  1427. exp.VelocitySpread = 9000000
  1428. exp.Rotation = NumberRange.new(-500,500)
  1429. exp.RotSpeed = NumberRange.new(-500,500)
  1430. local expa = Instance.new("ParticleEmitter",aa)
  1431. expa.Texture = "rbxassetid://321556991"
  1432. expa.LightEmission = 1
  1433. expa.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1434. expa.Rate = 9000000000
  1435. expa.Lifetime = NumberRange.new(50)
  1436. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
  1437. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1438. expa.Speed = NumberRange.new(100)
  1439. expa.VelocitySpread = 9000000
  1440. expa.Rotation = NumberRange.new(-500,500)
  1441. expa.RotSpeed = NumberRange.new(-500,500)
  1442. local exp2 = exp:Clone()
  1443. exp2.Parent = aa
  1444. local exp3 = exp:Clone()
  1445. exp3.Parent = aa
  1446. local exp4 = exp:Clone()
  1447. exp4.Parent = aa
  1448. local exp5 = exp:Clone()
  1449. exp5.Parent = aa
  1450. local exp6 = exp:Clone()
  1451. exp6.Parent = aa
  1452. local exp7 = exp:Clone()
  1453. exp7.Parent = aa
  1454. local expa2 = expa:Clone()
  1455. expa2.Parent = aa
  1456. local expa3 = expa:Clone()
  1457. expa3.Parent = aa
  1458. local expa4 = expa:Clone()
  1459. expa4.Parent = aa
  1460. local expa5 = expa:Clone()
  1461. expa5.Parent = aa
  1462. local expa6 = expa:Clone()
  1463. expa6.Parent = aa
  1464. local expa7 = expa:Clone()
  1465. expa7.Parent = aa
  1466. for i = 0, 1 do
  1467. val = val - 0.025*3.5
  1468. thinger.Scale = thinger.Scale + vt(val,val,val)
  1469. wait()
  1470. end
  1471. exp.Rate = 0
  1472. exp2.Rate = 0
  1473. exp3.Rate = 0
  1474. exp4.Rate = 0
  1475. exp5.Rate = 0
  1476. exp6.Rate = 0
  1477. exp7.Rate = 0
  1478. for i = 0, 1 do
  1479. val = val - 0.025*3.5
  1480. thinger.Scale = thinger.Scale + vt(val,val,val)
  1481. wait()
  1482. end
  1483. expa.Rate = 0
  1484. expa2.Rate = 0
  1485. expa3.Rate = 0
  1486. expa4.Rate = 0
  1487. expa5.Rate = 0
  1488. expa6.Rate = 0
  1489. expa7.Rate = 0
  1490. for i = 0, 21 do
  1491. val = val - 0.025*3.5
  1492. thinger.Scale = thinger.Scale + vt(val,val,val)
  1493. wait()
  1494. end
  1495. for i = 0, 4 do
  1496. val = val - 0.05
  1497. aa.Transparency = aa.Transparency + 0.065*4.5
  1498. thinger.Scale = thinger.Scale + vt(val,val,val)
  1499. wait()
  1500. end
  1501. end
  1502. end
  1503. end)
  1504. for i = 0,2,0.1 do
  1505. swait()
  1506. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1507. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3)
  1508. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1509. 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)
  1510. end
  1511. attack = false
  1512. wait(60)
  1513. sa:Destroy()
  1514. sa:Destroy()
  1515. sa:Destroy()
  1516. sa:Destroy()
  1517. sa:Destroy()
  1518. aura:Destroy()
  1519. aura2:Destroy()
  1520. lb:Destroy()
  1521. end
  1522.  
  1523.  
  1524. function InfernoMeteor()
  1525. attack = true
  1526. chatfunc("Lengendary...")
  1527. handleweld.Part0 = rarm
  1528. local tra = Instance.new("ParticleEmitter",handle)
  1529. tra.Texture = "rbxassetid://321556991"
  1530. tra.LightEmission = 0.75
  1531. tra.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1532. tra.Rate = 99999
  1533. tra.Lifetime = NumberRange.new(50)
  1534. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1535. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  1536. tra.Speed = NumberRange.new(0)
  1537. tra.Rotation = NumberRange.new(-500,500)
  1538. tra.VelocitySpread = 90000
  1539. tra.LockedToPart = true
  1540. tra.RotSpeed = NumberRange.new(-500,500)
  1541. local tra2 = Instance.new("ParticleEmitter",handle)
  1542. tra2.Texture = "http://www.roblox.com/asset/?id=246689799"
  1543. tra2.LightEmission = 1
  1544. tra2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1545. tra2.Rate = 50
  1546. tra2.Lifetime = NumberRange.new(50)
  1547. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1548. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  1549. tra2.Speed = NumberRange.new(0)
  1550. tra2.Rotation = NumberRange.new(-500,500)
  1551. tra2.VelocitySpread = 90000
  1552. tra2.LockedToPart = true
  1553. tra2.RotSpeed = NumberRange.new(-500,500)
  1554. local sa = Instance.new("Sound",handle)
  1555. sa.SoundId = "rbxassetid://565538688"
  1556. sa.Volume = 1.5
  1557. sa.Pitch = 0.975
  1558. sa:Play()
  1559. for i = 0,4,0.1 do
  1560. swait()
  1561. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1562. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1563. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  1564. 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)
  1565. end
  1566. chatfunc("Meteor!!")
  1567. local sa = Instance.new("Sound",handle)
  1568. sa.SoundId = "rbxassetid://201858144"
  1569. sa.Volume = 1.5
  1570. sa.Pitch = 0.85
  1571. sa:Play()
  1572. tra.Rate = 0
  1573. tra2.Rate = 0
  1574. local lb = Instance.new("Part")
  1575. lb.Parent = char
  1576. lb.Material = "Neon"
  1577. lb.Color = BrickColor.new("White").Color
  1578. lb.CanCollide = false
  1579. lb.Shape = "Ball"
  1580. lb.CFrame = handle.CFrame
  1581. lb.Anchored = true
  1582. lb.Transparency = 1
  1583. lb.Size = vt(1,1,1)
  1584. local thing = Instance.new("SpecialMesh",lb)
  1585. thing.MeshType = meshtype
  1586. local hitted = false
  1587. lb.Anchored = false
  1588. local trail = Instance.new("ParticleEmitter",lb)
  1589. trail.Texture = "rbxassetid://246689799"
  1590. trail.LightEmission = 1
  1591. trail.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1592. trail.Rate = 9999
  1593. trail.Lifetime = NumberRange.new(50)
  1594. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  1595. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1596. trail.Speed = NumberRange.new(0,0)
  1597. trail.Rotation = NumberRange.new(-500,500)
  1598. trail.RotSpeed = NumberRange.new(-500,500)
  1599. local bv = Instance.new("BodyVelocity")
  1600. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1601. bv.velocity = mouse.Hit.lookVector *95
  1602. bv.Parent = lb
  1603. wait(0.05)
  1604. lb.Touched:connect(function(hit)
  1605. if hitted == false then
  1606. hitted = true
  1607. trail.Rate = 0
  1608. lb.Anchored = true
  1609. local aa = Instance.new("Part")
  1610. local val = 1*8
  1611. aa.Parent = lb
  1612. local exsound = Instance.new("Sound",aa)
  1613. exsound.SoundId = "rbxassetid://203691467"
  1614. exsound.Volume = 10
  1615. exsound.Pitch = 0.945
  1616. exsound:Play()
  1617. aa.Material = "Neon"
  1618. aa.Color = BrickColor.new("White").Color
  1619. aa.CanCollide = false
  1620. aa.Shape = "Ball"
  1621. aa.CFrame = lb.CFrame
  1622. aa.Anchored = true
  1623. aa.Transparency = 0
  1624. aa.Size = vt(1,1,1)
  1625. local thinger = Instance.new("SpecialMesh",aa)
  1626. thinger.MeshType = meshtype
  1627. thinger.Scale = vt(15,15,15)
  1628. local explosion = Instance.new("Explosion",aa)
  1629. explosion.Position = aa.Position
  1630. explosion.BlastRadius = 650
  1631. explosion.BlastPressure = 1000
  1632. local exp = Instance.new("ParticleEmitter",aa)
  1633. exp.Texture = "rbxassetid://246689799"
  1634. exp.LightEmission = 1
  1635. exp.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1636. exp.Rate = 9000000000
  1637. exp.Lifetime = NumberRange.new(50)
  1638. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
  1639. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1640. exp.Speed = NumberRange.new(200)
  1641. exp.VelocitySpread = 9000000
  1642. exp.Rotation = NumberRange.new(-500,500)
  1643. exp.RotSpeed = NumberRange.new(-500,500)
  1644. local expa = Instance.new("ParticleEmitter",aa)
  1645. expa.Texture = "rbxassetid://246689799"
  1646. expa.LightEmission = 1
  1647. expa.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1648. expa.Rate = 9000000000
  1649. expa.Lifetime = NumberRange.new(50)
  1650. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
  1651. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1652. expa.Speed = NumberRange.new(200)
  1653. expa.VelocitySpread = 9000000
  1654. expa.Rotation = NumberRange.new(-500,500)
  1655. expa.RotSpeed = NumberRange.new(-500,500)
  1656. local exp2 = exp:Clone()
  1657. exp2.Parent = aa
  1658. local exp3 = exp:Clone()
  1659. exp3.Parent = aa
  1660. local exp4 = exp:Clone()
  1661. exp4.Parent = aa
  1662. local exp5 = exp:Clone()
  1663. exp5.Parent = aa
  1664. local exp6 = exp:Clone()
  1665. exp6.Parent = aa
  1666. local exp7 = exp:Clone()
  1667. exp7.Parent = aa
  1668. local expa2 = expa:Clone()
  1669. expa2.Parent = aa
  1670. local expa3 = expa:Clone()
  1671. expa3.Parent = aa
  1672. local expa4 = expa:Clone()
  1673. expa4.Parent = aa
  1674. local expa5 = expa:Clone()
  1675. expa5.Parent = aa
  1676. local expa6 = expa:Clone()
  1677. expa6.Parent = aa
  1678. local expa7 = expa:Clone()
  1679. expa7.Parent = aa
  1680. for i = 0, 1 do
  1681. val = val - 0.025*8
  1682. thinger.Scale = thinger.Scale + vt(val,val,val)
  1683. wait()
  1684. end
  1685. exp.Rate = 0
  1686. exp2.Rate = 0
  1687. exp3.Rate = 0
  1688. exp4.Rate = 0
  1689. exp5.Rate = 0
  1690. exp6.Rate = 0
  1691. exp7.Rate = 0
  1692. for i = 0, 1 do
  1693. val = val - 0.025*8
  1694. thinger.Scale = thinger.Scale + vt(val,val,val)
  1695. wait()
  1696. end
  1697. expa.Rate = 0
  1698. expa2.Rate = 0
  1699. expa3.Rate = 0
  1700. expa4.Rate = 0
  1701. expa5.Rate = 0
  1702. expa6.Rate = 0
  1703. expa7.Rate = 0
  1704. for i = 0, 21 do
  1705. val = val - 0.025*8
  1706. thinger.Scale = thinger.Scale + vt(val,val,val)
  1707. wait()
  1708. end
  1709. for i = 0, 74 do
  1710. val = val - 0.0145
  1711. aa.Transparency = aa.Transparency + 0.0145
  1712. thinger.Scale = thinger.Scale + vt(val,val,val)
  1713. wait()
  1714. end
  1715. end
  1716. end)
  1717. attack = false
  1718. wait(30)
  1719. sa:Destroy()
  1720. tra:Destroy()
  1721. tra2:Destroy()
  1722. lb:Destroy()
  1723. end
  1724.  
  1725.  
  1726. function InfernoWrath()
  1727. attack = true
  1728. chatfunc("legendary refused")
  1729. for i = 0,4,0.1 do
  1730. swait()
  1731. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1733. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1734. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1735. end
  1736. local ff = Instance.new("ForceField",char)
  1737. hum.WalkSpeed = 0
  1738. local lb = Instance.new("Part")
  1739. lb.Parent = char
  1740. lb.Material = "Neon"
  1741. lb.Color = BrickColor.new("White").Color
  1742. lb.CanCollide = false
  1743. lb.Shape = "Ball"
  1744. lb.CFrame = torso.CFrame
  1745. lb.Anchored = true
  1746. lb.Transparency = 1
  1747. lb.Size = vt(5,5,5)
  1748. local thing = Instance.new("SpecialMesh",lb)
  1749. thing.MeshType = meshtype
  1750. for i = 0, 4 do
  1751. local lbr = Instance.new("Part")
  1752. lbr.Parent = char
  1753. lbr.Material = "Neon"
  1754. lbr.Color = BrickColor.new("White").Color
  1755. lbr.CanCollide = false
  1756. lbr.Shape = "Ball"
  1757. lbr.CFrame = lb.CFrame
  1758. lbr.Anchored = true
  1759. lbr.Transparency = 1
  1760. lbr.Size = vt(1,1,1)
  1761. local thinga = Instance.new("SpecialMesh",lbr)
  1762. thinga.MeshType = meshtype
  1763. thinga.Scale = vt(20*6,20*6,20*6)
  1764. for z = 0, 19 do
  1765. wait(0.025)
  1766. lbr.Transparency = lbr.Transparency - 0.05
  1767. thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6)
  1768. end
  1769. lbr:Destroy()
  1770. end
  1771. local aa = Instance.new("Part")
  1772. local val = 1*7.5
  1773. aa.Parent = lb
  1774. local exsound = Instance.new("Sound",handle)
  1775. exsound.SoundId = "rbxassetid://203691467"
  1776. exsound.Volume = 10
  1777. exsound.Pitch = 1
  1778. exsound:Play()
  1779. aa.Material = "Neon"
  1780. aa.Color = BrickColor.new("White").Color
  1781. aa.CanCollide = false
  1782. aa.Shape = "Ball"
  1783. aa.CFrame = lb.CFrame
  1784. aa.Anchored = true
  1785. aa.Transparency = 0
  1786. aa.Size = vt(1,1,1)
  1787. local thinger = Instance.new("SpecialMesh",aa)
  1788. thinger.MeshType = meshtype
  1789. thinger.Scale = vt(15*1.5,15*1.5,15*1.5)
  1790. local explosion = Instance.new("Explosion",aa)
  1791. explosion.Position = aa.Position
  1792. explosion.BlastRadius = 50
  1793. explosion.BlastPressure = 100
  1794. local exp = Instance.new("ParticleEmitter",aa)
  1795. exp.Texture = "rbxassetid://246689799"
  1796. exp.LightEmission = 1
  1797. exp.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1798. exp.Rate = 9000000000
  1799. exp.Lifetime = NumberRange.new(50)
  1800. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1801. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1802. exp.Speed = NumberRange.new(115)
  1803. exp.VelocitySpread = 9000000
  1804. exp.Rotation = NumberRange.new(-500,500)
  1805. exp.RotSpeed = NumberRange.new(-500,500)
  1806. local expa = Instance.new("ParticleEmitter",aa)
  1807. expa.Texture = "rbxassetid://246689799"
  1808. expa.LightEmission = 1
  1809. expa.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1810. expa.Rate = 9000000000
  1811. expa.Lifetime = NumberRange.new(50)
  1812. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  1813. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1814. expa.Speed = NumberRange.new(115)
  1815. expa.VelocitySpread = 9000000
  1816. expa.Rotation = NumberRange.new(-500,500)
  1817. expa.RotSpeed = NumberRange.new(-500,500)
  1818. local exp2 = exp:Clone()
  1819. exp2.Parent = aa
  1820. local exp3 = exp:Clone()
  1821. exp3.Parent = aa
  1822. local exp4 = exp:Clone()
  1823. exp4.Parent = aa
  1824. local exp5 = exp:Clone()
  1825. exp5.Parent = aa
  1826. local exp6 = exp:Clone()
  1827. exp6.Parent = aa
  1828. local exp7 = exp:Clone()
  1829. exp7.Parent = aa
  1830. local expa2 = expa:Clone()
  1831. expa2.Parent = aa
  1832. local expa3 = expa:Clone()
  1833. expa3.Parent = aa
  1834. local expa4 = expa:Clone()
  1835. expa4.Parent = aa
  1836. local expa5 = expa:Clone()
  1837. expa5.Parent = aa
  1838. local expa6 = expa:Clone()
  1839. expa6.Parent = aa
  1840. local expa7 = expa:Clone()
  1841. expa7.Parent = aa
  1842. for i = 0, 1 do
  1843. val = val - 0.025*7.5
  1844. thinger.Scale = thinger.Scale + vt(val,val,val)
  1845. wait()
  1846. end
  1847. exp.Rate = 0
  1848. exp2.Rate = 0
  1849. exp3.Rate = 0
  1850. exp4.Rate = 0
  1851. exp5.Rate = 0
  1852. exp6.Rate = 0
  1853. exp7.Rate = 0
  1854. for i = 0, 1 do
  1855. val = val - 0.025*7.5
  1856. thinger.Scale = thinger.Scale + vt(val,val,val)
  1857. wait()
  1858. end
  1859. ff:Destroy()
  1860. hum.WalkSpeed = 16
  1861. attack = false
  1862. expa.Rate = 0
  1863. expa2.Rate = 0
  1864. expa3.Rate = 0
  1865. expa4.Rate = 0
  1866. expa5.Rate = 0
  1867. expa6.Rate = 0
  1868. expa7.Rate = 0
  1869. for i = 0, 21 do
  1870. val = val - 0.025*7.5
  1871. thinger.Scale = thinger.Scale + vt(val,val,val)
  1872. wait()
  1873. end
  1874. for i = 0, 74 do
  1875. val = val - 0.0145
  1876. aa.Transparency = aa.Transparency + 0.0145
  1877. thinger.Scale = thinger.Scale + vt(val,val,val)
  1878. wait()
  1879. end
  1880. wait(5)
  1881. lb:Destroy()
  1882. end
  1883.  
  1884. function InfernoDemise()
  1885. attack = true
  1886. chatfunc("legendary force")
  1887. local tra = Instance.new("ParticleEmitter",handle)
  1888. tra.Texture = "rbxassetid://246689799"
  1889. tra.LightEmission = 0.75
  1890. tra.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1891. tra.Rate = 99999
  1892. tra.Lifetime = NumberRange.new(50)
  1893. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1894. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  1895. tra.Speed = NumberRange.new(0)
  1896. tra.Rotation = NumberRange.new(-500,500)
  1897. tra.VelocitySpread = 90000
  1898. tra.LockedToPart = true
  1899. tra.RotSpeed = NumberRange.new(-500,500)
  1900. local tra2 = Instance.new("ParticleEmitter",handle)
  1901. tra2.Texture = "http://www.roblox.com/asset/?id=321556991"
  1902. tra2.LightEmission = 1
  1903. tra2.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1904. tra2.Rate = 50
  1905. tra2.Lifetime = NumberRange.new(50)
  1906. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  1907. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  1908. tra2.Speed = NumberRange.new(0)
  1909. tra2.Rotation = NumberRange.new(-500,500)
  1910. tra2.VelocitySpread = 90000
  1911. tra2.LockedToPart = true
  1912. tra2.RotSpeed = NumberRange.new(-500,500)
  1913. for i = 0,1,0.1 do
  1914. swait()
  1915. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1916. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1917. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1918. 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)
  1919. end
  1920. tra.Rate = 0
  1921. tra2.Rate = 0
  1922. local lb = Instance.new("Part")
  1923. lb.Parent = char
  1924. lb.Material = "Neon"
  1925. lb.Color = BrickColor.new("White").Color
  1926. lb.CanCollide = false
  1927. lb.Shape = "Ball"
  1928. lb.CFrame = mouse.Hit
  1929. lb.Anchored = true
  1930. lb.Transparency = 1
  1931. lb.Size = vt(1.2,1.2,1.2)
  1932. local thing = Instance.new("SpecialMesh",lb)
  1933. thing.MeshType = meshtype
  1934. for i = 0, 4 do
  1935. local lbr = Instance.new("Part")
  1936. lbr.Parent = char
  1937. lbr.Material = "Neon"
  1938. lbr.Color = BrickColor.new("White").Color
  1939. lbr.CanCollide = false
  1940. lbr.Shape = "Ball"
  1941. lbr.CFrame = lb.CFrame
  1942. lbr.Anchored = true
  1943. lbr.Transparency = 1
  1944. lbr.Size = vt(1.4,1.4,1.4)
  1945. local thinga = Instance.new("SpecialMesh",lbr)
  1946. thinga.MeshType = meshtype
  1947. thinga.Scale = vt(20*4.5,20*4.5,20*4.5)
  1948. for z = 0, 19 do
  1949. wait(0.025)
  1950. lbr.Transparency = lbr.Transparency - 0.05
  1951. thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5)
  1952. end
  1953. lbr:Destroy()
  1954. end
  1955. local aa = Instance.new("Part")
  1956. local val = 1*6.25
  1957. aa.Parent = lb
  1958. local exsound = Instance.new("Sound",aa)
  1959. exsound.SoundId = "rbxassetid://541710285"
  1960. exsound.Volume = 4.5
  1961. exsound.Pitch = 1
  1962. exsound:Play()
  1963. aa.Material = "Neon"
  1964. aa.Color = BrickColor.new("White").Color
  1965. aa.CanCollide = false
  1966. aa.Shape = "Ball"
  1967. aa.CFrame = lb.CFrame
  1968. aa.Anchored = true
  1969. aa.Transparency = 0
  1970. aa.Size = vt(1,1,1)
  1971. local thinger = Instance.new("SpecialMesh",aa)
  1972. thinger.MeshType = meshtype
  1973. thinger.Scale = vt(15*1.15,15*1.15,15*1.15)
  1974. local explosion = Instance.new("Explosion",aa)
  1975. explosion.Position = aa.Position
  1976. explosion.BlastRadius = 35
  1977. explosion.BlastPressure = 100
  1978. local exp = Instance.new("ParticleEmitter",aa)
  1979. exp.Texture = "rbxassetid://246689799"
  1980. exp.LightEmission = 1
  1981. exp.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1982. exp.Rate = 9000000000
  1983. exp.Lifetime = NumberRange.new(50)
  1984. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1985. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1986. exp.Speed = NumberRange.new(105)
  1987. exp.VelocitySpread = 9000000
  1988. exp.Rotation = NumberRange.new(-500,500)
  1989. exp.RotSpeed = NumberRange.new(-500,500)
  1990. local expa = Instance.new("ParticleEmitter",aa)
  1991. expa.Texture = "rbxassetid://246689799"
  1992. expa.LightEmission = 1
  1993. expa.Color = ColorSequence.new(Color3.new(255,255/255,255/255))
  1994. expa.Rate = 9000000000
  1995. expa.Lifetime = NumberRange.new(50)
  1996. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  1997. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1998. expa.Speed = NumberRange.new(105)
  1999. expa.VelocitySpread = 9000000
  2000. expa.Rotation = NumberRange.new(-500,500)
  2001. expa.RotSpeed = NumberRange.new(-500,500)
  2002. local exp2 = exp:Clone()
  2003. exp2.Parent = aa
  2004. local exp3 = exp:Clone()
  2005. exp3.Parent = aa
  2006. local exp4 = exp:Clone()
  2007. exp4.Parent = aa
  2008. local exp5 = exp:Clone()
  2009. exp5.Parent = aa
  2010. local exp6 = exp:Clone()
  2011. exp6.Parent = aa
  2012. local exp7 = exp:Clone()
  2013. exp7.Parent = aa
  2014. local expa2 = expa:Clone()
  2015. expa2.Parent = aa
  2016. local expa3 = expa:Clone()
  2017. expa3.Parent = aa
  2018. local expa4 = expa:Clone()
  2019. expa4.Parent = aa
  2020. local expa5 = expa:Clone()
  2021. expa5.Parent = aa
  2022. local expa6 = expa:Clone()
  2023. expa6.Parent = aa
  2024. local expa7 = expa:Clone()
  2025. expa7.Parent = aa
  2026. for i = 0, 1 do
  2027. val = val - 0.025*6.25
  2028. thinger.Scale = thinger.Scale + vt(val,val,val)
  2029. wait()
  2030. end
  2031. exp.Rate = 0
  2032. exp2.Rate = 0
  2033. exp3.Rate = 0
  2034. exp4.Rate = 0
  2035. exp5.Rate = 0
  2036. exp6.Rate = 0
  2037. exp7.Rate = 0
  2038. for i = 0, 1 do
  2039. val = val - 0.025*6.25
  2040. thinger.Scale = thinger.Scale + vt(val,val,val)
  2041. wait()
  2042. end
  2043. attack = false
  2044. expa.Rate = 0
  2045. expa2.Rate = 0
  2046. expa3.Rate = 0
  2047. expa4.Rate = 0
  2048. expa5.Rate = 0
  2049. expa6.Rate = 0
  2050. expa7.Rate = 0
  2051. for i = 0, 21 do
  2052. val = val - 0.025*6.25
  2053. thinger.Scale = thinger.Scale + vt(val,val,val)
  2054. wait()
  2055. end
  2056. for i = 0, 74 do
  2057. val = val - 0.0145
  2058. aa.Transparency = aa.Transparency + 0.0145
  2059. thinger.Scale = thinger.Scale + vt(val,val,val)
  2060. wait()
  2061. end
  2062. wait(5)
  2063. lb:Destroy()
  2064. tra:Destroy()
  2065. tra2:Destroy()
  2066. end
  2067.  
  2068. mouse.KeyDown:connect(function(key)
  2069. if key == "q" and attack == false then
  2070. InfernoComet()
  2071. end
  2072. if key == "e" and attack == false then
  2073. InfernoDemise()
  2074. end
  2075. if key == "r" and attack == false then
  2076. InfernoWrath()
  2077. end
  2078. if key == "f" and attack == false then
  2079. InfernoMeteor()
  2080. end
  2081. if key == "x" and attack == false then
  2082. InfernoHell()
  2083. end
  2084. end)
  2085.  
  2086. game:GetService("RunService").Stepped:connect(function()
  2087. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2088. velocity = RootPart.Velocity.y
  2089. sine = sine + change
  2090. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2091. if equipped == true or equipped == false then
  2092. healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
  2093. if RootPart.Velocity.y > 1 and hit == nil then
  2094. Anim = "Jump"
  2095. 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)
  2096. 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)
  2097. if attack == false then
  2098. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2099. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2100. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
  2101. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  2102. end
  2103. else
  2104. if RootPart.Velocity.y < -1 and hit == nil then
  2105. Anim = "Fall"
  2106. 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)
  2107. 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)
  2108. if attack == false then
  2109. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2111. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  2112. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  2113. end
  2114. else
  2115. if Torsovelocity < 1 and hit ~= nil then
  2116. Anim = "Idle"
  2117. 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)
  2118. 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)
  2119. if attack == false then
  2120. change = 1
  2121. 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)
  2122. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2123. 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)
  2124. 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)
  2125. end
  2126. else
  2127. if Torsovelocity > 2 and hit ~= nil then
  2128. Anim = "Walk"
  2129. 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)
  2130. 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)
  2131. if attack == false then
  2132. 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)
  2133. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3)
  2134. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3)
  2135. 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)
  2136. end
  2137. end
  2138. end
  2139. end
  2140. end
  2141. end
  2142. end)
Add Comment
Please, Sign In to add comment