Advertisement
GojiGaming1337

Untitled

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