Advertisement
Guest User

Untitled

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