Advertisement
Guest User

Untitled

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