AgentVK

Untitled

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