Piyangkoon

Green

May 12th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[coolallball]]--
  2. if game.Players.LocalPlayer.Character.Animate.Disabled==false then
  3. game.Players.LocalPlayer.Character.Animate.Disabled=true
  4. end
  5. if game.Players.LocalPlayer.Character.Humanoid.Animator then
  6. game.Players.LocalPlayer.Character.Humanoid.Animator:Destroy()
  7. end
  8. wait()
  9. local Player=game.Players.LocalPlayer
  10. repeat wait()
  11. until Player
  12. local Char=Player.Character
  13. repeat wait()
  14. until Char
  15. local CurrentEffects={}
  16. local CurrentDamages={}
  17. local Human=Char.Humanoid
  18. local LArm=Char["Left Arm"]
  19. local RArm=Char["Right Arm"]
  20. local LLeg=Char["Left Leg"]
  21. local RLeg=Char["Right Leg"]
  22. local Torso=Char.Torso
  23. local RS=Torso["Right Shoulder"]
  24. local LS=Torso["Left Shoulder"]
  25. local RH=Torso["Right Hip"]
  26. local LH=Torso["Left Hip"]
  27. local Head=Char.Head
  28. local Neck=Torso.Neck
  29. local RootPart=Char.HumanoidRootPart
  30. local RootJoint=RootPart.RootJoint
  31. local equipped=false
  32. local Debounce=false
  33. local Anim="Idle"
  34. local chat = game:GetService("Chat")
  35. local Mouse=Player:GetMouse()
  36. local Lighting=game.Lighting
  37. local cf=CFrame.new
  38. local v3=Vector3.new
  39. local c3=Color3.new
  40. local it=Instance.new
  41. local angles=CFrame.Angles
  42. local rad=math.rad
  43. local ran=math.random
  44. local huge=math.huge
  45. local attacking=false
  46. local attacktype=1
  47. local Portalling=false
  48. local Animating=false
  49. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  50. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  51. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  52. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  53. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  54. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  55. r=game:service'RunService'.RenderStepped
  56. clerp=function(a,b,t)
  57. return a:lerp(b,t)
  58. end
  59.  
  60. function ClearEffects()
  61. for i, v in ipairs(CurrentEffects) do
  62. v:Remove()
  63. v:Destroy()
  64. game:GetService("Debris"):AddItem(v,0)
  65. table.remove(CurrentEffects,i)
  66. end
  67. end
  68. Human.WalkSpeed=26
  69. Human.MaxHealth=2e9
  70. Human.Health=Human.MaxHealth
  71. function defpos()
  72. Neck.C0 = necko
  73. LH.C0 = LHC0
  74. LS.C0 = LSC0
  75. RH.C0 = RHC0
  76. RS.C0 = RSC0
  77. RootJoint.C0 = ROOTC0
  78. end
  79. function newpos1()
  80. RootJoint.C0 = ROOTC0
  81. defpos()
  82. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-50),0,0),.3)
  83. LS.C0=clerp(LS.C0,LS.C0*angles(rad(-50),0,0),.3)
  84. RH.C0=clerp(RH.C0,RH.C0*angles(rad(-25),0,0),.3)
  85. LH.C0=clerp(LH.C0,LH.C0*angles(rad(-25),0,0),.3)
  86. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,1),2)
  87. end
  88.  
  89. function newpos()
  90. defpos()
  91. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),rad(75),rad(90))*cf(0,-.4,.2),1)
  92. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(-50),rad(-90))*cf(0,0,-.4),1)
  93. RH.C0=clerp(RH.C0,RH.C0*angles(rad(-2),rad(0),rad(-10))*cf(.2,0,0),1)
  94. LH.C0=clerp(LH.C0,LH.C0*angles(rad(-2),rad(0),rad(5))*cf(.1,0,0),1)
  95. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,1),2)
  96. end
  97. function PEE(part,size,col3,Lemission,trans,accel,ltp,edirection,enabled,lifetime,rate,rotation,rotspeed,speed,velspread,name,text)
  98. local p=it("ParticleEmitter",part)
  99. p.Size=size
  100. p.Texture=text
  101. p.Color=col3
  102. p.LightEmission=Lemission
  103. p.Transparency=trans
  104. p.Acceleration=accel
  105. p.LockedToPart=ltp
  106. p.EmissionDirection=edirection
  107. p.Enabled=enabled
  108. p.Lifetime=lifetime
  109. p.Rate=rate
  110. p.Rotation=rotation
  111. p.RotSpeed=rotspeed
  112. p.Speed=speed
  113. p.VelocitySpread=velspread
  114. p.Name=name
  115. return p
  116. end
  117.  
  118. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  119. local gui = Instance.new(GuiType)
  120. gui.Parent = parent
  121. gui.Text = text
  122. gui.BackgroundTransparency = backtrans
  123. gui.BackgroundColor3 = backcol
  124. gui.SizeConstraint = "RelativeXY"
  125. gui.TextXAlignment = "Center"
  126. gui.TextYAlignment = "Center"
  127. gui.Position = pos
  128. gui.Size = size
  129. gui.Font = "SourceSans"
  130. gui.FontSize = "Size60"
  131. gui.TextWrapped = false
  132. gui.TextStrokeTransparency = 0
  133. gui.TextColor = BrickColor.new("Lime green")
  134. return gui
  135. end
  136.  
  137. part=function(parent,anchored,cancollide,size,cframe,col3,material,trans)
  138. local p=it("Part",parent)
  139. p.Anchored=anchored
  140. p.CanCollide=cancollide
  141. p.Size=size
  142. p.CFrame=cframe
  143. p.Color=col3
  144. p.Material=material
  145. p.Transparency=trans
  146. return p
  147. end
  148.  
  149. BillboardGui = function(image, position, size)
  150. local billpar = Instance.new("Part")
  151. billpar.Transparency = 1
  152. billpar.formFactor = "Custom"
  153. billpar.Size = Vector3.new(1, 1, 1)
  154. billpar.Anchored = true
  155. billpar.CanCollide = false
  156. billpar.CFrame = CFrame.new(position)
  157. billpar.Name = "BillboardGuiPart"
  158. local bill = Instance.new("BillboardGui", billpar)
  159. bill.Adornee = billpar
  160. bill.Size = UDim2.new(1, 0, 1, 0)
  161. bill.SizeOffset = Vector2.new(size, size)
  162. local d = Instance.new("ImageLabel", bill)
  163. d.BackgroundTransparency = 1
  164. d.Size = UDim2.new(1, 0, 1, 0)
  165. d.Image = image
  166. return billpar
  167. end
  168.  
  169. RealDamage = function(part,min,max,radius)
  170. coroutine.resume(coroutine.create(function()
  171. for i,v in pairs(workspace:children()) do
  172. if v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' then
  173. if v.Name == game.Players.LocalPlayer.Name then else
  174. print((v.Torso.Position - part.Position).magnitude)
  175. if ((v.Torso.Position - part.Position).magnitude <= radius) then
  176. local hpdmg=math.random(min,max)
  177. v.Humanoid.Health = v.Humanoid.Health - hpdmg
  178. print"0"
  179. print"1"
  180. local Dbil=it("BillboardGui", v.Torso)
  181. Dbil.Adornee=v.Torso
  182. Dbil.Size=UDim2.new(0, 500, 0, 500)
  183. Dbil.SizeOffset=Vector2.new(0,0)
  184. Dbil.AlwaysOnTop=true
  185. Dbil.ExtentsOffset=Vector3.new(ran(-3,3),ran(-3,3),ran(-3,3))
  186. table.insert(CurrentDamages,Dbil)
  187. print"2"
  188. local goo=gui("TextLabel",Dbil,""..hpdmg.."",1,Color3.new(0,0,0),UDim2.new(0, 0, 0, 0),UDim2.new(1, 0, 1, 0))
  189. table.insert(CurrentDamages,goo)
  190. print"3"
  191. for i=1,10 do
  192. wait()
  193. goo.TextTransparency=i/10
  194. end
  195. for a,b in pairs(CurrentDamages) do
  196. b:Remove()
  197. b:Destroy()
  198. game:GetService("Debris"):AddItem(b,0)
  199. table.remove(CurrentEffects,a)
  200. end
  201.  
  202. end
  203. end
  204. end
  205. end
  206. end))
  207. end
  208.  
  209. smoothNO=function(ppart)
  210. ppart.TopSurface=10
  211. ppart.BottomSurface=10
  212. ppart.BackSurface=10
  213. ppart.FrontSurface=10
  214. ppart.LeftSurface=10
  215. ppart.RightSurface=10
  216. return ppart
  217. end
  218. local Smmooth=function(tablle)
  219. for i, v in pairs(tablle) do
  220. if v.ClassName=="Part" then
  221. v.TopSurface=10
  222. v.BottomSurface=10
  223. v.BackSurface=10
  224. v.FrontSurface=10
  225. v.LeftSurface=10
  226. v.RightSurface=10
  227. end
  228. end
  229. end
  230. smoothO=function(ppart)
  231. ppart.TopSurface=0
  232. ppart.BottomSurface=0
  233. ppart.BackSurface=0
  234. ppart.FrontSurface=0
  235. ppart.LeftSurface=0
  236. ppart.RightSurface=0
  237. end
  238.  
  239. sound=function(parent,id,vol,looped)
  240. local s=it("Sound",parent)
  241. s.SoundId=id
  242. s.Volume=vol
  243. s.Looped=looped
  244. return s
  245. end
  246.  
  247. mesh=function(parent,ttype,scale)
  248. local m=it("SpecialMesh",parent)
  249. m.MeshType=ttype
  250. m.Scale=scale
  251. return m
  252. end
  253.  
  254. spmesh=function(parent,id,scale)
  255. local m=it("SpecialMesh",parent)
  256. m.MeshId=id
  257. m.Scale=scale
  258. return m
  259. end
  260.  
  261. spawn(function()
  262. TEngineAnimationSoftware = function()
  263. while true do
  264. wait()
  265. local torvel = (game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity * Vector3.new(1,0,1)).magnitude
  266. if torvel > 2 and Anim == "Idle" and attacking == false and Animating==false then
  267. Anim = "Walking"
  268. print("WALKING")
  269. spawn(function()
  270. while Anim=="Walking" do wait()
  271. feint()
  272. end
  273. end)
  274. coroutine.resume(coroutine.create(function()
  275. for i=1,20 do--y,x,z
  276. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),rad(0),rad(-108))*cf(-.4,-.6,-.7),.06)
  277. LS.C0=clerp(LS.C0,LS.C0*angles(0,0,rad(108))*cf(.2,-.4,-.2),.06)
  278. RH.C0=clerp(RH.C0,RH.C0*angles(0,0,rad(-10)),.06)
  279. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,rad(10)),.06)
  280. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(rad(15),0,0),.05)
  281. r:wait()
  282. end
  283. end))
  284. elseif torvel < 1 and Anim=="Walking" and attacking == false then
  285. Anim = "Idle"
  286. print("IDLE")
  287. coroutine.resume(coroutine.create(function()
  288. for i=1,10 do
  289. RS.C0=clerp(RS.C0,RS.C0*angles(0,0,0),.06)
  290. LS.C0=clerp(LS.C0,LS.C0*angles(0,0,0),.06)
  291. RH.C0=clerp(RH.C0,RH.C0*angles(0,0,rad(20)),.06)
  292. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,rad(-20)),.06)
  293. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(rad(-30),0,0),.05)
  294. r:wait()
  295. end
  296. newpos()
  297. end))
  298. end
  299. end
  300. end
  301.  
  302. TEngineAnimationSoftware()
  303. wait()
  304. end)
  305.  
  306.  
  307. newpos()
  308.  
  309. coroutine.resume(coroutine.create(function()
  310. while wait() do
  311. while true do
  312. for i=1,20 do
  313. wait()
  314. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,.05),.3)
  315. end
  316. for i=1,20 do
  317. wait()
  318. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,-.05),.3)
  319. end
  320. end
  321. end
  322. end))
  323.  
  324.  
  325. local EyePart=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,1,0),"Neon",0)
  326. EyePart.Name="EyePart"
  327. EyePart.Shape="Ball"
  328. local EyeWeld=it("Weld",Char)
  329. EyeWeld.Part0=EyePart
  330. EyeWeld.Part1=Head
  331. EyeWeld.C0=EyeWeld.C0*cf(.2,-.25,.578)
  332. local EyeSizes={
  333. NumberSequenceKeypoint.new(0,.4,0),
  334. NumberSequenceKeypoint.new(1,0,0)
  335. }
  336. local EyeTrans={
  337. NumberSequenceKeypoint.new(0,0,0),
  338. NumberSequenceKeypoint.new(1,1,0)
  339. }
  340. local PE=it("ParticleEmitter",EyePart)
  341. PE.LightEmission=.4
  342. PE.LockedToPart=true
  343. PE.Size=NumberSequence.new(EyeSizes)
  344. PE.Transparency=NumberSequence.new(EyeTrans)
  345. PE.Acceleration=v3(2,0,0)
  346. PE.Lifetime=NumberRange.new(2,2,2)
  347. PE.Rate=70
  348. PE.Speed=NumberRange.new(4,4,4)
  349. PE.Texture="rbxassetid://300899374"
  350.  
  351. local function RisingAndRotatingParts(Parent,Cframe,Col1,Col2,Time,Material,Size)
  352. local Colours = {BrickColor.new(Col1),BrickColor.new(Col2)}
  353.  
  354. local flame1 = Instance.new("Part",Parent)
  355. flame1.Anchored = true
  356. flame1.CanCollide =false
  357. flame1.CFrame = Cframe
  358. flame1.Material = Material
  359. flame1.TopSurface = 0
  360. flame1.BottomSurface = 0
  361. flame1.Size = Size
  362. flame1.BrickColor = Colours[math.random(1,#Colours)]
  363.  
  364. for i = 1,30 do
  365. flame1.CFrame = flame1.CFrame*CFrame.Angles(.5,.5,.5)+Vector3.new(0,.2,0)
  366. flame1.Transparency = i/30
  367. r:wait()
  368. end
  369. flame1:Destroy()
  370. end
  371.  
  372. coroutine.resume(coroutine.create(function()
  373. while r:wait() do
  374. RisingAndRotatingParts(Char,Torso.CFrame*cf(ran(-2,2),-3,ran(-2,2)),"Lime green","Really black",1,"Neon",v3(.5,.5,.5))
  375. end
  376. end))
  377. coroutine.resume(coroutine.create(function()
  378. for i=1,huge do
  379. local MCir=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,0,0),"Neon",1)
  380. table.insert(CurrentEffects,MCir)
  381. local CirM=mesh(MCir,"Cylinder",v3(1.3,3.3,3.3))
  382. table.insert(CurrentEffects,CirM)
  383. local CirDec=it("Decal",MCir)
  384. CirDec.Texture="rbxassetid://687708091"
  385. CirDec.Face="Right"
  386. CirDec.Transparency=.5
  387. table.insert(CurrentEffects,CirDec)
  388. local MagicWeld=it("Weld",Char)
  389. MagicWeld.Part0=EyePart
  390. MagicWeld.Part1=MCir
  391. MagicWeld.C0=MagicWeld.C0*angles(0,rad(90),0)*cf(.05,0,0)
  392. table.insert(CurrentEffects,MagicWeld)
  393. for i=1,40 do
  394. MagicWeld.C0=MagicWeld.C0*angles(rad(6),0,0)
  395. CirM.Scale=CirM.Scale+v3(0,.4,.4)
  396. CirDec.Transparency=i/40
  397. r:wait()
  398. end
  399. --ClearEffects()
  400. end
  401. end))
  402. print"kek"
  403.  
  404.  
  405. Lightning1 = function(Start,End,Times,Offset,Color,Thickness)
  406.  
  407. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  408.  
  409. for i=1,Times do
  410.  
  411. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true
  412.  
  413. li.Material = "Neon"
  414.  
  415. li:BreakJoints()
  416.  
  417. li.Transparency = 0 li.BrickColor = Color
  418.  
  419. li.formFactor = "Custom" li.CanCollide = false
  420.  
  421. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  422.  
  423. local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  424.  
  425. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  426.  
  427. if Times == i then
  428.  
  429. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  430.  
  431. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  432.  
  433. else
  434.  
  435. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  436.  
  437. end
  438.  
  439. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p Spawn(function() for i=1,10 do wait()
  440.  
  441.  
  442.  
  443. li.Transparency = i/10 end li:Destroy() end)
  444.  
  445.  
  446.  
  447. end
  448.  
  449. end
  450.  
  451.  
  452. attackone=function()
  453. if attacking ==false and Debounce==false then attacking,Debounce=true,true
  454. print"1"
  455. newpos1()
  456. chat:Chat(Char.Head,"Hmph.","Green")
  457. local Hbox=part(Char,false,false,v3(1.5,2,1.5),Torso.CFrame,c3(0,0,0),"Plastic",1)
  458. RealDamage(Hbox,7,16,5,false)
  459. local w=it("Weld",Char)
  460. w.Part0=Hbox
  461. w.Part1=LArm
  462. w.C0=w.C0*cf(0,1,0)
  463. for i=1,10 do
  464. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),0,0),.06)
  465. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(-65),rad(-150)),.06)
  466. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  467. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  468. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(90)),.06)
  469. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-90)),.06)
  470. r:wait()
  471. end
  472. for i=1,10 do
  473. LS.C0=clerp(LS.C0,LS.C0*angles(rad(-9),rad(0),rad(0)),1)
  474. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-12)),1)
  475. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(12)),1)
  476. r:wait()
  477. end
  478. wait(.8)
  479.  
  480. newpos()
  481. Hbox:Destroy()
  482. end
  483. attacking=false
  484. Debounce=false
  485. Anim="Idle"
  486. end
  487.  
  488. attacktwo=function()
  489. if attacking ==false and Debounce==false then attacking,Debounce=true,true
  490. print"2"
  491. newpos1()
  492. chat:Chat(Char.Head,"Die!","Green")
  493. local ETorso=Torso:Clone()
  494. ETorso.Transparency=1
  495. ETorso.Anchored=true
  496. ETorso.CanCollide=false
  497. ETorso.CFrame=Torso.CFrame
  498. for i=1,10 do
  499. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-7),rad(0),rad(0))*cf(0,-.05,0),1)
  500. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(9)),1)
  501. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-9)),1)
  502. r:wait()
  503. end
  504.  
  505. for i=1,30 do
  506. local p=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-i)*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",0)
  507. local m=it("SpecialMesh",p)
  508. m.MeshId="rbxassetid://3270017"
  509. m.Scale=v3(4,4,4)
  510. spawn(function()
  511. for ii=1,20 do
  512. r:wait()
  513. m.Scale=m.Scale+v3(.5,.5,.5)
  514. p.Transparency=ii/20
  515. end
  516. end)
  517.  
  518. r:wait()
  519. end
  520. local urmum=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-30),c3(0,1,0),"Plastic",0)
  521. table.insert(CurrentEffects,urmum)
  522. smoothNO(urmum)
  523. local HBox=urmum:Clone()
  524. HBox.Parent=Char
  525. HBox.Transparency=1
  526. HBox.Shape="Ball"
  527. HBox.Size=v3(2,2,2)
  528. HBox.CFrame=urmum.CFrame
  529. RealDamage(HBox,10,25,20,false)
  530. local urmesh=it("SpecialMesh",urmum)
  531. urmesh.MeshType="Sphere"
  532. urmesh.Scale=v3(2,2,2)
  533. coroutine.resume(coroutine.create(function()
  534. for i=1,40 do
  535. urmum.Transparency=i/40
  536. urmesh.Scale=urmesh.Scale+v3(1.5,1.5,1.5)
  537. HBox.CFrame=urmum.CFrame
  538. HBox.Size=HBox.Size+v3(1,1,1)
  539. r:wait()
  540. end
  541. end))
  542. for a=1,2 do
  543. for i=1,20 do
  544. spawn(function()
  545. local rann=part(Char,true,false,v3(0,0,0),ETorso.CFrame*cf(0,0,-30)*cf(ran(-30,30),ran(30),ran(-30,30)),c3(0,1,0),"Neon",1)
  546. table.insert(CurrentEffects,rann)
  547. local p=part(Char,false,false,v3(0,0,0),ETorso.CFrame*CFrame.new(0,0,-30),c3(0,1,0),"Neon",0)
  548. table.insert(CurrentEffects,p)
  549. local m=it("BlockMesh",p)
  550. m.Scale=v3(6,6,6)
  551. local bp=it("BodyPosition")
  552. bp.maxForce=v3(math.huge,math.huge,math.huge)
  553. bp.Position=rann.Position
  554. bp.Parent=p
  555. table.insert(CurrentEffects,bp)
  556. spawn(function()
  557. for i=1,16 do
  558. r:wait()
  559. p.Transparency=i/16
  560. end
  561. end)
  562. wait()
  563. bp.Parent=bil
  564. end)
  565. end
  566. end
  567. ETorso:Remove()
  568. HBox:Destroy()
  569. end
  570. --ClearEffects()
  571. newpos()
  572. attacking=false
  573. Debounce=false
  574. Anim="Idle"
  575. end
  576.  
  577. attackthree=function()
  578. if attacking ==false and Debounce==false then attacking,Debounce=true,true
  579. print"3"
  580. newpos1()
  581. chat:Chat(Char.Head,"Get Ready..","Green")
  582. for i=1,10 do
  583. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-33),0,rad(-10))*cf(0,-.25,0),.4)
  584. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(20),rad(0)),.06)
  585. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  586. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  587. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-6)),1)
  588. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(6)),1)
  589. r:wait()
  590. end
  591.  
  592. local ball=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,0,0),"Plastic",.8)
  593. local ball2=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,1,0),"Neon",.2)
  594. local w=it("Weld",Char)
  595. w.Part0=ball
  596. w.Part1=RArm
  597. w.C0=w.C0*cf(0,20,0)
  598. local w2=it("Weld",Char)
  599. w2.Part0=ball2
  600. w2.Part1=ball
  601. local m=it("SpecialMesh",ball)
  602. m.MeshType="Sphere"
  603. m.Scale=Vector3.new(.1,.1,.1)
  604. local m2=it("SpecialMesh",ball2)
  605. m2.MeshType="Sphere"
  606. m2.Scale=Vector3.new(.01,.01,.01)
  607. local EyeSizes={
  608. NumberSequenceKeypoint.new(0,5,0),
  609. NumberSequenceKeypoint.new(1,0,0)
  610. }
  611. local PE=it("ParticleEmitter",ball)
  612. PE.LightEmission=.4
  613. PE.LockedToPart=false
  614. PE.Size=NumberSequence.new(EyeSizes)
  615. PE.Transparency=NumberSequence.new(EyeTrans)
  616. PE.Acceleration=v3(0,0,0)
  617. PE.Lifetime=NumberRange.new(4,4,4)
  618. PE.Rate=2e9
  619. PE.Speed=NumberRange.new(0,0,0)
  620. PE.Texture="rbxassetid://300899374"
  621. --table.insert(CurrentEffects,PE)
  622. coroutine.resume(coroutine.create(function()
  623. for i=1,30 do
  624. spawn(function()
  625. local rng=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",.5)
  626. table.insert(CurrentEffects,rng)
  627. local rm=it("SpecialMesh",rng)
  628. rm.MeshId="rbxassetid://3270017"
  629. rm.Scale=v3(60,60,60)
  630. for ii=1,10 do
  631. rm.Scale=rm.Scale-v3(6,6,6)
  632. r:wait()
  633. end
  634. end)
  635. wait()
  636. end
  637. end))
  638. local p1=part(Char,true,false,v3(1,1,1),ball.CFrame,c3(0,1,0),"Neon",.5)
  639. local pm=mesh(p1,"Brick",v3(5,5,5))
  640. for i=1,20 do
  641. m.Scale=m.Scale+v3(.5,.5,.5)
  642. m2.Scale=m2.Scale+v3(.3,.3,.3)
  643. p1.Transparency=(-i/20*-i/20)
  644. r:wait()
  645. end
  646. wait(.5)
  647. w.Parent=nil
  648. table.insert(CurrentEffects,w)
  649. --table.insert(CurrentEffects,w2)
  650. local placeholder=part(Char,true,false,v3(1,1,1),Head.CFrame*CFrame.new(0,-5,-30),c3(0,1,0),"Neon",1)
  651. local BV=it("BodyVelocity")
  652. BV.maxForce=v3(huge,huge,huge)
  653. BV.Velocity=(placeholder.Position-ball.Position).unit*100
  654. BV.Parent=ball
  655. ball.Touched:connect(function(hit)
  656. if hit.Name~=ball2.Name then
  657. ball.Anchored=true
  658. ball.ParticleEmitter.Enabled=false
  659. ball.Transparency=1
  660. ball2.Transparency=1
  661. local xpl=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.75)
  662. local m=spmesh(xpl,"rbxassetid://9982590",v3(4,4,4))
  663. local xpl2=part(Char,true,false,v3(4,4,4),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",1)
  664. spawn(function()
  665. for i=1,80 do
  666. xpl.Transparency=.75+i/80
  667.  
  668. m.Scale=m.Scale+v3(.6,.6,.6)
  669.  
  670. wait()
  671.  
  672.  
  673. end
  674. end)
  675. RealDamage(xpl2,15,30,7)
  676. for i=1,50 do
  677. xpl2.Size=xpl2.Size+v3(.3,.3,.3)
  678. xpl2.CFrame=ball.CFrame
  679. r:wait()
  680. end
  681. xpl:Destroy()
  682. xpl2:Destroy()
  683. end
  684. end)
  685. spawn(function()
  686. wait(1.5)
  687. if BV then
  688. BV:Destroy()
  689. end
  690.  
  691. placeholder:Destroy()
  692. PE.Enabled=false
  693. ball2:Destroy()
  694. wait(7)
  695. ball:Destroy()
  696. end)
  697. for i=1,10 do
  698. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),rad(20),rad(30))*cf(0,0,0),.4)
  699. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
  700. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  701. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  702. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(12)),1)
  703. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-12)),1)
  704. wait()
  705. end
  706. chat:Chat(Char.Head,"Falling Star!","Green")
  707. end
  708. wait(2)
  709. attacktype=1
  710. newpos()
  711. attacking=false
  712. Debounce=false
  713. Anim="Idle"
  714. end
  715.  
  716. Mouse.Button1Down:connect(function()
  717. if attacking== false and attacktype == 1 and LEING==false then
  718. attackone()
  719. attacktype = 2
  720. else
  721. if attacking == false and attacktype == 2 and LEING==false then
  722. attacktwo()
  723. attacktype = 3
  724. else
  725. if attacking == false and attacktype == 3 and LEING==false then
  726. attackthree()
  727. attacktype = 1
  728. end
  729. end
  730. end
  731. end)
  732.  
  733. LEING=false
  734. local Ging=false
  735. Mouse.KeyDown:connect(function(Key)
  736. if Key=="g" and Ging==false and attacking==false then attacking,Torso.Anchored=true,true
  737. local Clear={}
  738. local REKING=true
  739. newpos1()
  740. chat:Chat(Char.Head,"By The Power Bestowed Upon Me Within The Demon's Eye..","Green")
  741. for i=1,20 do
  742. RS.C0=clerp(RS.C0,RS.C0*angles(rad(4.5),rad(-2),rad(8.5))*cf(0.02,0,0),1)
  743. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
  744. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  745. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  746. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(1)),1)
  747. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(-1),0,rad(-2)),1)
  748. r:wait()
  749. end
  750. local ball=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",0)
  751. local ball2=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,0,0),"Plastic",.8)
  752. local bm=mesh(ball,"Sphere",v3(0,0,0))
  753. local bm2=mesh(ball2,"Sphere",v3(.3,.3,.3))
  754. smoothNO(ball2)
  755. local w=it("Weld",Char)
  756. w.Part0=ball
  757. w.Part1=RArm
  758. w.C0=w.C0*CFrame.new(0,1.6,0)
  759. local w2=it("Weld",Char)
  760. w2.Part0=ball2
  761. w2.Part1=RArm
  762. w2.C0=w2.C0*CFrame.new(0,1.6,0)
  763. for i=1,60 do r:wait()
  764. bm.Scale=bm.Scale:Lerp(bm.Scale+Vector3.new(.23,.23,.23),.3)
  765. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(.3,.3,.3),.3)
  766. end
  767. local Ring=part(Char,true,false,v3(0,0,0),ball.CFrame,c3(0,0,0),"Neon",.5)
  768. local Ring2=Ring:Clone()
  769. Ring2.Parent=Char
  770. local RM=spmesh(Ring,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
  771. local RM2=spmesh(Ring2,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
  772. Ring.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
  773. Ring2.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
  774. Ging=true
  775. coroutine.resume(coroutine.create(function()
  776. while Ging==true do r:wait()
  777. Ring.CFrame=Ring.CFrame:lerp(Ring.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  778. Ring2.CFrame=Ring2.CFrame:lerp(Ring2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  779. end
  780. end))
  781. coroutine.resume(coroutine.create(function()
  782. while Ging==true do wait(.2)
  783. Lightning1(ball.CFrame.p,Torso.CFrame*CFrame.new(0,140,10).p,5,5,BrickColor.new("Lime green"),.354)
  784. end
  785. end))
  786. print"OYEFGYEFYGIEF"
  787. local cols={"Lime green", "Really black"}
  788. function fromground()
  789. local poss = Torso.CFrame*CFrame.new(0,-3,0)
  790. local main=it("Part",Char)
  791. main.Anchored=true
  792. main.CanCollide=false
  793. main.Size=v3(1,.2,1)
  794. main.CFrame=poss
  795. main.BrickColor=BrickColor.new(cols[math.random(#cols)])
  796. main.Material="Neon"
  797. main.CFrame = main.CFrame*cf((ran(-30,30)),0,(ran(-30,30)))
  798. local one = it("SpecialMesh", main)
  799. one.MeshType = "Sphere"
  800. one.Scale = v3(.3,.3,.3)
  801. main.CFrame = main.CFrame*angles((rad(90)),0,0)
  802. for i = 0,10,.1 do
  803. one.Scale = one.Scale+v3(.1,.1,4)
  804. main.Transparency = i
  805. wait()
  806. end
  807. one:Destroy()
  808. main:Destroy()
  809. end
  810. coroutine.resume(coroutine.create(function()
  811. while Ging==true do
  812. spawn(function()
  813. fromground()
  814. end)
  815. wait(.1)
  816. end
  817. end))
  818. spawn(function()
  819. coroutine.resume(coroutine.create(function()
  820. for i=1,17 do r:wait()
  821. print"hi"
  822. local Cir=part(Char,true,false,v3(0,0,0),Torso.CFrame*cf(0,-2.8,0)*angles(0,0,math.rad(90)),c3(0,0,0),"Neon",1)
  823. local Cirm=mesh(Cir,"Cylinder",v3(0,1,1))
  824. local CirDec=it("Decal",Cir)
  825. CirDec.Texture="rbxassetid://687708091"
  826. CirDec.Face="Right"
  827. CirDec.Transparency=0
  828. table.insert(Clear,Cir)
  829. for ii=1,100 do r:wait()
  830. Cir.CFrame=Cir.CFrame*CFrame.Angles(math.rad(i*1.5),0,0)
  831. Cirm.Scale=Cirm.Scale:Lerp(Cirm.Scale+Vector3.new(0,6,6),.4)
  832. CirDec.Transparency=ii/100
  833. end
  834. end
  835. end))
  836. end)
  837. Bright={}
  838. local BR=1
  839. for i=1,10 do
  840. table.insert(Bright,BR)
  841. BR=BR-.1
  842. end
  843. table.insert(Bright,0)
  844. for i, v in pairs(Bright) do
  845. print(v)
  846. end
  847. Lighting.Brightness=1
  848. spawn(function()
  849. for i=1,#Bright do
  850. Lighting.Brightness=Bright[i]
  851. wait(.1)
  852. end
  853. end)
  854. local C1=part(Char,true,false,v3(1,1,1),Torso.CFrame*CFrame.new(0,155,0),c3(90/255,97/255,99/255),"Plastic",1)
  855. local C1m=spmesh(C1,"rbxassetid://1095708",v3(1000,50,1000))
  856. for i=1,#Bright do
  857. C1.Transparency=Bright[i]
  858. wait(.1)
  859. end
  860. chat:Chat(Char.Head,"Open! Hades Gate!","Green")
  861. --PORTAL
  862. Portalling=true
  863. for i=1,2 do
  864. local Spoke1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,1),"Plastic",1)
  865. local pp1=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  866. local pp2=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  867. local pp3=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  868. local pp4=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  869. local POS=part(Char,false,false,v3(2,2,2),Torso.CFrame*angles(math.rad(90),0,0)*cf(0,0,-140),c3(0,1,1),"Plastic",1)
  870.  
  871. local wel0=it("Weld",Char)
  872. wel0.Part0=Spoke1
  873. wel0.Part1=POS
  874. wait()
  875. local wel1=it("Weld",Char)
  876. wel1.Part0=POS
  877. wel1.Part1=pp1
  878. wait()
  879. wel1.C0=wel1.C0*cf(0,60,0)
  880. wait()
  881. local wel2=it("Weld",Char)
  882. wel2.Part0=POS
  883. wel2.Part1=pp2
  884. wel2.C0=wel2.C0*cf(0,-60,0)
  885. wait()
  886.  
  887. local wel3=it("Weld",Char)
  888. wel3.Part0=POS
  889. wel3.Part1=pp3
  890. wel3.C0=wel3.C0*cf(-60,0,0)
  891. wait()
  892. local wel4=it("Weld",Char)
  893. wel4.Part0=POS
  894. wel4.Part1=pp4
  895. wel4.C0=wel4.C0*cf(60,0,0)
  896. local TransPoints={
  897. NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(.51,0,0),NumberSequenceKeypoint.new(.517,.0123,0),
  898. NumberSequenceKeypoint.new(.767,0.0926,0),NumberSequenceKeypoint.new(.88,.395,0),NumberSequenceKeypoint.new(1,1,0)
  899. }
  900. local SizePoints={
  901. NumberSequenceKeypoint.new(0,4.56,0),NumberSequenceKeypoint.new(.046,4.44,0),NumberSequenceKeypoint.new(.144,4.25,0),
  902. NumberSequenceKeypoint.new(.521,4,0),NumberSequenceKeypoint.new(1,3.75,0)
  903. }
  904. local PE1=PEE(pp1,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Bottom",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect1","rbxassetid://300899374")
  905. local PE2=PEE(pp2,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Top",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect2","rbxassetid://300899374")
  906. local PE3=PEE(pp3,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Right",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect3","rbxassetid://300899374")
  907. local PE4=PEE(pp4,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Left",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect4","rbxassetid://300899374")
  908. spawn(function()
  909.  
  910.  
  911. while Portalling==true do
  912. wait()
  913. POS.CFrame=POS.CFrame*angles(0,0,math.rad(3))
  914. end
  915. POS:Destroy()
  916. pp1:Destroy()
  917. pp2:Destroy()
  918. pp3:Destroy()
  919. pp4:Destroy()
  920. end)
  921. wait(.5)
  922. end
  923. wait(5)
  924. newpos()
  925. chat:Chat(Char.Head,"Now, You Will Know What It's Like To Burn.","Green")
  926. Ging=false
  927. Ring:Destroy()
  928. Ring2:Destroy()
  929. ball:Destroy()
  930. ball2:Destroy()
  931. for i,v in pairs(Clear) do
  932. v:Destroy()
  933. end
  934. wait(3)
  935. --anims
  936. chat:Chat(Char.Head,"DIE!!!!!","Green")
  937. defpos()
  938.  
  939. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  940. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  941. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  942. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  943. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
  944. local cylp=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(0,0,math.rad(90)),c3(0,1,0),"Neon",.5)
  945. local clym=mesh(cylp,"Cylinder",v3(5000,60,40))
  946. smoothNO(cylp)
  947. spawn(function()
  948. while REKING==true do r:wait()
  949. cylp.CFrame=Torso.CFrame*angles(0,0,math.rad(90))*CFrame.new(ran(-2,2),0,ran(-2,2))
  950. end
  951. end)
  952. local Explosion=function()
  953. local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
  954. local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
  955. local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
  956. local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  957. local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  958. local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
  959. local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  960. local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  961. local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
  962. local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
  963. local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
  964. local bm2=mesh(b2,"Sphere",v3(40,40,40))
  965. local bm3=mesh(b3,"Sphere",v3(42,42,42))
  966. local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
  967. local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
  968. local bbm=mesh(bb,"Sphere",v3(60,60,60))
  969. local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
  970. local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
  971. local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
  972. local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
  973. wait()
  974. smoothNO(b1)
  975. smoothNO(b2)
  976. smoothNO(bb)
  977. RealDamage(Torso,70,200,70,false)
  978. for i=1,400 do r:wait()
  979. --CFrames
  980. b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
  981. r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  982. r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  983. gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  984. gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  985. sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
  986. sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
  987. --Sizing
  988. bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
  989. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
  990. bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
  991. rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
  992. rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
  993. bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
  994. grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
  995. grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
  996. ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
  997. ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
  998. --Transparency
  999. b1.Transparency=.7+i/400
  1000. b2.Transparency=.7+i/400
  1001. b3.Transparency=.7+i/400
  1002. r1.Transparency=.7+i/400
  1003. r2.Transparency=.7+i/400
  1004. bb.Transparency=.7+i/400
  1005. gr.Transparency=.7+i/400
  1006. gr2.Transparency=.7+i/400
  1007. sw.Transparency=.7+i/400
  1008. sw2.Transparency=.7+i/400
  1009.  
  1010. end
  1011. --Destroying
  1012. b1:Destroy()
  1013. b2:Destroy()
  1014. b3:Destroy()
  1015. r1:Destroy()
  1016. r2:Destroy()
  1017. bb:Destroy()
  1018. gr:Destroy()
  1019. gr2:Destroy()
  1020. sw:Destroy()
  1021. sw2:Destroy()
  1022. end
  1023. for i=1,30 do r:wait()
  1024. spawn(function()
  1025. Explosion()
  1026. end)
  1027. wait(.89)
  1028. end
  1029. REKING=false
  1030. NBright={}
  1031. local NBR=0
  1032. for i=1,10 do
  1033. table.insert(NBright,NBR)
  1034. NBR=NBR+.1
  1035. end
  1036. print"boop"
  1037. for i, v in pairs(NBright) do
  1038. print(v)
  1039. end
  1040. for i=1,#NBright do
  1041. Lighting.Brightness=NBright[i]
  1042. wait(.1)
  1043. end
  1044. Lighting.Brightness=1
  1045. Portalling=false
  1046. for i=1,10 do wait()
  1047. C1.Transparency=i/10
  1048. cylp.Transparency=.5+i/10
  1049. end
  1050. Torso.Anchored=false
  1051. newpos()
  1052. attacking=false
  1053. canattack=true
  1054.  
  1055. end
  1056. end)
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062. Mouse.KeyDown:connect(function(Key)
  1063. if Key=="p" and attacking==false then attacking=true
  1064. newpos1()
  1065. chat:Chat(Char.Head,"URAGH!","Green")
  1066. local Explosion=function()
  1067. local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
  1068. local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
  1069. local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
  1070. local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1071. local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1072. local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
  1073. local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1074. local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1075. local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
  1076. local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
  1077. local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
  1078. local bm2=mesh(b2,"Sphere",v3(40,40,40))
  1079. local bm3=mesh(b3,"Sphere",v3(42,42,42))
  1080. local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
  1081. local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
  1082. local bbm=mesh(bb,"Sphere",v3(60,60,60))
  1083. local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
  1084. local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
  1085. local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
  1086. local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
  1087. wait()
  1088. smoothNO(b1)
  1089. smoothNO(b2)
  1090. smoothNO(bb)
  1091. for i=1,400 do r:wait()
  1092. --CFrames
  1093. b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
  1094. r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1095. r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1096. gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1097. gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1098. sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
  1099. sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
  1100. --Sizing
  1101. bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
  1102. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
  1103. bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
  1104. rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
  1105. rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
  1106. bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
  1107. grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
  1108. grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
  1109. ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
  1110. ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
  1111. --Transparency
  1112. b1.Transparency=.7+i/400
  1113. b2.Transparency=.7+i/400
  1114. b3.Transparency=.7+i/400
  1115. r1.Transparency=.7+i/400
  1116. r2.Transparency=.7+i/400
  1117. bb.Transparency=.7+i/400
  1118. gr.Transparency=.7+i/400
  1119. gr2.Transparency=.7+i/400
  1120. sw.Transparency=.7+i/400
  1121. sw2.Transparency=.7+i/400
  1122. end
  1123. b1:Destroy()
  1124. b2:Destroy()
  1125. b3:Destroy()
  1126. r1:Destroy()
  1127. r2:Destroy()
  1128. bb:Destroy()
  1129. gr:Destroy()
  1130. gr2:Destroy()
  1131. sw:Destroy()
  1132. sw2:Destroy()
  1133. end
  1134. Torso.Anchored=true
  1135. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1136. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1137. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1138. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1139. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
  1140. spawn(function()
  1141. Explosion()
  1142. end)
  1143. wait(2)
  1144. Torso.Anchored=false
  1145. newpos()
  1146.  
  1147. attacking=false
  1148. end
  1149. end)
  1150. local KIK=false
  1151. local TPPOS=nil
  1152. Mouse.KeyDown:connect(function(Key)
  1153. if Key=="l" and Debounce== false and Animating==false then Debounce=true
  1154. LEING=true
  1155. newpos1()
  1156. Animating=true
  1157. local ling=true
  1158. magicking=true
  1159. local hol1=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",1)
  1160. local hol2=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",1)
  1161. local hw1=it("Weld",Char)
  1162. hw1.Part0=hol1
  1163. hw1.Part1=RArm
  1164. hw1.C0=hw1.C0*CFrame.new(0,1,0)
  1165. local hw2=it("Weld",Char)
  1166. hw2.Part0=hol2
  1167. hw2.Part1=LArm
  1168. hw2.C0=hw2.C0*CFrame.new(0,1,0)
  1169. local function magickhands()
  1170. local m1=part(Char,true,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",.9)
  1171. local m2=part(Char,true,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",.9)
  1172. m1.Name="m1"
  1173. m2.Name="m2"
  1174. local mm1=mesh(m1,"Brick",v3(6,6,6))
  1175. local mm2=mesh(m2,"Brick",v3(6,6,6))
  1176. local a1=m1:Clone()
  1177. a1.Parent=Char
  1178. local a2=m2:Clone()
  1179. a2.Parent=Char
  1180. coroutine.resume(coroutine.create(function()
  1181. while magicking==true do wait()
  1182. m1.CFrame=hol1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
  1183. m2.CFrame=hol2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
  1184. a1.CFrame=hol1.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
  1185. a2.CFrame=hol2.CFrame*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10))
  1186. end
  1187. hw1:Destroy()
  1188. hw2:Destroy()
  1189. hol1:Destroy()
  1190. hol2:Destroy()
  1191. m1:Destroy()
  1192. m2:Destroy()
  1193. end))
  1194. end
  1195. magickhands()
  1196. for i=1,10 do r:wait()
  1197. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(5), rad(0), rad(5)), 1)
  1198. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-19), rad(0), rad(19)), 1)
  1199. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(0), rad(0), rad(0)), 1)
  1200. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(0), rad(0), rad(0)), 1)
  1201. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(3), rad(0), rad(0)), 1)
  1202. end
  1203. local ball=part(Char,true,false,v3(1,1,1),Torso.CFrame*CFrame.new(0,-.4,-1),c3(0,1,0),"Neon",0)
  1204. ball.Name="kewl"
  1205. spawn(function()
  1206. while ling==true do r:wait()
  1207. ball.CFrame=Torso.CFrame*CFrame.new(0,-.4,-1)
  1208. end
  1209. end)
  1210. local bm=mesh(ball,"Sphere",v3(.1,.1,.1))
  1211. local function absorb(ppart)
  1212. spawn(function()
  1213. local lel=part(Char,false,false,v3(0,0,0),ppart.CFrame*CFrame.new(ran(-4,4),ran(-4,4),ran(-4,4)),c3(0,1,0),"Neon",0)
  1214. lel.Shape="Ball"
  1215. local bp=it("BodyPosition")
  1216. bp.Position=ppart.Position
  1217. bp.maxForce=v3(huge,huge,huge)
  1218. bp.Parent=lel
  1219. wait(.5)
  1220. lel:Destroy()
  1221. bp:Destroy()
  1222. end)
  1223. end
  1224. spawn(function()
  1225. for i=1,80 do wait()
  1226. bm.Scale=bm.Scale:Lerp(bm.Scale+Vector3.new(.05,.05,.05),.3)
  1227. end
  1228. end)
  1229. for i=1,28 do
  1230. spawn(function()
  1231. absorb(ball)
  1232. end)
  1233. wait(.1)
  1234. end
  1235. local poop=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)
  1236. poop.Name="poop"
  1237. local cyl=mesh(poop,"Cylinder",v3(1,1,1))
  1238. spawn(function()
  1239. for i=1,10 do r:wait()
  1240. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-2), rad(0), rad(0)), 1)
  1241. end
  1242. end)
  1243. KIK=true
  1244. for i=1,60,.2 do r:wait()
  1245. cyl.Scale=Vector3.new(i*4,i*4,1.3)
  1246. poop.CFrame=Torso.CFrame*CFrame.new(0,-.4,-i*2)*CFrame.Angles(0,rad(90),0)
  1247. TPPOS=i
  1248. end
  1249. KIK=false
  1250. Debounce=false
  1251. Animating=false
  1252. spawn(function()
  1253. pcall(function()
  1254. for i=1,10 do wait()
  1255. Char:FindFirstChild("m1"):Destroy()
  1256. Char:FindFirstChild("m2"):Destroy()
  1257. end
  1258. end)
  1259. end)
  1260. Torso.Anchored=false
  1261. if KIK==false then
  1262. magicking=false
  1263. ball:Destroy()
  1264. poop:Destroy()
  1265. newpos()
  1266. end
  1267. LEING=false
  1268. end
  1269. end)
  1270. function trail(ppart)
  1271. spawn(function()
  1272. local f1=part(Char,true,false,v3(1,1,1),RLeg.CFrame*CFrame.new(0,-1,0)*CFrame.fromEulerAnglesXYZ(math.random(10),math.random(10),math.random(10)),c3(0,1,0),"Neon",.7)
  1273. local fm=mesh(f1,"Brick",v3(2,2,2))
  1274. for i=1,10 do wait()
  1275. f1.Transparency=i/10
  1276. fm.Scale=fm.Scale-v3(.2,.2,.2)
  1277. end
  1278. f1:Destroy()
  1279. end)
  1280. end
  1281. Mouse.KeyDown:connect(function(Key)
  1282. if Key=="z" and KIK==true then KIK=false
  1283. if Char:FindFirstChild("poop") then
  1284. Char:FindFirstChild("poop"):Destroy()
  1285. if Char:FindFirstChild("kewl") then
  1286. Char:FindFirstChild("kewl"):Destroy()
  1287. print"Success!"
  1288. Torso.CFrame=Torso.CFrame*CFrame.new(0,0,-TPPOS*4)
  1289. print"NOICE"
  1290. defpos()
  1291. Torso.Anchored=true
  1292. newpos1()
  1293. for i=1,10 do r:wait()
  1294. trail()
  1295. RootJoint.C0=ROOTC0
  1296. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-2), rad(1), rad(-3.5)), 1)
  1297. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-2), rad(-1), rad(-1.5)), 1)
  1298. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(0), rad(0), rad(2))*cf(.06,.02,0), 1)
  1299. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(0), rad(0), rad(3))*cf(.04,.02,0), 1)--z is x axis y is y axis
  1300. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(1), rad(0), rad(3)), 1)
  1301. Torso.CFrame=clerp(Torso.CFrame,Torso.CFrame*angles(rad(0), rad(0), rad(7.3)),1)
  1302. end
  1303. RealDamage(LLeg,40,60,4)
  1304. LLeg.Touched:connect(function(hit)
  1305. if hit.Parent:FindFirstChild("Humanoid") then
  1306. if hit.Parent.Name~=Player.Name then
  1307. if magicking==true then
  1308. local Hooman=hit.Parent:FindFirstChild("Humanoid")
  1309. Hooman.Health=Hooman.Health-60
  1310. local effectpart=Instance.new("Part",Char)
  1311. effectpart.Size=Vector3.new(1,1,1)
  1312. effectpart.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1313. effectpart.Anchored=true
  1314. effectpart.CanCollide=false
  1315. effectpart.Color=Color3.new(0,1,0)
  1316. local Ring=Instance.new("SpecialMesh",effectpart)
  1317. Ring.MeshId="rbxassetid://3270017"
  1318. Ring.Scale=Vector3.new(2,2,2)
  1319. for i=1,20 do
  1320. Ring.Scale=Ring.Scale+Vector3.new(2,2,2)
  1321. effectpart.Transparency=i/20
  1322. wait()
  1323. end
  1324. effectpart:Destroy()
  1325. end
  1326. end
  1327. end
  1328. end)
  1329. RealDamage(RLeg,40,60,4)
  1330. RLeg.Touched:connect(function(hit)
  1331. if hit.Parent:FindFirstChild("Humanoid") then
  1332. if hit.Parent.Name~=Player.Name then
  1333. if magicking==true then
  1334. local Hooman=hit.Parent:FindFirstChild("Humanoid")
  1335. Hooman.Health=Hooman.Health-60
  1336. local effectpart=Instance.new("Part",Char)
  1337. effectpart.Size=Vector3.new(1,1,1)
  1338. effectpart.CFrame=hit.Parent.Torso.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1339. effectpart.Anchored=true
  1340. effectpart.CanCollide=false
  1341. effectpart.Color=Color3.new(0,1,0)
  1342. local Ring=Instance.new("SpecialMesh",effectpart)
  1343. Ring.MeshId="rbxassetid://3270017"
  1344. Ring.Scale=Vector3.new(2,2,2)
  1345. for i=1,20 do
  1346. Ring.Scale=Ring.Scale+Vector3.new(2,2,2)
  1347. effectpart.Transparency=i/20
  1348. wait()
  1349. end
  1350. effectpart:Destroy()
  1351. end
  1352. end
  1353. end
  1354. end)
  1355. for i=1,25 do r:wait()
  1356. trail()
  1357. Torso.CFrame=clerp(Torso.CFrame,Torso.CFrame*angles(rad(360/25), rad(0), rad(0)),1)
  1358. end
  1359. spawn(function()
  1360. pcall(function()
  1361. for i=1,10 do wait()
  1362. Char:FindFirstChild("m1"):Destroy()
  1363. Char:FindFirstChild("m2"):Destroy()
  1364. end
  1365. end)
  1366. end)
  1367. Torso.Anchored=false
  1368. magicking=false
  1369. newpos()
  1370. end
  1371. end
  1372. end
  1373. end)
  1374. feint=function()
  1375. local ORarm,OLarm,OLleg,ORleg,RTorso=part(Char,true,false,v3(1,2,1),RArm.CFrame,c3(0,1,0),"Neon",.75),part(Char,true,false,v3(1,2,1),LArm.CFrame,c3(0,1,0),"Neon",.75),part(Char,true,false,v3(1,2,1),LLeg.CFrame,c3(0,1,0),"Neon",.75),part(Char,true,false,v3(1,2,1),RLeg.CFrame,c3(0,1,0),"Neon",.75),part(Char,true,false,v3(2,2,1),Torso.CFrame,c3(0,1,0),"Neon",.75)
  1376. Smmooth({ORarm,OLarm,OLleg,ORleg,RTorso})
  1377. for a, b in pairs({ORarm,OLarm,OLleg,ORleg,RTorso}) do
  1378. spawn(function()
  1379. for ii=1,70 do r:wait()
  1380. b.Transparency=.75+ii/70
  1381. end
  1382. b:Remove()
  1383. end)
  1384. end
  1385. end
  1386. feint1=function()
  1387. local ORarm,OLarm,OLleg,ORleg,RTorso=part(Char,true,false,v3(1,2,1),RArm.CFrame,c3(0,1,0),"Neon",0),part(Char,true,false,v3(1,2,1),LArm.CFrame,c3(0,1,0),"Neon",0),part(Char,true,false,v3(1,2,1),LLeg.CFrame,c3(0,1,0),"Neon",0),part(Char,true,false,v3(1,2,1),RLeg.CFrame,c3(0,1,0),"Neon",0),part(Char,true,false,v3(2,2,1),Torso.CFrame,c3(0,1,0),"Neon",0)
  1388. Smmooth({ORarm,OLarm,OLleg,ORleg,RTorso})
  1389. for a, b in pairs({ORarm,OLarm,OLleg,ORleg,RTorso}) do
  1390. spawn(function()
  1391. for ii=1,70 do r:wait()
  1392. b.Transparency=ii/70
  1393. end
  1394. b:Remove()
  1395. end)
  1396. end
  1397. end
  1398. Mouse.KeyDown:connect(function(Key)
  1399. if Key=="m" and attacking==false then attacking=true
  1400. newpos()
  1401. local ETorso=Torso:Clone()
  1402. ETorso.Parent=Char
  1403. ETorso.Transparency=1
  1404. ETorso.Anchored=true
  1405. ETorso.CanCollide=false
  1406. ETorso.Name="ETorso"
  1407. local function expl(partt,size,col3,tr,times)
  1408. for i=1,times do
  1409. spawn(function()
  1410. local p=it("Part",Char)
  1411. p.Anchored=true
  1412. p.CanCollide=false
  1413. p.Color=col3
  1414. p.Transparency=tr
  1415. p.Size=v3(0,0,0)
  1416. local mm=it("SpecialMesh",p)
  1417. mm.MeshType="Brick"
  1418. mm.Scale=size
  1419. p.Material="Plastic"
  1420. p.CFrame=partt.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
  1421. Smmooth({p})
  1422. for ii=1,40 do r:wait()
  1423. p.Transparency=ii/40+tr
  1424. mm.Scale=mm.Scale+Vector3.new(.2,.2,.2)
  1425. end
  1426. p:Destroy()
  1427. end)
  1428. end
  1429. end
  1430. --print(Torso.Size)
  1431.  
  1432. --[[local cam=workspace.CurrentCamera
  1433. cam.CameraType = Enum.CameraType.Scriptable
  1434. cam.CameraSubject = Torso
  1435. while wait() do
  1436. cam.CFrame=Torso.CFrame*CFrame.new(0,0,100)*CFrame.new(ran(-2,2),ran(-2,2),ran(-2,2))
  1437. end
  1438. RH.C0=RHC0*angles(0,rad(90),0)
  1439. RH.MaxVelocity=.2
  1440. RH.DesiredAngle=6.3/360*90
  1441. RH.CurrentAngle=0]]
  1442. Lightning = function(Start,End,Times,Offset,Color,Thickness)
  1443. tra=.1
  1444. local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
  1445.  
  1446. for i=1,Times do
  1447.  
  1448. local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true
  1449.  
  1450. li.Material = "Neon"
  1451.  
  1452. li:BreakJoints()
  1453.  
  1454. li.Transparency = 0 li.BrickColor = Color
  1455.  
  1456. li.formFactor = "Custom" li.CanCollide = false
  1457. li.Shape="Ball"
  1458. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  1459.  
  1460. local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  1461.  
  1462. local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
  1463.  
  1464. if Times == i then
  1465.  
  1466. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  1467.  
  1468. li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
  1469.  
  1470. else
  1471.  
  1472. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  1473.  
  1474. end
  1475.  
  1476. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p spawn(function() for i=1,50 do r:wait()
  1477.  
  1478.  
  1479.  
  1480. li.Transparency = i/50 end li:Destroy() end)
  1481.  
  1482.  
  1483.  
  1484. end
  1485.  
  1486. end
  1487.  
  1488.  
  1489.  
  1490. --AAAAAAAAAAAAAA
  1491. local function cirl(partt)
  1492. spawn(function()
  1493. local effectpart=Instance.new("Part",Char)
  1494. effectpart.Size=Vector3.new(1,1,1)
  1495. effectpart.CFrame=partt.CFrame*CFrame.Angles(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1496. effectpart.Anchored=true
  1497. effectpart.CanCollide=false
  1498. effectpart.Color=Color3.new(0,1,0)
  1499. local Ring=Instance.new("SpecialMesh",effectpart)
  1500. Ring.MeshId="rbxassetid://3270017"
  1501. Ring.Scale=Vector3.new(2,2,2)
  1502. for i=1,20 do
  1503. Ring.Scale=Ring.Scale+Vector3.new(2,2,2)
  1504. effectpart.Transparency=i/20
  1505. wait()
  1506. end
  1507. effectpart:Destroy()
  1508. end)
  1509. end
  1510.  
  1511. local Positions={}
  1512. for i, v in pairs(Positions) do
  1513. if Positions[i] then table.remove(Positions,v) end
  1514. end
  1515. Positions[1]=ETorso.CFrame*CFrame.new(-4,0,-10)
  1516. Positions[2]=ETorso.CFrame*CFrame.new(4,0,-15)
  1517. Positions[3]=ETorso.CFrame*CFrame.new(-4,0,-20)
  1518. Positions[4]=ETorso.CFrame*CFrame.new(4,0,-35)
  1519. Positions[5]=ETorso.CFrame*CFrame.new(-4,0,-40)
  1520. Positions[6]=ETorso.CFrame*CFrame.new(4,0,-45)
  1521. Positions[7]=ETorso.CFrame*CFrame.new(-4,0,-50)
  1522. Positions[8]=ETorso.CFrame*CFrame.new(4,0,-55)
  1523.  
  1524.  
  1525.  
  1526. for i, v in pairs(Positions) do
  1527. Torso.CFrame=v
  1528. cirl(Torso)
  1529. feint1()
  1530. expl(Torso,Vector3.new(50,50,50),Color3.new(0,1,0),.75,4)
  1531. RealDamage(Torso,15,30,5)
  1532. if i>1 then
  1533. Lightning(Positions[i-1].p,Torso.CFrame.p,1,.4,BrickColor.new("Lime green"),.5)
  1534. end
  1535. wait()
  1536. end
  1537. ETorso:Remove()
  1538. Torso.Anchored=false
  1539. attacking=false
  1540. end
  1541. end)
  1542.  
  1543.  
  1544.  
  1545. Mouse.KeyDown:connect(function(Key)
  1546. if Key=="j" then
  1547. for i=0,1,0.05 do r:wait()
  1548. RS.C0=clerp(RS.C0,RS.C0*angles(rad(50),0,0),.3)
  1549. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),0,0),.3)
  1550. RH.C0=clerp(RH.C0,RH.C0*angles(rad(0),0,0),.3)
  1551. LH.C0=clerp(LH.C0,LH.C0*angles(rad(0),0,0),.3)
  1552. end
  1553. end
  1554. end)
Add Comment
Please, Sign In to add comment