Advertisement
Tetezaza1542

Inferno

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