IVMemeVI

Untitled

Apr 29th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 193.18 KB | None | 0 0
  1. wait(2)
  2. plr = game.Players.LocalPlayer
  3. char = plr.Character
  4. hum = char.Humanoid
  5. local cam = game.Workspace.CurrentCamera
  6. t = char.Torso
  7. h = char.Head
  8. ra = char["Right Arm"]
  9. la = char["Left Arm"]
  10. rl = char["Right Leg"]
  11. ll = char["Left Leg"]
  12. tors = char.Torso
  13. lleg = char["Left Leg"]
  14. root = char.HumanoidRootPart
  15. char.Humanoid.MaxHealth = 25000
  16. wait(1)
  17. char.Humanoid.Health = 25000
  18. hed = char.Head
  19. rleg = char["Right Leg"]
  20. rarm = char["Right Arm"]
  21. larm = char["Left Arm"]
  22. vt = Vector3.new
  23. bc = BrickColor.new
  24. br = BrickColor.random
  25. it = Instance.new
  26. cf = CFrame.new
  27. local aim = false
  28. -----------------------------------
  29. function chatfunc(text)
  30. local chat = coroutine.wrap(function()
  31. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  32. Character:FindFirstChild("TalkingBillBoard"):destroy()
  33. end
  34. local naeeym2 = Instance.new("BillboardGui",Character)
  35. naeeym2.Size = UDim2.new(0,100,0,40)
  36. naeeym2.StudsOffset = Vector3.new(0,3,0)
  37. naeeym2.Adornee = Character.Head
  38. naeeym2.Name = "TalkingBillBoard"
  39. local tecks2 = Instance.new("TextLabel",naeeym2)
  40. tecks2.BackgroundTransparency = 1
  41. tecks2.BorderSizePixel = 0
  42. tecks2.Text = ""
  43. tecks2.Font = "ArialBold"
  44. tecks2.TextSize = 30
  45. tecks2.TextStrokeTransparency = 0
  46. tecks2.TextColor3 = Color3.new(255,255,0)
  47. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  48. tecks2.Size = UDim2.new(1,0,0.5,0)
  49. local tecks3 = Instance.new("TextLabel",naeeym2)
  50. tecks3.BackgroundTransparency = 1
  51. tecks3.BorderSizePixel = 0
  52. tecks3.Text = ""
  53. tecks3.Font = "ArialBold"
  54. tecks3.TextSize = 30
  55. tecks3.TextStrokeTransparency = 0
  56. tecks3.TextColor3 = Color3.new(255,255,0)
  57. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  58. tecks3.Size = UDim2.new(1,0,0.5,0)
  59. for i = 1,string.len(text),1 do
  60. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138089340", Character, .6, .8)
  61. tecks2.Text = string.sub(text,1,i)
  62. tecks3.Text = string.sub(text,1,i)
  63. wait(0.01)
  64. end
  65. wait(2)
  66. for i = 1, 50 do
  67. swait()
  68. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  69. tecks2.Rotation = tecks2.Rotation - .8
  70. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  71. tecks2.TextTransparency = tecks2.TextTransparency + .04
  72. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  73. tecks3.Rotation = tecks2.Rotation + .8
  74. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  75. tecks3.TextTransparency = tecks2.TextTransparency + .04
  76. end
  77. naeeym2:Destroy()
  78. end)
  79. chat()
  80. end
  81. function onChatted(msg)
  82. chatfunc(msg)
  83. end
  84.  
  85. -----------------------------------
  86.  
  87.  
  88. asd = Instance.new("Sound",workspace)
  89. asd.SoundId = "http://www.roblox.com/asset/?id =669763953 "
  90. asd.Volume =2
  91. asd1 = Instance.new("Sound",workspace)
  92. asd1.SoundId = "http://www.roblox.com/asset/?id =1505583134 "
  93.  
  94. asd2 = Instance.new("Sound",workspace)
  95. asd2.SoundId = "http://www.roblox.com/asset/?id =1594347934 "
  96. asd2.Looped = true
  97. asd2.Volume = 2
  98. asd3 = Instance.new("Sound",workspace)
  99. asd3.SoundId = "http://www.roblox.com/asset/?id =433304271 "
  100. asd3.Volume = 1
  101. asd3.Looped = true
  102. asd4 = Instance.new("Sound",workspace)
  103. asd4.SoundId = "http://www.roblox.com/asset/?id =669763953 "
  104. asd4.Volume = 2
  105. asd4.Looped = true
  106. asd5 = Instance.new("Sound",workspace)
  107. asd5.SoundId = "http://www.roblox.com/asset/?id = "
  108. asd5.Looped = true
  109. gas = Instance.new("Sound",workspace)
  110. gas.SoundId = "http://www.roblox.com/asset/?id = "
  111. asd6 = Instance.new("Sound",workspace)
  112. asd6.SoundId = "http://www.roblox.com/asset/?id = "
  113. asd6.Looped = true
  114. -------
  115. local Create = LoadLibrary("RbxUtility").Create
  116.  
  117. CFuncs = {
  118. ["Part"] = {
  119. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  120. local Part = Create("Part"){
  121. Parent = Parent,
  122. Reflectance = Reflectance,
  123. Transparency = Transparency,
  124. CanCollide = false,
  125. Locked = true,
  126. BrickColor = BrickColor.new(tostring(BColor)),
  127. Name = Name,
  128. Size = Size,
  129. Material = Material,
  130. }
  131. RemoveOutlines(Part)
  132. return Part
  133. end;
  134. };
  135.  
  136. ["Mesh"] = {
  137. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  138. local Msh = Create(Mesh){
  139. Parent = Part,
  140. Offset = OffSet,
  141. Scale = Scale,
  142. }
  143. if Mesh == "SpecialMesh" then
  144. Msh.MeshType = MeshType
  145. Msh.MeshId = MeshId
  146. end
  147. return Msh
  148. end;
  149. };
  150.  
  151. ["Mesh"] = {
  152. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  153. local Msh = Create(Mesh){
  154. Parent = Part,
  155. Offset = OffSet,
  156. Scale = Scale,
  157. }
  158. if Mesh == "SpecialMesh" then
  159. Msh.MeshType = MeshType
  160. Msh.MeshId = MeshId
  161. end
  162. return Msh
  163. end;
  164. };
  165.  
  166. ["Weld"] = {
  167. Create = function(Parent, Part0, Part1, C0, C1)
  168. local Weld = Create("Weld"){
  169. Parent = Parent,
  170. Part0 = Part0,
  171. Part1 = Part1,
  172. C0 = C0,
  173. C1 = C1,
  174. }
  175. return Weld
  176. end;
  177. };
  178.  
  179. ["Sound"] = {
  180. Create = function(id, par, vol, pit)
  181. coroutine.resume(coroutine.create(function()
  182. local S = Create("Sound"){
  183. Volume = vol,
  184. Pitch = pit or 1,
  185. SoundId = id,
  186. Parent = par or workspace,
  187. }
  188. wait()
  189. S:play()
  190. game:GetService("Debris"):AddItem(S, 10)
  191. end))
  192. end;
  193. };
  194.  
  195. ["ParticleEmitter"] = {
  196. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  197. local fp = Create("ParticleEmitter"){
  198. Parent = Parent,
  199. Color = ColorSequence.new(Color1, Color2),
  200. LightEmission = LightEmission,
  201. Size = Size,
  202. Texture = Texture,
  203. Transparency = Transparency,
  204. ZOffset = ZOffset,
  205. Acceleration = Accel,
  206. Drag = Drag,
  207. LockedToPart = LockedToPart,
  208. VelocityInheritance = VelocityInheritance,
  209. EmissionDirection = EmissionDirection,
  210. Enabled = Enabled,
  211. Lifetime = LifeTime,
  212. Rate = Rate,
  213. Rotation = Rotation,
  214. RotSpeed = RotSpeed,
  215. Speed = Speed,
  216. VelocitySpread = VelocitySpread,
  217. }
  218. return fp
  219. end;
  220. };
  221.  
  222. CreateTemplate = {
  223.  
  224. };
  225. }
  226.  
  227.  
  228.  
  229. New = function(Object, Parent, Name, Data)
  230. local Object = Instance.new(Object)
  231. for Index, Value in pairs(Data or {}) do
  232. Object[Index] = Value
  233. end
  234. Object.Parent = Parent
  235. Object.Name = Name
  236. return Object
  237. end
  238. local m = Instance.new("Model",char)
  239.  
  240. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  241. local p = Instance.new("Part")
  242. p.Parent = parent
  243. p.Size = Vector3.new(1,1,1)
  244. p.Transparency = transparency
  245. p.Reflectance = reflectance
  246. p.CanCollide = false
  247. p.Locked = true
  248. p.BrickColor = brickcolor
  249. p.Material = material
  250. return p
  251. end
  252.  
  253. function CreateMesh(parent,meshtype,x1,y1,z1)
  254. local mesh = Instance.new("SpecialMesh",parent)
  255. mesh.MeshType = meshtype
  256. mesh.Scale = Vector3.new(x1,y1,z1)
  257. return mesh
  258. end
  259.  
  260. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  261. local mesh = Instance.new("SpecialMesh",parent)
  262. mesh.MeshType = "FileMesh"
  263. mesh.MeshId = meshid
  264. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  265. mesh.Scale = Vector3.new(x1,y1,z1)
  266. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  267. return mesh
  268. end
  269.  
  270. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  271. local weld = Instance.new("Weld")
  272. weld.Parent = parent
  273. weld.Part0 = part0
  274. weld.Part1 = part1
  275. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  276. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  277. return weld
  278. end
  279.  
  280.  
  281. function ApplyTrig(Num,Func)
  282. local Min,Max = Func(0),Func(1)
  283. local i = Func(Num)
  284. return (i-Min)/(Max-Min)
  285. --[[if Func == "sin" then
  286. return (math.sin((1-Num)*math.pi)+1)/2
  287. elseif Func == "cos" then
  288. return (math.cos((1-Num)*math.pi)+1)/2
  289. end]]
  290. end
  291.  
  292. local acos = math.acos
  293. local sqrt = math.sqrt
  294. local Vec3 = Vector3.new
  295.  
  296. local function toAxisAngle(CFr)
  297. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  298. local Angle = math.acos((R00+R11+R22-1)/2)
  299. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  300. A = A == 0 and 0.00001 or A
  301. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  302. B = B == 0 and 0.00001 or B
  303. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  304. C = C == 0 and 0.00001 or C
  305. local x = (R21-R12)/sqrt(A)
  306. local y = (R02-R20)/sqrt(B)
  307. local z = (R10-R01)/sqrt(C)
  308. return Vec3(x,y,z),Angle
  309. end
  310.  
  311. local fromAxisAngle = CFrame.fromAxisAngle
  312.  
  313. function LerpCFrame(CFrame1,CFrame2,Num)
  314. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  315. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  316. end
  317.  
  318.  
  319.  
  320.  
  321.  
  322. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  323. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  324. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  325. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  326.  
  327. Player=game:GetService("Players").LocalPlayer
  328. Character=Player.Character
  329. PlayerGui=Player.PlayerGui
  330. Backpack=Player.Backpack
  331. Torso=Character.Torso
  332. Head=Character.Head
  333. Humanoid=Character.Humanoid
  334. m=Instance.new('Model',Character)
  335. LeftArm=Character["Left Arm"]
  336. LeftLeg=Character["Left Leg"]
  337. RightArm=Character["Right Arm"]
  338. RightLeg=Character["Right Leg"]
  339. LS=Torso["Left Shoulder"]
  340. LH=Torso["Left Hip"]
  341. RS=Torso["Right Shoulder"]
  342. RH=Torso["Right Hip"]
  343. Face = Head.face
  344. Neck=Torso.Neck
  345. it=Instance.new
  346. attacktype=1
  347. vt=Vector3.new
  348. cf=CFrame.new
  349. euler=CFrame.fromEulerAnglesXYZ
  350. angles=CFrame.Angles
  351. cloaked=false
  352. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  353. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  354. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  355. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  356. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  357. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  358. RootPart=Character.HumanoidRootPart
  359. RootJoint=RootPart.RootJoint
  360. RootCF=euler(-1.57,0,3.14)
  361. attack = false
  362. attackdebounce = false
  363. deb=false
  364. equipped=true
  365. hand=false
  366. MMouse=nil
  367. combo=0
  368. mana=0
  369. trispeed=.2
  370. attackmode='none'
  371. local idle=0
  372. local Anim="Idle"
  373. local Effects={}
  374. local gun=false
  375. local shoot=false
  376. local sine = 0
  377. local change = 1
  378. player=nil
  379. shirt = Instance.new("Shirt", char)
  380. shirt.Name = "Shirt"
  381. pants = Instance.new("Pants", char)
  382. pants.Name = "Pants"
  383. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=900450513"
  384. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=900448224"
  385. hum.WalkSpeed = 16
  386. char.Head.face.Texture = "rbxassetid://500175007"
  387.  
  388. asd = Instance.new("Sound",char)
  389. asd.SoundId = "http://www.roblox.com/asset/?id = 969947758"
  390. asd.Volume = 3
  391. asd.Looped = true
  392.  
  393. if aim == true then
  394. root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X, mouse.Hit.p.Y, mouse.Hit.p.Z))
  395. end
  396.  
  397. for i,v in pairs(char:children()) do
  398. if v:IsA("Hat") then
  399. v:Destroy()
  400. end
  401. end
  402. for i,v in pairs(char:children()) do
  403. if v:IsA("Accessory") then
  404. v:Destroy()
  405. end
  406. end
  407. for i,v in pairs(char:children()) do
  408. if v:IsA("Hair") then
  409. v:Destroy()
  410. end
  411. end
  412.  
  413.  
  414.  
  415. Hair7 = Instance.new("Part")
  416. Hair7.Parent = char
  417. Hair7.Name = "Hair"
  418. Hair7.CanCollide = false
  419. Hair7.Locked = true
  420. Hair7.TopSurface = "Smooth"
  421. Hair7.BottomSurface = "Smooth"
  422. Hair7.formFactor = "Symmetric"
  423. Hair7.Material = "Neon"
  424. Hair7.BrickColor = BrickColor.new("Dark green")
  425. Hair7.CFrame = char.Torso.CFrame
  426. Hair7.Size = Vector3.new(1, 1, 1)
  427. Hair7.Transparency = 0
  428.  
  429.  
  430. Weld1 = Instance.new("Weld")
  431. Weld1.Parent = char.Head
  432. Weld1.Part0 = char.Head
  433. Weld1.Part1 = Hair7
  434. Weld1.C0 = CFrame.new(0, 1, 0)
  435.  
  436. Mesh = Instance.new("SpecialMesh")
  437. Mesh.Offset = Vector3.new(0,-0.4,0)
  438. Mesh.Parent = Hair7
  439. Mesh.Scale = Vector3.new(6.5, 6.5, 6.5)
  440. Mesh.MeshType = "FileMesh"
  441. Mesh.MeshId = "http://www.roblox.com/asset/?id=580905684"
  442. Mesh.TextureId = ""
  443.  
  444.  
  445. local txt = Instance.new("BillboardGui", char)
  446. CV="Lime green"
  447. txt.Adornee = char .Head
  448. txt.Name = "_status"
  449. txt.Size = UDim2.new(2, 0, 1.2, 0)
  450. txt.StudsOffset = Vector3.new(-9, 8, 0)
  451. local text = Instance.new("TextLabel", txt)
  452. text.Size = UDim2.new(10, 0, 7, 0)
  453. text.FontSize = "Size24"
  454. text.TextScaled = true
  455. text.TextTransparency = 0
  456. text.BackgroundTransparency = 1
  457. text.TextTransparency = 0
  458. text.TextStrokeTransparency = 0
  459. text.Font = "Bodoni"
  460. text.TextStrokeColor3 = Color3.new(0,0,0)
  461. text.TextColor3 = Color3.fromRGB(255,255,0)
  462. text.Text = " "
  463. v=Instance.new("Part")
  464. v.Name = "ColorBrick"
  465. v.Parent= plr.Character
  466. v.FormFactor="Symmetric"
  467. v.Anchored=true
  468. v.CanCollide=false
  469. v.BottomSurface="Smooth"
  470. v.TopSurface="Smooth"
  471. v.Size=Vector3.new(10,5,3)
  472. v.Transparency=0
  473. v.CFrame=char.Torso.CFrame
  474. v.BrickColor=BrickColor.new("Lime green")
  475. v.Transparency=1
  476. v.Shape="Block"
  477.  
  478. mouse=Player:GetMouse()
  479. --save shoulders
  480. RSH, LSH=nil, nil
  481. --welds
  482. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  483. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  484. LH=Torso["Left Hip"]
  485. RH=Torso["Right Hip"]
  486. TorsoColor=Torso.BrickColor
  487. function NoOutline(Part)
  488. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  489. end
  490. player=Player
  491. ch=Character
  492. RSH=ch.Torso["Right Shoulder"]
  493. LSH=ch.Torso["Left Shoulder"]
  494. --
  495. RSH.Parent=nil
  496. LSH.Parent=nil
  497. --
  498. RW.Name="Right Shoulder"
  499. RW.Part0=ch.Torso
  500. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  501. RW.C1=cf(0, 0.5, 0)
  502. RW.Part1=ch["Right Arm"]
  503. RW.Parent=ch.Torso
  504. --
  505. LW.Name="Left Shoulder"
  506. LW.Part0=ch.Torso
  507. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  508. LW.C1=cf(0, 0.5, 0)
  509. LW.Part1=ch["Left Arm"]
  510. LW.Parent=ch.Torso
  511. ----
  512. local cn = CFrame.new
  513. ----
  514. local NeckCF = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  515. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  516. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  517. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  518. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  519. -----
  520.  
  521.  
  522.  
  523. local Stats=Instance.new("BoolValue")
  524. Stats.Name="Stats"
  525. Stats.Parent=Character
  526. local Atk=Instance.new("NumberValue")
  527. Atk.Name="Damage"
  528. Atk.Parent=Stats
  529. Atk.Value=1
  530. local Def=Instance.new("NumberValue")
  531. Def.Name="Defense"
  532. Def.Parent=Stats
  533. Def.Value=1
  534. local Speed=Instance.new("NumberValue")
  535. Speed.Name="Speed"
  536. Speed.Parent=Stats
  537. Speed.Value=1
  538. local Mvmt=Instance.new("NumberValue")
  539. Mvmt.Name="Movement"
  540. Mvmt.Parent=Stats
  541. Mvmt.Value=1
  542.  
  543. local donum=0
  544.  
  545.  
  546. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  547. local fp=it("Part")
  548. fp.formFactor=formfactor
  549. fp.Parent=parent
  550. fp.Reflectance=reflectance
  551. fp.Transparency=transparency
  552. fp.CanCollide=false
  553. fp.Locked=true
  554. fp.BrickColor=brickcolor
  555. fp.Name=name
  556. fp.Size=size
  557. fp.Position=Torso.Position
  558. NoOutline(fp)
  559. fp.Material="SmoothPlastic"
  560. fp:BreakJoints()
  561. return fp
  562. end
  563.  
  564. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  565. local mesh=it(Mesh)
  566. mesh.Parent=part
  567. if Mesh=="SpecialMesh" then
  568. mesh.MeshType=meshtype
  569. if meshid~="nil" then
  570. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  571. end
  572. end
  573. mesh.Offset=offset
  574. mesh.Scale=scale
  575. return mesh
  576. end
  577.  
  578. function weld(parent,part0,part1,c0)
  579. local weld=it("Weld")
  580. weld.Parent=parent
  581. weld.Part0=part0
  582. weld.Part1=part1
  583. weld.C0=c0
  584. return weld
  585. end
  586.  
  587. local Color1=Torso.BrickColor
  588.  
  589. local bodvel=Instance.new("BodyVelocity")
  590. local bg=Instance.new("BodyGyro")
  591.  
  592. function swait(num)
  593. if num==0 or num==nil then
  594. game:service'RunService'.Stepped:wait(0)
  595. else
  596. for i=0,num do
  597. game:service'RunService'.Stepped:wait(0)
  598. end
  599. end
  600. end
  601.  
  602.  
  603. so = function(id,par,vol,pit)
  604. coroutine.resume(coroutine.create(function()
  605. local sou = Instance.new("Sound",par or workspace)
  606. sou.Volume=vol
  607. sou.Pitch=pit or 1
  608. sou.SoundId=id
  609. swait()
  610. sou:play()
  611. game:GetService("Debris"):AddItem(sou,6)
  612. end))
  613. end
  614.  
  615. function clerp(a,b,t)
  616. local qa = {QuaternionFromCFrame(a)}
  617. local qb = {QuaternionFromCFrame(b)}
  618. local ax, ay, az = a.x, a.y, a.z
  619. local bx, by, bz = b.x, b.y, b.z
  620. local _t = 1-t
  621. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  622. end
  623.  
  624. function QuaternionFromCFrame(cf)
  625. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  626. local trace = m00 + m11 + m22
  627. if trace > 0 then
  628. local s = math.sqrt(1 + trace)
  629. local recip = 0.5/s
  630. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  631. else
  632. local i = 0
  633. if m11 > m00 then
  634. i = 1
  635. end
  636. if m22 > (i == 0 and m00 or m11) then
  637. i = 2
  638. end
  639. if i == 0 then
  640. local s = math.sqrt(m00-m11-m22+1)
  641. local recip = 0.5/s
  642. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  643. elseif i == 1 then
  644. local s = math.sqrt(m11-m22-m00+1)
  645. local recip = 0.5/s
  646. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  647. elseif i == 2 then
  648. local s = math.sqrt(m22-m00-m11+1)
  649. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  650. end
  651. end
  652. end
  653.  
  654. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  655. local xs, ys, zs = x + x, y + y, z + z
  656. local wx, wy, wz = w*xs, w*ys, w*zs
  657. local xx = x*xs
  658. local xy = x*ys
  659. local xz = x*zs
  660. local yy = y*ys
  661. local yz = y*zs
  662. local zz = z*zs
  663. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  664. end
  665.  
  666. function QuaternionSlerp(a, b, t)
  667. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  668. local startInterp, finishInterp;
  669. if cosTheta >= 0.0001 then
  670. if (1 - cosTheta) > 0.0001 then
  671. local theta = math.acos(cosTheta)
  672. local invSinTheta = 1/math.sin(theta)
  673. startInterp = math.sin((1-t)*theta)*invSinTheta
  674. finishInterp = math.sin(t*theta)*invSinTheta
  675. else
  676. startInterp = 1-t
  677. finishInterp = t
  678. end
  679. else
  680. if (1+cosTheta) > 0.0001 then
  681. local theta = math.acos(-cosTheta)
  682. local invSinTheta = 1/math.sin(theta)
  683. startInterp = math.sin((t-1)*theta)*invSinTheta
  684. finishInterp = math.sin(t*theta)*invSinTheta
  685. else
  686. startInterp = t-1
  687. finishInterp = t
  688. end
  689. end
  690. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  691. end
  692.  
  693. local function CFrameFromTopBack(at, top, back)
  694. local right = top:Cross(back)
  695. return CFrame.new(at.x, at.y, at.z,
  696. right.x, top.x, back.x,
  697. right.y, top.y, back.y,
  698. right.z, top.z, back.z)
  699. end
  700.  
  701. function Triangle(a, b, c)
  702. local edg1 = (c-a):Dot((b-a).unit)
  703. local edg2 = (a-b):Dot((c-b).unit)
  704. local edg3 = (b-c):Dot((a-c).unit)
  705. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  706. a, b, c = a, b, c
  707. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  708. a, b, c = b, c, a
  709. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  710. a, b, c = c, a, b
  711. else
  712. assert(false, "unreachable")
  713. end
  714.  
  715. local len1 = (c-a):Dot((b-a).unit)
  716. local len2 = (b-a).magnitude - len1
  717. local width = (a + (b-a).unit*len1 - c).magnitude
  718.  
  719. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  720.  
  721. local list = {}
  722.  
  723. if len1 > 0.01 then
  724. local w1 = Instance.new('WedgePart', m)
  725. game:GetService("Debris"):AddItem(w1,5)
  726. w1.Material = "SmoothPlastic"
  727. w1.FormFactor = 'Custom'
  728. w1.BrickColor = BrickColor.new("Really red")
  729. w1.Transparency = 0
  730. w1.Reflectance = 0
  731. w1.Material = "SmoothPlastic"
  732. w1.CanCollide = false
  733. local l1 = Instance.new("PointLight",w1)
  734. l1.Color = Color3.new(170,0,0)
  735. NoOutline(w1)
  736. local sz = Vector3.new(0.2, width, len1)
  737. w1.Size = sz
  738. local sp = Instance.new("SpecialMesh",w1)
  739. sp.MeshType = "Wedge"
  740. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  741. w1:BreakJoints()
  742. w1.Anchored = true
  743. w1.Parent = workspace
  744. w1.Transparency = 0.7
  745. table.insert(Effects,{w1,"Disappear",.01})
  746. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  747. table.insert(list,w1)
  748. end
  749.  
  750. if len2 > 0.01 then
  751. local w2 = Instance.new('WedgePart', m)
  752. game:GetService("Debris"):AddItem(w2,5)
  753. w2.Material = "SmoothPlastic"
  754. w2.FormFactor = 'Custom'
  755. w2.BrickColor = BrickColor.new("Really red")
  756. w2.Transparency = 0
  757. w2.Reflectance = 0
  758. w2.Material = "SmoothPlastic"
  759. w2.CanCollide = false
  760. local l2 = Instance.new("PointLight",w2)
  761. l2.Color = Color3.new(170,0,0)
  762. NoOutline(w2)
  763. local sz = Vector3.new(0.2, width, len2)
  764. w2.Size = sz
  765. local sp = Instance.new("SpecialMesh",w2)
  766. sp.MeshType = "Wedge"
  767. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  768. w2:BreakJoints()
  769. w2.Anchored = true
  770. w2.Parent = workspace
  771. w2.Transparency = 0.7
  772. table.insert(Effects,{w2,"Disappear",.01})
  773. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  774. table.insert(list,w2)
  775. end
  776. return unpack(list)
  777. end
  778.  
  779.  
  780. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  781. if hit.Parent==nil then
  782. return
  783. end
  784. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  785. for _,v in pairs(hit.Parent:children()) do
  786. if v:IsA("Humanoid") then
  787. h=v
  788. end
  789. end
  790. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  791. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  792. end
  793. if hit.Parent.className=="Hat" then
  794. hit=hit.Parent.Parent:findFirstChild("Head")
  795. end
  796. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  797. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  798. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  799. return
  800. end]]
  801. -- hs(hit,1.2)
  802. c=Instance.new("ObjectValue")
  803. c.Name="creator"
  804. c.Value=game:service("Players").LocalPlayer
  805. c.Parent=h
  806. game:GetService("Debris"):AddItem(c,.5)
  807. Damage=math.random(minim,maxim)
  808. -- h:TakeDamage(Damage)
  809. blocked=false
  810. block=hit.Parent:findFirstChild("Block")
  811. if block~=nil then
  812. print(block.className)
  813. if block.className=="NumberValue" then
  814. if block.Value>0 then
  815. blocked=true
  816. if decreaseblock==nil then
  817. block.Value=block.Value-1
  818. end
  819. end
  820. end
  821. if block.className=="IntValue" then
  822. if block.Value>0 then
  823. blocked=true
  824. if decreaseblock~=nil then
  825. block.Value=block.Value-1
  826. end
  827. end
  828. end
  829. end
  830. if blocked==false then
  831. -- h:TakeDamage(Damage)
  832. h.Health=h.Health-Damage
  833. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  834. else
  835. h.Health=h.Health-(Damage/2)
  836. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  837. end
  838. if Type=="Knockdown" then
  839. hum=hit.Parent.Humanoid
  840. hum.PlatformStand=true
  841. coroutine.resume(coroutine.create(function(HHumanoid)
  842. swait(1)
  843. HHumanoid.PlatformStand=false
  844. end),hum)
  845. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  846. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  847. local bodvol=Instance.new("BodyVelocity")
  848. bodvol.velocity=angle*knockback
  849. bodvol.P=5000
  850. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  851. bodvol.Parent=hit
  852. rl=Instance.new("BodyAngularVelocity")
  853. rl.P=3000
  854. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  855. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  856. rl.Parent=hit
  857. game:GetService("Debris"):AddItem(bodvol,.5)
  858. game:GetService("Debris"):AddItem(rl,.5)
  859. elseif Type=="Normal" then
  860. bp=Instance.new("BodyVelocity")
  861. bp.P=100000
  862. bp.maxForce=Vector3.new(math.huge,0,math.huge)
  863. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  864. if KnockbackType==1 then
  865. bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  866. elseif KnockbackType==2 then
  867. bp.velocity=Property.CFrame.lookVector*knockback
  868. end
  869. if knockback>0 then
  870. bp.Parent=hit.Parent.Torso
  871.  
  872. end
  873. game:GetService("Debris"):AddItem(bp,.5)
  874. elseif Type=="Up" then
  875. local bodyVelocity=Instance.new("BodyVelocity")
  876. bodyVelocity.velocity=vt(0,60,0)
  877. bodyVelocity.P=5000
  878. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  879. bodyVelocity.Parent=hit
  880. game:GetService("Debris"):AddItem(bodyVelocity,1)
  881. rl=Instance.new("BodyAngularVelocity")
  882. rl.P=3000
  883. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  884. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  885. rl.Parent=hit
  886. game:GetService("Debris"):AddItem(rl,.5)
  887. elseif Type=="Snare" then
  888. bp=Instance.new("BodyPosition")
  889. bp.P=2000
  890. bp.D=100
  891. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  892. bp.position=hit.Parent.Torso.Position
  893. bp.Parent=hit.Parent.Torso
  894. game:GetService("Debris"):AddItem(bp,1)
  895. elseif Type=="Target" then
  896. if Targetting==false then
  897. ZTarget=hit.Parent.Torso
  898. coroutine.resume(coroutine.create(function(Part)
  899. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  900. swait(1)
  901. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  902. end),ZTarget)
  903. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  904. targetgui=Instance.new("BillboardGui")
  905. targetgui.Parent=ZTarget
  906. targetgui.Size=UDim2.new(10,100,10,100)
  907. targ=Instance.new("ImageLabel")
  908. targ.Parent=targetgui
  909. targ.BackgroundTransparency=1
  910. targ.Image="rbxassetid://4834067"
  911. targ.Size=UDim2.new(1,0,1,0)
  912. cam.CameraType="Scriptable"
  913. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  914. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  915. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  916. Targetting=true
  917. RocketTarget=ZTarget
  918. for i=1,Property do
  919. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  920. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  921. swait()
  922. end
  923. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  924. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  925. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  926. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  927. end
  928. Targetting=true
  929. RocketTarget=true
  930. targetgui.Parent=true
  931. cam.CameraType="Custom"
  932. end
  933. end
  934. debounce=Instance.new("BoolValue")
  935. debounce.Name="DebounceHit"
  936. debounce.Parent=hit.Parent
  937. debounce.Value=true
  938. game:GetService("Debris"):AddItem(debounce,Delay)
  939. c=Instance.new("ObjectValue")
  940. c.Name="creator"
  941. c.Value=Player
  942. c.Parent=h
  943. game:GetService("Debris"):AddItem(c,.5)
  944. CRIT=true
  945. hitDeb=true
  946. AttackPos=6
  947. end
  948. end
  949.  
  950. showDamage=function(Char,Dealt,du,Color)
  951. m=Instance.new("Model")
  952. m.Name=tostring(Dealt)
  953. h=Instance.new("Humanoid")
  954. h.Health=0
  955. h.MaxHealth=0
  956. h.Parent=m
  957. c=Instance.new("Part")
  958. c.Transparency=0
  959. c.BrickColor=Color
  960. c.Transparency = 1
  961. c.Name="Head"
  962. c.TopSurface=0
  963. c.BottomSurface=0
  964. c.formFactor="Plate"
  965. c.Size=Vector3.new(1,.4,1)
  966.  
  967. local txt = Instance.new("BillboardGui", c)
  968. txt.Adornee = c
  969. txt.Name = "_status"
  970. txt.Size = UDim2.new(2, 0, 1.2, 0)
  971. txt.StudsOffset = Vector3.new(-9, 8, 0)
  972. local text = Instance.new("TextLabel", txt)
  973. text.Size = UDim2.new(10, 0, 7, 0)
  974. text.FontSize = "Size12"
  975. text.TextScaled = true
  976. text.TextTransparency = 0.5
  977. text.BackgroundTransparency = 1
  978. text.TextTransparency = 0.5
  979. text.TextStrokeTransparency = 0.5
  980. text.Font = "SciFi"
  981. text.TextStrokeColor3 = Color3.new(0,0,0)
  982. v=Instance.new("Part")
  983. v.Name = "ColorBrick"
  984. v.Parent=c
  985. v.FormFactor="Symmetric"
  986. v.Anchored=true
  987. v.CanCollide=false
  988. v.BottomSurface="Smooth"
  989. v.TopSurface="Smooth"
  990. v.Size=Vector3.new(10,5,3)
  991. v.Transparency=1
  992. v.CFrame=c.CFrame
  993. v.BrickColor=BrickColor.random()
  994. v.Transparency=1
  995. text.TextColor3 = t.BrickColor.Color
  996. v.Shape="Block"
  997. text.Text = tostring(Dealt)
  998. ms=Instance.new("CylinderMesh")
  999. ms.Scale=Vector3.new(.8,.8,.8)
  1000. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1001. local rndm=math.random(1,#hitsounds)
  1002. local r=rndm
  1003. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  1004. if CRIT==true then
  1005. ms.Scale=Vector3.new(1,1.25,1)
  1006. end
  1007. ms.Parent=c
  1008. c.Reflectance=0
  1009. Instance.new("BodyGyro").Parent=c
  1010. c.Parent=m
  1011. if Char:findFirstChild("Head")~=nil then
  1012. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1013. elseif Char.Parent:findFirstChild("Head")~=nil then
  1014. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1015. end
  1016. f=Instance.new("BodyPosition")
  1017. f.P=200000
  1018. f.D=100
  1019. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1020. f.position=c.Position+Vector3.new(0,3,0)
  1021. f.Parent=c
  1022. game:GetService("Debris"):AddItem(m,.5+du)
  1023. c.CanCollide=false
  1024. m.Parent=workspace
  1025. c.CanCollide=false
  1026. end
  1027.  
  1028. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1029. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1030. end
  1031.  
  1032. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1033. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1034. prt.Anchored=true
  1035. prt.CFrame=cframe
  1036. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1037. --http://www.roblox.com/asset/?id=4770560
  1038. game:GetService("Debris"):AddItem(prt,2)
  1039. CF=prt.CFrame
  1040. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1041. for i=0,1,0.2 do
  1042. wait()
  1043. Part.CFrame=CF*cf(0,0,-0.4)
  1044. end
  1045. for i=0,1,delay do
  1046. wait()
  1047. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1048. Mesh.Scale=Mesh.Scale
  1049. end
  1050. for i=0,1,0.1 do
  1051. wait()
  1052. Part.Transparency=i
  1053. end
  1054. Part.Parent=nil
  1055. end),prt,msh,CF)
  1056. end
  1057.  
  1058. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1059. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1060. prt.Anchored=true
  1061. prt.Material = "Plastic"
  1062. prt.CFrame=cframe
  1063. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1064. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1065. game:GetService("Debris"):AddItem(prt,5)
  1066. coroutine.resume(coroutine.create(function(Part,Mesh)
  1067. for i=0,1,delay do
  1068. swait()
  1069. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1070. Part.Transparency=i
  1071. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1072. end
  1073. Part.Parent=nil
  1074. end),prt,msh)
  1075. end
  1076.  
  1077.  
  1078.  
  1079.  
  1080. function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1081. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3))
  1082. prt.Anchored=true
  1083. prt.Material = "Neon"
  1084. prt.CFrame=cframe
  1085. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1086. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1087. game:GetService("Debris"):AddItem(prt,1)
  1088. coroutine.resume(coroutine.create(function(Part,Mesh)
  1089. for i=0,1,delay do
  1090. swait()
  1091. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1092. Part.Transparency=i
  1093. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1094. end
  1095. Part.Parent=nil
  1096. end),prt,msh)
  1097. end
  1098.  
  1099.  
  1100. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1101. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1102. prt.Anchored=true
  1103. prt.Material = "Neon"
  1104. prt.CFrame=cframe
  1105. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1106. game:GetService("Debris"):AddItem(prt,5)
  1107. coroutine.resume(coroutine.create(function(Part,Mesh)
  1108. local rtype = rottype
  1109. for i=0,1,delay do
  1110. swait()
  1111. if rtype == 1 then
  1112. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1113. elseif rtype == 2 then
  1114. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1115. end
  1116. Part.Transparency=i
  1117. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1118. end
  1119. Part.Parent=nil
  1120. end),prt,msh)
  1121. end
  1122.  
  1123. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1124. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1125. prt.Anchored=true
  1126. prt.CFrame=cframe
  1127. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1128. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1129. game:GetService("Debris"):AddItem(prt,5)
  1130. coroutine.resume(coroutine.create(function(Part,Mesh)
  1131. for i=0,1,delay do
  1132. wait()
  1133. Part.Transparency=i
  1134. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1135. end
  1136. Part.Parent=nil
  1137. end),prt,msh)
  1138. end
  1139.  
  1140. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1141. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1142. prt.Anchored=true
  1143. prt.Material = "Neon"
  1144. prt.CFrame=cframe
  1145. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1146. game:GetService("Debris"):AddItem(prt,5)
  1147. coroutine.resume(coroutine.create(function(Part,Mesh)
  1148. local rtype = rottype
  1149. for i=0,1,delay do
  1150. swait()
  1151. if rtype == 1 then
  1152. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1153. elseif rtype == 2 then
  1154. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1155. end
  1156. Part.Transparency=i
  1157. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1158. end
  1159. Part.Parent=nil
  1160. end),prt,msh)
  1161. end
  1162.  
  1163. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1164. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1165. prt.Anchored=true
  1166. prt.Material = "Neon"
  1167. prt.CFrame=cframe
  1168. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1169. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1170. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1171. game:GetService("Debris"):AddItem(prt,5)
  1172. coroutine.resume(coroutine.create(function(Part,Mesh)
  1173. local rtype = rottype
  1174. for i=0,1,delay do
  1175. swait()
  1176. if rtype == 1 then
  1177. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1178. elseif rtype == 2 then
  1179. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1180. end
  1181. dec.Transparency=i
  1182. dec2.Transparency=i
  1183. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1184. end
  1185. Part.Parent=nil
  1186. end),prt,msh)
  1187. end
  1188.  
  1189. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1190. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1191. prt.Anchored=true
  1192. prt.Material = "Neon"
  1193. prt.CFrame=cframe
  1194. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1195. game:GetService("Debris"):AddItem(prt,5)
  1196. coroutine.resume(coroutine.create(function(Part,Mesh)
  1197. local rtype = rottype
  1198. for i=0,1,delay do
  1199. swait()
  1200. if rtype == 1 then
  1201. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1202. elseif rtype == 2 then
  1203. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1204. end
  1205. prt.Transparency=i
  1206. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1207. end
  1208. Part.Parent=nil
  1209. end),prt,msh)
  1210. end
  1211.  
  1212. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1213. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1214. prt.Anchored=true
  1215. prt.Material = "Neon"
  1216. prt.CFrame=cframe
  1217. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1218. game:GetService("Debris"):AddItem(prt,5)
  1219. coroutine.resume(coroutine.create(function(Part,Mesh)
  1220. local rtype = rottype
  1221. for i=0,1,delay do
  1222. swait()
  1223. if rtype == 1 then
  1224. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1225. elseif rtype == 2 then
  1226. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1227. end
  1228. prt.Transparency=i
  1229. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1230. end
  1231. Part.Parent=nil
  1232. end),prt,msh)
  1233. end
  1234.  
  1235. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1236. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1237. prt.Anchored=true
  1238. prt.Material = "Neon"
  1239. prt.CFrame=cframe
  1240. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1241. game:GetService("Debris"):AddItem(prt,5)
  1242. coroutine.resume(coroutine.create(function(Part,Mesh)
  1243. local rtype = rottype
  1244. for i=0,1,delay do
  1245. swait()
  1246. if rtype == 1 then
  1247. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1248. elseif rtype == 2 then
  1249. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1250. end
  1251. prt.Transparency=i
  1252. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1253. end
  1254. Part.Parent=nil
  1255. end),prt,msh)
  1256. end
  1257.  
  1258. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1259. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1260. prt.Material = "Neon"
  1261. prt.Anchored=true
  1262. prt.CFrame=cframe
  1263. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1264. local wld=weld(prt,prt,Parent,cframe)
  1265. game:GetService("Debris"):AddItem(prt,5)
  1266. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1267. for i=0,1,delay do
  1268. wait()
  1269. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1270. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1271. Part.Transparency=i
  1272. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1273. end
  1274. Part.Parent=nil
  1275. end),prt,msh,wld)
  1276. end
  1277.  
  1278. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1279. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1280. prt.Anchored=false
  1281. prt.CFrame=cframe
  1282. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1283. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1284. game:GetService("Debris"):AddItem(prt,5)
  1285. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1286. for i=0,1,delay do
  1287. wait()
  1288. Weld.C0=euler(i*20,0,0)
  1289. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1290. Part.Transparency=i
  1291. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1292. end
  1293. Part.Parent=nil
  1294. end),prt,msh,wld)
  1295. end
  1296.  
  1297. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1298. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1299. prt.Anchored=true
  1300. prt.CFrame=cframe
  1301. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1302. game:GetService("Debris"):AddItem(prt,2)
  1303. coroutine.resume(coroutine.create(function(Part,Mesh)
  1304. for i=0,1,delay do
  1305. wait()
  1306. Part.CFrame=Part.CFrame
  1307. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1308. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1309. prt2.Anchored=true
  1310. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1311. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1312. game:GetService("Debris"):AddItem(prt2,2)
  1313. coroutine.resume(coroutine.create(function(Part,Mesh)
  1314. for i=0,1,0.1 do
  1315. wait()
  1316. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1317. end
  1318. Part.Parent=nil
  1319. end),prt2,msh2)
  1320. end
  1321. for i=0,1,delay*2 do
  1322. wait()
  1323. Part.CFrame=Part.CFrame
  1324. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1325. end
  1326. Part.Parent=nil
  1327. end),prt,msh)
  1328. end
  1329.  
  1330. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1331. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1332. prt.Anchored=true
  1333. prt.CFrame=cframe
  1334. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1335. game:GetService("Debris"):AddItem(prt,2)
  1336. coroutine.resume(coroutine.create(function(Part,Mesh)
  1337. for i=0,1,delay do
  1338. wait()
  1339. Part.CFrame=Part.CFrame
  1340. Part.Transparency=i
  1341. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1342. end
  1343. Part.Parent=nil
  1344. end),prt,msh)
  1345. end
  1346.  
  1347. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1348. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1349. prt.Anchored=true
  1350. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1351. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1352. game:GetService("Debris"):AddItem(prt,2)
  1353. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1354. CF=Part.CFrame
  1355. Numbb=0
  1356. randnumb=math.random()/10
  1357. rand1=math.random()/10
  1358. for i=0,1,rand1 do
  1359. wait()
  1360. CF=CF*cf(0,math.random()/2,0)
  1361. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1362. Part.CFrame=CF*euler(Numbb,0,0)
  1363. Part.Transparency=i
  1364. Numbb=Numbb+randnumb
  1365. end
  1366. Part.Parent=nil
  1367. end),prt,CF,Numbb,randnumb)
  1368. end
  1369.  
  1370. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1371. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1372. prt.Anchored=true
  1373. prt.CFrame=cframe
  1374. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1375. game:GetService("Debris"):AddItem(prt,5)
  1376. coroutine.resume(coroutine.create(function(Part,Mesh)
  1377. for i=0,1,delay do
  1378. wait()
  1379. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1380. Part.Transparency=i
  1381. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1382. end
  1383. Part.Parent=nil
  1384. end),prt,msh)
  1385. end
  1386.  
  1387. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1388. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1389. prt.Anchored=true
  1390. prt.CFrame=cframe
  1391. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1392. game:GetService("Debris"):AddItem(prt,2)
  1393. coroutine.resume(coroutine.create(function(Part,Mesh)
  1394. for i=0,1,delay do
  1395. wait()
  1396. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1397. Part.Transparency=i
  1398. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1399. end
  1400. Part.Parent=nil
  1401. end),prt,msh)
  1402. end
  1403.  
  1404. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1405. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1406. prt.Anchored=true
  1407. prt.CFrame=cframe*cf(x,y,z)
  1408. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1409. game:GetService("Debris"):AddItem(prt,5)
  1410. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1411. local num=math.random()
  1412. local num2=math.random(-3,2)+math.random()
  1413. local numm=0
  1414. for i=0,1,delay*2 do
  1415. swait()
  1416. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1417. Part.Transparency=i
  1418. numm=numm+0.01
  1419. end
  1420. Part.Parent=nil
  1421. Mesh.Parent=nil
  1422. end),prt,msh,x,y,z)
  1423. end
  1424.  
  1425. function dmgstart(dmg,what)
  1426. hitcon = what.Touched:connect(function(hit)
  1427. local hum = hit.Parent:FindFirstChild("Humanoid")
  1428. if hum and not hum:IsDescendantOf(Character) then
  1429. hum:TakeDamage(dmg)
  1430. end
  1431. end)
  1432. end
  1433.  
  1434. function dmgstop()
  1435. hitcon:disconnect()
  1436. end
  1437.  
  1438. function Cloak()
  1439. Face.Parent=nil
  1440. cloaked=true
  1441. for _,v in pairs(Torso.Parent:children()) do
  1442. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1443. coroutine.resume(coroutine.create(function()
  1444. for i=0,1,0.2 do
  1445. wait()
  1446. v.Transparency=i
  1447. end
  1448. v.Transparency=1
  1449. end))
  1450. end
  1451. if v.className=="Hat" then
  1452. hatp=v.Handle
  1453. coroutine.resume(coroutine.create(function(derp)
  1454. for i=0,1,0.2 do
  1455. wait()
  1456. derp.Transparency=i
  1457. end
  1458. derp.Transparency=1
  1459. end),hatp)
  1460. end
  1461. end
  1462. for _,v in pairs(m:children()) do
  1463. if v.className=="Part" then
  1464. coroutine.resume(coroutine.create(function()
  1465. for i=0,1,0.2 do
  1466. wait()
  1467. v.Transparency=i
  1468. end
  1469. v.Transparency=1
  1470. end))
  1471. end
  1472. end
  1473. end
  1474.  
  1475. function UnCloak()
  1476. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1477. Face.Parent=Head
  1478. cloaked=false
  1479. for _,v in pairs(Torso.Parent:children()) do
  1480. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1481. coroutine.resume(coroutine.create(function()
  1482. for i=0,1,0.1 do
  1483. wait()
  1484. v.Transparency=v.Transparency-0.1
  1485. end
  1486. v.Transparency=0
  1487. end))
  1488. end
  1489. if v.className=="Hat" then
  1490. hatp=v.Handle
  1491. coroutine.resume(coroutine.create(function(derp)
  1492. for i=0,1,0.1 do
  1493. wait()
  1494. derp.Transparency=derp.Transparency-0.1
  1495. end
  1496. derp.Transparency=0
  1497. end),hatp)
  1498. end
  1499. end
  1500. for _,v in pairs(m:children()) do
  1501. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1502. coroutine.resume(coroutine.create(function()
  1503. for i=0,1,0.1 do
  1504. wait()
  1505. v.Transparency=v.Transparency-0.1
  1506. end
  1507. v.Transparency=0
  1508. end))
  1509. v.Transparency=0
  1510. end
  1511. end
  1512. end
  1513.  
  1514.  
  1515. ------
  1516. function jum()
  1517. if activu == true then
  1518. return
  1519. end
  1520. activu = true
  1521. local sound1 = Instance.new("Sound")
  1522. sound1.SoundId = "rbxassetid://436748675"
  1523. sound1.MaxDistance = 600
  1524. sound1.EmitterSize = 80
  1525. sound1.Volume = 3.5
  1526. sound1.Pitch = 1
  1527. sound1.Parent = tors
  1528. sound1:Play()
  1529.  
  1530. BV = Instance.new("BodyVelocity", tors)
  1531. BV.maxForce = Vector3.new(0,160000,0)
  1532. BV.P = 100000
  1533. BV.velocity = Vector3.new(0,800,0)
  1534. KABOOMZ22()
  1535.  
  1536. coroutine.resume(coroutine.create(function()
  1537. swait(3)
  1538. BV:Destroy()
  1539. end))
  1540. local ry,ht,ps=nil,nil,nil
  1541. while ht==nil do
  1542. ry,ht,ps=newRay(tors.CFrame*CFrame.new(0,-2,0),tors.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1543. wait()
  1544. end
  1545.  
  1546. KABOOMZ2()
  1547. for i = 1, 15 do
  1548. local gtrace = Instance.new("Part",game.Workspace)
  1549. gtrace.BrickColor = BrickColor.new("Grey")
  1550. gtrace.Material = "Slate"
  1551. gtrace.Size = Vector3.new(21,21,21)
  1552. gtrace.Anchored = true
  1553. gtrace.CanCollide = true
  1554. gtrace.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(159)),math.random(0,math.rad(159)),math.random(0,math.rad(159)))
  1555. local gdisp = coroutine.wrap(function()
  1556. wait(7)
  1557. for i = 1, 9 do
  1558. wait(.1)
  1559. gtrace.Transparency = gtrace.Transparency + .1
  1560. end
  1561. gtrace:Destroy()
  1562. end)
  1563. gdisp()
  1564. end
  1565.  
  1566. activu = false
  1567. end
  1568.  
  1569.  
  1570.  
  1571. local jumped = false
  1572. function jump()
  1573. attack = true
  1574. jumped = true
  1575. hum.WalkSpeed = 900
  1576. KABOOMZ22()
  1577. local bv = Instance.new("BodyVelocity")
  1578. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1579. bv.velocity = Vector3.new(0,500,0)
  1580. bv.Parent = root
  1581. hum.WalkSpeed = 900
  1582. local pie22 = Instance.new("ParticleEmitter")
  1583. pie22.Parent = tors
  1584. pie22.Color = ColorSequence.new(BrickColor.new("White").Color)
  1585. pie22.LightEmission = 1
  1586. pie22.Size = NumberSequence.new(6,1)
  1587. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  1588. pie22.Transparency = NumberSequence.new(0.7)
  1589. pie22.EmissionDirection = "Top"
  1590. pie22.Enabled = true
  1591. pie22.Lifetime = NumberRange.new(2)
  1592. pie22.Rotation = NumberRange.new(-320, 320)
  1593. pie22.Rate = 604
  1594. pie22.Speed = NumberRange.new(1)
  1595. pie22.LockedToPart = false
  1596. pie22.VelocitySpread = 2
  1597. game:GetService("Debris"):AddItem(bv, 0.5)
  1598. local rng = Instance.new("Part", char)
  1599. rng.Anchored = true
  1600. rng.BrickColor = BrickColor.new("White")
  1601. rng.CanCollide = false
  1602. rng.FormFactor = 3
  1603. rng.Name = "Ring"
  1604. rng.Size = Vector3.new(1, 1, 1)
  1605. rng.Transparency = 1
  1606. rng.TopSurface = 0
  1607. rng.BottomSurface = 0
  1608. rng.Position = root.Position
  1609. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1610. local rngm = Instance.new("SpecialMesh", rng)
  1611. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1612. local rng2 = rng:Clone()
  1613. rng2.Parent = char
  1614. local rng2m = rng2.Mesh
  1615. local rng3 = rng:Clone()
  1616. rng3.Parent = char
  1617. rng3.BrickColor = BrickColor.new("White")
  1618. local rng3m = rng3.Mesh
  1619. local rng4 = rng:Clone()
  1620. rng4.Parent = char
  1621. local rng4m = rng4.Mesh
  1622. local rng5 = rng:Clone()
  1623. rng5.Parent = char
  1624. rng5.BrickColor = BrickColor.new("White")
  1625. local rng5m = rng5.Mesh
  1626. CFuncs["Sound"].Create("rbxassetid://991726501", rng, 10, 1)
  1627. wait()
  1628. local scaler = 10
  1629. local scaler2 = 10
  1630. game:GetService("Debris"):AddItem(bv, 2.4)
  1631. hum.WalkSpeed = 50
  1632. for i = 0,10,0.1 do
  1633. swait()
  1634. rng.Transparency = rng.Transparency + 0.01
  1635. rng2.Transparency = rng2.Transparency + 0.01
  1636. rng3.Transparency = rng3.Transparency + 0.01
  1637. rng4.Transparency = rng4.Transparency + 0.01
  1638. rng5.Transparency = rng5.Transparency + 0.01
  1639. scaler = scaler - 0.125
  1640. scaler2 = scaler2 - 0.1
  1641. rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
  1642. rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
  1643. rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
  1644. rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
  1645. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1646. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1647. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1648. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
  1649. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
  1650. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1651. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
  1652. end
  1653. local ry,ht,ps=nil,nil,nil
  1654. while ht==nil do
  1655. ry,ht,ps=newRay(rleg.CFrame*CFrame.new(0,-2,0),rleg.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1656. wait()
  1657. end
  1658.  
  1659. KABOOMZ2()
  1660. for i = 1, 15 do
  1661. local gtrace = Instance.new("Part",game.Workspace)
  1662. gtrace.BrickColor = BrickColor.new("Grey")
  1663. gtrace.Material = "Slate"
  1664. gtrace.Size = Vector3.new(21,21,21)
  1665. gtrace.Anchored = true
  1666. gtrace.CanCollide = true
  1667. gtrace.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(159)),math.random(0,math.rad(159)),math.random(0,math.rad(159)))
  1668. local gdisp = coroutine.wrap(function()
  1669. wait(7)
  1670. for i = 1, 9 do
  1671. wait(.1)
  1672. gtrace.Transparency = gtrace.Transparency + .1
  1673. end
  1674. gtrace:Destroy()
  1675. end)
  1676. gdisp()
  1677. end
  1678. game:GetService("Debris"):AddItem(rng, 0.1)
  1679. game:GetService("Debris"):AddItem(rng2, 0.1)
  1680. game:GetService("Debris"):AddItem(rng3, 0.1)
  1681. game:GetService("Debris"):AddItem(rng4, 0.1)
  1682. game:GetService("Debris"):AddItem(rng5, 0.1)
  1683. attack = false
  1684. jumped = false
  1685. pie22:Destroy()
  1686. hum.WalkSpeed = 16
  1687. end
  1688.  
  1689.  
  1690. ------
  1691. function jum2()
  1692. if activu == true then
  1693. return
  1694. end
  1695. activu = true
  1696. hum.Jump = true
  1697. local sound1 = Instance.new("Sound")
  1698. sound1.SoundId = "rbxassetid://436748675"
  1699. sound1.MaxDistance = 600
  1700. sound1.EmitterSize = 80
  1701. sound1.Volume = 3.5
  1702. sound1.Pitch = 1
  1703. sound1.Parent = tors
  1704. sound1:Play()
  1705.  
  1706. BV = Instance.new("BodyVelocity", tors)
  1707. BV.maxForce = Vector3.new(0,26000,0)
  1708. BV.P = 100000
  1709. BV.velocity = Vector3.new(0,800,0)
  1710.  
  1711. coroutine.resume(coroutine.create(function()
  1712. swait(3)
  1713. BV:Destroy()
  1714. end))
  1715.  
  1716.  
  1717. activu = false
  1718. end
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724. function dash()
  1725. attack = true
  1726. jumped = true
  1727. hum.WalkSpeed = 0
  1728. CFuncs["Sound"].Create("rbxassetid://867683426", root, 10, 1)
  1729. wait(0.2)
  1730. for i = 0, 1, 0.1 do
  1731. swait()
  1732. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2)
  1733. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2)
  1734. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * CFrame.Angles(-math.rad(45), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  1735. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.9) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2)
  1736. RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2)
  1737. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.6, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2)
  1738. end
  1739. wait(0.8)
  1740. local bv = Instance.new("BodyVelocity")
  1741. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1742. bv.velocity = root.CFrame.lookVector*150
  1743. bv.Parent = root
  1744. game:GetService("Debris"):AddItem(bv, 1)
  1745. local rng = Instance.new("Part", char)
  1746. rng.Anchored = true
  1747. rng.BrickColor = BrickColor.new("White")
  1748. rng.CanCollide = false
  1749. rng.FormFactor = 3
  1750. rng.Name = "Ring"
  1751. rng.Size = Vector3.new(1, 1, 1)
  1752. rng.Transparency = 0
  1753. rng.TopSurface = 0
  1754. rng.BottomSurface = 0
  1755. rng.CFrame = root.CFrame
  1756. local rngm = Instance.new("SpecialMesh", rng)
  1757. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1758. local rng2 = rng:Clone()
  1759. rng2.Parent = char
  1760. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1761. local rng2m = rng2.Mesh
  1762. local rng3 = rng:Clone()
  1763. rng3.Parent = char
  1764. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1765. local rng3m = rng3.Mesh
  1766. local rng4 = rng:Clone()
  1767. rng4.Parent = char
  1768. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1769. local rng4m = rng4.Mesh
  1770. local rng5 = rng:Clone()
  1771. rng5.Parent = char
  1772. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1773. local rng5m = rng5.Mesh
  1774. CFuncs["Sound"].Create("rbxassetid://991726501", root, 4, 1)
  1775. wait()
  1776. local scaler = 10/5
  1777. local scaler2 = 10/5
  1778. local hit = larm.Touched:connect(function(hit)
  1779. Damagefunc(hit,25,34,math.random(10,20),"Normal",root,.2,1)
  1780. end)
  1781. for i = 0,10,0.1 do
  1782. swait()
  1783. rng.Transparency = rng.Transparency + 0.01
  1784. rng2.Transparency = rng2.Transparency + 0.01
  1785. rng3.Transparency = rng3.Transparency + 0.01
  1786. rng4.Transparency = rng4.Transparency + 0.01
  1787. rng5.Transparency = rng5.Transparency + 0.01
  1788. scaler = scaler - 0.125/5
  1789. scaler2 = scaler2 - 0.1/5
  1790. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  1791. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1792. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1793. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1794. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1795. end
  1796. game:GetService("Debris"):AddItem(rng, 0.1)
  1797. game:GetService("Debris"):AddItem(rng2, 0.1)
  1798. game:GetService("Debris"):AddItem(rng3, 0.1)
  1799. game:GetService("Debris"):AddItem(rng4, 0.1)
  1800. game:GetService("Debris"):AddItem(rng5, 0.1)
  1801. hum.WalkSpeed = 16
  1802. hit:disconnect()
  1803. attack = false
  1804. jumped = false
  1805. end
  1806.  
  1807.  
  1808. function dashback()
  1809. attack = true
  1810. jumped = true
  1811. hum.WalkSpeed = 0
  1812. CFuncs["Sound"].Create("rbxassetid://908217925", root, 10, 1)
  1813.  
  1814. local bv = Instance.new("BodyVelocity")
  1815. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1816. bv.velocity = root.CFrame.lookVector*-55
  1817. bv.Parent = root
  1818. game:GetService("Debris"):AddItem(bv, 1)
  1819. hum.WalkSpeed = 16
  1820. attack = false
  1821. jumped = false
  1822. end
  1823.  
  1824.  
  1825. function dashcowl()
  1826. attack = true
  1827. jumped = true
  1828. hum.WalkSpeed = 0
  1829. local bv = Instance.new("BodyVelocity")
  1830. bv.maxForce = Vector3.new(10000, 10000, 10000)
  1831. bv.velocity = root.CFrame.lookVector*350
  1832. bv.Parent = root
  1833. game:GetService("Debris"):AddItem(bv, 1)
  1834. CFuncs["Sound"].Create("rbxassetid://991726501", root, 4, 1)
  1835. local pie22 = Instance.new("ParticleEmitter")
  1836. pie22.Parent = tors
  1837. pie22.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  1838. pie22.LightEmission = 1
  1839. pie22.Size = NumberSequence.new(6,1)
  1840. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  1841. pie22.Transparency = NumberSequence.new(0.7)
  1842. pie22.EmissionDirection = "Top"
  1843. pie22.Enabled = true
  1844. pie22.Lifetime = NumberRange.new(0.7)
  1845. pie22.Rotation = NumberRange.new(-320, 320)
  1846. pie22.Rate = 404
  1847. pie22.Speed = NumberRange.new(1)
  1848. pie22.LockedToPart = false
  1849. pie22.VelocitySpread = 2
  1850. hum.WalkSpeed = 16
  1851. attack = false
  1852. jumped = false
  1853. wait(1.5)
  1854. pie22:Destroy()
  1855. end
  1856.  
  1857.  
  1858.  
  1859.  
  1860. function daash()
  1861. attack = false
  1862. jumped = false
  1863. hum.WalkSpeed = 16
  1864. for i = 0, 1, 0.1 do
  1865. swait()
  1866. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(75)), 0.3)
  1867. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.3)
  1868. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3)
  1869. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.3)
  1870. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(105), 0), 0.3)
  1871. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(75), 0), 0.3)
  1872. end
  1873. for i = 0, 1, 0.1 do
  1874. swait()
  1875. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(-80)), 0.3)
  1876. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(10), 0, math.rad(80)), 0.3)
  1877. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.35, -0.5) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3)
  1878. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(-50), 0, 0), 0.3)
  1879. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.3)
  1880. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.3)
  1881. end
  1882. killbrick = Instance.new("Part",hed)
  1883. killbrick.Size = Vector3.new(9,9,9)
  1884. killbrick.Transparency = 1
  1885. killbrick:BreakJoints()
  1886. killbrick.CanCollide = false
  1887. killbrick.Anchored = true
  1888. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  1889. game:GetService("Debris"):AddItem(bv, 1)
  1890. local rng = Instance.new("Part", char)
  1891. rng.Anchored = true
  1892. rng.BrickColor = BrickColor.new("White")
  1893. rng.CanCollide = false
  1894. rng.FormFactor = 3
  1895. rng.Name = "Ring"
  1896. rng.Size = Vector3.new(1, 1, 1)
  1897. rng.Transparency = 0
  1898. rng.TopSurface = 0
  1899. rng.BottomSurface = 0
  1900. rng.CFrame = root.CFrame
  1901. local rngm = Instance.new("SpecialMesh", rng)
  1902. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1903. local rng2 = rng:Clone()
  1904. rng2.BrickColor = BrickColor.new("White")
  1905. rng2.Parent = char
  1906. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1907. local rng2m = rng2.Mesh
  1908. local rng6 = rng:Clone()
  1909. rng6.Material = "Neon"
  1910. rng6.CanCollide = false
  1911. rng6.BrickColor = BrickColor.new("White")
  1912. rng6.Parent = LeftLeg
  1913. local rng6m = rng6.Mesh
  1914. rng6m.Scale = vt(1,1,1)
  1915. rng6m.MeshType = "Sphere"
  1916.  
  1917. local rng5m = rng.Mesh
  1918. CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
  1919. wait()
  1920. local scaler = 10/5
  1921. local scaler2 = 10/5
  1922. local hit = rng6.Touched:connect(function(hit)
  1923. Damagefunc(hit,55,55,math.random(50,50),"Normal",root,.2,1)
  1924. end)
  1925. for i = 0,10,0.1 do
  1926. swait()
  1927. rng.Transparency = rng.Transparency + 0.01
  1928. rng2.Transparency = rng2.Transparency + 0.01
  1929. rng6.Transparency = rng.Transparency + 0.001
  1930.  
  1931.  
  1932.  
  1933.  
  1934. scaler = scaler - 0.125/5
  1935. scaler2 = scaler2 - 0.125/5
  1936. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0)
  1937. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1938.  
  1939.  
  1940. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1941.  
  1942.  
  1943. rng6.CFrame = killbrick.CFrame
  1944. end
  1945.  
  1946. game:GetService("Debris"):AddItem(rng, 0.1)
  1947. game:GetService("Debris"):AddItem(rng2, 0.1)
  1948. hum.WalkSpeed = 16
  1949. hit:disconnect()
  1950. attack = false
  1951. jumped = false
  1952. killbrick:Destroy()
  1953. end
  1954.  
  1955.  
  1956.  
  1957. function dashhh()
  1958. attack = true
  1959. jumped = true
  1960. hum.WalkSpeed = 16
  1961. local BV = Instance.new("BodyVelocity")
  1962. BV = Instance.new("BodyVelocity", tors)
  1963. BV.maxForce = Vector3.new(0,10000,0)
  1964. BV.P = 1000
  1965. BV.velocity = Vector3.new(0,800,0)
  1966. char.Head.face.Texture = "rbxassetid://126198982"
  1967. game:GetService("Debris"):AddItem(BV, 1)
  1968. local rng = Instance.new("Part", char)
  1969. rng.Anchored = true
  1970. rng.BrickColor = BrickColor.new("Neon orange")
  1971. rng.CanCollide = false
  1972. rng.FormFactor = 3
  1973. rng.Name = "Ring"
  1974. rng.Size = Vector3.new(1, 1, 1)
  1975. rng.Transparency = 0
  1976. rng.TopSurface = 0
  1977. rng.BottomSurface = 0
  1978. rng.CFrame = root.CFrame
  1979. local rngm = Instance.new("SpecialMesh", rng)
  1980. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1981. local rng2 = rng:Clone()
  1982. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1983. rng2.Parent = char
  1984. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1985. local rng2m = rng2.Mesh
  1986. local rng3 = rng:Clone()
  1987. rng3.Parent = char
  1988. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1989. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1990. local rng3m = rng3.Mesh
  1991. local rng4 = rng:Clone()
  1992. rng4.Parent = char
  1993. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1994. local rng4m = rng4.Mesh
  1995. local rng5 = rng:Clone()
  1996. rng5.Parent = char
  1997. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1998. local rng5m = rng5.Mesh
  1999. local rng6 = rng:Clone()
  2000. rng6.Material = "Neon"
  2001. rng6.CanCollide = false
  2002. rng6.BrickColor = BrickColor.new("Neon orange")
  2003. rng6.Parent = LeftLeg
  2004. local rng6m = rng6.Mesh
  2005. rng6m.Scale = vt(1,1,1)
  2006. rng6m.MeshType = "Sphere"
  2007. local rng7 = rng:Clone()
  2008. rng7.Material = "Plastic"
  2009. rng7.CanCollide = false
  2010. rng7.BrickColor = BrickColor.new("Bright red")
  2011. rng7.Parent = LeftLeg
  2012. local rng7m = rng7.Mesh
  2013. rng7m.Scale = vt(1,1,1)
  2014. rng7m.MeshType = "Sphere"
  2015. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2016. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  2017. wait()
  2018. local scaler = 10/5
  2019. local scaler2 = 10/5
  2020. local hit = rng6.Touched:connect(function(hit)
  2021. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  2022. end)
  2023. for i = 0,10,0.1 do
  2024. swait()
  2025. MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2026. MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2027. rng.Transparency = rng.Transparency + 0.01
  2028. rng2.Transparency = rng2.Transparency + 0.01
  2029. rng3.Transparency = rng3.Transparency + 0.01
  2030. rng4.Transparency = rng4.Transparency + 0.01
  2031. rng5.Transparency = rng5.Transparency + 0.01
  2032. rng6.Transparency = rng5.Transparency + 0.001
  2033. rng7.Transparency = rng5.Transparency + 0.001
  2034. scaler = scaler - 0.125/5
  2035. scaler2 = scaler2 - 0.1/5
  2036. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2037. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2038. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2039. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2040. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2041. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2042. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2043. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2044. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2045. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2046. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2047. rng6.CFrame = rng3.CFrame
  2048. rng7.CFrame = rng3.CFrame
  2049. end
  2050. game:GetService("Debris"):AddItem(rng, 0.1)
  2051. game:GetService("Debris"):AddItem(rng2, 0.1)
  2052. game:GetService("Debris"):AddItem(rng3, 0.1)
  2053. game:GetService("Debris"):AddItem(rng4, 0.1)
  2054. game:GetService("Debris"):AddItem(rng5, 0.1)
  2055. hum.WalkSpeed = 16
  2056. hit:disconnect()
  2057. attack = false
  2058. char.Head.face.Texture = "rbxassetid://29291814"
  2059. jumped = false
  2060. end
  2061.  
  2062.  
  2063. function dashss()
  2064. attack = true
  2065. jumped = true
  2066. hum.WalkSpeed = 16
  2067. local bv = Instance.new("BodyVelocity")
  2068. bv.maxForce = Vector3.new(0, 0, 0)
  2069. bv.velocity = root.CFrame.lookVector*150
  2070. bv.Parent = root
  2071. char.Head.face.Texture = "rbxassetid://126198982"
  2072. game:GetService("Debris"):AddItem(bv, 1)
  2073. local rng = Instance.new("Part", char)
  2074. rng.Anchored = true
  2075. rng.BrickColor = BrickColor.new("Neon orange")
  2076. rng.CanCollide = false
  2077. rng.FormFactor = 3
  2078. rng.Name = "Ring"
  2079. rng.Size = Vector3.new(1, 1, 1)
  2080. rng.Transparency = 0
  2081. rng.TopSurface = 0
  2082. rng.BottomSurface = 0
  2083. rng.CFrame = root.CFrame
  2084. local rngm = Instance.new("SpecialMesh", rng)
  2085. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2086. local rng2 = rng:Clone()
  2087. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2088. rng2.Parent = char
  2089. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2090. local rng2m = rng2.Mesh
  2091. local rng3 = rng:Clone()
  2092. rng3.Parent = char
  2093. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2094. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  2095. local rng3m = rng3.Mesh
  2096. local rng4 = rng:Clone()
  2097. rng4.Parent = char
  2098. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  2099. local rng4m = rng4.Mesh
  2100. local rng5 = rng:Clone()
  2101. rng5.Parent = char
  2102. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  2103. local rng5m = rng5.Mesh
  2104. local rng6 = rng:Clone()
  2105. rng6.Material = "Neon"
  2106. rng6.CanCollide = false
  2107. rng6.BrickColor = BrickColor.new("Neon orange")
  2108. rng6.Parent = LeftLeg
  2109. local rng6m = rng6.Mesh
  2110. rng6m.Scale = vt(1,1,1)
  2111. rng6m.MeshType = "Sphere"
  2112. local rng7 = rng:Clone()
  2113. rng7.Material = "Plastic"
  2114. rng7.CanCollide = false
  2115. rng7.BrickColor = BrickColor.new("Bright red")
  2116. rng7.Parent = LeftLeg
  2117. local rng7m = rng7.Mesh
  2118. rng7m.Scale = vt(1,1,1)
  2119. rng7m.MeshType = "Sphere"
  2120. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2121. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  2122. wait()
  2123. local scaler = 10/5
  2124. local scaler2 = 10/5
  2125. local hit = rng6.Touched:connect(function(hit)
  2126. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2127. end)
  2128. for i = 0,10,0.1 do
  2129. swait()
  2130. rng.Transparency = rng.Transparency + 0.01
  2131. rng2.Transparency = rng2.Transparency + 0.01
  2132. rng3.Transparency = rng3.Transparency + 0.01
  2133. rng4.Transparency = rng4.Transparency + 0.01
  2134. rng5.Transparency = rng5.Transparency + 0.01
  2135. rng6.Transparency = rng5.Transparency + 0.001
  2136. rng7.Transparency = rng5.Transparency + 0.001
  2137. scaler = scaler - 0.125/5
  2138. scaler2 = scaler2 - 0.1/5
  2139. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2140. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2141. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2142. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2143. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5)
  2144. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3)
  2145. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2146. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2147. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2148. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2149. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2150. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  2151. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2152. rng6.CFrame = rng3.CFrame
  2153. rng7.CFrame = rng3.CFrame
  2154. end
  2155. game:GetService("Debris"):AddItem(rng, 0.1)
  2156. game:GetService("Debris"):AddItem(rng2, 0.1)
  2157. game:GetService("Debris"):AddItem(rng3, 0.1)
  2158. game:GetService("Debris"):AddItem(rng4, 0.1)
  2159. game:GetService("Debris"):AddItem(rng5, 0.1)
  2160. hum.WalkSpeed = 16
  2161. hit:disconnect()
  2162. attack = false
  2163. char.Head.face.Texture = "rbxassetid://29291814"
  2164. jumped = false
  2165. end
  2166.  
  2167.  
  2168.  
  2169.  
  2170.  
  2171. function punch3()
  2172. attack = true
  2173. jumped = true
  2174. hum.WalkSpeed = 30
  2175. killbrick = Instance.new("Part",rarm)
  2176. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2177. killbrick.Transparency = 1
  2178. killbrick:BreakJoints()
  2179. killbrick.CanCollide = false
  2180. killbrick.Anchored = true
  2181. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2182. for i = 0, 1, 0.075 do
  2183. swait()
  2184. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
  2185. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  2186. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  2187. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
  2188. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
  2189. end
  2190. lig = Instance.new("PointLight",player.Character.Torso)
  2191. lig.Color=Color3.new(255,0,0)
  2192. lig.Range = 20
  2193. local bv = Instance.new("BodyVelocity")
  2194. bv.maxForce = Vector3.new(1,1,1)
  2195. bv.velocity = root.CFrame.lookVector*150
  2196. bv.Parent = root
  2197. char.Head.face.Texture = "rbxassetid://126198982"
  2198. game:GetService("Debris"):AddItem(bv, 1)
  2199. wait(2)
  2200. local rng = Instance.new("Part", char)
  2201. rng.Anchored = true
  2202. rng.BrickColor = BrickColor.new("Neon orange")
  2203. rng.CanCollide = false
  2204. rng.FormFactor = 3
  2205. rng.Name = "Ring"
  2206. rng.Size = Vector3.new(1, 1, 1)
  2207. rng.Transparency = 0
  2208. rng.TopSurface = 0
  2209. rng.BottomSurface = 0
  2210. rng.CFrame = root.CFrame
  2211. local rngm = Instance.new("SpecialMesh", rng)
  2212. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2213. local rng2 = rng:Clone()
  2214. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2215. rng2.Parent = char
  2216. rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2217. local rng2m = rng2.Mesh
  2218. local rng3 = rng:Clone()
  2219. rng3.Parent = char
  2220. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2221. rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2222. local rng3m = Instance.new("SpecialMesh", rng3)
  2223. rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722"
  2224. local rng4 = rng:Clone()
  2225. rng4.Parent = char
  2226. rng4.BrickColor = BrickColor.new("Dark stone grey")
  2227. rng4.CFrame = root.CFrame + root.CFrame.lookVector*12
  2228. local rng4m = rng4.Mesh
  2229. local rng5 = rng:Clone()
  2230. rng5.Parent = char
  2231. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2232. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2233. local rng5m = rng5.Mesh
  2234. local rng6 = rng:Clone()
  2235. rng6.Material = "Neon"
  2236. rng6.CanCollide = false
  2237. rng6.BrickColor = BrickColor.new("Neon orange")
  2238. rng6.Parent = LeftLeg
  2239. local rng6m = rng6.Mesh
  2240. rng6m.Scale = vt(1,1,1)
  2241. local rng7 = rng:Clone()
  2242. rng7.Material = "Plastic"
  2243. rng7.CanCollide = false
  2244. rng7.BrickColor = BrickColor.new("Bright red")
  2245. rng7.Parent = LeftLeg
  2246. local rng7m = rng7.Mesh
  2247. rng7m.Scale = vt(1,1,1)
  2248. rng7m.MeshType = "Sphere"
  2249. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2250. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2251. wait()
  2252. local scaler = 10/5
  2253. local scaler2 = 10/5
  2254. local hit = rng6.Touched:connect(function(hit)
  2255. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2256. CRIT=true
  2257. end)
  2258. for i = 0,10,0.1 do
  2259. swait()
  2260. rng.Transparency = rng.Transparency + 0.01
  2261. rng2.Transparency = rng2.Transparency + 0.01
  2262. rng3.Transparency = rng3.Transparency + 0.01
  2263. rng4.Transparency = rng4.Transparency + 0.01
  2264. rng5.Transparency = rng5.Transparency + 0.01
  2265. rng6.Transparency = rng5.Transparency + 0.001
  2266. rng7.Transparency = rng5.Transparency + 0.001
  2267. scaler = scaler - 0.125/5
  2268. scaler2 = scaler2 - 0.1/5
  2269. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2270. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/7.5, scaler2/7.5, 0)
  2271. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2272. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2273. rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2)
  2274. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2275. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2276.  
  2277. rng6.CFrame = killbrick.CFrame
  2278. rng7.CFrame = killbrick.CFrame
  2279. end
  2280. game:GetService("Debris"):AddItem(rng, 0.1)
  2281. game:GetService("Debris"):AddItem(rng2, 0.1)
  2282. game:GetService("Debris"):AddItem(rng3, 0.1)
  2283. game:GetService("Debris"):AddItem(rng4, 0.1)
  2284. game:GetService("Debris"):AddItem(rng5, 0.1)
  2285. hum.WalkSpeed = 16
  2286. hit:disconnect()
  2287. attack = false
  2288. killbrick:Destroy()
  2289. char.Head.face.Texture = "rbxassetid://29291814"
  2290. jumped = false
  2291. lig:Remove()
  2292. end
  2293.  
  2294.  
  2295.  
  2296.  
  2297. function punchd()
  2298. attack = true
  2299. jumped = true
  2300. hum.WalkSpeed = 30
  2301. killbrick = Instance.new("Part",rarm)
  2302. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2303. killbrick.Transparency = 1
  2304. killbrick:BreakJoints()
  2305. killbrick.CanCollide = false
  2306. killbrick.Anchored = true
  2307. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2308. lig = Instance.new("PointLight",player.Character.Torso)
  2309. lig.Color=Color3.new(255,0,0)
  2310. lig.Range = 20
  2311. local bv = Instance.new("BodyVelocity")
  2312. bv.maxForce = Vector3.new(1,1,1)
  2313. bv.velocity = root.CFrame.lookVector*150
  2314. bv.Parent = root
  2315. char.Head.face.Texture = "rbxassetid://126198982"
  2316. game:GetService("Debris"):AddItem(bv, 1)
  2317. local rng = Instance.new("Part", char)
  2318. rng.Anchored = true
  2319. rng.BrickColor = BrickColor.new("Neon orange")
  2320. rng.CanCollide = false
  2321. rng.FormFactor = 3
  2322. rng.Name = "Ring"
  2323. rng.Size = Vector3.new(1, 1, 1)
  2324. rng.Transparency = 0
  2325. rng.TopSurface = 0
  2326. rng.BottomSurface = 0
  2327. rng.CFrame = root.CFrame
  2328. local rngm = Instance.new("SpecialMesh", rng)
  2329. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2330. local rng2 = rng:Clone()
  2331. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2332. rng2.Parent = char
  2333. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2334. local rng2m = rng2.Mesh
  2335. local rng3 = rng:Clone()
  2336. rng3.Parent = char
  2337. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2338. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2339. local rng3m = rng3.Mesh
  2340. local rng4 = rng:Clone()
  2341. rng4.Parent = char
  2342. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2343. local rng4m = rng4.Mesh
  2344. local rng5 = rng:Clone()
  2345. rng5.Parent = char
  2346. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2347. local rng5m = rng5.Mesh
  2348. local rng6 = rng:Clone()
  2349. rng6.Material = "Neon"
  2350. rng6.CanCollide = false
  2351. rng6.BrickColor = BrickColor.new("Neon orange")
  2352. rng6.Parent = LeftLeg
  2353. local rng6m = rng6.Mesh
  2354. rng6m.Scale = vt(1,1,1)
  2355. rng6m.MeshType = "Sphere"
  2356. local rng7 = rng:Clone()
  2357. rng7.Material = "Plastic"
  2358. rng7.CanCollide = false
  2359. rng7.BrickColor = BrickColor.new("Bright red")
  2360. rng7.Parent = LeftLeg
  2361. local rng7m = rng7.Mesh
  2362. rng7m.Scale = vt(1,1,1)
  2363. rng7m.MeshType = "Sphere"
  2364. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2365. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2366. wait()
  2367. local scaler = 10/5
  2368. local scaler2 = 10/5
  2369. local hit = rng6.Touched:connect(function(hit)
  2370. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2371. CRIT=true
  2372. end)
  2373. for i = 0,10,0.1 do
  2374. swait()
  2375. rng.Transparency = rng.Transparency + 0.01
  2376. rng2.Transparency = rng2.Transparency + 0.01
  2377. rng3.Transparency = rng3.Transparency + 0.01
  2378. rng4.Transparency = rng4.Transparency + 0.01
  2379. rng5.Transparency = rng5.Transparency + 0.01
  2380. rng6.Transparency = rng5.Transparency + 0.001
  2381. rng7.Transparency = rng5.Transparency + 0.001
  2382. scaler = scaler - 0.125/5
  2383. scaler2 = scaler2 - 0.1/5
  2384. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  2385. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2386. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2387. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2388. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2389. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2390. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2391. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2392. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2393. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2394. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2395. rng6.CFrame = killbrick.CFrame
  2396. rng7.CFrame = killbrick.CFrame
  2397. end
  2398. game:GetService("Debris"):AddItem(rng, 0.1)
  2399. game:GetService("Debris"):AddItem(rng2, 0.1)
  2400. game:GetService("Debris"):AddItem(rng3, 0.1)
  2401. game:GetService("Debris"):AddItem(rng4, 0.1)
  2402. game:GetService("Debris"):AddItem(rng5, 0.1)
  2403. hum.WalkSpeed = 16
  2404. hit:disconnect()
  2405. attack = false
  2406. killbrick:Destroy()
  2407. char.Head.face.Texture = "rbxassetid://29291814"
  2408. jumped = false
  2409. lig:Remove()
  2410. end
  2411.  
  2412.  
  2413.  
  2414.  
  2415. function punch22()
  2416. attack = true
  2417. jumped = true
  2418. hum.WalkSpeed = 16
  2419. killbrick = Instance.new("Part",rarm)
  2420. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2421. killbrick.Transparency = 1
  2422. killbrick:BreakJoints()
  2423. killbrick.CanCollide = false
  2424. killbrick.Anchored = true
  2425. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2426. lig = Instance.new("PointLight",player.Character.Torso)
  2427. lig.Color=Color3.new(255,0,0)
  2428. lig.Range = 20
  2429. local bv = Instance.new("BodyVelocity")
  2430. bv.maxForce = Vector3.new(1,1,1)
  2431. bv.velocity = root.CFrame.lookVector*150
  2432. bv.Parent = root
  2433. char.Head.face.Texture = "rbxassetid://126198982"
  2434. game:GetService("Debris"):AddItem(bv, 1)
  2435. local rng = Instance.new("Part", char)
  2436. rng.Anchored = true
  2437. rng.BrickColor = BrickColor.new("Neon orange")
  2438. rng.CanCollide = false
  2439. rng.FormFactor = 3
  2440. rng.Name = "Ring"
  2441. rng.Size = Vector3.new(1, 1, 1)
  2442. rng.Transparency = 0
  2443. rng.TopSurface = 0
  2444. rng.BottomSurface = 0
  2445. rng.CFrame = root.CFrame
  2446. local rngm = Instance.new("SpecialMesh", rng)
  2447. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2448. local rng2 = rng:Clone()
  2449. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2450. rng2.Parent = char
  2451. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2452. local rng2m = rng2.Mesh
  2453. local rng3 = rng:Clone()
  2454. rng3.Parent = char
  2455. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2456. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2457. local rng3m = rng3.Mesh
  2458. local rng4 = rng:Clone()
  2459. rng4.Parent = char
  2460. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2461. local rng4m = rng4.Mesh
  2462. local rng5 = rng:Clone()
  2463. rng5.Parent = char
  2464. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2465. local rng5m = rng5.Mesh
  2466. local rng6 = rng:Clone()
  2467. rng6.Material = "Neon"
  2468. rng6.CanCollide = false
  2469. rng6.BrickColor = BrickColor.new("Neon orange")
  2470. rng6.Parent = LeftLeg
  2471. local rng6m = rng6.Mesh
  2472. rng6m.Scale = vt(1,1,1)
  2473. rng6m.MeshType = "Sphere"
  2474. local rng7 = rng:Clone()
  2475. rng7.Material = "Plastic"
  2476. rng7.CanCollide = false
  2477. rng7.BrickColor = BrickColor.new("Bright red")
  2478. rng7.Parent = LeftLeg
  2479. local rng7m = rng7.Mesh
  2480. rng7m.Scale = vt(1,1,1)
  2481. rng7m.MeshType = "Sphere"
  2482. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2483. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2484. wait()
  2485. local scaler = 10/5
  2486. local scaler2 = 10/5
  2487. local hit = rng6.Touched:connect(function(hit)
  2488. Damagefunc(hit,67,75,math.random(60,70),"Normal",root,.2,1)
  2489. end)
  2490. for i = 0,10,0.1 do
  2491. swait()
  2492. rng.Transparency = rng.Transparency + 0.01
  2493. rng2.Transparency = rng2.Transparency + 0.01
  2494. rng3.Transparency = rng3.Transparency + 0.01
  2495. rng4.Transparency = rng4.Transparency + 0.01
  2496. rng5.Transparency = rng5.Transparency + 0.01
  2497. rng6.Transparency = rng5.Transparency + 0.001
  2498. rng7.Transparency = rng5.Transparency + 0.001
  2499. scaler = scaler - 0.125/5
  2500. scaler2 = scaler2 - 0.1/5
  2501. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2502. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2503. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2504. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2505. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2506. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2507. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2508. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2509. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2512. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2513. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2514. rng6.CFrame = killbrick.CFrame
  2515. rng7.CFrame = killbrick.CFrame
  2516.  
  2517. end
  2518. game:GetService("Debris"):AddItem(rng, 0.1)
  2519. game:GetService("Debris"):AddItem(rng2, 0.1)
  2520. game:GetService("Debris"):AddItem(rng3, 0.1)
  2521. game:GetService("Debris"):AddItem(rng4, 0.1)
  2522. game:GetService("Debris"):AddItem(rng5, 0.1)
  2523. hum.WalkSpeed = 16
  2524. hit:disconnect()
  2525. attack = false
  2526. killbrick:Destroy()
  2527. char.Head.face.Texture = "rbxassetid://29291814"
  2528. jumped = false
  2529. lig:Remove()
  2530. end
  2531.  
  2532.  
  2533. function Crater(hed,Radius)
  2534. spawn(function()
  2535. local Ray = Ray.new(hed.Position,Vector3.new(0,-1,0)*10)
  2536. local Ignore = {}
  2537. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2538. if v.Character ~= nil then
  2539. Ignore[#Ignore+1] = v.Character
  2540. end
  2541. end
  2542. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2543. if Hit == nil then return end
  2544. local Parts = {}
  2545. for i = 1,360,10 do
  2546. local P = Instance.new("Part",hed.Parent)
  2547. P.Anchored = true
  2548. P.FormFactor = "Custom"
  2549. P.BrickColor = Hit.BrickColor
  2550. P.Material = Hit.Material
  2551. P.TopSurface = "Smooth"
  2552. P.BottomSurface = "Smooth"
  2553. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2554. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2555. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2556. if math.random(0,5) == 0 then -- rubble
  2557. local P = Instance.new("Part",hed.Parent)
  2558. P.Anchored = true
  2559. P.FormFactor = "Custom"
  2560. P.BrickColor = Hit.BrickColor
  2561. P.Material = Hit.Material
  2562. P.TopSurface = "Smooth"
  2563. P.BottomSurface = "Smooth"
  2564. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2565. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2566. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2567. end
  2568. end
  2569. for i = 0,1,0.05 do
  2570. for i2,v in pairs(Parts) do
  2571. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2572. end
  2573. wait(0)
  2574. end
  2575. for i,v in pairs(Parts) do
  2576. if v[1].Size.X > 2.1 then
  2577. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2578. end
  2579. v[1].Anchored = false
  2580. end
  2581. for i = 0,1,0.05 do
  2582. for i2,v in pairs(Parts) do
  2583. v[1].Transparency = i
  2584. if i == 1 then
  2585. v[1]:Destroy()
  2586. elseif i >= 0.25 then
  2587. v[1].CanCollide = false
  2588. end
  2589. end
  2590. wait(0.02)
  2591. end
  2592. Parts = nil
  2593. end)
  2594. end
  2595.  
  2596.  
  2597. function shock()
  2598. attack = true
  2599. jumped = true
  2600. hum.WalkSpeed = 16
  2601. killbrick = Instance.new("Part",rarm)
  2602. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2603. killbrick.Transparency = 1
  2604. killbrick:BreakJoints()
  2605. killbrick.CanCollide = false
  2606. killbrick.Anchored = true
  2607. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2608. local bv = Instance.new("BodyVelocity")
  2609. bv.maxForce = Vector3.new(1,1,1)
  2610. bv.velocity = root.CFrame.lookVector*150
  2611. bv.Parent = root
  2612. game:GetService("Debris"):AddItem(bv, 1)
  2613. local rng = Instance.new("Part", char)
  2614. rng.Anchored = true
  2615. rng.BrickColor = BrickColor.new("White")
  2616. rng.CanCollide = false
  2617. rng.FormFactor = 3
  2618. rng.Name = "Ring"
  2619. rng.Size = Vector3.new(1, 1, 1)
  2620. rng.Transparency = 0
  2621. rng.TopSurface = 0
  2622. rng.BottomSurface = 0
  2623. rng.CFrame = root.CFrame
  2624. local rngm = Instance.new("SpecialMesh", rng)
  2625. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2626. local rng2 = rng:Clone()
  2627. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2628. rng2.Parent = char
  2629. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2630. local rng2m = rng2.Mesh
  2631. local rng3 = rng:Clone()
  2632. rng3.Parent = char
  2633. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2634. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2635. local rng3m = rng3.Mesh
  2636. local rng4 = rng:Clone()
  2637. rng4.Parent = char
  2638. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2639. local rng4m = rng4.Mesh
  2640. local rng5 = rng:Clone()
  2641. rng5.Parent = char
  2642. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2643. local rng5m = rng5.Mesh
  2644. local rng6 = rng:Clone()
  2645. rng6.Material = "Neon"
  2646. rng6.CanCollide = false
  2647. rng6.BrickColor = BrickColor.new("White")
  2648. rng6.Parent = LeftLeg
  2649. local rng6m = rng6.Mesh
  2650. rng6m.Scale = vt(1,1,1)
  2651. rng6m.MeshType = "Sphere"
  2652. local rng7 = rng:Clone()
  2653. rng7.Material = "Plastic"
  2654. rng7.CanCollide = false
  2655. rng7.BrickColor = BrickColor.new("White")
  2656. rng7.Parent = LeftLeg
  2657. local rng7m = rng7.Mesh
  2658. rng7m.Scale = vt(1,1,1)
  2659. rng7m.MeshType = "Sphere"
  2660. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2661. wait()
  2662. local scaler = 10/5
  2663. local scaler2 = 10/5
  2664. local hit = rng6.Touched:connect(function(hit)
  2665. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2666. end)
  2667. for i = 0,10,0.1 do
  2668. swait()
  2669. rng.Transparency = rng.Transparency + 0.01
  2670. rng2.Transparency = rng2.Transparency + 0.01
  2671. rng3.Transparency = rng3.Transparency + 0.01
  2672. rng4.Transparency = rng4.Transparency + 0.01
  2673. rng5.Transparency = rng5.Transparency + 0.01
  2674. rng6.Transparency = rng5.Transparency + 0.001
  2675. rng7.Transparency = rng5.Transparency + 0.001
  2676. scaler = scaler - 0.125/5
  2677. scaler2 = scaler2 - 0.1/5
  2678. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0)
  2679. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0)
  2680. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0)
  2681. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0)
  2682. rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2683. rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2684. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2685. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2686. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2687. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2688. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2689. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2690. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2691. rng6.CFrame = killbrick.CFrame
  2692. rng7.CFrame = killbrick.CFrame
  2693. end
  2694. game:GetService("Debris"):AddItem(rng, 0.1)
  2695. game:GetService("Debris"):AddItem(rng2, 0.1)
  2696. game:GetService("Debris"):AddItem(rng3, 0.1)
  2697. game:GetService("Debris"):AddItem(rng4, 0.1)
  2698. game:GetService("Debris"):AddItem(rng5, 0.1)
  2699. hum.WalkSpeed = 16
  2700. hit:disconnect()
  2701. attack = false
  2702. killbrick:Destroy()
  2703. jumped = false
  2704. lig:Remove()
  2705. end
  2706.  
  2707.  
  2708. function punch3()
  2709. attack = true
  2710. jumped = true
  2711. hum.WalkSpeed = 16
  2712. killbrick = Instance.new("Part",rarm)
  2713. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2714. killbrick.Transparency = 1
  2715. killbrick:BreakJoints()
  2716. killbrick.CanCollide = false
  2717. killbrick.Anchored = true
  2718. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2719.  
  2720. killbrick2 = Instance.new("Part",rarm)
  2721. killbrick2.Size = Vector3.new(0.1,0.1,0.1)
  2722. killbrick2.Transparency = 1
  2723. killbrick2:BreakJoints()
  2724. killbrick2.CanCollide = false
  2725. killbrick2.Anchored = true
  2726. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30)
  2727. lig = Instance.new("PointLight",player.Character.Torso)
  2728. lig.Color=Color3.new(255,0,0)
  2729. lig.Range = 20
  2730. local bv = Instance.new("BodyVelocity")
  2731. bv.maxForce = Vector3.new(1,1,1)
  2732. bv.velocity = root.CFrame.lookVector*150
  2733. bv.Parent = root
  2734. char.Head.face.Texture = "rbxassetid://126198982"
  2735. game:GetService("Debris"):AddItem(bv, 1)
  2736. local rng = Instance.new("Part", char)
  2737. rng.Anchored = true
  2738. rng.BrickColor = BrickColor.new("Neon orange")
  2739. rng.CanCollide = false
  2740. rng.FormFactor = 3
  2741. rng.Name = "Ring"
  2742. rng.Size = Vector3.new(1, 1, 1)
  2743. rng.Transparency = 0
  2744. rng.TopSurface = 0
  2745. rng.BottomSurface = 0
  2746. rng.CFrame = root.CFrame
  2747. local rngm = Instance.new("SpecialMesh", rng)
  2748. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2749. local rng2 = rng:Clone()
  2750. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2751. rng2.Parent = char
  2752. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2753. local rng2m = rng2.Mesh
  2754. local rng3 = rng:Clone()
  2755. rng3.Parent = char
  2756. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2757. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2758. local rng3m = rng3.Mesh
  2759. local rng4 = rng:Clone()
  2760. rng4.Parent = char
  2761. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2762. local rng4m = rng4.Mesh
  2763. local rng5 = rng:Clone()
  2764. rng5.Parent = char
  2765. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2766. local rng5m = rng5.Mesh
  2767. local rng6 = rng:Clone()
  2768. rng6.Material = "Neon"
  2769. rng6.CanCollide = false
  2770. rng6.BrickColor = BrickColor.new("Neon orange")
  2771. rng6.Parent = LeftLeg
  2772. local rng6m = rng6.Mesh
  2773. rng6m.Scale = vt(1,1,1)
  2774. rng6m.MeshType = "Sphere"
  2775. local rng7 = rng:Clone()
  2776. rng7.Material = "Plastic"
  2777. rng7.CanCollide = false
  2778. rng7.BrickColor = BrickColor.new("Bright red")
  2779. rng7.Parent = LeftLeg
  2780. local rng7m = rng7.Mesh
  2781. rng7m.Scale = vt(1,1,1)
  2782. rng7m.MeshType = "Sphere"
  2783. local rng8 = rng6:Clone()
  2784. rng8.Material = "Neon"
  2785. rng8.CanCollide = false
  2786. rng8.BrickColor = BrickColor.new("Neon orange")
  2787. rng8.Parent = LeftLeg
  2788. local rng8m = rng7.Mesh
  2789. rng8m.Scale = vt(1,1,1)
  2790. rng8m.MeshType = "Sphere"
  2791. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2792. wait()
  2793. local scaler = 10/5
  2794. local scaler2 = 10/5
  2795. local hit = rng8.Touched:connect(function(hit)
  2796. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2797. end)
  2798. for i = 0,10,0.1 do
  2799. swait()
  2800. rng.Transparency = rng.Transparency + 0.01
  2801. rng2.Transparency = rng2.Transparency + 0.01
  2802. rng3.Transparency = rng3.Transparency + 0.01
  2803. rng4.Transparency = rng4.Transparency + 0.01
  2804. rng5.Transparency = rng5.Transparency + 0.01
  2805. rng6.Transparency = rng5.Transparency + 0.001
  2806. rng7.Transparency = rng5.Transparency + 0.001
  2807. rng8.Transparency = rng5.Transparency + 0.001
  2808. scaler = scaler - 0.125/5
  2809. scaler2 = scaler2 - 0.1/5
  2810. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2811. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2812. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2813. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2814. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2815. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2816. rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2817. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2818. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2819. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2820. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2821. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2822. rng6.CFrame = killbrick.CFrame
  2823. rng7.CFrame = killbrick.CFrame
  2824. rng8.CFrame = killbrick2.CFrame
  2825. end
  2826. game:GetService("Debris"):AddItem(rng, 0.1)
  2827. game:GetService("Debris"):AddItem(rng2, 0.1)
  2828. game:GetService("Debris"):AddItem(rng3, 0.1)
  2829. game:GetService("Debris"):AddItem(rng4, 0.1)
  2830. game:GetService("Debris"):AddItem(rng5, 0.1)
  2831. hum.WalkSpeed = 16
  2832. hit:disconnect()
  2833. attack = false
  2834. killbrick:Destroy()
  2835. char.Head.face.Texture = "rbxassetid://29291814"
  2836. jumped = false
  2837. lig:Remove()
  2838. end
  2839.  
  2840.  
  2841.  
  2842. function boom()
  2843. attack = true
  2844. jumped = true
  2845. hum.WalkSpeed = 0
  2846. local Mus = Instance.new("Sound",workspace)
  2847. Mus.SoundId = "rbxassetid://1040321541"
  2848. Mus.Pitch = 0.99
  2849. Mus.Volume = 2
  2850. Mus.Looped = false
  2851. wait(0)
  2852. Mus:Play()
  2853. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2854. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  2855. wait(2)
  2856. local rng = Instance.new("Part", char)
  2857. rng.Anchored = true
  2858. rng.BrickColor = BrickColor.new("White")
  2859. rng.CanCollide = false
  2860. rng.FormFactor = 3
  2861. rng.Name = "Ring"
  2862. rng.Size = Vector3.new(1, 1, 1)
  2863. rng.Transparency = 0
  2864. rng.TopSurface = 0
  2865. rng.BottomSurface = 0
  2866. rng.Position = root.Position
  2867. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2868. local rngm = Instance.new("SpecialMesh", rng)
  2869. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2870. local rng5 = rng:Clone()
  2871. rng5.Parent = char
  2872. rng5.BrickColor = BrickColor.new("White")
  2873. local rng5m = rng5.Mesh
  2874. local hit = rng5.Touched:connect(function(hit)
  2875. Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1)
  2876. end)
  2877. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  2878. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
  2879. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
  2880. wait()
  2881. local scaler = 10
  2882. local scaler2 = 10
  2883. for i = 0,10,0.1 do
  2884. swait()
  2885. rng.Transparency = rng.Transparency + 0.01
  2886. rng5.Transparency = rng5.Transparency + 0.01
  2887. scaler = scaler - 0.125
  2888. scaler2 = scaler2 - 0.1
  2889. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 3)
  2890. rng5.Size = rng5m.Scale
  2891. rng5.CFrame = rng.CFrame
  2892. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
  2893. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2894. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2895. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2896. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2897. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2898. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2899. end
  2900. hit:disconnect()
  2901. game:GetService("Debris"):AddItem(rng, 1)
  2902. game:GetService("Debris"):AddItem(rng5, 1)
  2903. hum.WalkSpeed = 16
  2904. attack = false
  2905. jumped = false
  2906. end
  2907.  
  2908. function shooty()
  2909. attack = true
  2910. MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2911. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2912. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  2913. for i = 0,15,0.1 do
  2914. swait()
  2915. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2916. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2917. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2918. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2919. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2920. char.Head.face.Texture = "rbxassetid://126198982"
  2921. end
  2922. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2923. local a = Instance.new("Part",Character)
  2924. a.Name = "Direction"
  2925. a.Anchored = true
  2926. a.BrickColor = bc("Neon orange")
  2927. a.Material = "Neon"
  2928. a.Transparency = 1
  2929. a.CanCollide = false
  2930. local ray = Ray.new(
  2931. root.CFrame.p, -- origin
  2932. (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
  2933. )
  2934. local ignore = Character
  2935. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2936. a.BottomSurface = 10
  2937. a.TopSurface = 10
  2938. local distance = (root.CFrame.p - position).magnitude
  2939. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2940. a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
  2941. local lb = Instance.new("Part")
  2942. lb.Parent = char
  2943. lb.BrickColor = bc("Neon orange")
  2944. local pie22 = Instance.new("ParticleEmitter")
  2945. pie22.Parent = char.Torso
  2946. pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
  2947. pie22.LightEmission = 0
  2948. pie22.Size = NumberSequence.new(10,5)
  2949. pie22.Texture = "http://www.roblox.com/asset/?id=254959503"
  2950. pie22.Transparency = NumberSequence.new(0, 1)
  2951. pie22.EmissionDirection = "Top"
  2952. pie22.Enabled = true
  2953. pie22.Lifetime = NumberRange.new(1)
  2954. pie22.Rotation = NumberRange.new(-17, 17)
  2955. pie22.Rate = 200
  2956. pie22.Speed = NumberRange.new(3)
  2957. pie22.LockedToPart = false
  2958. pie22.VelocitySpread = 3
  2959. pie22.Name = "Haa"
  2960. pie22.Parent = lb
  2961. lb.CanCollide = false
  2962. lb.Material = "Neon"
  2963. lb.Anchored = true
  2964. lb.TopSurface = 0
  2965. lb.BottomSurface = 0
  2966. lb.Transparency = 0
  2967. lb.Size = vt(0.5,0.5,0.5)
  2968. lb.CFrame = sorb.CFrame
  2969. lb.Anchored = false
  2970. local thingery = Instance.new("SpecialMesh",lb)
  2971. thingery.MeshType = "Sphere"
  2972. thingery.Scale = vt(25,25,25)
  2973. game:GetService("Debris"):AddItem(lb, 10)
  2974. local bv = Instance.new("BodyVelocity")
  2975. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2976. bv.velocity = a.CFrame.lookVector*150
  2977. bv.Parent = lb
  2978. game:GetService("Debris"):AddItem(a, 0.1)
  2979. wait(0.05)
  2980. local hitted = false
  2981. lb.Touched:connect(function(hit)
  2982. if hitted == false then
  2983. hitted = true
  2984. lb.Anchored = true
  2985. lb.Transparency = 1
  2986. local rng = Instance.new("Part", char)
  2987. rng.Anchored = true
  2988. rng.BrickColor = BrickColor.new("Neon orange")
  2989. rng.CanCollide = false
  2990. rng.FormFactor = 3
  2991. rng.Name = "Ring"
  2992. rng.Size = Vector3.new(1, 1, 1)
  2993. rng.Transparency = 0
  2994. rng.TopSurface = 0
  2995. rng.BottomSurface = 0
  2996. rng.CFrame = lb.CFrame
  2997. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2998. local rngm = Instance.new("SpecialMesh", rng)
  2999. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3000. local rng2 = rng:Clone()
  3001. rng2.Parent = char
  3002. local rng2m = rng2.Mesh
  3003. local rng3 = rng:Clone()
  3004. rng3.Parent = char
  3005. rng3.BrickColor = BrickColor.new("Dark stone grey")
  3006. local rng3m = rng3.Mesh
  3007. local rng4 = rng:Clone()
  3008. rng4.Parent = char
  3009. local rng4m = rng4.Mesh
  3010. local rng5 = rng:Clone()
  3011. rng5.Parent = char
  3012. rng5.BrickColor = BrickColor.new("Dark stone grey")
  3013. rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  3014. local rng5m = rng5.Mesh
  3015. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  3016. rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  3017. rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  3018. MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
  3019. local rng6 = rng:Clone()
  3020. rng6.Material = "Neon"
  3021. rng6.Parent = char
  3022. local rng6m = rng6.Mesh
  3023. rng6m.Scale = vt(1,1,1)
  3024. rng6m.MeshType = "Sphere"
  3025. local hita = rng6.Touched:connect(function(hit)
  3026. Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1)
  3027. end)
  3028. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
  3029. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
  3030. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3031. local scaler = 5
  3032. local scaler2 = 5
  3033. for i = 0,20,0.1 do
  3034. swait()
  3035. rng.Transparency = rng.Transparency + 0.005
  3036. rng2.Transparency = rng2.Transparency + 0.005
  3037. rng3.Transparency = rng3.Transparency + 0.005
  3038. rng4.Transparency = rng4.Transparency + 0.005
  3039. rng5.Transparency = rng5.Transparency + 0.005
  3040. rng6.Transparency = rng6.Transparency + 0.005
  3041. scaler = scaler - 0.005/2
  3042. scaler2 = scaler2 - 0.05/2
  3043. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  3044. rng6.CFrame = rng.CFrame
  3045. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  3046. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  3047. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  3048. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  3049. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3050. end
  3051. hita:disconnect()
  3052. game:GetService("Debris"):AddItem(rng, 1)
  3053. game:GetService("Debris"):AddItem(rng2, 1)
  3054. game:GetService("Debris"):AddItem(rng3, 1)
  3055. game:GetService("Debris"):AddItem(rng4, 1)
  3056. game:GetService("Debris"):AddItem(rng5, 1)
  3057. game:GetService("Debris"):AddItem(rng6, 1)
  3058. end
  3059. end)
  3060. for i = 0,2,0.1 do
  3061. swait()
  3062. MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  3063. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  3064. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  3065. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  3066. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  3067. text.Text = " DIE! "
  3068. end
  3069. attack = false
  3070. text.Text = " "
  3071. char.Head.face.Texture = "rbxassetid://29291814"
  3072. end
  3073. ------
  3074. hito = function(dm, X, c, dn, dp, dq)
  3075. for I,dr in pairs(workspace:GetChildren()) do
  3076. if dr:FindFirstChild("Humanoid") and dr:FindFirstChild("HumanoidRootPart") and dr ~= chr and (dr:FindFirstChild("HumanoidRootPart").Position - dm.Position).magnitude < X and dr:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
  3077. local ds = dr:FindFirstChild("Humanoid")
  3078. local dt = dr:FindFirstChild("HumanoidRootPart")
  3079. TakeDamage(ds, c)
  3080. if InForm == true then
  3081. ds.Parent:BreakJoints()
  3082. wait(1.2)
  3083. ds.Parent:Destroy()
  3084. end
  3085. ds:SetStateEnabled(16, true)
  3086. delay(dn, function()
  3087. ds:SetStateEnabled(16, true)
  3088. end)
  3089. local du = Instance.new("StringValue")
  3090. du.Name = "alabo"
  3091. du.Parent = dt
  3092. game.Debris:AddItem(du, dn)
  3093. local dv = Instance.new("Part")
  3094. nooutline(dv)
  3095. dv.Size = Vector3.new(0.2, 0.2, 0.2)
  3096. dv.Transparency = 0.25
  3097. dv.Anchored = true
  3098. dv.CanCollide = false
  3099. dv.BrickColor = BrickColor.new("White")
  3100. dv.Material = "Neon"
  3101. dv.Locked = true
  3102. dv.CFrame = dt.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  3103. dv.Parent = modz
  3104. local dw = Instance.new("SpecialMesh")
  3105. dw.MeshType = "Sphere"
  3106. dw.Scale = Vector3.new(0.5, 0.5, 0.5)
  3107. dw.Parent = dv
  3108. game.Debris:AddItem(dv, 1)
  3109. local dx = Instance.new("Model")
  3110. dx.Name = c
  3111. dx.Parent = workspace
  3112. game.Debris:AddItem(dx, 0.5 + c / 75)
  3113. local dy = Instance.new("Humanoid")
  3114. dy.MaxHealth = 0
  3115. dy.Parent = dx
  3116. local dz = Instance.new("Part")
  3117. dz.Name = "Head"
  3118. dz.Locked = true
  3119. dz.Size = Vector3.new(0.2, 0.2, 0.2)
  3120. dz.Position = dt.Position
  3121. dz.BrickColor = BrickColor.new("New Yeller")
  3122. dz.Material = "Neon"
  3123. dz.Transparency = 1
  3124. dz.CanCollide = false
  3125. dz.Parent = dx
  3126. local dA = Instance.new("BodyPosition")
  3127. dA.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  3128. dA.P = 20000
  3129. dA.D = 300
  3130. dA.Position = dz.Position + Vector3.new(0, 5, 0)
  3131. dA.Parent = dz
  3132. local dB = Instance.new("CylinderMesh")
  3133. dB.Parent = dz
  3134. coroutine.resume(coroutine.create(function()
  3135. while dB do
  3136. swait()
  3137. dB.Scale = dB.Scale:lerp(Vector3.new(2.5 + c / 10, 1.25 + c / 35, 2.5 + c / 10), 0.4)
  3138. end
  3139. end))
  3140. if dp then
  3141. local dC = Instance.new("BodyVelocity")
  3142. dC.MaxForce = Vector3.new(999999999999, 9999999999999, 9999999999999)
  3143. dC.P = 9999999999
  3144. dC.Velocity = dp
  3145. dC.Parent = dt
  3146. game.Debris:AddItem(dC, dn)
  3147. end
  3148. if dq then
  3149. local dD = Instance.new("BodyAngularVelocity")
  3150. dD.MaxTorque = Vector3.new(99999, 999999, 999999)
  3151. dD.P = math.huge
  3152. dD.AngularVelocity = dq
  3153. dD.Parent = dt
  3154. game.Debris:AddItem(dD, dn)
  3155. end
  3156. local dE = Instance.new("Sound")
  3157. dE.Pitch = rd2(10, 11) / 10
  3158. dE.Volume = rd2(10, 13) / 10
  3159. dE.EmitterSize = 10
  3160. dE.SoundId = "rbxassetid://"
  3161. dE.Parent = dv
  3162. dE:Play()
  3163. coroutine.resume(coroutine.create(function()
  3164. for I = 1, 5 do
  3165. swait()
  3166. dv.Transparency = dv.Transparency + 0.175
  3167. dw.Scale = dw.Scale + Vector3.new(0.8 * c, 0.8 * c, 0.8 * c)
  3168. end
  3169. end))
  3170. end
  3171. end
  3172. end
  3173. ------
  3174.  
  3175.  
  3176. function KABOOMZ()
  3177. local effspwn = Instance.new("Part")
  3178. coroutine.resume(coroutine.create(function()
  3179. local sound1 = Instance.new("Sound")
  3180. sound1.SoundId = "rbxassetid://548348185"
  3181. sound1.MaxDistance = 400
  3182. sound1.EmitterSize = 20
  3183. sound1.Volume = 5
  3184. sound1.Pitch = 1
  3185. sound1.Parent = effspwn
  3186. local sound2 = Instance.new("Sound")
  3187. sound2.SoundId = "rbxassetid://548348185"
  3188. sound2.MaxDistance = 400
  3189. sound2.EmitterSize = 20
  3190. sound2.Volume = 2
  3191. sound2.Pitch = 1
  3192. sound2.Parent = effspwn
  3193. local sound3 = Instance.new("Sound")
  3194. sound3.SoundId = "rbxassetid://548348185"
  3195. sound2.MaxDistance = 400
  3196. sound2.EmitterSize = 30
  3197. sound2.Volume = 0
  3198. sound2.Pitch = 1
  3199. sound2.Parent = effspwn
  3200. sound2:Play()
  3201. wait()
  3202. sound1:Play()
  3203. sound3:Play()
  3204. end))
  3205. local model = Instance.new("Model")
  3206. game.Debris:AddItem(model, 20)
  3207. model.Name = "smasheffects"
  3208. model.Parent = workspace
  3209. effspwn.Name = "spwnr"
  3210. effspwn.Size = Vector3.new(1, 1, 1)
  3211. effspwn.Anchored = true
  3212. effspwn.CanCollide = false
  3213. effspwn.Transparency = 1
  3214. effspwn.CFrame = rarm.CFrame * CFrame.new(0, -0.7, 0)
  3215. effspwn.Parent = model
  3216.  
  3217.  
  3218.  
  3219. coroutine.resume(coroutine.create(function()
  3220. local shok = Instance.new("Part")
  3221. shok.Name = "whoosh"
  3222. shok.BrickColor = BrickColor.new("Institutional white")
  3223. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3224. shok.Size = Vector3.new(1, 1, 1)
  3225. shok.Anchored = true
  3226. shok.Material = "Neon"
  3227. shok.Transparency = 1
  3228. shok.CanCollide = false
  3229. shok.Parent = model
  3230. game.Debris:AddItem(shok, 12)
  3231. local mesh = Instance.new("SpecialMesh")
  3232. mesh.MeshType = "FileMesh"
  3233. mesh.MeshId = "rbxassetid://92588061"
  3234. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  3235. mesh.Parent = shok
  3236. for e = 1, 8 do
  3237. wait()
  3238. mesh.Scale = mesh.Scale + Vector3.new(0.14, 0.14, 0.12)
  3239. shok.Transparency = shok.Transparency + 0.035
  3240. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -14), 0.4)
  3241. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3242. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3243. end
  3244. for e = 1, 16 do
  3245. wait()
  3246. mesh.Scale = mesh.Scale + Vector3.new(0.10, 0.10, 0.12)
  3247. shok.Transparency = shok.Transparency + 0.11
  3248. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -5), 0.4)
  3249. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3250. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3251. end
  3252. end))
  3253. coroutine.resume(coroutine.create(function()
  3254. local shok = Instance.new("Part")
  3255. shok.Name = "wring1"
  3256. shok.BrickColor = BrickColor.new("Institutional white")
  3257. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3258. shok.Size = Vector3.new(1, 1, 1)
  3259. shok.Anchored = true
  3260. shok.Material = "Neon"
  3261. shok.Transparency = 0.25
  3262. shok.CanCollide = false
  3263. shok.Parent = model
  3264. game.Debris:AddItem(shok, 12)
  3265. local mesh = Instance.new("SpecialMesh")
  3266. mesh.MeshType = "FileMesh"
  3267. mesh.MeshId = "rbxassetid://3270017"
  3268. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  3269. mesh.Parent = shok
  3270. for e = 1, 30 do
  3271. wait()
  3272. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.7)
  3273. shok.Transparency = shok.Transparency + 0.002
  3274. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3275. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3276. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3277.  
  3278. end
  3279. for e = 1, 38 do
  3280. wait()
  3281. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.7)
  3282. shok.Transparency = shok.Transparency + 0.002
  3283. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3284. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3285. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3286.  
  3287. end
  3288. for e = 1, 24 do
  3289. wait()
  3290. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.7)
  3291. shok.Transparency = shok.Transparency + 0.03
  3292. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3293. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3294. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3295.  
  3296. end
  3297. end))
  3298. coroutine.resume(coroutine.create(function()
  3299. local shok = Instance.new("Part")
  3300. shok.Name = "wring2"
  3301. shok.BrickColor = BrickColor.new("Institutional white")
  3302. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3303. shok.Size = Vector3.new(1, 1, 1)
  3304. shok.Anchored = true
  3305. shok.Material = "Neon"
  3306. shok.Transparency = 0.25
  3307. shok.CanCollide = false
  3308. shok.Parent = model
  3309. game.Debris:AddItem(shok, 12)
  3310. local mesh = Instance.new("SpecialMesh")
  3311. mesh.MeshType = "FileMesh"
  3312. mesh.MeshId = "rbxassetid://3270017"
  3313. mesh.Scale = Vector3.new(12, 12, 0.05)
  3314. mesh.Parent = shok
  3315. for e = 1, 30 do
  3316. wait()
  3317. mesh.Scale = mesh.Scale + Vector3.new(0.8, 0.8, 0.9)
  3318. shok.Transparency = shok.Transparency + 0.002
  3319. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3320. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3321. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3322.  
  3323. end
  3324. for e = 1, 38 do
  3325. wait()
  3326. mesh.Scale = mesh.Scale + Vector3.new(0.8, 0.8, 0.9)
  3327. shok.Transparency = shok.Transparency + 0.002
  3328. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3329. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3330. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3331.  
  3332. end
  3333. for e = 1, 24 do
  3334. wait()
  3335. mesh.Scale = mesh.Scale + Vector3.new(0.8, 0.8, 0.9)
  3336. shok.Transparency = shok.Transparency + 0.03
  3337. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3338. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3339. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3340.  
  3341. end
  3342. end))
  3343. coroutine.resume(coroutine.create(function()
  3344. local shok = Instance.new("Part")
  3345. shok.Name = "coil1"
  3346. shok.BrickColor = BrickColor.new("Institutional white")
  3347. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3348. shok.Size = Vector3.new(1, 1, 1)
  3349. shok.Anchored = true
  3350. shok.Material = "Neon"
  3351. shok.Transparency = 0.25
  3352. shok.CanCollide = false
  3353. shok.Parent = model
  3354. game.Debris:AddItem(shok, 12)
  3355. local mesh = Instance.new("SpecialMesh")
  3356. mesh.MeshType = "FileMesh"
  3357. mesh.MeshId = "http://www.roblox.com/asset/?id="
  3358. mesh.Scale = Vector3.new(0.4, 0.4, 0.4)
  3359. mesh.Parent = shok
  3360. for e = 1, 15 do
  3361. wait()
  3362. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.3, 0.2)
  3363. shok.Transparency = shok.Transparency + 0.004
  3364. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3365. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3366. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3367.  
  3368. end
  3369. for e = 1, 16 do
  3370. wait()
  3371. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.6, 0.5)
  3372. shok.Transparency = shok.Transparency + 0.004
  3373. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3374. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3375. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3376.  
  3377. end
  3378. for e = 1, 12 do
  3379. wait()
  3380. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.6, 0.5)
  3381. shok.Transparency = shok.Transparency + 0.06
  3382. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3383. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3384. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3385.  
  3386. end
  3387. end))
  3388. coroutine.resume(coroutine.create(function()
  3389. local shok = Instance.new("Part")
  3390. shok.Name = "coil2"
  3391. shok.BrickColor = BrickColor.new("Institutional white")
  3392. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3393. shok.Size = Vector3.new(1, 1, 1)
  3394. shok.Anchored = true
  3395. shok.Material = "Neon"
  3396. shok.Transparency = 0.25
  3397. shok.CanCollide = false
  3398. shok.Parent = model
  3399. game.Debris:AddItem(shok, 12)
  3400. local mesh = Instance.new("SpecialMesh")
  3401. mesh.MeshType = "FileMesh"
  3402. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3403. mesh.Scale = Vector3.new(6, 12, 6)
  3404. mesh.Parent = shok
  3405. for e = 1, 15 do
  3406. wait()
  3407. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  3408. shok.Transparency = shok.Transparency + 0.005
  3409. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3410. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3411. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3412.  
  3413. end
  3414. for e = 1, 16 do
  3415. wait()
  3416. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  3417. shok.Transparency = shok.Transparency + 0.005
  3418. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3419. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3420. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3421.  
  3422. end
  3423. for e = 1, 12 do
  3424. wait()
  3425. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  3426. shok.Transparency = shok.Transparency + 0.09
  3427. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3428. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3429. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3430.  
  3431. end
  3432. end))
  3433. coroutine.resume(coroutine.create(function()
  3434. local shok = Instance.new("Part")
  3435. shok.Name = "shokwve"
  3436. shok.BrickColor = BrickColor.new("Institutional white")
  3437. shok.Position = effspwn.Position - Vector3.new(0, 0.8, 0)
  3438. shok.Size = Vector3.new(1, 1, 1)
  3439. shok.Anchored = true
  3440. shok.Material = "Neon"
  3441. shok.Transparency = 0.6
  3442. shok.CanCollide = false
  3443. shok.Parent = model
  3444. game.Debris:AddItem(shok, 12)
  3445. local mesh = Instance.new("SpecialMesh")
  3446. mesh.MeshType = "FileMesh"
  3447. mesh.MeshId = "rbxassetid://489415447"
  3448. mesh.Scale = Vector3.new(1, 1, 1)
  3449. mesh.Parent = shok
  3450. for e = 1, 12 do
  3451. wait()
  3452. mesh.Scale = mesh.Scale + Vector3.new(1, 1, 1)
  3453. shok.Transparency = shok.Transparency + 0.002
  3454. end
  3455. for e = 1, 32 do
  3456. wait()
  3457. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  3458. shok.Transparency = shok.Transparency + 0.002
  3459. end
  3460. for e = 1, 24 do
  3461. wait()
  3462. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  3463. shok.Transparency = shok.Transparency + 0.03
  3464. end
  3465. end))
  3466. coroutine.resume(coroutine.create(function()
  3467. local shok = Instance.new("Part")
  3468. shok.Name = "shock2"
  3469. shok.BrickColor = BrickColor.new("Institutional white")
  3470. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3471. shok.Size = Vector3.new(1, 1, 1)
  3472. shok.Anchored = true
  3473. shok.Material = "Neon"
  3474. shok.Transparency = 0.35
  3475. shok.CanCollide = false
  3476. shok.Parent = model
  3477. game.Debris:AddItem(shok, 12)
  3478. local mesh = Instance.new("SpecialMesh")
  3479. mesh.MeshType = "FileMesh"
  3480. mesh.MeshId = "rbxassetid://489415447"
  3481. mesh.Scale = Vector3.new(12, 12, 12)
  3482. mesh.Parent = shok
  3483. for e = 1, 15 do
  3484. wait()
  3485. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.8, 0.5)
  3486. shok.Transparency = shok.Transparency + 0.004
  3487. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3488. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3489.  
  3490. end
  3491. for e = 1, 16 do
  3492. wait()
  3493. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.8, 0.5)
  3494. shok.Transparency = shok.Transparency + 0.004
  3495. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3496. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3497.  
  3498. end
  3499. for e = 1, 12 do
  3500. wait()
  3501. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.8, 0.5)
  3502. shok.Transparency = shok.Transparency + 0.06
  3503. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3504. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3505.  
  3506. end
  3507. end))
  3508. coroutine.resume(coroutine.create(function()
  3509. local shok = Instance.new("Part")
  3510. shok.Name = "shock3"
  3511. shok.BrickColor = BrickColor.new("Institutional white")
  3512. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3513. shok.Size = Vector3.new(1, 1, 1)
  3514. shok.Anchored = true
  3515. shok.Material = "Neon"
  3516. shok.Transparency = 0.35
  3517. shok.CanCollide = false
  3518. shok.Parent = model
  3519. game.Debris:AddItem(shok, 12)
  3520. local mesh = Instance.new("SpecialMesh")
  3521. mesh.MeshType = "FileMesh"
  3522. mesh.MeshId = "rbxassetid://489415447"
  3523. mesh.Scale = Vector3.new(12, 12, 12)
  3524. mesh.Parent = shok
  3525. for e = 1, 15 do
  3526. wait()
  3527. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3528. shok.Transparency = shok.Transparency + 0.004
  3529. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3530. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3531. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3532.  
  3533. end
  3534. for e = 1, 16 do
  3535. wait()
  3536. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3537. shok.Transparency = shok.Transparency + 0.004
  3538. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3539. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3540. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3541.  
  3542. end
  3543. for e = 1, 12 do
  3544. wait()
  3545. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3546. shok.Transparency = shok.Transparency + 0.06
  3547. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3548. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3549. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3550.  
  3551. end
  3552. end))
  3553. end
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559. function KABOOMZ2()
  3560. local effspwn = Instance.new("Part")
  3561. coroutine.resume(coroutine.create(function()
  3562. local sound1 = Instance.new("Sound")
  3563. sound1.SoundId = "rbxassetid://258057783"
  3564. sound1.MaxDistance = 600
  3565. sound1.EmitterSize = 60
  3566. sound1.Volume = 5.5
  3567. sound1.Pitch = 1.3
  3568. sound1.Parent = effspwn
  3569. local sound2 = Instance.new("Sound")
  3570. sound2.SoundId = "rbxassetid://134854740"
  3571. sound2.MaxDistance = 300
  3572. sound2.EmitterSize = 20
  3573. sound2.Volume = 3
  3574. sound2.Pitch = 0.7
  3575. sound2.Parent = effspwn
  3576. local sound3 = Instance.new("Sound")
  3577. sound3.SoundId = "rbxassetid://138250406"
  3578. sound2.MaxDistance = 400
  3579. sound2.EmitterSize = 30
  3580. sound2.Volume = 0.5
  3581. sound2.Pitch = 0.5
  3582. sound2.Parent = effspwn
  3583. sound2:Play()
  3584. wait()
  3585. sound1:Play()
  3586. sound3:Play()
  3587. end))
  3588. local model = Instance.new("Model")
  3589. game.Debris:AddItem(model, 20)
  3590. model.Name = "smasheffects"
  3591. model.Parent = workspace
  3592. effspwn.Name = "spwnr"
  3593. effspwn.Size = Vector3.new(1, 1, 1)
  3594. effspwn.Anchored = true
  3595. effspwn.CanCollide = false
  3596. effspwn.Transparency = 1
  3597. effspwn.CFrame = tors.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  3598. effspwn.Parent = model
  3599.  
  3600.  
  3601.  
  3602.  
  3603. coroutine.resume(coroutine.create(function()
  3604. local shok = Instance.new("Part")
  3605. shok.Name = "whoosh"
  3606. shok.BrickColor = BrickColor.new("Institutional white")
  3607. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3608. shok.Size = Vector3.new(1, 1, 1)
  3609. shok.Anchored = true
  3610. shok.Material = "Neon"
  3611. shok.Transparency = 1
  3612. shok.CanCollide = false
  3613. shok.Parent = model
  3614. game.Debris:AddItem(shok, 12)
  3615. local mesh = Instance.new("SpecialMesh")
  3616. mesh.MeshType = "FileMesh"
  3617. mesh.MeshId = "rbxassetid://437347603"
  3618. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  3619. mesh.Parent = shok
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625. for e = 1, 8 do
  3626. wait()
  3627. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  3628. shok.Transparency = shok.Transparency + 0.035
  3629. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  3630. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  3631. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3632.  
  3633. end
  3634. for e = 1, 16 do
  3635. wait()
  3636. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  3637. shok.Transparency = shok.Transparency + 0.11
  3638. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  3639. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  3640. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3641.  
  3642. end
  3643. end))
  3644. coroutine.resume(coroutine.create(function()
  3645. local shok = Instance.new("Part")
  3646. shok.Name = "wring1"
  3647. shok.BrickColor = BrickColor.new("Institutional white")
  3648. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3649. shok.Size = Vector3.new(1, 1, 1)
  3650. shok.Anchored = true
  3651. shok.Material = "Neon"
  3652. shok.Transparency = 0.25
  3653. shok.CanCollide = false
  3654. shok.Parent = model
  3655. game.Debris:AddItem(shok, 12)
  3656. local mesh = Instance.new("SpecialMesh")
  3657. mesh.MeshType = "FileMesh"
  3658. mesh.MeshId = "rbxassetid://3270017"
  3659. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  3660. mesh.Parent = shok
  3661. for e = 1, 30 do
  3662. wait()
  3663. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  3664. shok.Transparency = shok.Transparency + 0.002
  3665. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3666. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3667. end
  3668. for e = 1, 38 do
  3669. wait()
  3670. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3671. shok.Transparency = shok.Transparency + 0.002
  3672. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3673. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3674. end
  3675. for e = 1, 24 do
  3676. wait()
  3677. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  3678. shok.Transparency = shok.Transparency + 0.03
  3679. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3680. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  3681. end
  3682. end))
  3683. coroutine.resume(coroutine.create(function()
  3684. local shok = Instance.new("Part")
  3685. shok.Name = "wring2"
  3686. shok.BrickColor = BrickColor.new("Institutional white")
  3687. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3688. shok.Size = Vector3.new(1, 1, 1)
  3689. shok.Anchored = true
  3690. shok.Material = "Neon"
  3691. shok.Transparency = 0.25
  3692. shok.CanCollide = false
  3693. shok.Parent = model
  3694. game.Debris:AddItem(shok, 12)
  3695. local mesh = Instance.new("SpecialMesh")
  3696. mesh.MeshType = "FileMesh"
  3697. mesh.MeshId = "rbxassetid://3270017"
  3698. mesh.Scale = Vector3.new(12, 12, 0.05)
  3699. mesh.Parent = shok
  3700. for e = 1, 30 do
  3701. wait()
  3702. mesh.Scale = mesh.Scale + Vector3.new(4.8, 4.8, 5)
  3703. shok.Transparency = shok.Transparency + 0.002
  3704. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3705. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3706. end
  3707. for e = 1, 38 do
  3708. wait()
  3709. mesh.Scale = mesh.Scale + Vector3.new(4.8, 4.8, 0.1)
  3710. shok.Transparency = shok.Transparency + 0.002
  3711. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3712. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3713. end
  3714. for e = 1, 24 do
  3715. wait()
  3716. mesh.Scale = mesh.Scale + Vector3.new(4.8, 4.8, 0.1)
  3717. shok.Transparency = shok.Transparency + 0.03
  3718. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3719. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  3720. end
  3721. end))
  3722. coroutine.resume(coroutine.create(function()
  3723. local shok = Instance.new("Part")
  3724. shok.Name = "coil1"
  3725. shok.BrickColor = BrickColor.new("Institutional white")
  3726. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3727. shok.Size = Vector3.new(1, 1, 1)
  3728. shok.Anchored = true
  3729. shok.Material = "Neon"
  3730. shok.Transparency = 0.25
  3731. shok.CanCollide = false
  3732. shok.Parent = model
  3733. game.Debris:AddItem(shok, 12)
  3734. local mesh = Instance.new("SpecialMesh")
  3735. mesh.MeshType = "FileMesh"
  3736. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3737. mesh.Scale = Vector3.new(12, 12, 12)
  3738. mesh.Parent = shok
  3739. for e = 1, 15 do
  3740. wait()
  3741. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3742. shok.Transparency = shok.Transparency + 0.004
  3743. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3744. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3745. end
  3746. for e = 1, 16 do
  3747. wait()
  3748. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3749. shok.Transparency = shok.Transparency + 0.004
  3750. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3751. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3752. end
  3753. for e = 1, 12 do
  3754. wait()
  3755. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3756. shok.Transparency = shok.Transparency + 0.06
  3757. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3758. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3759. end
  3760. end))
  3761. coroutine.resume(coroutine.create(function()
  3762. local shok = Instance.new("Part")
  3763. shok.Name = "coil2"
  3764. shok.BrickColor = BrickColor.new("Institutional white")
  3765. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3766. shok.Size = Vector3.new(1, 1, 1)
  3767. shok.Anchored = true
  3768. shok.Material = "Neon"
  3769. shok.Transparency = 0.25
  3770. shok.CanCollide = false
  3771. shok.Parent = model
  3772. game.Debris:AddItem(shok, 12)
  3773. local mesh = Instance.new("SpecialMesh")
  3774. mesh.MeshType = "FileMesh"
  3775. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3776. mesh.Scale = Vector3.new(6, 12, 6)
  3777. mesh.Parent = shok
  3778. for e = 1, 15 do
  3779. wait()
  3780. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3781. shok.Transparency = shok.Transparency + 0.005
  3782. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  3783. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3784. end
  3785. for e = 1, 16 do
  3786. wait()
  3787. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3788. shok.Transparency = shok.Transparency + 0.005
  3789. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3790. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3791. end
  3792. for e = 1, 12 do
  3793. wait()
  3794. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  3795. shok.Transparency = shok.Transparency + 0.09
  3796. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  3797. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  3798. end
  3799. end))
  3800. coroutine.resume(coroutine.create(function()
  3801. local shok = Instance.new("Part")
  3802. shok.Name = "shokwve"
  3803. shok.BrickColor = BrickColor.new("Institutional white")
  3804. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  3805. shok.Size = Vector3.new(1, 1, 1)
  3806. shok.Anchored = true
  3807. shok.Material = "Neon"
  3808. shok.Transparency = 0.6
  3809. shok.CanCollide = false
  3810. shok.Parent = model
  3811. game.Debris:AddItem(shok, 12)
  3812. local mesh = Instance.new("SpecialMesh")
  3813. mesh.MeshType = "FileMesh"
  3814. mesh.MeshId = "rbxassetid://489415447"
  3815. mesh.Scale = Vector3.new(1, 1, 1)
  3816. mesh.Parent = shok
  3817. for e = 1, 12 do
  3818. wait()
  3819. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  3820. shok.Transparency = shok.Transparency + 0.002
  3821. end
  3822. for e = 1, 32 do
  3823. wait()
  3824. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3825. shok.Transparency = shok.Transparency + 0.002
  3826. end
  3827. for e = 1, 24 do
  3828. wait()
  3829. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  3830. shok.Transparency = shok.Transparency + 0.03
  3831. end
  3832. end))
  3833. coroutine.resume(coroutine.create(function()
  3834. local shok = Instance.new("Part")
  3835. shok.Name = "shock2"
  3836. shok.BrickColor = BrickColor.new("Institutional white")
  3837. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3838. shok.Size = Vector3.new(1, 1, 1)
  3839. shok.Anchored = true
  3840. shok.Material = "Neon"
  3841. shok.Transparency = 0.35
  3842. shok.CanCollide = false
  3843. shok.Parent = model
  3844. game.Debris:AddItem(shok, 12)
  3845. local mesh = Instance.new("SpecialMesh")
  3846. mesh.MeshType = "FileMesh"
  3847. mesh.MeshId = "rbxassetid://1095709"
  3848. mesh.Scale = Vector3.new(12, 12, 12)
  3849. mesh.Parent = shok
  3850. for e = 1, 15 do
  3851. wait()
  3852. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3853. shok.Transparency = shok.Transparency + 0.004
  3854. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3855. end
  3856. for e = 1, 16 do
  3857. wait()
  3858. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3859. shok.Transparency = shok.Transparency + 0.004
  3860. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3861. end
  3862. for e = 1, 12 do
  3863. wait()
  3864. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  3865. shok.Transparency = shok.Transparency + 0.06
  3866. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  3867. end
  3868. end))
  3869. coroutine.resume(coroutine.create(function()
  3870. local shok = Instance.new("Part")
  3871. shok.Name = "shock3"
  3872. shok.BrickColor = BrickColor.new("Institutional white")
  3873. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  3874. shok.Size = Vector3.new(1, 1, 1)
  3875. shok.Anchored = true
  3876. shok.Material = "Neon"
  3877. shok.Transparency = 0.35
  3878. shok.CanCollide = false
  3879. shok.Parent = model
  3880. game.Debris:AddItem(shok, 12)
  3881. local mesh = Instance.new("SpecialMesh")
  3882. mesh.MeshType = "FileMesh"
  3883. mesh.MeshId = "rbxassetid://1095709"
  3884. mesh.Scale = Vector3.new(12, 12, 12)
  3885. mesh.Parent = shok
  3886. for e = 1, 15 do
  3887. wait()
  3888. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3889. shok.Transparency = shok.Transparency + 0.004
  3890. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3891. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3892. end
  3893. for e = 1, 16 do
  3894. wait()
  3895. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  3896. shok.Transparency = shok.Transparency + 0.004
  3897. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3898. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3899. end
  3900. for e = 1, 12 do
  3901. wait()
  3902. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  3903. shok.Transparency = shok.Transparency + 0.06
  3904. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  3905. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  3906. end
  3907. end))
  3908. end
  3909.  
  3910. function KABOOMZ22()
  3911. local effspwn = Instance.new("Part")
  3912. coroutine.resume(coroutine.create(function()
  3913. local sound1 = Instance.new("Sound")
  3914. sound1.SoundId = "rbxassetid://991726501"
  3915. sound1.MaxDistance = 600
  3916. sound1.EmitterSize = 60
  3917. sound1.Volume = 5.5
  3918. sound1.Pitch = 1
  3919. sound1.Parent = effspwn
  3920. local sound2 = Instance.new("Sound")
  3921. sound2.SoundId = "rbxassetid://134854740"
  3922. sound2.MaxDistance = 300
  3923. sound2.EmitterSize = 20
  3924. sound2.Volume = 3
  3925. sound2.Pitch = 0.7
  3926. sound2.Parent = effspwn
  3927. local sound3 = Instance.new("Sound")
  3928. sound3.SoundId = "rbxassetid://138250406"
  3929. sound2.MaxDistance = 400
  3930. sound2.EmitterSize = 30
  3931. sound2.Volume = 0.5
  3932. sound2.Pitch = 0.5
  3933. sound2.Parent = effspwn
  3934. sound2:Play()
  3935. wait()
  3936. sound1:Play()
  3937. sound3:Play()
  3938. end))
  3939. local model = Instance.new("Model")
  3940. game.Debris:AddItem(model, 20)
  3941. model.Name = "smasheffects"
  3942. model.Parent = workspace
  3943. effspwn.Name = "spwnr"
  3944. effspwn.Size = Vector3.new(1, 1, 1)
  3945. effspwn.Anchored = true
  3946. effspwn.CanCollide = false
  3947. effspwn.Transparency = 1
  3948. effspwn.CFrame = tors.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  3949. effspwn.Parent = model
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956. coroutine.resume(coroutine.create(function()
  3957. local shok = Instance.new("Part")
  3958. shok.Name = "whoosh"
  3959. shok.BrickColor = BrickColor.new("Institutional white")
  3960. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  3961. shok.Size = Vector3.new(1, 1, 1)
  3962. shok.Anchored = true
  3963. shok.Material = "Neon"
  3964. shok.Transparency = 1
  3965. shok.CanCollide = false
  3966. shok.Parent = model
  3967. game.Debris:AddItem(shok, 12)
  3968. local mesh = Instance.new("SpecialMesh")
  3969. mesh.MeshType = "FileMesh"
  3970. mesh.MeshId = "rbxassetid://437347603"
  3971. mesh.Scale = Vector3.new(0.8, 0.8, 0.3)
  3972. mesh.Parent = shok
  3973.  
  3974.  
  3975.  
  3976.  
  3977.  
  3978. for e = 1, 8 do
  3979. wait()
  3980. mesh.Scale = mesh.Scale + Vector3.new(0.24, 0.24, 0.22)
  3981. shok.Transparency = shok.Transparency + 0.035
  3982. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -22), 0.4)
  3983. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  3984. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3985.  
  3986. end
  3987. for e = 1, 16 do
  3988. wait()
  3989. mesh.Scale = mesh.Scale + Vector3.new(0.13, 0.13, 0.12)
  3990. shok.Transparency = shok.Transparency + 0.11
  3991. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -10), 0.4)
  3992. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(15))
  3993. hito(shok, 10, 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 3)
  3994.  
  3995. end
  3996. end))
  3997. coroutine.resume(coroutine.create(function()
  3998. local shok = Instance.new("Part")
  3999. shok.Name = "wring1"
  4000. shok.BrickColor = BrickColor.new("Institutional white")
  4001. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4002. shok.Size = Vector3.new(1, 1, 1)
  4003. shok.Anchored = true
  4004. shok.Material = "Neon"
  4005. shok.Transparency = 0.25
  4006. shok.CanCollide = false
  4007. shok.Parent = model
  4008. game.Debris:AddItem(shok, 12)
  4009. local mesh = Instance.new("SpecialMesh")
  4010. mesh.MeshType = "FileMesh"
  4011. mesh.MeshId = "rbxassetid://3270017"
  4012. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  4013. mesh.Parent = shok
  4014. for e = 1, 30 do
  4015. wait()
  4016. mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 1)
  4017. shok.Transparency = shok.Transparency + 0.002
  4018. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4019. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4020. end
  4021. for e = 1, 38 do
  4022. wait()
  4023. mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1)
  4024. shok.Transparency = shok.Transparency + 0.002
  4025. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4026. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4027. end
  4028. for e = 1, 24 do
  4029. wait()
  4030. mesh.Scale = mesh.Scale + Vector3.new(0.6, 0.6, 0.1)
  4031. shok.Transparency = shok.Transparency + 0.03
  4032. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4033. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  4034. end
  4035. end))
  4036. coroutine.resume(coroutine.create(function()
  4037. local shok = Instance.new("Part")
  4038. shok.Name = "wring2"
  4039. shok.BrickColor = BrickColor.new("Institutional white")
  4040. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  4041. shok.Size = Vector3.new(1, 1, 1)
  4042. shok.Anchored = true
  4043. shok.Material = "Neon"
  4044. shok.Transparency = 0.25
  4045. shok.CanCollide = false
  4046. shok.Parent = model
  4047. game.Debris:AddItem(shok, 12)
  4048. local mesh = Instance.new("SpecialMesh")
  4049. mesh.MeshType = "FileMesh"
  4050. mesh.MeshId = "rbxassetid://3270017"
  4051. mesh.Scale = Vector3.new(12, 12, 0.05)
  4052. mesh.Parent = shok
  4053. for e = 1, 30 do
  4054. wait()
  4055. mesh.Scale = mesh.Scale + Vector3.new(1.2, 1.2, 1.7)
  4056. shok.Transparency = shok.Transparency + 0.002
  4057. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4058. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4059. end
  4060. for e = 1, 38 do
  4061. wait()
  4062. mesh.Scale = mesh.Scale + Vector3.new(1.2, 1.2, 1.7)
  4063. shok.Transparency = shok.Transparency + 0.002
  4064. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4065. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4066. end
  4067. for e = 1, 24 do
  4068. wait()
  4069. mesh.Scale = mesh.Scale + Vector3.new(1.2, 1.2, 1.7)
  4070. shok.Transparency = shok.Transparency + 0.03
  4071. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4072. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  4073. end
  4074. end))
  4075. coroutine.resume(coroutine.create(function()
  4076. local shok = Instance.new("Part")
  4077. shok.Name = "coil1"
  4078. shok.BrickColor = BrickColor.new("Institutional white")
  4079. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4080. shok.Size = Vector3.new(1, 1, 1)
  4081. shok.Anchored = true
  4082. shok.Material = "Neon"
  4083. shok.Transparency = 0.25
  4084. shok.CanCollide = false
  4085. shok.Parent = model
  4086. game.Debris:AddItem(shok, 12)
  4087. local mesh = Instance.new("SpecialMesh")
  4088. mesh.MeshType = "FileMesh"
  4089. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4090. mesh.Scale = Vector3.new(12, 12, 12)
  4091. mesh.Parent = shok
  4092. for e = 1, 15 do
  4093. wait()
  4094. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4095. shok.Transparency = shok.Transparency + 0.004
  4096. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4097. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4098. end
  4099. for e = 1, 16 do
  4100. wait()
  4101. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4102. shok.Transparency = shok.Transparency + 0.004
  4103. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4104. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4105. end
  4106. for e = 1, 12 do
  4107. wait()
  4108. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4109. shok.Transparency = shok.Transparency + 0.06
  4110. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4111. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4112. end
  4113. end))
  4114. coroutine.resume(coroutine.create(function()
  4115. local shok = Instance.new("Part")
  4116. shok.Name = "coil2"
  4117. shok.BrickColor = BrickColor.new("Institutional white")
  4118. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4119. shok.Size = Vector3.new(1, 1, 1)
  4120. shok.Anchored = true
  4121. shok.Material = "Neon"
  4122. shok.Transparency = 0.25
  4123. shok.CanCollide = false
  4124. shok.Parent = model
  4125. game.Debris:AddItem(shok, 12)
  4126. local mesh = Instance.new("SpecialMesh")
  4127. mesh.MeshType = "FileMesh"
  4128. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4129. mesh.Scale = Vector3.new(6, 12, 6)
  4130. mesh.Parent = shok
  4131. for e = 1, 15 do
  4132. wait()
  4133. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4134. shok.Transparency = shok.Transparency + 0.005
  4135. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  4136. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4137. end
  4138. for e = 1, 16 do
  4139. wait()
  4140. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4141. shok.Transparency = shok.Transparency + 0.005
  4142. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4143. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4144. end
  4145. for e = 1, 12 do
  4146. wait()
  4147. mesh.Scale = mesh.Scale + Vector3.new(1.1, 2.4, 1.1)
  4148. shok.Transparency = shok.Transparency + 0.09
  4149. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  4150. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-60), math.rad(0))
  4151. end
  4152. end))
  4153. coroutine.resume(coroutine.create(function()
  4154. local shok = Instance.new("Part")
  4155. shok.Name = "shokwve"
  4156. shok.BrickColor = BrickColor.new("Institutional white")
  4157. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  4158. shok.Size = Vector3.new(1, 1, 1)
  4159. shok.Anchored = true
  4160. shok.Material = "Neon"
  4161. shok.Transparency = 0.6
  4162. shok.CanCollide = false
  4163. shok.Parent = model
  4164. game.Debris:AddItem(shok, 12)
  4165. local mesh = Instance.new("SpecialMesh")
  4166. mesh.MeshType = "FileMesh"
  4167. mesh.MeshId = "rbxassetid://489415447"
  4168. mesh.Scale = Vector3.new(1, 1, 1)
  4169. mesh.Parent = shok
  4170. for e = 1, 12 do
  4171. wait()
  4172. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  4173. shok.Transparency = shok.Transparency + 0.002
  4174. end
  4175. for e = 1, 32 do
  4176. wait()
  4177. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4178. shok.Transparency = shok.Transparency + 0.002
  4179. end
  4180. for e = 1, 24 do
  4181. wait()
  4182. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  4183. shok.Transparency = shok.Transparency + 0.03
  4184. end
  4185. end))
  4186. coroutine.resume(coroutine.create(function()
  4187. local shok = Instance.new("Part")
  4188. shok.Name = "shock2"
  4189. shok.BrickColor = BrickColor.new("Institutional white")
  4190. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4191. shok.Size = Vector3.new(1, 1, 1)
  4192. shok.Anchored = true
  4193. shok.Material = "Neon"
  4194. shok.Transparency = 0.35
  4195. shok.CanCollide = false
  4196. shok.Parent = model
  4197. game.Debris:AddItem(shok, 12)
  4198. local mesh = Instance.new("SpecialMesh")
  4199. mesh.MeshType = "FileMesh"
  4200. mesh.MeshId = "rbxassetid://1095709"
  4201. mesh.Scale = Vector3.new(12, 12, 12)
  4202. mesh.Parent = shok
  4203. for e = 1, 15 do
  4204. wait()
  4205. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4206. shok.Transparency = shok.Transparency + 0.004
  4207. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4208. end
  4209. for e = 1, 16 do
  4210. wait()
  4211. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4212. shok.Transparency = shok.Transparency + 0.004
  4213. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4214. end
  4215. for e = 1, 12 do
  4216. wait()
  4217. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  4218. shok.Transparency = shok.Transparency + 0.06
  4219. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  4220. end
  4221. end))
  4222. coroutine.resume(coroutine.create(function()
  4223. local shok = Instance.new("Part")
  4224. shok.Name = "shock3"
  4225. shok.BrickColor = BrickColor.new("Institutional white")
  4226. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4227. shok.Size = Vector3.new(1, 1, 1)
  4228. shok.Anchored = true
  4229. shok.Material = "Neon"
  4230. shok.Transparency = 0.35
  4231. shok.CanCollide = false
  4232. shok.Parent = model
  4233. game.Debris:AddItem(shok, 12)
  4234. local mesh = Instance.new("SpecialMesh")
  4235. mesh.MeshType = "FileMesh"
  4236. mesh.MeshId = "rbxassetid://1095709"
  4237. mesh.Scale = Vector3.new(12, 12, 12)
  4238. mesh.Parent = shok
  4239. for e = 1, 15 do
  4240. wait()
  4241. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4242. shok.Transparency = shok.Transparency + 0.004
  4243. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4244. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4245. end
  4246. for e = 1, 16 do
  4247. wait()
  4248. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  4249. shok.Transparency = shok.Transparency + 0.004
  4250. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4251. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4252. end
  4253. for e = 1, 12 do
  4254. wait()
  4255. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  4256. shok.Transparency = shok.Transparency + 0.06
  4257. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4258. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4259. end
  4260. end))
  4261. end
  4262. -----
  4263. function newRay(start,face,range,wat)
  4264. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  4265. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  4266. return rey,hit,pos
  4267. end
  4268. ------
  4269. function jum()
  4270. if activu == true then
  4271. return
  4272. end
  4273. activu = true
  4274. char.WalkSpeed = char.WalkSpeed - 13
  4275. char.WalkSpeed = 50
  4276. local sound1 = Instance.new("Sound")
  4277. sound1.SoundId = "rbxassetid://436748675"
  4278. sound1.MaxDistance = 600
  4279. sound1.EmitterSize = 80
  4280. sound1.Volume = 3.5
  4281. sound1.Pitch = 1
  4282. sound1.Parent = tors
  4283. sound1:Play()
  4284.  
  4285. BV = Instance.new("BodyVelocity", hed)
  4286. BV.maxForce = Vector3.new(0,160000,0)
  4287. BV.P = 100000
  4288. BV.velocity = Vector3.new(0,800,0)
  4289. KABOOMZ22()
  4290.  
  4291. coroutine.resume(coroutine.create(function()
  4292. swait(3)
  4293. BV:Destroy()
  4294. end))
  4295.  
  4296. local ry,ht,ps=nil,nil,nil
  4297. while ht==nil do
  4298. ry,ht,ps=newRay(tors.CFrame*CFrame.new(0,-2,0),hed.CFrame*CFrame.new(0,-3,0),4.1,{chr})
  4299. wait()
  4300. end
  4301.  
  4302. char.WalkSpeed = 0
  4303. KABOOMZ2()
  4304. for i = 1, 15 do
  4305. local gtrace = Instance.new("Part",game.Workspace)
  4306. gtrace.BrickColor = BrickColor.new("Grey")
  4307. gtrace.Material = "Slate"
  4308. gtrace.Size = Vector3.new(21,21,21)
  4309. gtrace.Anchored = true
  4310. gtrace.CanCollide = true
  4311. gtrace.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(159)),math.random(0,math.rad(159)),math.random(0,math.rad(159)))
  4312. local gdisp = coroutine.wrap(function()
  4313. wait(7)
  4314. for i = 1, 9 do
  4315. wait(.1)
  4316. gtrace.Transparency = gtrace.Transparency + .1
  4317. end
  4318. gtrace:Destroy()
  4319. end)
  4320. gdisp()
  4321. end
  4322.  
  4323.  
  4324. activu = true
  4325. end
  4326.  
  4327. -----
  4328. ------
  4329. function FindNearestTorso(Position,Distance,SinglePlayer)
  4330. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  4331. local List = {}
  4332. for i,v in pairs(workspace:GetChildren())do
  4333. if v:IsA("Model")then
  4334. if v:findFirstChild("Torso")then
  4335. if v ~= char then
  4336. if(v.Torso.Position -Position).magnitude <= Distance then
  4337. table.insert(List,v)
  4338. end
  4339. end
  4340. end
  4341. end
  4342. end
  4343. return List
  4344. end
  4345.  
  4346. ------
  4347.  
  4348. ---
  4349.  
  4350. function KickBoom()
  4351. local Mus = Instance.new("Sound",workspace)
  4352. Mus.SoundId = "rbxassetid://1040321541"
  4353. Mus.Pitch = 0.99
  4354. Mus.Volume = 3
  4355. Mus.Looped = false
  4356. wait(0)
  4357. Mus:Play()
  4358. wait(1.8)
  4359. local effspwn = Instance.new("Part")
  4360. local model = Instance.new("Model")
  4361. game.Debris:AddItem(model, 20)
  4362. model.Name = "smasheffects"
  4363. model.Parent = char
  4364. effspwn.Name = "spwnr"
  4365. effspwn.Size = Vector3.new(1, 1, 1)
  4366. effspwn.Anchored = true
  4367. effspwn.CanCollide = false
  4368. effspwn.Transparency = 1
  4369. effspwn.CFrame = hed.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  4370. effspwn.Parent = model
  4371.  
  4372.  
  4373. for i = 1, 15 do
  4374. local gtrace = Instance.new("Part",game.Workspace)
  4375. gtrace.BrickColor = BrickColor.new("Grey")
  4376. gtrace.Material = "Slate"
  4377. gtrace.Size = Vector3.new(21,21,21)
  4378. gtrace.Anchored = true
  4379. gtrace.CanCollide = true
  4380. gtrace.CFrame = (char.HumanoidRootPart.CFrame + Vector3.new(math.random(-70,70),-6,math.random(-70,70))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  4381. local gdisp = coroutine.wrap(function()
  4382. wait(7)
  4383. for i = 1, 9 do
  4384. wait(.1)
  4385. gtrace.Transparency = gtrace.Transparency + .1
  4386. end
  4387. gtrace:Destroy()
  4388. end)
  4389. gdisp()
  4390. end
  4391.  
  4392. for i = 0, 2, 0.1 do
  4393. swait()
  4394. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  4395. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  4396. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  4397. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  4398. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  4399. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  4400. end
  4401.  
  4402. for i,v in pairs(FindNearestTorso(tors.CFrame.p,50))do
  4403. if v:FindFirstChild('Humanoid') then
  4404. v.Humanoid:TakeDamage(math.random(60,70))
  4405. v.Humanoid.PlatformStand = true
  4406. v:FindFirstChild("Torso").Velocity = tors.CFrame.lookVector * 250
  4407. end
  4408. end
  4409.  
  4410.  
  4411. coroutine.resume(coroutine.create(function()
  4412. local shok = Instance.new("Part")
  4413. shok.Name = "shock3"
  4414. shok.BrickColor = BrickColor.new("Institutional white")
  4415. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4416. shok.Size = Vector3.new(1, 1, 1)
  4417. shok.Anchored = true
  4418. shok.Material = "Neon"
  4419. shok.Transparency = 0.35
  4420. shok.CanCollide = false
  4421. shok.Parent = model
  4422. game.Debris:AddItem(shok, 12)
  4423. local mesh = Instance.new("SpecialMesh")
  4424. mesh.MeshType = "FileMesh"
  4425. mesh.MeshId = "rbxassetid://497065601"
  4426. mesh.Scale = Vector3.new(1, 1, 1)
  4427. mesh.Parent = shok
  4428. for e = 1, 15 do
  4429. wait()
  4430. mesh.Scale = mesh.Scale + Vector3.new(1, 2.6, 1)
  4431. shok.Transparency = shok.Transparency + 0.004
  4432. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4433. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4434. end
  4435. for e = 1, 16 do
  4436. wait()
  4437. mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
  4438. shok.Transparency = shok.Transparency + 0.004
  4439. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4440. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4441. end
  4442. for e = 1, 12 do
  4443. wait()
  4444. mesh.Scale = mesh.Scale + Vector3.new(1, 2, 1)
  4445. shok.Transparency = shok.Transparency + 0.06
  4446. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4447. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4448. end
  4449. end))
  4450.  
  4451.  
  4452. coroutine.resume(coroutine.create(function()
  4453. local shok = Instance.new("Part")
  4454. shok.Name = "shock3"
  4455. shok.BrickColor = BrickColor.new("Lily white")
  4456. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  4457. shok.Size = Vector3.new(1, 1, 1)
  4458. shok.Anchored = true
  4459. shok.Material = "Neon"
  4460. shok.Transparency = 0.1
  4461. shok.CanCollide = false
  4462. shok.Parent = model
  4463. game.Debris:AddItem(shok, 12)
  4464. local mesh = Instance.new("SpecialMesh")
  4465. mesh.MeshType = "FileMesh"
  4466. mesh.MeshId = "rbxassetid://1095708"
  4467. mesh.Scale = Vector3.new(47, 47, 47)
  4468. mesh.Parent = shok
  4469. for e = 1, 15 do
  4470. wait()
  4471. mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
  4472. shok.Transparency = shok.Transparency + 0.04
  4473. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4474. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4475. end
  4476. for e = 1, 16 do
  4477. wait()
  4478. mesh.Scale = mesh.Scale + Vector3.new(3, 4.6, 3)
  4479. shok.Transparency = shok.Transparency + 0.04
  4480. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4481. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4482. shok.BrickColor = BrickColor.new("Grey")
  4483. end
  4484. for e = 1, 12 do
  4485. wait()
  4486. mesh.Scale = mesh.Scale + Vector3.new(3, -1, 3)
  4487. shok.Transparency = shok.Transparency + 0.004
  4488. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4489. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4490. end
  4491. end))
  4492.  
  4493. coroutine.resume(coroutine.create(function()
  4494. local shok = Instance.new("Part")
  4495. shok.Name = "shock3"
  4496. shok.BrickColor = BrickColor.new("Institutional white")
  4497. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4498. shok.Size = Vector3.new(1, 1, 1)
  4499. shok.Anchored = true
  4500. shok.Material = "Neon"
  4501. shok.Transparency = 0.35
  4502. shok.CanCollide = false
  4503. shok.Parent = model
  4504. game.Debris:AddItem(shok, 12)
  4505. local mesh = Instance.new("SpecialMesh")
  4506. mesh.MeshType = "FileMesh"
  4507. mesh.MeshId = "rbxassetid://549734488"
  4508. mesh.Scale = Vector3.new(1, 1, 1)
  4509. mesh.Parent = shok
  4510. for e = 1, 15 do
  4511. wait()
  4512. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  4513. shok.Transparency = shok.Transparency + 0.004
  4514. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4515. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  4516. end
  4517. for e = 1, 16 do
  4518. wait()
  4519. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  4520. shok.Transparency = shok.Transparency + 0.004
  4521. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4522. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4523. end
  4524. for e = 1, 12 do
  4525. wait()
  4526. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0.2, 0.2)
  4527. shok.Transparency = shok.Transparency + 0.06
  4528. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  4529. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  4530. end
  4531. end))
  4532. end
  4533. --
  4534.  
  4535. ------
  4536. function superpunch2()
  4537. attack = true
  4538. jumped = true
  4539. hum.WalkSpeed = 0
  4540. local Mus = Instance.new("Sound",tors)
  4541. Mus.SoundId = "rbxassetid://1038730484"
  4542. Mus.Pitch = 1
  4543. Mus.Volume = 3
  4544. Mus.Looped = false
  4545. wait(0)
  4546. Mus:Play()
  4547. for i = 0, 1, 0.1 do
  4548. swait()
  4549. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(75)), 0.3)
  4550. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.3)
  4551. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3)
  4552. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.3)
  4553. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(105), 0), 0.3)
  4554. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(75), 0), 0.3)
  4555. end
  4556. wait(1.2)
  4557. local rng = Instance.new("Part", char)
  4558. rng.Anchored = true
  4559. rng.BrickColor = BrickColor.new("White")
  4560. rng.CanCollide = false
  4561. rng.FormFactor = 3
  4562. rng.Name = "Ring"
  4563. rng.Size = Vector3.new(1, 1, 1)
  4564. rng.Transparency = 0
  4565. rng.TopSurface = 0
  4566. rng.BottomSurface = 0
  4567. rng.CFrame = root.CFrame
  4568. local rngm = Instance.new("SpecialMesh", rng)
  4569. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4570. local rng2 = rng:Clone()
  4571. rng2.Parent = char
  4572. local rng2m = rng2.Mesh
  4573. local rng3 = rng:Clone()
  4574. rng3.Parent = char
  4575. local rng3m = rng3.Mesh
  4576. local rng4 = rng:Clone()
  4577. rng4.Parent = char
  4578. local rng4m = rng4.Mesh
  4579. local rng5 = rng:Clone()
  4580. rng5.Parent = char
  4581. local rng5m = rng5.Mesh
  4582. local rng6 = rng:Clone()
  4583. rng6.Material = "Neon"
  4584. rng6.Parent = char
  4585. local rng6m = rng6.Mesh
  4586. rng6m.Scale = vt(2.5,2.5,1.7)
  4587. rng6m.MeshType = "FileMesh"
  4588. rng6m.MeshId = "rbxassetid://437347603"
  4589. local hita = rng6.Touched:connect(function(hit)
  4590. Damagefunc(hit,35,65,math.random(30,60),"Normal",root,.2,1)
  4591. end)
  4592. rng2.CFrame = root.CFrame
  4593. rng3.CFrame = root.CFrame
  4594. rng4.CFrame = root.CFrame
  4595. rng5.CFrame = root.CFrame
  4596. rng6.CFrame = root.CFrame
  4597. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  4598. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  4599. CFuncs["Sound"].Create("rbxassetid://169628396", rng, 5, 1)
  4600. CFuncs["Sound"].Create("rbxassetid://137994058", rng, 5, 1)
  4601. CFuncs["Sound"].Create("rbxassetid://138186576", rng, 5, 1)
  4602. wait()
  4603. local scaler = 10/5
  4604. local scaler2 = 10/5
  4605. for i = 0,10,0.1 do
  4606. swait()
  4607. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  4608. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/1.25
  4609. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/1.5
  4610. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/1.75
  4611. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
  4612. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  4613. rng6.CFrame = rng.CFrame
  4614. rng.Transparency = rng.Transparency + 0.01
  4615. rng2.Transparency = rng2.Transparency + 0.01
  4616. rng3.Transparency = rng3.Transparency + 0.01
  4617. rng4.Transparency = rng4.Transparency + 0.01
  4618. rng5.Transparency = rng5.Transparency + 0.01
  4619. rng6.Transparency = rng6.Transparency + 0.01
  4620. scaler = scaler - 0.125/5
  4621. scaler2 = scaler2 - 0.1/5
  4622. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  4623. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  4624. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  4625. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  4626. rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
  4627. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  4628. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  4629. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  4630. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  4631. end
  4632. hita:disconnect()
  4633. game:GetService("Debris"):AddItem(rng, 1)
  4634. game:GetService("Debris"):AddItem(rng2, 1)
  4635. game:GetService("Debris"):AddItem(rng3, 1)
  4636. game:GetService("Debris"):AddItem(rng4, 1)
  4637. game:GetService("Debris"):AddItem(rng5, 1)
  4638. hum.WalkSpeed = 16
  4639. attack = false
  4640. jumped = false
  4641. end
  4642.  
  4643.  
  4644.  
  4645.  
  4646. function superpunch()
  4647. attack = true
  4648. jumped = true
  4649. hum.WalkSpeed = 0.7
  4650. for i = 0,2,0.1 do
  4651. swait()
  4652. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2)
  4653. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
  4654. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  4655. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  4656. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
  4657. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
  4658. end
  4659. CFuncs["Sound"].Create("rbxassetid://1040321464", tors, 0.9, 1)
  4660. aim = true
  4661. wait(2)
  4662. hum.WalkSpeed = 0
  4663. CFuncs["Sound"].Create("rbxassetid://314970761", tors, 5, 1)
  4664. CFuncs["Sound"].Create("rbxassetid://147722270", tors, 5, 0.85)
  4665. CFuncs["Sound"].Create("rbxassetid://147722270", tors, 5, 1)
  4666. CFuncs["Sound"].Create("rbxassetid://255679373", tors, 5, 1)
  4667. CFuncs["Sound"].Create("rbxassetid://1056634201", tors, 5, 1)
  4668. local rng = Instance.new("Part", mouse)
  4669. rng.Anchored = true
  4670. rng.BrickColor = BrickColor.new("White")
  4671. rng.CanCollide = false
  4672. rng.FormFactor = 3
  4673. rng.Name = "Ring"
  4674. rng.Size = Vector3.new(1, 1, 1)
  4675. rng.Transparency = 0
  4676. rng.TopSurface = 0
  4677. rng.BottomSurface = 0
  4678. rng.CFrame = root.CFrame
  4679. local rngm = Instance.new("SpecialMesh", rng)
  4680. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4681. local rng2 = rng:Clone()
  4682. rng2.Parent = char
  4683. local rng2m = rng2.Mesh
  4684. local rng3 = rng:Clone()
  4685. rng3.Parent = char
  4686. local rng3m = rng3.Mesh
  4687. local rng4 = rng:Clone()
  4688. rng4.Parent = char
  4689. local rng4m = rng4.Mesh
  4690. local rng5 = rng:Clone()
  4691. rng5.Parent = char
  4692. local rng5m = rng5.Mesh
  4693. local rng6 = rng:Clone()
  4694. rng6.Material = "Plastic"
  4695. rng6.Parent = char
  4696. local rng6m = rng6.Mesh
  4697. rng6m.Scale = vt(2.5,2.5,2)
  4698. rng6m.MeshType = "FileMesh"
  4699. rng6m.MeshId = "rbxassetid://437347603"
  4700. local hita = rng6.Touched:connect(function(hit)
  4701. Damagefunc(hit,27,37,math.random(20,30),"Normal",root,.2,1)
  4702. end)
  4703. rng2.CFrame = root.CFrame
  4704. rng3.CFrame = root.CFrame
  4705. rng4.CFrame = root.CFrame
  4706. rng5.CFrame = root.CFrame
  4707. rng6.CFrame = root.CFrame
  4708. wait()
  4709. local scaler = 10/5
  4710. local scaler2 = 10/5
  4711. for i = 0,10,0.1 do
  4712. swait()
  4713. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  4714. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
  4715. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
  4716. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
  4717. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5
  4718. rng6.Size = rng6.Size + Vector3.new(scaler2/2.8, scaler2/2.8, scaler2/2.8)
  4719. rng6.CFrame = rng3.CFrame
  4720. rng.Transparency = rng.Transparency + 0.1
  4721. rng2.Transparency = rng2.Transparency + 1.01
  4722. rng3.Transparency = rng3.Transparency + 0.01
  4723. rng4.Transparency = rng4.Transparency + 0.01
  4724. rng5.Transparency = rng5.Transparency + 0.01
  4725. rng6.Transparency = rng6.Transparency + 0.021
  4726. scaler = scaler - 0.125/5
  4727. scaler2 = scaler2 - 0.1/5
  4728. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  4729. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  4730. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  4731. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  4732. rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9)
  4733. local bv = Instance.new("BodyVelocity")
  4734. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4735. bv.velocity = root.CFrame.lookVector*-6
  4736. bv.Parent = root
  4737. game:GetService("Debris"):AddItem(bv, 1)
  4738. end
  4739. hita:disconnect()
  4740. game:GetService("Debris"):AddItem(rng, 1)
  4741. game:GetService("Debris"):AddItem(rng2, 1)
  4742. game:GetService("Debris"):AddItem(rng3, 1)
  4743. game:GetService("Debris"):AddItem(rng4, 1)
  4744. game:GetService("Debris"):AddItem(rng5, 1)
  4745. hum.WalkSpeed = 16
  4746. attack = false
  4747. jumped = false
  4748. end
  4749.  
  4750.  
  4751.  
  4752. function superpunch4()
  4753. attack = true
  4754. jumped = true
  4755. hum.WalkSpeed = 0
  4756. for i = 0,2,0.1 do
  4757. swait()
  4758. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2)
  4759. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
  4760. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  4761. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  4762. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
  4763. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
  4764. end
  4765. wait(1.5)
  4766. CFuncs["Sound"].Create("rbxassetid://1040321464", workspace, 0.8, 1)
  4767. local pie22 = Instance.new("ParticleEmitter")
  4768. pie22.Parent = rarm
  4769. pie22.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  4770. pie22.LightEmission = 1
  4771. pie22.Size = NumberSequence.new(2)
  4772. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  4773. pie22.Transparency = NumberSequence.new(0.7)
  4774. pie22.EmissionDirection = "Top"
  4775. pie22.Enabled = true
  4776. pie22.Lifetime = NumberRange.new(0.2)
  4777. pie22.Rotation = NumberRange.new(-320, 320)
  4778. pie22.Rate = 404
  4779. pie22.Speed = NumberRange.new(1)
  4780. pie22.LockedToPart = true
  4781. pie22.VelocitySpread = 2
  4782. wait(2)
  4783. local rng = Instance.new("Part", char)
  4784. rng.Anchored = true
  4785. rng.BrickColor = BrickColor.new("White")
  4786. rng.CanCollide = false
  4787. rng.FormFactor = 3
  4788. rng.Name = "Ring"
  4789. rng.Size = Vector3.new(1, 1, 1)
  4790. rng.Transparency = 0
  4791. rng.TopSurface = 0
  4792. rng.BottomSurface = 0
  4793. rng.CFrame = root.CFrame
  4794. local rngm = Instance.new("SpecialMesh", rng)
  4795. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4796. local rng2 = rng:Clone()
  4797. rng2.Parent = char
  4798. local rng2m = rng2.Mesh
  4799. local rng3 = rng:Clone()
  4800. rng3.Parent = char
  4801. local rng3m = rng3.Mesh
  4802. local rng4 = rng:Clone()
  4803. rng4.Parent = char
  4804. local rng4m = rng4.Mesh
  4805. local rng5 = rng:Clone()
  4806. rng5.Parent = char
  4807. local rng5m = rng5.Mesh
  4808. local rng6 = rng:Clone()
  4809. rng6.Material = "Plastic"
  4810. rng6.Parent = char
  4811. local rng6m = rng6.Mesh
  4812. rng6m.Scale = vt(2.5,2.5,2)
  4813. rng6m.MeshType = "FileMesh"
  4814. rng6m.MeshId = "rbxassetid://437347603"
  4815. local hita = rng6.Touched:connect(function(hit)
  4816. Damagefunc(hit,30,55,math.random(30,50),"Normal",root,.2,1)
  4817. end)
  4818. rng2.CFrame = root.CFrame
  4819. rng3.CFrame = root.CFrame
  4820. rng4.CFrame = root.CFrame
  4821. rng5.CFrame = root.CFrame
  4822. rng6.CFrame = root.CFrame
  4823. CFuncs["Sound"].Create("rbxassetid://314970761", rng, 5, 1)
  4824. CFuncs["Sound"].Create("rbxassetid://147722270", rng, 5, 0.85)
  4825. CFuncs["Sound"].Create("rbxassetid://147722270", rng, 5, 1)
  4826. CFuncs["Sound"].Create("rbxassetid://255679373", rng, 5, 1)
  4827. CFuncs["Sound"].Create("rbxassetid://1056634201", rng, 5, 1)
  4828. wait()
  4829. local pie222 = Instance.new("ParticleEmitter")
  4830. pie222.Parent = rng6
  4831. pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  4832. pie222.LightEmission = 1
  4833. pie222.Size = NumberSequence.new(7)
  4834. pie222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  4835. pie222.Transparency = NumberSequence.new(0.6)
  4836. pie222.EmissionDirection = "Top"
  4837. pie222.Enabled = true
  4838. pie222.Lifetime = NumberRange.new(0.2)
  4839. pie222.Rotation = NumberRange.new(-320, 320)
  4840. pie222.Rate = 404
  4841. pie222.Speed = NumberRange.new(0)
  4842. pie222.LockedToPart = false
  4843. pie222.VelocitySpread = 2
  4844. local scaler = 10/5
  4845. local scaler2 = 10/5
  4846. for i = 0,10,0.1 do
  4847. swait()
  4848. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  4849. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
  4850. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
  4851. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
  4852. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5
  4853. rng6.Size = rng6.Size + Vector3.new(scaler2/1, scaler2/1, scaler2/0.4)
  4854. rng6.CFrame = rng3.CFrame
  4855. rng.Transparency = rng.Transparency + 0.1
  4856. rng2.Transparency = rng2.Transparency + 1.01
  4857. rng3.Transparency = rng3.Transparency + 0.01
  4858. rng4.Transparency = rng4.Transparency + 0.01
  4859. rng5.Transparency = rng5.Transparency + 0.01
  4860. rng6.Transparency = rng6.Transparency + 0.021
  4861. scaler = scaler - 0.125/5
  4862. scaler2 = scaler2 - 0.1/5
  4863. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  4864. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  4865. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  4866. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  4867. rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9)
  4868. end
  4869. hita:disconnect()
  4870. game:GetService("Debris"):AddItem(rng, 1)
  4871. game:GetService("Debris"):AddItem(rng2, 1)
  4872. game:GetService("Debris"):AddItem(rng3, 1)
  4873. game:GetService("Debris"):AddItem(rng4, 1)
  4874. game:GetService("Debris"):AddItem(rng5, 1)
  4875. hum.WalkSpeed = 16
  4876. attack = false
  4877. pie22:Destroy()
  4878. pie222:Destroy()
  4879. jumped = false
  4880. end
  4881.  
  4882.  
  4883. function superpunch5()
  4884. attack = true
  4885. jumped = true
  4886. hum.WalkSpeed = 0
  4887. for i = 0,2,0.1 do
  4888. swait()
  4889. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2)
  4890. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
  4891. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  4892. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  4893. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
  4894. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
  4895. end
  4896. CFuncs["Sound"].Create("rbxassetid://1040321464", workspace, 2, 1)
  4897. local pie22 = Instance.new("ParticleEmitter")
  4898. pie22.Parent = rarm
  4899. pie22.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  4900. pie22.LightEmission = 1
  4901. pie22.Size = NumberSequence.new(2)
  4902. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  4903. pie22.Transparency = NumberSequence.new(0.7)
  4904. pie22.EmissionDirection = "Top"
  4905. pie22.Enabled = true
  4906. pie22.Lifetime = NumberRange.new(0.7)
  4907. pie22.Rotation = NumberRange.new(-320, 320)
  4908. pie22.Rate = 104
  4909. pie22.Speed = NumberRange.new(1)
  4910. pie22.LockedToPart = true
  4911. pie22.VelocitySpread = 2
  4912. wait(2)
  4913. local rng = Instance.new("Part", char)
  4914. rng.Anchored = true
  4915. rng.BrickColor = BrickColor.new("White")
  4916. rng.CanCollide = false
  4917. rng.FormFactor = 3
  4918. rng.Name = "Ring"
  4919. rng.Size = Vector3.new(1, 1, 1)
  4920. rng.Transparency = 0
  4921. rng.TopSurface = 0
  4922. rng.BottomSurface = 0
  4923. rng.CFrame = root.CFrame
  4924. local rngm = Instance.new("SpecialMesh", rng)
  4925. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4926. local rng2 = rng:Clone()
  4927. rng2.Parent = char
  4928. local rng2m = rng2.Mesh
  4929. local rng3 = rng:Clone()
  4930. rng3.Parent = char
  4931. local rng3m = rng3.Mesh
  4932. local rng4 = rng:Clone()
  4933. rng4.Parent = char
  4934. local rng4m = rng4.Mesh
  4935. local rng5 = rng:Clone()
  4936. rng5.Parent = char
  4937. local rng5m = rng5.Mesh
  4938. local rng6 = rng:Clone()
  4939. rng6.Material = "Neon"
  4940. rng6.Parent = char
  4941. local rng6m = rng6.Mesh
  4942. rng6m.Scale = vt(1,1,1)
  4943. rng6m.MeshType = "Sphere"
  4944. local hita = rng6.Touched:connect(function(hit)
  4945. Damagefunc(hit,35,45,math.random(30,40),"Normal",root,.2,1)
  4946. end)
  4947. rng2.CFrame = root.CFrame
  4948. rng3.CFrame = root.CFrame
  4949. rng4.CFrame = root.CFrame
  4950. rng5.CFrame = root.CFrame
  4951. rng6.CFrame = root.CFrame
  4952. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  4953. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  4954. CFuncs["Sound"].Create("rbxassetid://169628396", rng, 5, 1)
  4955. CFuncs["Sound"].Create("rbxassetid://137994058", rng, 5, 1)
  4956. CFuncs["Sound"].Create("rbxassetid://138186576", rng, 5, 1)
  4957. wait()
  4958. local scaler = 10/5
  4959. local scaler2 = 10/5
  4960. local pie222 = Instance.new("ParticleEmitter")
  4961. pie222.Parent = rng6
  4962. pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  4963. pie222.LightEmission = 1
  4964. pie222.Size = NumberSequence.new(7)
  4965. pie222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  4966. pie222.Transparency = NumberSequence.new(0.6)
  4967. pie222.EmissionDirection = "Top"
  4968. pie222.Enabled = true
  4969. pie222.Lifetime = NumberRange.new(0.2)
  4970. pie222.Rotation = NumberRange.new(-320, 320)
  4971. pie222.Rate = 404
  4972. pie222.Speed = NumberRange.new(0)
  4973. pie222.LockedToPart = false
  4974. pie222.VelocitySpread = 2
  4975. for i = 0,10,0.1 do
  4976. swait()
  4977. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  4978. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/1.25
  4979. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/1.5
  4980. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/1.75
  4981. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/5
  4982. rng6.Size = rng6.Size + Vector3.new(scaler2/1, scaler2/1, scaler2/0.4)
  4983. rng6.CFrame = rng.CFrame
  4984. rng.Transparency = rng.Transparency + 0.01
  4985. rng2.Transparency = rng2.Transparency + 0.01
  4986. rng3.Transparency = rng3.Transparency + 0.01
  4987. rng4.Transparency = rng4.Transparency + 0.01
  4988. rng5.Transparency = rng5.Transparency + 0.01
  4989. rng6.Transparency = rng6.Transparency + 0.022
  4990. scaler = scaler - 0.125/5
  4991. scaler2 = scaler2 - 0.1/5
  4992. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  4993. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  4994. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  4995. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  4996. rngm.Scale = rngm.Scale + Vector3.new(scaler2/9, scaler2/9, 9)
  4997. end
  4998. hita:disconnect()
  4999. game:GetService("Debris"):AddItem(rng, 1)
  5000. game:GetService("Debris"):AddItem(rng2, 1)
  5001. game:GetService("Debris"):AddItem(rng3, 1)
  5002. game:GetService("Debris"):AddItem(rng4, 1)
  5003. game:GetService("Debris"):AddItem(rng5, 1)
  5004. hum.WalkSpeed = 16
  5005. pie22:Destroy()
  5006. pie222:Destroy()
  5007. attack = false
  5008. jumped = false
  5009. end
  5010.  
  5011.  
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017. mouse.KeyDown:connect(function(k)
  5018. if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  5019. jump()
  5020. end
  5021. if k == "x" and attack == false then
  5022. dash()
  5023. end
  5024. if k == "q" and attack == false then
  5025. dashback()
  5026. end
  5027. if k == "1" and attack == false then
  5028. asd1:Play()
  5029. end
  5030. if k == "2" and attack == false then
  5031. asd1:Stop()
  5032. asd2:Play()
  5033. end
  5034. if k == "3" and attack == false then
  5035. asd1:Stop()
  5036. asd2:Stop()
  5037. asd3:Play()
  5038. end
  5039. if k == "4" and attack == false then
  5040. asd1:Stop()
  5041. asd2:Stop()
  5042. asd3:Stop()
  5043. asd4:Play()
  5044. end
  5045. if k == "u" and attack == false then
  5046. asd:Stop()
  5047. asd1:Stop()
  5048. asd2:Stop()
  5049. asd3:Stop()
  5050. asd4:Stop()
  5051. end
  5052. if k == "e" and attack == false then
  5053. jum2()
  5054. end
  5055. if k == "=" and InForm == true then
  5056. jum()
  5057. end
  5058. if k == "m" and InForm == true then
  5059. dashcowl()
  5060. end
  5061. if k == "p" and attack == false then
  5062. asd:Stop()
  5063. end
  5064. if k == "f" and attack == false then
  5065. daash()
  5066. end
  5067. if k == "=" and attack == false then
  5068. asd:Play()
  5069. end
  5070. if k == "g" and attack == false then
  5071. jum()
  5072. end
  5073. if k == "e" and attack == false then
  5074. punch()
  5075. end
  5076.  
  5077. if k == "q" and attack == false then
  5078. punch2()
  5079. end
  5080. if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  5081. KickBoom()
  5082. end
  5083. if k == "b" and attack == false then
  5084. superpunch()
  5085. end
  5086. if k == "k" and InForm == true then
  5087. superpunch4()
  5088. end
  5089. if k == "n" and attack == false then
  5090. superpunch2()
  5091. end
  5092. end)
  5093. mouse.KeyDown:connect(function(key)
  5094. if key=="8" then
  5095. x = Instance.new("Sound",tors)
  5096. x.SoundId = "http://www.roblox.com/asset/?id=905554146"
  5097. x.Looped = false
  5098. x.Pitch = 1
  5099. x.Volume = 5
  5100. x:Play()
  5101. local pie22 = Instance.new("ParticleEmitter")
  5102. pie22.Parent = rarm
  5103. pie22.Color = ColorSequence.new(BrickColor.new("Bright red").Color)
  5104. pie22.LightEmission = 1
  5105. pie22.Size = NumberSequence.new(1)
  5106. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5107. pie22.Transparency = NumberSequence.new(0.5)
  5108. pie22.EmissionDirection = "Top"
  5109. pie22.Enabled = true
  5110. pie22.Lifetime = NumberRange.new(0.7)
  5111. pie22.Rotation = NumberRange.new(-320, 320)
  5112. pie22.Rate = 104
  5113. pie22.Speed = NumberRange.new(1)
  5114. pie22.LockedToPart = true
  5115. pie22.VelocitySpread = 2
  5116. local pie242 = Instance.new("ParticleEmitter")
  5117. pie242.Parent = larm
  5118. pie242.Color = ColorSequence.new(BrickColor.new("Bright red").Color)
  5119. pie242.LightEmission = 1
  5120. pie242.Size = NumberSequence.new(2)
  5121. pie242.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5122. pie242.Transparency = NumberSequence.new(0.7)
  5123. pie242.EmissionDirection = "Top"
  5124. pie242.Enabled = true
  5125. pie242.Lifetime = NumberRange.new(0.7)
  5126. pie242.Rotation = NumberRange.new(-320, 320)
  5127. pie242.Rate = 104
  5128. pie242.Speed = NumberRange.new(1)
  5129. pie242.LockedToPart = true
  5130. pie242.VelocitySpread = 2
  5131. local pie222 = Instance.new("ParticleEmitter")
  5132. pie222.Parent = rarm
  5133. pie222.Color = ColorSequence.new(BrickColor.new("Bright red").Color)
  5134. pie222.LightEmission = 1
  5135. pie222.Size = NumberSequence.new(1)
  5136. pie222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5137. pie222.Transparency = NumberSequence.new(0.5)
  5138. pie222.EmissionDirection = "Top"
  5139. pie222.Enabled = true
  5140. pie222.Lifetime = NumberRange.new(0.7)
  5141. pie222.Rotation = NumberRange.new(-320, 320)
  5142. pie222.Rate = 104
  5143. pie222.Speed = NumberRange.new(1)
  5144. pie222.LockedToPart = true
  5145. pie222.VelocitySpread = 2
  5146. local pie2222 = Instance.new("ParticleEmitter")
  5147. pie2222.Parent = tors
  5148. pie2222.Color = ColorSequence.new(BrickColor.new("Bright red").Color)
  5149. pie2222.LightEmission = 1
  5150. pie2222.Size = NumberSequence.new(3)
  5151. pie2222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5152. pie2222.Transparency = NumberSequence.new(0.7)
  5153. pie2222.EmissionDirection = "Top"
  5154. pie2222.Enabled = true
  5155. pie2222.Lifetime = NumberRange.new(0.7)
  5156. pie2222.Rotation = NumberRange.new(-320, 320)
  5157. pie2222.Rate = 104
  5158. pie2222.Speed = NumberRange.new(1)
  5159. pie2222.LockedToPart = true
  5160. pie2222.VelocitySpread = 2
  5161. hum.JumpPower = 140
  5162. wait(1.6)
  5163. Serious()
  5164. pie22:Destroy()
  5165. pie222:Destroy()
  5166. pie2222:Destroy()
  5167. pie242:Destroy()
  5168. end
  5169. end)
  5170.  
  5171.  
  5172.  
  5173.  
  5174. InForm = false
  5175.  
  5176. Player = game.Players.LocalPlayer
  5177. Char = Player.Character
  5178. Torso = Char.Torso
  5179.  
  5180. function Serious()
  5181. for X = 1, 1 do wait()
  5182.  
  5183. wait(0)
  5184.  
  5185. for X = 1, 1 do wait()
  5186. local Effect = Instance.new("Part")
  5187. Effect.Name = "Effect"
  5188. Effect.Parent = Torso
  5189. Effect.CFrame = Torso.CFrame
  5190. Effect.BrickColor = BrickColor.new("Neon orange")
  5191. Effect.Shape = "Ball"
  5192. Effect.Size = Vector3.new(1, 1, 1)
  5193. Effect.Anchored = true
  5194. Effect.Material = "Neon"
  5195. Effect.CanCollide = false
  5196. Effect.CFrame = Torso.CFrame
  5197. Effect.Size = Effect.Size + Vector3.new(0.5)
  5198. Effect.Transparency = Effect.Transparency + 0.04
  5199. end
  5200. end
  5201.  
  5202. repeat
  5203. Torso:FindFirstChild("Effect"):Remove()
  5204. until Torso:FindFirstChild("Effect") == nil
  5205.  
  5206.  
  5207. local Color1 = Color3.new(255, 255, 0)
  5208. local Color2 = Color3.new(255, 255, 0)
  5209.  
  5210.  
  5211.  
  5212. local pie22 = Instance.new("ParticleEmitter")
  5213. pie22.Parent = tors
  5214. pie22.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  5215. pie22.LightEmission = 1
  5216. pie22.Size = NumberSequence.new(4)
  5217. pie22.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5218. pie22.Transparency = NumberSequence.new(0.7)
  5219. pie22.EmissionDirection = "Top"
  5220. pie22.Enabled = true
  5221. pie22.Lifetime = NumberRange.new(0.1)
  5222. pie22.Rotation = NumberRange.new(-320, 320)
  5223. pie22.Rate = 14
  5224. pie22.Speed = NumberRange.new(1)
  5225. pie22.LockedToPart = true
  5226. pie22.VelocitySpread = 2
  5227. local pie222 = Instance.new("ParticleEmitter")
  5228. pie222.Parent = tors
  5229. pie222.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  5230. pie222.LightEmission = 1
  5231. pie222.Size = NumberSequence.new(4)
  5232. pie222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5233. pie222.Transparency = NumberSequence.new(0.7)
  5234. pie222.EmissionDirection = "Top"
  5235. pie222.Enabled = true
  5236. pie222.Lifetime = NumberRange.new(0.1)
  5237. pie222.Rotation = NumberRange.new(-420, 425)
  5238. pie222.Rate = 5
  5239. pie222.Speed = NumberRange.new(1)
  5240. pie222.LockedToPart = true
  5241. pie222.VelocitySpread = 2
  5242. local pie2222 = Instance.new("ParticleEmitter")
  5243. pie2222.Parent = hed
  5244. pie2222.Color = ColorSequence.new(BrickColor.new("Cyan").Color)
  5245. pie2222.LightEmission = 1
  5246. pie2222.Size = NumberSequence.new(4)
  5247. pie2222.Texture = "http://www.roblox.com/asset/?id=1046299182"
  5248. pie2222.Transparency = NumberSequence.new(0.7)
  5249. pie2222.EmissionDirection = "Top"
  5250. pie2222.Enabled = true
  5251. pie2222.Lifetime = NumberRange.new(0.1)
  5252. pie2222.Rotation = NumberRange.new(-420, 425)
  5253. pie2222.Rate = 17
  5254. pie2222.Speed = NumberRange.new(1)
  5255. pie2222.LockedToPart = true
  5256. pie2222.VelocitySpread = 2
  5257. wait(0.2)
  5258.  
  5259. InForm = true
  5260.  
  5261.  
  5262. end
  5263.  
  5264. function Base()
  5265. InForm = false
  5266. local Effect = Instance.new("Part")
  5267. Effect.Name = "Effect"
  5268. Effect.Parent = Torso
  5269. Effect.CFrame = Torso.CFrame
  5270. Effect.BrickColor = BrickColor.new("White")
  5271. Effect.Shape = "Ball"
  5272. Effect.Size = Vector3.new(8, 8, 8)
  5273. Effect.Anchored = true
  5274. Effect.Material = "Neon"
  5275. Effect.CanCollide = false
  5276. for loop = 1, 25 do wait()
  5277. Effect.CFrame = Torso.CFrame
  5278. Effect.Size = Effect.Size + Vector3.new(-0.5)
  5279. Effect.Transparency = Effect.Transparency + 0.04
  5280.  
  5281. end
  5282. repeat
  5283. Torso:FindFirstChild("Effect"):Remove()
  5284. until Torso:FindFirstChild("Effect") == nil
  5285.  
  5286. for i, v in pairs(Torso:GetChildren()) do
  5287. if v:IsA('ParticleEmitter') then
  5288. v:Remove()
  5289. killbrick:Destroy()
  5290. end
  5291. end
  5292. char.Humanoid.MaxHealth = BaseHealth
  5293. wait(0.3)
  5294. char.Humanoid.Health = BaseHealth
  5295.  
  5296.  
  5297. end
  5298.  
  5299. mouse.KeyDown:connect(function(key)
  5300. if key=="9" then
  5301. Base()
  5302. lig:Destroy()
  5303. end
  5304. end)
  5305.  
  5306. sinecount, normcount, tweentick, tweenrot, tweenrotm = 0, 0, 0, 0, 0
  5307.  
  5308.  
  5309. Humanoid.Animator.Parent = nil
  5310. idleanim=.4
  5311. while true do
  5312. swait()
  5313. sine = sine + change
  5314. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5315. local velderp=RootPart.Velocity.y
  5316. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5317. if equipped==true or equipped==false then
  5318. if attack==false then
  5319. idle=idle+1
  5320. else
  5321. idle=0
  5322. end
  5323. if idle>=500 then
  5324. if attack==false then
  5325. --Sheath()
  5326. end
  5327. end
  5328. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5329. Anim="Jump"
  5330. if attack==false then
  5331. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  5332. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5333. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  5334. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  5335. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  5336. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
  5337. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
  5338. end
  5339. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5340. Anim="Fall"
  5341. if attack==false then
  5342. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  5343. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  5344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  5345. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  5346. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5347. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  5348. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  5349. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  5350. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  5351. end
  5352. elseif torvel<1 and hitfloor~=nil then
  5353. Anim="Idle"
  5354. if jumped == false then
  5355. change = 0.8
  5356. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(9), math.rad(1), math.rad(15)), 0.1)
  5357. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-9 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-15)), 0.1)
  5358. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.4, -0.2) * angles(math.rad(110 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-26 + 4 * math.cos(sine / 25))), 0.1)
  5359. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4, -0.15) * angles(math.rad(60 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30 - 4 * math.cos(sine / 25))), 0.1)
  5360. RH.C0 = clerp(RH.C0, cn(1, -1 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(19 + 2 * math.cos(sine / 25))), 0.1)
  5361. LH.C0 = clerp(LH.C0, cn(-1, -1 - 0.1 * math.cos(sine / 25), -0.1) * LHCF * angles(math.rad(-4 + 2 * math.cos(sine / 25)), math.rad(-15), math.rad(9 + 2 * math.cos(sine / 25))), 0.1)
  5362. end
  5363. if attack==false then
  5364.  
  5365. end
  5366. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5367. Anim="Walk"
  5368. if jumped == false then
  5369. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0 + 0.1 * math.cos(sine / 3.5)) * angles(math.rad(8), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 5))), 0.2)
  5370. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), 0.2)
  5371. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2)
  5372. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(65 * math.cos(sine / 4)), math.rad(0), math.rad(0 * math.cos(sine / 10))), 0.2)
  5373. RH.C0 = clerp(RH.C0, cn(1, -1 + 0.2 * math.cos(sine / 4), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3)
  5374. LH.C0 = clerp(LH.C0, cn(-1, -1 + 0.1 * math.cos(sine / 4), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(50 * math.cos(sine / 4))), 0.3)
  5375. end
  5376. if attack==false then
  5377.  
  5378. end
  5379. elseif torvel>=22 and hitfloor~=nil then
  5380. Anim="Run"
  5381. if jumped == false then
  5382. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0+10*math.cos(sine/5))),.2)
  5383. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(35+90*math.cos(sine/5)),math.rad(0),math.rad(0)),.2)
  5384. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(35-90*math.cos(sine/5)),math.rad(0),math.rad(0)),.2)
  5385. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(35),math.rad(90),math.rad(-40 - 70 *math.cos (sine / -5))),.2)
  5386. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(35),math.rad(-90),math.rad(40 - 70 *math.cos (sine / 5))),.2)
  5387. end
  5388. if attack==false then
  5389.  
  5390. end
  5391. end
  5392. end
  5393. end
Advertisement
Add Comment
Please, Sign In to add comment