Advertisement
Guest User

Untitled

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