Advertisement
Namoo546

asdasdasdas

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