Advertisement
AgentVK

Saitama

Oct 27th, 2017
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 115.05 KB | None | 0 0
  1. warn'Edit by v4mp13r20n1c / VampSonic1 / Vampiersonic1 - Corruption Vamp#6899'
  2. warn'Controls:Q Strong punch|E Normal punch|R Long range|T Up-Dash|X Front dash|'
  3. plr = game.Players.LocalPlayer
  4. char = plr.Character
  5. hum = char.Humanoid
  6. local cam = game.Workspace.CurrentCamera
  7. t = char.Torso
  8. h = char.Head
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. rl = char["Right Leg"]
  12. ll = char["Left Leg"]
  13. tors = char.Torso
  14. lleg = char["Left Leg"]
  15. root = char.HumanoidRootPart
  16. char.Humanoid.MaxHealth = 2500000000000000
  17. wait()
  18. char.Humanoid.Health = 2500000000000000
  19. hed = char.Head
  20. rleg = char["Right Leg"]
  21. rarm = char["Right Arm"]
  22. larm = char["Left Arm"]
  23. vt = Vector3.new
  24. bc = BrickColor.new
  25. br = BrickColor.random
  26. it = Instance.new
  27. cf = CFrame.new
  28.  
  29. -----------------------------------
  30. function chatfunc(text)
  31. local chat = coroutine.wrap(function()
  32. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  33. Character:FindFirstChild("TalkingBillBoard"):destroy()
  34. end
  35. local naeeym2 = Instance.new("BillboardGui",Character)
  36. naeeym2.Size = UDim2.new(0,100,0,40)
  37. naeeym2.StudsOffset = Vector3.new(0,3,0)
  38. naeeym2.Adornee = Character.Head
  39. naeeym2.Name = "TalkingBillBoard"
  40. local tecks2 = Instance.new("TextLabel",naeeym2)
  41. tecks2.BackgroundTransparency = 1
  42. tecks2.BorderSizePixel = 0
  43. tecks2.Text = ""
  44. tecks2.Font = "ArialBold"
  45. tecks2.TextSize = 30
  46. tecks2.TextStrokeTransparency = 0
  47. tecks2.TextColor3 = Color3.new(255,255,0)
  48. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  49. tecks2.Size = UDim2.new(1,0,0.5,0)
  50. local tecks3 = Instance.new("TextLabel",naeeym2)
  51. tecks3.BackgroundTransparency = 1
  52. tecks3.BorderSizePixel = 0
  53. tecks3.Text = ""
  54. tecks3.Font = "ArialBold"
  55. tecks3.TextSize = 30
  56. tecks3.TextStrokeTransparency = 0
  57. tecks3.TextColor3 = Color3.new(255,255,0)
  58. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  59. tecks3.Size = UDim2.new(1,0,0.5,0)
  60. for i = 1,string.len(text),1 do
  61. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138089340", Character, .6, .8)
  62. tecks2.Text = string.sub(text,1,i)
  63. tecks3.Text = string.sub(text,1,i)
  64. wait(0.01)
  65. end
  66. wait(2)
  67. for i = 1, 50 do
  68. swait()
  69. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  70. tecks2.Rotation = tecks2.Rotation - .8
  71. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  72. tecks2.TextTransparency = tecks2.TextTransparency + .04
  73. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  74. tecks3.Rotation = tecks2.Rotation + .8
  75. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  76. tecks3.TextTransparency = tecks2.TextTransparency + .04
  77. end
  78. naeeym2:Destroy()
  79. end)
  80. chat()
  81. end
  82. function onChatted(msg)
  83. chatfunc(msg)
  84. end
  85.  
  86. -----------------------------------
  87.  
  88. local Create = LoadLibrary("RbxUtility").Create
  89.  
  90. CFuncs = {
  91. ["Part"] = {
  92. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  93. local Part = Create("Part"){
  94. Parent = Parent,
  95. Reflectance = Reflectance,
  96. Transparency = Transparency,
  97. CanCollide = false,
  98. Locked = true,
  99. BrickColor = BrickColor.new(tostring(BColor)),
  100. Name = Name,
  101. Size = Size,
  102. Material = Material,
  103. }
  104. RemoveOutlines(Part)
  105. return Part
  106. end;
  107. };
  108.  
  109. ["Mesh"] = {
  110. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  111. local Msh = Create(Mesh){
  112. Parent = Part,
  113. Offset = OffSet,
  114. Scale = Scale,
  115. }
  116. if Mesh == "SpecialMesh" then
  117. Msh.MeshType = MeshType
  118. Msh.MeshId = MeshId
  119. end
  120. return Msh
  121. end;
  122. };
  123.  
  124. ["Mesh"] = {
  125. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  126. local Msh = Create(Mesh){
  127. Parent = Part,
  128. Offset = OffSet,
  129. Scale = Scale,
  130. }
  131. if Mesh == "SpecialMesh" then
  132. Msh.MeshType = MeshType
  133. Msh.MeshId = MeshId
  134. end
  135. return Msh
  136. end;
  137. };
  138.  
  139. ["Weld"] = {
  140. Create = function(Parent, Part0, Part1, C0, C1)
  141. local Weld = Create("Weld"){
  142. Parent = Parent,
  143. Part0 = Part0,
  144. Part1 = Part1,
  145. C0 = C0,
  146. C1 = C1,
  147. }
  148. return Weld
  149. end;
  150. };
  151.  
  152. ["Sound"] = {
  153. Create = function(id, par, vol, pit)
  154. coroutine.resume(coroutine.create(function()
  155. local S = Create("Sound"){
  156. Volume = vol,
  157. Pitch = pit or 1,
  158. SoundId = id,
  159. Parent = par or workspace,
  160. }
  161. wait()
  162. S:play()
  163. game:GetService("Debris"):AddItem(S, 10)
  164. end))
  165. end;
  166. };
  167.  
  168. ["ParticleEmitter"] = {
  169. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  170. local fp = Create("ParticleEmitter"){
  171. Parent = Parent,
  172. Color = ColorSequence.new(Color1, Color2),
  173. LightEmission = LightEmission,
  174. Size = Size,
  175. Texture = Texture,
  176. Transparency = Transparency,
  177. ZOffset = ZOffset,
  178. Acceleration = Accel,
  179. Drag = Drag,
  180. LockedToPart = LockedToPart,
  181. VelocityInheritance = VelocityInheritance,
  182. EmissionDirection = EmissionDirection,
  183. Enabled = Enabled,
  184. Lifetime = LifeTime,
  185. Rate = Rate,
  186. Rotation = Rotation,
  187. RotSpeed = RotSpeed,
  188. Speed = Speed,
  189. VelocitySpread = VelocitySpread,
  190. }
  191. return fp
  192. end;
  193. };
  194.  
  195. CreateTemplate = {
  196.  
  197. };
  198. }
  199.  
  200.  
  201.  
  202. New = function(Object, Parent, Name, Data)
  203. local Object = Instance.new(Object)
  204. for Index, Value in pairs(Data or {}) do
  205. Object[Index] = Value
  206. end
  207. Object.Parent = Parent
  208. Object.Name = Name
  209. return Object
  210. end
  211. local m = Instance.new("Model",char)
  212.  
  213. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  214. local p = Instance.new("Part")
  215. p.Parent = parent
  216. p.Size = Vector3.new(1,1,1)
  217. p.Transparency = transparency
  218. p.Reflectance = reflectance
  219. p.CanCollide = false
  220. p.Locked = true
  221. p.BrickColor = brickcolor
  222. p.Material = material
  223. return p
  224. end
  225.  
  226. function CreateMesh(parent,meshtype,x1,y1,z1)
  227. local mesh = Instance.new("SpecialMesh",parent)
  228. mesh.MeshType = meshtype
  229. mesh.Scale = Vector3.new(x1,y1,z1)
  230. return mesh
  231. end
  232.  
  233. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  234. local mesh = Instance.new("SpecialMesh",parent)
  235. mesh.MeshType = "FileMesh"
  236. mesh.MeshId = meshid
  237. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  238. mesh.Scale = Vector3.new(x1,y1,z1)
  239. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  240. return mesh
  241. end
  242.  
  243. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  244. local weld = Instance.new("Weld")
  245. weld.Parent = parent
  246. weld.Part0 = part0
  247. weld.Part1 = part1
  248. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  249. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  250. return weld
  251. end
  252.  
  253.  
  254. function ApplyTrig(Num,Func)
  255. local Min,Max = Func(0),Func(1)
  256. local i = Func(Num)
  257. return (i-Min)/(Max-Min)
  258. --[[if Func == "sin" then
  259. return (math.sin((1-Num)*math.pi)+1)/2
  260. elseif Func == "cos" then
  261. return (math.cos((1-Num)*math.pi)+1)/2
  262. end]]
  263. end
  264.  
  265. local acos = math.acos
  266. local sqrt = math.sqrt
  267. local Vec3 = Vector3.new
  268.  
  269. local function toAxisAngle(CFr)
  270. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  271. local Angle = math.acos((R00+R11+R22-1)/2)
  272. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  273. A = A == 0 and 0.00001 or A
  274. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  275. B = B == 0 and 0.00001 or B
  276. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  277. C = C == 0 and 0.00001 or C
  278. local x = (R21-R12)/sqrt(A)
  279. local y = (R02-R20)/sqrt(B)
  280. local z = (R10-R01)/sqrt(C)
  281. return Vec3(x,y,z),Angle
  282. end
  283.  
  284. local fromAxisAngle = CFrame.fromAxisAngle
  285.  
  286. function LerpCFrame(CFrame1,CFrame2,Num)
  287. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  288. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  289. end
  290.  
  291.  
  292.  
  293.  
  294.  
  295. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  296. 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))
  297. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  298. 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))
  299.  
  300. Player=game:GetService("Players").LocalPlayer
  301. Character=Player.Character
  302. PlayerGui=Player.PlayerGui
  303. Backpack=Player.Backpack
  304. Torso=Character.Torso
  305. Head=Character.Head
  306. Humanoid=Character.Humanoid
  307. m=Instance.new('Model',Character)
  308. LeftArm=Character["Left Arm"]
  309. LeftLeg=Character["Left Leg"]
  310. RightArm=Character["Right Arm"]
  311. RightLeg=Character["Right Leg"]
  312. LS=Torso["Left Shoulder"]
  313. LH=Torso["Left Hip"]
  314. RS=Torso["Right Shoulder"]
  315. RH=Torso["Right Hip"]
  316. Face = Head.face
  317. Neck=Torso.Neck
  318. it=Instance.new
  319. attacktype=1
  320. vt=Vector3.new
  321. cf=CFrame.new
  322. euler=CFrame.fromEulerAnglesXYZ
  323. angles=CFrame.Angles
  324. cloaked=false
  325. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  326. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  327. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  328. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  329. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  330. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  331. RootPart=Character.HumanoidRootPart
  332. RootJoint=RootPart.RootJoint
  333. RootCF=euler(-1.57,0,3.14)
  334. attack = false
  335. attackdebounce = false
  336. deb=false
  337. equipped=true
  338. hand=false
  339. MMouse=nil
  340. combo=0
  341. mana=0
  342. trispeed=.2
  343. attackmode='none'
  344. local idle=0
  345. local Anim="Idle"
  346. local Effects={}
  347. local gun=false
  348. local shoot=false
  349. local sine = 0
  350. local change = 1
  351. player=nil
  352. shirt = Instance.new("Shirt", char)
  353. shirt.Name = "Shirt"
  354. pants = Instance.new("Pants", char)
  355. pants.Name = "Pants"
  356. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=219373258"
  357. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=219373296"
  358. hum.WalkSpeed = 50
  359.  
  360. asd = Instance.new("Sound",char)
  361. asd.SoundId = "http://www.roblox.com/asset/?id = 413040330"
  362. asd.Volume = 3
  363. asd.Looped = true
  364.  
  365.  
  366.  
  367.  
  368. local txt = Instance.new("BillboardGui", char)
  369. CV="Lime green"
  370. txt.Adornee = char .Head
  371. txt.Name = "_status"
  372. txt.Size = UDim2.new(2, 0, 1.2, 0)
  373. txt.StudsOffset = Vector3.new(-9, 8, 0)
  374. local text = Instance.new("TextLabel", txt)
  375. text.Size = UDim2.new(10, 0, 7, 0)
  376. text.FontSize = "Size24"
  377. text.TextScaled = true
  378. text.TextTransparency = 0
  379. text.BackgroundTransparency = 1
  380. text.TextTransparency = 0
  381. text.TextStrokeTransparency = 0
  382. text.Font = "Bodoni"
  383. text.TextStrokeColor3 = Color3.new(0,0,0)
  384. text.TextColor3 = Color3.fromRGB(255,255,0)
  385. text.Text = " "
  386. v=Instance.new("Part")
  387. v.Name = "ColorBrick"
  388. v.Parent= plr.Character
  389. v.FormFactor="Symmetric"
  390. v.Anchored=true
  391. v.CanCollide=false
  392. v.BottomSurface="Smooth"
  393. v.TopSurface="Smooth"
  394. v.Size=Vector3.new(10,5,3)
  395. v.Transparency=0
  396. v.CFrame=char.Torso.CFrame
  397. v.BrickColor=BrickColor.new("Lime green")
  398. v.Transparency=1
  399. v.Shape="Block"
  400.  
  401. mouse=Player:GetMouse()
  402. --save shoulders
  403. RSH, LSH=nil, nil
  404. --welds
  405. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  406. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  407. LH=Torso["Left Hip"]
  408. RH=Torso["Right Hip"]
  409. TorsoColor=Torso.BrickColor
  410. function NoOutline(Part)
  411. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  412. end
  413. player=Player
  414. ch=Character
  415. RSH=ch.Torso["Right Shoulder"]
  416. LSH=ch.Torso["Left Shoulder"]
  417. --
  418. RSH.Parent=nil
  419. LSH.Parent=nil
  420. --
  421. RW.Name="Right Shoulder"
  422. RW.Part0=ch.Torso
  423. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  424. RW.C1=cf(0, 0.5, 0)
  425. RW.Part1=ch["Right Arm"]
  426. RW.Parent=ch.Torso
  427. --
  428. LW.Name="Left Shoulder"
  429. LW.Part0=ch.Torso
  430. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  431. LW.C1=cf(0, 0.5, 0)
  432. LW.Part1=ch["Left Arm"]
  433. LW.Parent=ch.Torso
  434.  
  435. local Stats=Instance.new("BoolValue")
  436. Stats.Name="Stats"
  437. Stats.Parent=Character
  438. local Atk=Instance.new("NumberValue")
  439. Atk.Name="Damage"
  440. Atk.Parent=Stats
  441. Atk.Value=1
  442. local Def=Instance.new("NumberValue")
  443. Def.Name="Defense"
  444. Def.Parent=Stats
  445. Def.Value=1
  446. local Speed=Instance.new("NumberValue")
  447. Speed.Name="Speed"
  448. Speed.Parent=Stats
  449. Speed.Value=1
  450. local Mvmt=Instance.new("NumberValue")
  451. Mvmt.Name="Movement"
  452. Mvmt.Parent=Stats
  453. Mvmt.Value=1
  454.  
  455. local donum=0
  456.  
  457.  
  458. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  459. local fp=it("Part")
  460. fp.formFactor=formfactor
  461. fp.Parent=parent
  462. fp.Reflectance=reflectance
  463. fp.Transparency=transparency
  464. fp.CanCollide=false
  465. fp.Locked=true
  466. fp.BrickColor=brickcolor
  467. fp.Name=name
  468. fp.Size=size
  469. fp.Position=Torso.Position
  470. NoOutline(fp)
  471. fp.Material="SmoothPlastic"
  472. fp:BreakJoints()
  473. return fp
  474. end
  475.  
  476. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  477. local mesh=it(Mesh)
  478. mesh.Parent=part
  479. if Mesh=="SpecialMesh" then
  480. mesh.MeshType=meshtype
  481. if meshid~="nil" then
  482. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  483. end
  484. end
  485. mesh.Offset=offset
  486. mesh.Scale=scale
  487. return mesh
  488. end
  489.  
  490. function weld(parent,part0,part1,c0)
  491. local weld=it("Weld")
  492. weld.Parent=parent
  493. weld.Part0=part0
  494. weld.Part1=part1
  495. weld.C0=c0
  496. return weld
  497. end
  498.  
  499. local Color1=Torso.BrickColor
  500.  
  501. local bodvel=Instance.new("BodyVelocity")
  502. local bg=Instance.new("BodyGyro")
  503.  
  504. function swait(num)
  505. if num==0 or num==nil then
  506. game:service'RunService'.Stepped:wait(0)
  507. else
  508. for i=0,num do
  509. game:service'RunService'.Stepped:wait(0)
  510. end
  511. end
  512. end
  513.  
  514.  
  515. so = function(id,par,vol,pit)
  516. coroutine.resume(coroutine.create(function()
  517. local sou = Instance.new("Sound",par or workspace)
  518. sou.Volume=vol
  519. sou.Pitch=pit or 1
  520. sou.SoundId=id
  521. swait()
  522. sou:play()
  523. game:GetService("Debris"):AddItem(sou,6)
  524. end))
  525. end
  526.  
  527. function clerp(a,b,t)
  528. local qa = {QuaternionFromCFrame(a)}
  529. local qb = {QuaternionFromCFrame(b)}
  530. local ax, ay, az = a.x, a.y, a.z
  531. local bx, by, bz = b.x, b.y, b.z
  532. local _t = 1-t
  533. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  534. end
  535.  
  536. function QuaternionFromCFrame(cf)
  537. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  538. local trace = m00 + m11 + m22
  539. if trace > 0 then
  540. local s = math.sqrt(1 + trace)
  541. local recip = 0.5/s
  542. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  543. else
  544. local i = 0
  545. if m11 > m00 then
  546. i = 1
  547. end
  548. if m22 > (i == 0 and m00 or m11) then
  549. i = 2
  550. end
  551. if i == 0 then
  552. local s = math.sqrt(m00-m11-m22+1)
  553. local recip = 0.5/s
  554. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  555. elseif i == 1 then
  556. local s = math.sqrt(m11-m22-m00+1)
  557. local recip = 0.5/s
  558. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  559. elseif i == 2 then
  560. local s = math.sqrt(m22-m00-m11+1)
  561. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  562. end
  563. end
  564. end
  565.  
  566. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  567. local xs, ys, zs = x + x, y + y, z + z
  568. local wx, wy, wz = w*xs, w*ys, w*zs
  569. local xx = x*xs
  570. local xy = x*ys
  571. local xz = x*zs
  572. local yy = y*ys
  573. local yz = y*zs
  574. local zz = z*zs
  575. 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))
  576. end
  577.  
  578. function QuaternionSlerp(a, b, t)
  579. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  580. local startInterp, finishInterp;
  581. if cosTheta >= 0.0001 then
  582. if (1 - cosTheta) > 0.0001 then
  583. local theta = math.acos(cosTheta)
  584. local invSinTheta = 1/math.sin(theta)
  585. startInterp = math.sin((1-t)*theta)*invSinTheta
  586. finishInterp = math.sin(t*theta)*invSinTheta
  587. else
  588. startInterp = 1-t
  589. finishInterp = t
  590. end
  591. else
  592. if (1+cosTheta) > 0.0001 then
  593. local theta = math.acos(-cosTheta)
  594. local invSinTheta = 1/math.sin(theta)
  595. startInterp = math.sin((t-1)*theta)*invSinTheta
  596. finishInterp = math.sin(t*theta)*invSinTheta
  597. else
  598. startInterp = t-1
  599. finishInterp = t
  600. end
  601. end
  602. 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
  603. end
  604.  
  605. local function CFrameFromTopBack(at, top, back)
  606. local right = top:Cross(back)
  607. return CFrame.new(at.x, at.y, at.z,
  608. right.x, top.x, back.x,
  609. right.y, top.y, back.y,
  610. right.z, top.z, back.z)
  611. end
  612.  
  613. function Triangle(a, b, c)
  614. local edg1 = (c-a):Dot((b-a).unit)
  615. local edg2 = (a-b):Dot((c-b).unit)
  616. local edg3 = (b-c):Dot((a-c).unit)
  617. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  618. a, b, c = a, b, c
  619. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  620. a, b, c = b, c, a
  621. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  622. a, b, c = c, a, b
  623. else
  624. assert(false, "unreachable")
  625. end
  626.  
  627. local len1 = (c-a):Dot((b-a).unit)
  628. local len2 = (b-a).magnitude - len1
  629. local width = (a + (b-a).unit*len1 - c).magnitude
  630.  
  631. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  632.  
  633. local list = {}
  634.  
  635. if len1 > 0.01 then
  636. local w1 = Instance.new('WedgePart', m)
  637. game:GetService("Debris"):AddItem(w1,5)
  638. w1.Material = "SmoothPlastic"
  639. w1.FormFactor = 'Custom'
  640. w1.BrickColor = BrickColor.new("Really red")
  641. w1.Transparency = 0
  642. w1.Reflectance = 0
  643. w1.Material = "SmoothPlastic"
  644. w1.CanCollide = false
  645. local l1 = Instance.new("PointLight",w1)
  646. l1.Color = Color3.new(170,0,0)
  647. NoOutline(w1)
  648. local sz = Vector3.new(0.2, width, len1)
  649. w1.Size = sz
  650. local sp = Instance.new("SpecialMesh",w1)
  651. sp.MeshType = "Wedge"
  652. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  653. w1:BreakJoints()
  654. w1.Anchored = true
  655. w1.Parent = workspace
  656. w1.Transparency = 0.7
  657. table.insert(Effects,{w1,"Disappear",.01})
  658. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  659. table.insert(list,w1)
  660. end
  661.  
  662. if len2 > 0.01 then
  663. local w2 = Instance.new('WedgePart', m)
  664. game:GetService("Debris"):AddItem(w2,5)
  665. w2.Material = "SmoothPlastic"
  666. w2.FormFactor = 'Custom'
  667. w2.BrickColor = BrickColor.new("Really red")
  668. w2.Transparency = 0
  669. w2.Reflectance = 0
  670. w2.Material = "SmoothPlastic"
  671. w2.CanCollide = false
  672. local l2 = Instance.new("PointLight",w2)
  673. l2.Color = Color3.new(170,0,0)
  674. NoOutline(w2)
  675. local sz = Vector3.new(0.2, width, len2)
  676. w2.Size = sz
  677. local sp = Instance.new("SpecialMesh",w2)
  678. sp.MeshType = "Wedge"
  679. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  680. w2:BreakJoints()
  681. w2.Anchored = true
  682. w2.Parent = workspace
  683. w2.Transparency = 0.7
  684. table.insert(Effects,{w2,"Disappear",.01})
  685. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  686. table.insert(list,w2)
  687. end
  688. return unpack(list)
  689. end
  690.  
  691.  
  692. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  693. if hit.Parent==nil then
  694. return
  695. end
  696. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  697. for _,v in pairs(hit.Parent:children()) do
  698. if v:IsA("Humanoid") then
  699. h=v
  700. end
  701. end
  702. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  703. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  704. end
  705. if hit.Parent.className=="Hat" then
  706. hit=hit.Parent.Parent:findFirstChild("Head")
  707. end
  708. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  709. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  710. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  711. return
  712. end]]
  713. -- hs(hit,1.2)
  714. c=Instance.new("ObjectValue")
  715. c.Name="creator"
  716. c.Value=game:service("Players").LocalPlayer
  717. c.Parent=h
  718. game:GetService("Debris"):AddItem(c,.5)
  719. Damage=math.random(minim,maxim)
  720. -- h:TakeDamage(Damage)
  721. blocked=false
  722. block=hit.Parent:findFirstChild("Block")
  723. if block~=nil then
  724. print(block.className)
  725. if block.className=="NumberValue" then
  726. if block.Value>0 then
  727. blocked=true
  728. if decreaseblock==nil then
  729. block.Value=block.Value-1
  730. end
  731. end
  732. end
  733. if block.className=="IntValue" then
  734. if block.Value>0 then
  735. blocked=true
  736. if decreaseblock~=nil then
  737. block.Value=block.Value-1
  738. end
  739. end
  740. end
  741. end
  742. if blocked==false then
  743. -- h:TakeDamage(Damage)
  744. h.Health=h.Health-Damage
  745. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  746. else
  747. h.Health=h.Health-(Damage/2)
  748. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  749. end
  750. if Type=="Knockdown" then
  751. hum=hit.Parent.Humanoid
  752. hum.PlatformStand=true
  753. coroutine.resume(coroutine.create(function(HHumanoid)
  754. swait(1)
  755. HHumanoid.PlatformStand=false
  756. end),hum)
  757. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  758. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  759. local bodvol=Instance.new("BodyVelocity")
  760. bodvol.velocity=angle*knockback
  761. bodvol.P=5000
  762. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  763. bodvol.Parent=hit
  764. rl=Instance.new("BodyAngularVelocity")
  765. rl.P=3000
  766. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  767. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  768. rl.Parent=hit
  769. game:GetService("Debris"):AddItem(bodvol,.5)
  770. game:GetService("Debris"):AddItem(rl,.5)
  771. elseif Type=="Normal" then
  772. bp=Instance.new("BodyVelocity")
  773. bp.P=100000
  774. bp.maxForce=Vector3.new(math.huge,0,math.huge)
  775. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  776. if KnockbackType==1 then
  777. bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  778. elseif KnockbackType==2 then
  779. bp.velocity=Property.CFrame.lookVector*knockback
  780. end
  781. if knockback>0 then
  782. bp.Parent=hit.Parent.Torso
  783.  
  784. end
  785. game:GetService("Debris"):AddItem(bp,.5)
  786. elseif Type=="Up" then
  787. local bodyVelocity=Instance.new("BodyVelocity")
  788. bodyVelocity.velocity=vt(0,60,0)
  789. bodyVelocity.P=5000
  790. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  791. bodyVelocity.Parent=hit
  792. game:GetService("Debris"):AddItem(bodyVelocity,1)
  793. rl=Instance.new("BodyAngularVelocity")
  794. rl.P=3000
  795. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  796. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  797. rl.Parent=hit
  798. game:GetService("Debris"):AddItem(rl,.5)
  799. elseif Type=="Snare" then
  800. bp=Instance.new("BodyPosition")
  801. bp.P=2000
  802. bp.D=100
  803. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  804. bp.position=hit.Parent.Torso.Position
  805. bp.Parent=hit.Parent.Torso
  806. game:GetService("Debris"):AddItem(bp,1)
  807. elseif Type=="Target" then
  808. if Targetting==false then
  809. ZTarget=hit.Parent.Torso
  810. coroutine.resume(coroutine.create(function(Part)
  811. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  812. swait(1)
  813. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  814. end),ZTarget)
  815. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  816. targetgui=Instance.new("BillboardGui")
  817. targetgui.Parent=ZTarget
  818. targetgui.Size=UDim2.new(10,100,10,100)
  819. targ=Instance.new("ImageLabel")
  820. targ.Parent=targetgui
  821. targ.BackgroundTransparency=1
  822. targ.Image="rbxassetid://4834067"
  823. targ.Size=UDim2.new(1,0,1,0)
  824. cam.CameraType="Scriptable"
  825. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  826. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  827. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  828. Targetting=true
  829. RocketTarget=ZTarget
  830. for i=1,Property do
  831. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  832. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  833. swait()
  834. end
  835. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  836. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  837. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  838. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  839. end
  840. Targetting=true
  841. RocketTarget=true
  842. targetgui.Parent=true
  843. cam.CameraType="Custom"
  844. end
  845. end
  846. debounce=Instance.new("BoolValue")
  847. debounce.Name="DebounceHit"
  848. debounce.Parent=hit.Parent
  849. debounce.Value=true
  850. game:GetService("Debris"):AddItem(debounce,Delay)
  851. c=Instance.new("ObjectValue")
  852. c.Name="creator"
  853. c.Value=Player
  854. c.Parent=h
  855. game:GetService("Debris"):AddItem(c,.5)
  856. CRIT=true
  857. hitDeb=true
  858. AttackPos=6
  859. end
  860. end
  861.  
  862. showDamage=function(Char,Dealt,du,Color)
  863. m=Instance.new("Model")
  864. m.Name=tostring(Dealt)
  865. h=Instance.new("Humanoid")
  866. h.Health=0
  867. h.MaxHealth=0
  868. h.Parent=m
  869. c=Instance.new("Part")
  870. c.Transparency=0
  871. c.BrickColor=Color
  872. c.Transparency = 1
  873. c.Name="Head"
  874. c.TopSurface=0
  875. c.BottomSurface=0
  876. c.formFactor="Plate"
  877. c.Size=Vector3.new(1,.4,1)
  878.  
  879. local txt = Instance.new("BillboardGui", c)
  880. txt.Adornee = c
  881. txt.Name = "_status"
  882. txt.Size = UDim2.new(2, 0, 1.2, 0)
  883. txt.StudsOffset = Vector3.new(-9, 8, 0)
  884. local text = Instance.new("TextLabel", txt)
  885. text.Size = UDim2.new(10, 0, 7, 0)
  886. text.FontSize = "Size12"
  887. text.TextScaled = true
  888. text.TextTransparency = 0.5
  889. text.BackgroundTransparency = 1
  890. text.TextTransparency = 0.5
  891. text.TextStrokeTransparency = 0.5
  892. text.Font = "SciFi"
  893. text.TextStrokeColor3 = Color3.new(0,0,0)
  894. v=Instance.new("Part")
  895. v.Name = "ColorBrick"
  896. v.Parent=c
  897. v.FormFactor="Symmetric"
  898. v.Anchored=true
  899. v.CanCollide=false
  900. v.BottomSurface="Smooth"
  901. v.TopSurface="Smooth"
  902. v.Size=Vector3.new(10,5,3)
  903. v.Transparency=1
  904. v.CFrame=c.CFrame
  905. v.BrickColor=BrickColor.random()
  906. v.Transparency=1
  907. text.TextColor3 = t.BrickColor.Color
  908. v.Shape="Block"
  909. text.Text = tostring(Dealt)
  910. ms=Instance.new("CylinderMesh")
  911. ms.Scale=Vector3.new(.8,.8,.8)
  912. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  913. local rndm=math.random(1,#hitsounds)
  914. local r=rndm
  915. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  916. if CRIT==true then
  917. ms.Scale=Vector3.new(1,1.25,1)
  918. end
  919. ms.Parent=c
  920. c.Reflectance=0
  921. Instance.new("BodyGyro").Parent=c
  922. c.Parent=m
  923. if Char:findFirstChild("Head")~=nil then
  924. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  925. elseif Char.Parent:findFirstChild("Head")~=nil then
  926. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  927. end
  928. f=Instance.new("BodyPosition")
  929. f.P=200000
  930. f.D=100
  931. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  932. f.position=c.Position+Vector3.new(0,3,0)
  933. f.Parent=c
  934. game:GetService("Debris"):AddItem(m,.5+du)
  935. c.CanCollide=false
  936. m.Parent=workspace
  937. c.CanCollide=false
  938. end
  939.  
  940. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  941. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  942. end
  943.  
  944. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  945. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  946. prt.Anchored=true
  947. prt.CFrame=cframe
  948. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  949. --http://www.roblox.com/asset/?id=4770560
  950. game:GetService("Debris"):AddItem(prt,2)
  951. CF=prt.CFrame
  952. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  953. for i=0,1,0.2 do
  954. wait()
  955. Part.CFrame=CF*cf(0,0,-0.4)
  956. end
  957. for i=0,1,delay do
  958. wait()
  959. --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)
  960. Mesh.Scale=Mesh.Scale
  961. end
  962. for i=0,1,0.1 do
  963. wait()
  964. Part.Transparency=i
  965. end
  966. Part.Parent=nil
  967. end),prt,msh,CF)
  968. end
  969.  
  970. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  971. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  972. prt.Anchored=true
  973. prt.Material = "Plastic"
  974. prt.CFrame=cframe
  975. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  976. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  977. game:GetService("Debris"):AddItem(prt,5)
  978. coroutine.resume(coroutine.create(function(Part,Mesh)
  979. for i=0,1,delay do
  980. swait()
  981. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  982. Part.Transparency=i
  983. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  984. end
  985. Part.Parent=nil
  986. end),prt,msh)
  987. end
  988.  
  989.  
  990.  
  991.  
  992. function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  993. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3))
  994. prt.Anchored=true
  995. prt.Material = "Neon"
  996. prt.CFrame=cframe
  997. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  998. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  999. game:GetService("Debris"):AddItem(prt,1)
  1000. coroutine.resume(coroutine.create(function(Part,Mesh)
  1001. for i=0,1,delay do
  1002. swait()
  1003. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1004. Part.Transparency=i
  1005. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1006. end
  1007. Part.Parent=nil
  1008. end),prt,msh)
  1009. end
  1010.  
  1011.  
  1012. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1013. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1014. prt.Anchored=true
  1015. prt.Material = "Neon"
  1016. prt.CFrame=cframe
  1017. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1018. game:GetService("Debris"):AddItem(prt,5)
  1019. coroutine.resume(coroutine.create(function(Part,Mesh)
  1020. local rtype = rottype
  1021. for i=0,1,delay do
  1022. swait()
  1023. if rtype == 1 then
  1024. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1025. elseif rtype == 2 then
  1026. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1027. end
  1028. Part.Transparency=i
  1029. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1030. end
  1031. Part.Parent=nil
  1032. end),prt,msh)
  1033. end
  1034.  
  1035. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1036. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1037. prt.Anchored=true
  1038. prt.CFrame=cframe
  1039. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1040. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1041. game:GetService("Debris"):AddItem(prt,5)
  1042. coroutine.resume(coroutine.create(function(Part,Mesh)
  1043. for i=0,1,delay do
  1044. wait()
  1045. Part.Transparency=i
  1046. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1047. end
  1048. Part.Parent=nil
  1049. end),prt,msh)
  1050. end
  1051.  
  1052. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1053. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1054. prt.Anchored=true
  1055. prt.Material = "Neon"
  1056. prt.CFrame=cframe
  1057. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1058. game:GetService("Debris"):AddItem(prt,5)
  1059. coroutine.resume(coroutine.create(function(Part,Mesh)
  1060. local rtype = rottype
  1061. for i=0,1,delay do
  1062. swait()
  1063. if rtype == 1 then
  1064. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1065. elseif rtype == 2 then
  1066. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1067. end
  1068. Part.Transparency=i
  1069. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1070. end
  1071. Part.Parent=nil
  1072. end),prt,msh)
  1073. end
  1074.  
  1075. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1076. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1077. prt.Anchored=true
  1078. prt.Material = "Neon"
  1079. prt.CFrame=cframe
  1080. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1081. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1082. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1083. game:GetService("Debris"):AddItem(prt,5)
  1084. coroutine.resume(coroutine.create(function(Part,Mesh)
  1085. local rtype = rottype
  1086. for i=0,1,delay do
  1087. swait()
  1088. if rtype == 1 then
  1089. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1090. elseif rtype == 2 then
  1091. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1092. end
  1093. dec.Transparency=i
  1094. dec2.Transparency=i
  1095. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1096. end
  1097. Part.Parent=nil
  1098. end),prt,msh)
  1099. end
  1100.  
  1101. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1102. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1103. prt.Anchored=true
  1104. prt.Material = "Neon"
  1105. prt.CFrame=cframe
  1106. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1107. game:GetService("Debris"):AddItem(prt,5)
  1108. coroutine.resume(coroutine.create(function(Part,Mesh)
  1109. local rtype = rottype
  1110. for i=0,1,delay do
  1111. swait()
  1112. if rtype == 1 then
  1113. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1114. elseif rtype == 2 then
  1115. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1116. end
  1117. prt.Transparency=i
  1118. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1119. end
  1120. Part.Parent=nil
  1121. end),prt,msh)
  1122. end
  1123.  
  1124. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1125. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1126. prt.Anchored=true
  1127. prt.Material = "Neon"
  1128. prt.CFrame=cframe
  1129. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1130. game:GetService("Debris"):AddItem(prt,5)
  1131. coroutine.resume(coroutine.create(function(Part,Mesh)
  1132. local rtype = rottype
  1133. for i=0,1,delay do
  1134. swait()
  1135. if rtype == 1 then
  1136. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1137. elseif rtype == 2 then
  1138. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1139. end
  1140. prt.Transparency=i
  1141. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1142. end
  1143. Part.Parent=nil
  1144. end),prt,msh)
  1145. end
  1146.  
  1147. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1148. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1149. prt.Anchored=true
  1150. prt.Material = "Neon"
  1151. prt.CFrame=cframe
  1152. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1153. game:GetService("Debris"):AddItem(prt,5)
  1154. coroutine.resume(coroutine.create(function(Part,Mesh)
  1155. local rtype = rottype
  1156. for i=0,1,delay do
  1157. swait()
  1158. if rtype == 1 then
  1159. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1160. elseif rtype == 2 then
  1161. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1162. end
  1163. prt.Transparency=i
  1164. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1165. end
  1166. Part.Parent=nil
  1167. end),prt,msh)
  1168. end
  1169.  
  1170. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1171. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1172. prt.Material = "Neon"
  1173. prt.Anchored=true
  1174. prt.CFrame=cframe
  1175. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1176. local wld=weld(prt,prt,Parent,cframe)
  1177. game:GetService("Debris"):AddItem(prt,5)
  1178. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1179. for i=0,1,delay do
  1180. wait()
  1181. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1182. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1183. Part.Transparency=i
  1184. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1185. end
  1186. Part.Parent=nil
  1187. end),prt,msh,wld)
  1188. end
  1189.  
  1190. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1191. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1192. prt.Anchored=false
  1193. prt.CFrame=cframe
  1194. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1195. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1196. game:GetService("Debris"):AddItem(prt,5)
  1197. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1198. for i=0,1,delay do
  1199. wait()
  1200. Weld.C0=euler(i*20,0,0)
  1201. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1202. Part.Transparency=i
  1203. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1204. end
  1205. Part.Parent=nil
  1206. end),prt,msh,wld)
  1207. end
  1208.  
  1209. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1210. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1211. prt.Anchored=true
  1212. prt.CFrame=cframe
  1213. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1214. game:GetService("Debris"):AddItem(prt,2)
  1215. coroutine.resume(coroutine.create(function(Part,Mesh)
  1216. for i=0,1,delay do
  1217. wait()
  1218. Part.CFrame=Part.CFrame
  1219. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1220. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1221. prt2.Anchored=true
  1222. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1223. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1224. game:GetService("Debris"):AddItem(prt2,2)
  1225. coroutine.resume(coroutine.create(function(Part,Mesh)
  1226. for i=0,1,0.1 do
  1227. wait()
  1228. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1229. end
  1230. Part.Parent=nil
  1231. end),prt2,msh2)
  1232. end
  1233. for i=0,1,delay*2 do
  1234. wait()
  1235. Part.CFrame=Part.CFrame
  1236. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1237. end
  1238. Part.Parent=nil
  1239. end),prt,msh)
  1240. end
  1241.  
  1242. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1243. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1244. prt.Anchored=true
  1245. prt.CFrame=cframe
  1246. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1247. game:GetService("Debris"):AddItem(prt,2)
  1248. coroutine.resume(coroutine.create(function(Part,Mesh)
  1249. for i=0,1,delay do
  1250. wait()
  1251. Part.CFrame=Part.CFrame
  1252. Part.Transparency=i
  1253. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1254. end
  1255. Part.Parent=nil
  1256. end),prt,msh)
  1257. end
  1258.  
  1259. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1260. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1261. prt.Anchored=true
  1262. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1263. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1264. game:GetService("Debris"):AddItem(prt,2)
  1265. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1266. CF=Part.CFrame
  1267. Numbb=0
  1268. randnumb=math.random()/10
  1269. rand1=math.random()/10
  1270. for i=0,1,rand1 do
  1271. wait()
  1272. CF=CF*cf(0,math.random()/2,0)
  1273. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1274. Part.CFrame=CF*euler(Numbb,0,0)
  1275. Part.Transparency=i
  1276. Numbb=Numbb+randnumb
  1277. end
  1278. Part.Parent=nil
  1279. end),prt,CF,Numbb,randnumb)
  1280. end
  1281.  
  1282. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1283. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1284. prt.Anchored=true
  1285. prt.CFrame=cframe
  1286. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1287. game:GetService("Debris"):AddItem(prt,5)
  1288. coroutine.resume(coroutine.create(function(Part,Mesh)
  1289. for i=0,1,delay do
  1290. wait()
  1291. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1292. Part.Transparency=i
  1293. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1294. end
  1295. Part.Parent=nil
  1296. end),prt,msh)
  1297. end
  1298.  
  1299. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1300. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1301. prt.Anchored=true
  1302. prt.CFrame=cframe
  1303. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1304. game:GetService("Debris"):AddItem(prt,2)
  1305. coroutine.resume(coroutine.create(function(Part,Mesh)
  1306. for i=0,1,delay do
  1307. wait()
  1308. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1309. Part.Transparency=i
  1310. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1311. end
  1312. Part.Parent=nil
  1313. end),prt,msh)
  1314. end
  1315.  
  1316. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1317. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1318. prt.Anchored=true
  1319. prt.CFrame=cframe*cf(x,y,z)
  1320. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1321. game:GetService("Debris"):AddItem(prt,5)
  1322. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1323. local num=math.random()
  1324. local num2=math.random(-3,2)+math.random()
  1325. local numm=0
  1326. for i=0,1,delay*2 do
  1327. swait()
  1328. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1329. Part.Transparency=i
  1330. numm=numm+0.01
  1331. end
  1332. Part.Parent=nil
  1333. Mesh.Parent=nil
  1334. end),prt,msh,x,y,z)
  1335. end
  1336.  
  1337. function dmgstart(dmg,what)
  1338. hitcon = what.Touched:connect(function(hit)
  1339. local hum = hit.Parent:FindFirstChild("Humanoid")
  1340. if hum and not hum:IsDescendantOf(Character) then
  1341. hum:TakeDamage(dmg)
  1342. end
  1343. end)
  1344. end
  1345.  
  1346. function dmgstop()
  1347. hitcon:disconnect()
  1348. end
  1349.  
  1350. function Cloak()
  1351. Face.Parent=nil
  1352. cloaked=true
  1353. for _,v in pairs(Torso.Parent:children()) do
  1354. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1355. coroutine.resume(coroutine.create(function()
  1356. for i=0,1,0.2 do
  1357. wait()
  1358. v.Transparency=i
  1359. end
  1360. v.Transparency=1
  1361. end))
  1362. end
  1363. if v.className=="Hat" then
  1364. hatp=v.Handle
  1365. coroutine.resume(coroutine.create(function(derp)
  1366. for i=0,1,0.2 do
  1367. wait()
  1368. derp.Transparency=i
  1369. end
  1370. derp.Transparency=1
  1371. end),hatp)
  1372. end
  1373. end
  1374. for _,v in pairs(m:children()) do
  1375. if v.className=="Part" then
  1376. coroutine.resume(coroutine.create(function()
  1377. for i=0,1,0.2 do
  1378. wait()
  1379. v.Transparency=i
  1380. end
  1381. v.Transparency=1
  1382. end))
  1383. end
  1384. end
  1385. end
  1386.  
  1387. function UnCloak()
  1388. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1389. Face.Parent=Head
  1390. cloaked=false
  1391. for _,v in pairs(Torso.Parent:children()) do
  1392. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1393. coroutine.resume(coroutine.create(function()
  1394. for i=0,1,0.1 do
  1395. wait()
  1396. v.Transparency=v.Transparency-0.1
  1397. end
  1398. v.Transparency=0
  1399. end))
  1400. end
  1401. if v.className=="Hat" then
  1402. hatp=v.Handle
  1403. coroutine.resume(coroutine.create(function(derp)
  1404. for i=0,1,0.1 do
  1405. wait()
  1406. derp.Transparency=derp.Transparency-0.1
  1407. end
  1408. derp.Transparency=0
  1409. end),hatp)
  1410. end
  1411. end
  1412. for _,v in pairs(m:children()) do
  1413. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1414. coroutine.resume(coroutine.create(function()
  1415. for i=0,1,0.1 do
  1416. wait()
  1417. v.Transparency=v.Transparency-0.1
  1418. end
  1419. v.Transparency=0
  1420. end))
  1421. v.Transparency=0
  1422. end
  1423. end
  1424. end
  1425.  
  1426. local jumped = false
  1427. function jump()
  1428. attack = true
  1429. jumped = true
  1430. hum.WalkSpeed = 0
  1431. MagicBlock(bc("White"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1432. CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7)
  1433. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  1434. for i = 0,15,0.1 do
  1435. swait()
  1436. MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1437. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1438. RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05)
  1439. 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(15)),.05)
  1440. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05)
  1441. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05)
  1442. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1443. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1444. lig = Instance.new("PointLight",player.Character.Torso)
  1445. lig.Color=Color3.new(255,0,0)
  1446. lig.Range = 10
  1447. end
  1448. local bv = Instance.new("BodyVelocity")
  1449. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1450. bv.velocity = Vector3.new(0,500,0)
  1451. bv.Parent = root
  1452. game:GetService("Debris"):AddItem(bv, 0.5)
  1453. local rng = Instance.new("Part", char)
  1454. rng.Anchored = true
  1455. rng.BrickColor = BrickColor.new("Neon orange")
  1456. rng.CanCollide = false
  1457. rng.FormFactor = 3
  1458. rng.Name = "Ring"
  1459. rng.Size = Vector3.new(1, 1, 1)
  1460. rng.Transparency = 0
  1461. rng.TopSurface = 0
  1462. rng.BottomSurface = 0
  1463. rng.Position = root.Position
  1464. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1465. local rngm = Instance.new("SpecialMesh", rng)
  1466. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1467. local rng2 = rng:Clone()
  1468. rng2.Parent = char
  1469. local rng2m = rng2.Mesh
  1470. local rng3 = rng:Clone()
  1471. rng3.Parent = char
  1472. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1473. local rng3m = rng3.Mesh
  1474. local rng4 = rng:Clone()
  1475. rng4.Parent = char
  1476. local rng4m = rng4.Mesh
  1477. local rng5 = rng:Clone()
  1478. rng5.Parent = char
  1479. rng5.BrickColor = BrickColor.new("Dark stone grey")
  1480. local rng5m = rng5.Mesh
  1481. CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
  1482. wait()
  1483. local scaler = 10
  1484. local scaler2 = 10
  1485. game:GetService("Debris"):AddItem(bv, 2.4)
  1486. hum.WalkSpeed = 50
  1487. MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015)
  1488. for i = 0,10,0.1 do
  1489. swait()
  1490. rng.Transparency = rng.Transparency + 0.01
  1491. rng2.Transparency = rng2.Transparency + 0.01
  1492. rng3.Transparency = rng3.Transparency + 0.01
  1493. rng4.Transparency = rng4.Transparency + 0.01
  1494. rng5.Transparency = rng5.Transparency + 0.01
  1495. scaler = scaler - 0.125
  1496. scaler2 = scaler2 - 0.1
  1497. rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
  1498. rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
  1499. rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
  1500. rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
  1501. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1502. 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)
  1503. 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)
  1504. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
  1505. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
  1506. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1507. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
  1508. end
  1509. game:GetService("Debris"):AddItem(rng, 0.1)
  1510. game:GetService("Debris"):AddItem(rng2, 0.1)
  1511. game:GetService("Debris"):AddItem(rng3, 0.1)
  1512. game:GetService("Debris"):AddItem(rng4, 0.1)
  1513. game:GetService("Debris"):AddItem(rng5, 0.1)
  1514. hum.WalkSpeed = 16
  1515. attack = false
  1516. jumped = false
  1517. end
  1518.  
  1519. function dash()
  1520. attack = true
  1521. jumped = true
  1522. hum.WalkSpeed = 16
  1523. killbrick = Instance.new("Part",char)
  1524. killbrick.Size = Vector3.new(1,1,1)
  1525. killbrick.Transparency = 1
  1526. killbrick:BreakJoints()
  1527. killbrick.CanCollide = false
  1528. local wel = Instance.new("Weld",killbrick)
  1529. wel.Part0 = killbrick
  1530. wel.Part1 = char["Left Arm"]
  1531. wel.C0 = CFrame.new(0,1,0)
  1532. local bv = Instance.new("BodyVelocity")
  1533. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1534. bv.velocity = root.CFrame.lookVector*150
  1535. bv.Parent = root
  1536. char.Head.face.Texture = "rbxassetid://339564938"
  1537. game:GetService("Debris"):AddItem(bv, 1)
  1538. local rng = Instance.new("Part", char)
  1539. rng.Anchored = true
  1540. rng.BrickColor = BrickColor.new("Neon orange")
  1541. rng.CanCollide = false
  1542. rng.FormFactor = 3
  1543. rng.Name = "Ring"
  1544. rng.Size = Vector3.new(1, 1, 1)
  1545. rng.Transparency = 0
  1546. rng.TopSurface = 0
  1547. rng.BottomSurface = 0
  1548. rng.CFrame = root.CFrame
  1549. local rngm = Instance.new("SpecialMesh", rng)
  1550. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1551. local rng2 = rng:Clone()
  1552. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1553. rng2.Parent = char
  1554. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1555. local rng2m = rng2.Mesh
  1556. local rng3 = rng:Clone()
  1557. rng3.Parent = char
  1558. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1559. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1560. local rng3m = rng3.Mesh
  1561. local rng4 = rng:Clone()
  1562. rng4.Parent = char
  1563. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1564. local rng4m = rng4.Mesh
  1565. local rng5 = rng:Clone()
  1566. rng5.Parent = char
  1567. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1568. local rng5m = rng5.Mesh
  1569. local rng6 = rng:Clone()
  1570. rng6.Material = "Neon"
  1571. rng6.CanCollide = false
  1572. rng6.BrickColor = BrickColor.new("Neon orange")
  1573. rng6.Parent = LeftLeg
  1574. local rng6m = rng6.Mesh
  1575. rng6m.Scale = vt(1,1,1)
  1576. rng6m.MeshType = "Sphere"
  1577. local rng7 = rng:Clone()
  1578. rng7.Material = "Plastic"
  1579. rng7.CanCollide = false
  1580. rng7.BrickColor = BrickColor.new("Bright red")
  1581. rng7.Parent = LeftLeg
  1582. local rng7m = rng7.Mesh
  1583. rng7m.Scale = vt(1,1,1)
  1584. rng7m.MeshType = "Sphere"
  1585. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1586. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1587. wait()
  1588. local scaler = 10/5
  1589. local scaler2 = 10/5
  1590. local hit = rng6.Touched:connect(function(hit)
  1591. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1592. end)
  1593. for i = 0,10,0.1 do
  1594. swait()
  1595. rng.Transparency = rng.Transparency + 0.01
  1596. rng2.Transparency = rng2.Transparency + 0.01
  1597. rng3.Transparency = rng3.Transparency + 0.01
  1598. rng4.Transparency = rng4.Transparency + 0.01
  1599. rng5.Transparency = rng5.Transparency + 0.01
  1600. rng6.Transparency = rng5.Transparency + 0.001
  1601. rng7.Transparency = rng5.Transparency + 0.001
  1602. scaler = scaler - 0.125/5
  1603. scaler2 = scaler2 - 0.1/5
  1604. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1605. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1606. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1607. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1608. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1609. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1610. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1611. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1612. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1613. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1615. rng6.CFrame = rng3.CFrame
  1616. rng7.CFrame = rng3.CFrame
  1617. end
  1618. game:GetService("Debris"):AddItem(rng, 0.1)
  1619. game:GetService("Debris"):AddItem(rng2, 0.1)
  1620. game:GetService("Debris"):AddItem(rng3, 0.1)
  1621. game:GetService("Debris"):AddItem(rng4, 0.1)
  1622. game:GetService("Debris"):AddItem(rng5, 0.1)
  1623. hum.WalkSpeed = 50
  1624. hit:disconnect()
  1625. attack = false
  1626. killbrick:Destroy()
  1627. char.Head.face.Texture = "rbxassetid://332768867"
  1628. jumped = false
  1629. end
  1630.  
  1631.  
  1632.  
  1633. function daash()
  1634. attack = false
  1635. jumped = false
  1636. hum.WalkSpeed = 50
  1637. local bv = Instance.new("BodyVelocity")
  1638. bv.maxForce = Vector3.new(6000,6000,6000)
  1639. bv.velocity = root.CFrame.lookVector*150
  1640. bv.Parent = root
  1641. char.Head.face.Texture = "rbxassetid://339564938"
  1642. game:GetService("Debris"):AddItem(bv, 1)
  1643. local rng = Instance.new("Part", char)
  1644. rng.Anchored = true
  1645. rng.BrickColor = BrickColor.new("White")
  1646. rng.CanCollide = false
  1647. rng.FormFactor = 3
  1648. rng.Name = "Ring"
  1649. rng.Size = Vector3.new(1, 1, 1)
  1650. rng.Transparency = 0
  1651. rng.TopSurface = 0
  1652. rng.BottomSurface = 0
  1653. rng.CFrame = root.CFrame
  1654. local rngm = Instance.new("SpecialMesh", rng)
  1655. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1656. local rng2 = rng:Clone()
  1657. rng2.BrickColor = BrickColor.new("White")
  1658. rng2.Parent = char
  1659. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1660. local rng2m = rng2.Mesh
  1661.  
  1662. local rng5m = rng.Mesh
  1663. CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
  1664. wait()
  1665. local scaler = 10/5
  1666. local scaler2 = 10/5
  1667. local hit = rng.Touched:connect(function(hit)
  1668. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1669. end)
  1670. for i = 0,10,0.1 do
  1671. swait()
  1672. MagicBlockDash(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1673. MagicBlockDash(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1674. rng.Transparency = rng.Transparency + 0.01
  1675. rng2.Transparency = rng2.Transparency + 0.01
  1676.  
  1677.  
  1678. scaler = scaler - 0.125/5
  1679. scaler2 = scaler2 - 0.125/5
  1680. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0)
  1681.  
  1682.  
  1683. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1684.  
  1685. end
  1686. game:GetService("Debris"):AddItem(rng, 0.1)
  1687. game:GetService("Debris"):AddItem(rng2, 0.1)
  1688. hum.WalkSpeed = 50
  1689. hit:disconnect()
  1690. attack = false
  1691. char.Head.face.Texture = "rbxassetid://332768867"
  1692. jumped = false
  1693. end
  1694.  
  1695.  
  1696.  
  1697. function dashh()
  1698. attack = true
  1699. jumped = true
  1700. hum.WalkSpeed = 50
  1701. local BV = Instance.new("BodyVelocity")
  1702. BV = Instance.new("BodyVelocity", tors)
  1703. BV.maxForce = Vector3.new(0,10000,0)
  1704. BV.P = 1000
  1705. BV.velocity = Vector3.new(0,800,0)
  1706. char.Head.face.Texture = "rbxassetid://339564938"
  1707. game:GetService("Debris"):AddItem(BV, 1)
  1708. local rng = Instance.new("Part", char)
  1709. rng.Anchored = true
  1710. rng.BrickColor = BrickColor.new("Neon orange")
  1711. rng.CanCollide = false
  1712. rng.FormFactor = 3
  1713. rng.Name = "Ring"
  1714. rng.Size = Vector3.new(1, 1, 1)
  1715. rng.Transparency = 0
  1716. rng.TopSurface = 0
  1717. rng.BottomSurface = 0
  1718. rng.CFrame = root.CFrame
  1719. local rngm = Instance.new("SpecialMesh", rng)
  1720. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1721. local rng2 = rng:Clone()
  1722. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1723. rng2.Parent = char
  1724. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1725. local rng2m = rng2.Mesh
  1726. local rng3 = rng:Clone()
  1727. rng3.Parent = char
  1728. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1729. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1730. local rng3m = rng3.Mesh
  1731. local rng4 = rng:Clone()
  1732. rng4.Parent = char
  1733. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1734. local rng4m = rng4.Mesh
  1735. local rng5 = rng:Clone()
  1736. rng5.Parent = char
  1737. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1738. local rng5m = rng5.Mesh
  1739. local rng6 = rng:Clone()
  1740. rng6.Material = "Neon"
  1741. rng6.CanCollide = false
  1742. rng6.BrickColor = BrickColor.new("Neon orange")
  1743. rng6.Parent = LeftLeg
  1744. local rng6m = rng6.Mesh
  1745. rng6m.Scale = vt(1,1,1)
  1746. rng6m.MeshType = "Sphere"
  1747. local rng7 = rng:Clone()
  1748. rng7.Material = "Plastic"
  1749. rng7.CanCollide = false
  1750. rng7.BrickColor = BrickColor.new("Bright red")
  1751. rng7.Parent = LeftLeg
  1752. local rng7m = rng7.Mesh
  1753. rng7m.Scale = vt(1,1,1)
  1754. rng7m.MeshType = "Sphere"
  1755. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1756. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1757. wait()
  1758. local scaler = 10/5
  1759. local scaler2 = 10/5
  1760. local hit = rng6.Touched:connect(function(hit)
  1761. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1762. end)
  1763. for i = 0,10,0.1 do
  1764. swait()
  1765. MagicBlock(bc("Neon orange"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1766. MagicBlock(bc("Dark stone grey"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1767. rng.Transparency = rng.Transparency + 0.01
  1768. rng2.Transparency = rng2.Transparency + 0.01
  1769. rng3.Transparency = rng3.Transparency + 0.01
  1770. rng4.Transparency = rng4.Transparency + 0.01
  1771. rng5.Transparency = rng5.Transparency + 0.01
  1772. rng6.Transparency = rng5.Transparency + 0.001
  1773. rng7.Transparency = rng5.Transparency + 0.001
  1774. scaler = scaler - 0.125/5
  1775. scaler2 = scaler2 - 0.1/5
  1776. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1777. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1778. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1779. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1780. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1781. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1782. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1783. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1784. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1785. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1786. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1787. rng6.CFrame = rng3.CFrame
  1788. rng7.CFrame = rng3.CFrame
  1789. end
  1790. game:GetService("Debris"):AddItem(rng, 0.1)
  1791. game:GetService("Debris"):AddItem(rng2, 0.1)
  1792. game:GetService("Debris"):AddItem(rng3, 0.1)
  1793. game:GetService("Debris"):AddItem(rng4, 0.1)
  1794. game:GetService("Debris"):AddItem(rng5, 0.1)
  1795. hum.WalkSpeed = 50
  1796. hit:disconnect()
  1797. attack = false
  1798. char.Head.face.Texture = "rbxassetid://332768867"
  1799. jumped = false
  1800. end
  1801.  
  1802.  
  1803. function dashs()
  1804. attack = true
  1805. jumped = true
  1806. hum.WalkSpeed = 50
  1807. local bv = Instance.new("BodyVelocity")
  1808. bv.maxForce = Vector3.new(0, 0, 0)
  1809. bv.velocity = root.CFrame.lookVector*150
  1810. bv.Parent = root
  1811. char.Head.face.Texture = "rbxassetid://339564938"
  1812. game:GetService("Debris"):AddItem(bv, 1)
  1813. local rng = Instance.new("Part", char)
  1814. rng.Anchored = true
  1815. rng.BrickColor = BrickColor.new("Neon orange")
  1816. rng.CanCollide = false
  1817. rng.FormFactor = 3
  1818. rng.Name = "Ring"
  1819. rng.Size = Vector3.new(1, 1, 1)
  1820. rng.Transparency = 0
  1821. rng.TopSurface = 0
  1822. rng.BottomSurface = 0
  1823. rng.CFrame = root.CFrame
  1824. local rngm = Instance.new("SpecialMesh", rng)
  1825. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1826. local rng2 = rng:Clone()
  1827. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1828. rng2.Parent = char
  1829. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1830. local rng2m = rng2.Mesh
  1831. local rng3 = rng:Clone()
  1832. rng3.Parent = char
  1833. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1834. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1835. local rng3m = rng3.Mesh
  1836. local rng4 = rng:Clone()
  1837. rng4.Parent = char
  1838. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1839. local rng4m = rng4.Mesh
  1840. local rng5 = rng:Clone()
  1841. rng5.Parent = char
  1842. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1843. local rng5m = rng5.Mesh
  1844. local rng6 = rng:Clone()
  1845. rng6.Material = "Neon"
  1846. rng6.CanCollide = false
  1847. rng6.BrickColor = BrickColor.new("Neon orange")
  1848. rng6.Parent = LeftLeg
  1849. local rng6m = rng6.Mesh
  1850. rng6m.Scale = vt(1,1,1)
  1851. rng6m.MeshType = "Sphere"
  1852. local rng7 = rng:Clone()
  1853. rng7.Material = "Plastic"
  1854. rng7.CanCollide = false
  1855. rng7.BrickColor = BrickColor.new("Bright red")
  1856. rng7.Parent = LeftLeg
  1857. local rng7m = rng7.Mesh
  1858. rng7m.Scale = vt(1,1,1)
  1859. rng7m.MeshType = "Sphere"
  1860. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1861. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1862. wait()
  1863. local scaler = 10/5
  1864. local scaler2 = 10/5
  1865. local hit = rng6.Touched:connect(function(hit)
  1866. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  1867. end)
  1868. for i = 0,10,0.1 do
  1869. swait()
  1870. rng.Transparency = rng.Transparency + 0.01
  1871. rng2.Transparency = rng2.Transparency + 0.01
  1872. rng3.Transparency = rng3.Transparency + 0.01
  1873. rng4.Transparency = rng4.Transparency + 0.01
  1874. rng5.Transparency = rng5.Transparency + 0.01
  1875. rng6.Transparency = rng5.Transparency + 0.001
  1876. rng7.Transparency = rng5.Transparency + 0.001
  1877. scaler = scaler - 0.125/5
  1878. scaler2 = scaler2 - 0.1/5
  1879. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1880. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1881. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1882. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1883. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5)
  1884. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3)
  1885. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1886. 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)
  1887. 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)
  1888. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  1889. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  1890. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1891. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  1892. rng6.CFrame = rng3.CFrame
  1893. rng7.CFrame = rng3.CFrame
  1894. end
  1895. game:GetService("Debris"):AddItem(rng, 0.1)
  1896. game:GetService("Debris"):AddItem(rng2, 0.1)
  1897. game:GetService("Debris"):AddItem(rng3, 0.1)
  1898. game:GetService("Debris"):AddItem(rng4, 0.1)
  1899. game:GetService("Debris"):AddItem(rng5, 0.1)
  1900. hum.WalkSpeed = 16
  1901. hit:disconnect()
  1902. attack = false
  1903. char.Head.face.Texture = "rbxassetid://332768867"
  1904. jumped = false
  1905. end
  1906.  
  1907.  
  1908.  
  1909.  
  1910.  
  1911. function punch()
  1912. attack = true
  1913. jumped = true
  1914. hum.WalkSpeed = 50
  1915. killbrick = Instance.new("Part",rarm)
  1916. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  1917. killbrick.Transparency = 1
  1918. killbrick:BreakJoints()
  1919. killbrick.CanCollide = false
  1920. killbrick.Anchored = true
  1921. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  1922. lig = Instance.new("PointLight",player.Character.Torso)
  1923. lig.Color=Color3.new(255,0,0)
  1924. lig.Range = 20
  1925. local bv = Instance.new("BodyVelocity")
  1926. bv.maxForce = Vector3.new(1,1,1)
  1927. bv.velocity = root.CFrame.lookVector*150
  1928. bv.Parent = root
  1929. char.Head.face.Texture = "rbxassetid://126198982"
  1930. game:GetService("Debris"):AddItem(bv, 1)
  1931. local rng = Instance.new("Part", char)
  1932. rng.Anchored = true
  1933. rng.BrickColor = BrickColor.new("Neon orange")
  1934. rng.CanCollide = false
  1935. rng.FormFactor = 3
  1936. rng.Name = "Ring"
  1937. rng.Size = Vector3.new(1, 1, 1)
  1938. rng.Transparency = 0
  1939. rng.TopSurface = 0
  1940. rng.BottomSurface = 0
  1941. rng.CFrame = root.CFrame
  1942. local rngm = Instance.new("SpecialMesh", rng)
  1943. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1944. local rng2 = rng:Clone()
  1945. rng2.BrickColor = BrickColor.new("Dark stone grey")
  1946. rng2.Parent = char
  1947. rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1948. local rng2m = rng2.Mesh
  1949. local rng3 = rng:Clone()
  1950. rng3.Parent = char
  1951. rng3.BrickColor = BrickColor.new("Dark stone grey")
  1952. rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1953. local rng3m = Instance.new("SpecialMesh", rng3)
  1954. rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722"
  1955. local rng4 = rng:Clone()
  1956. rng4.Parent = char
  1957. rng4.BrickColor = BrickColor.new("Dark stone grey")
  1958. rng4.CFrame = root.CFrame + root.CFrame.lookVector*12
  1959. local rng4m = rng4.Mesh
  1960. local rng5 = rng:Clone()
  1961. rng5.Parent = char
  1962. rng5.BrickColor = BrickColor.new("Dark stone grey")
  1963. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  1964. local rng5m = rng5.Mesh
  1965. local rng6 = rng:Clone()
  1966. rng6.Material = "Neon"
  1967. rng6.CanCollide = false
  1968. rng6.BrickColor = BrickColor.new("Neon orange")
  1969. rng6.Parent = LeftLeg
  1970. local rng6m = rng6.Mesh
  1971. rng6m.Scale = vt(1,1,1)
  1972. rng6m.MeshType = "Sphere"
  1973. local rng7 = rng:Clone()
  1974. rng7.Material = "Plastic"
  1975. rng7.CanCollide = false
  1976. rng7.BrickColor = BrickColor.new("Bright red")
  1977. rng7.Parent = LeftLeg
  1978. local rng7m = rng7.Mesh
  1979. rng7m.Scale = vt(1,1,1)
  1980. rng7m.MeshType = "Sphere"
  1981. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  1982. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  1983. wait()
  1984. local scaler = 10/5
  1985. local scaler2 = 10/5
  1986. local hit = rng6.Touched:connect(function(hit)
  1987. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  1988. CRIT=true
  1989. end)
  1990. for i = 0,10,0.1 do
  1991. swait()
  1992. rng.Transparency = rng.Transparency + 0.01
  1993. rng2.Transparency = rng2.Transparency + 0.01
  1994. rng3.Transparency = rng3.Transparency + 0.01
  1995. rng4.Transparency = rng4.Transparency + 0.01
  1996. rng5.Transparency = rng5.Transparency + 0.01
  1997. rng6.Transparency = rng5.Transparency + 0.001
  1998. rng7.Transparency = rng5.Transparency + 0.001
  1999. scaler = scaler - 0.125/5
  2000. scaler2 = scaler2 - 0.1/5
  2001. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2002. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/7.5, scaler2/7.5, 0)
  2003. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2004. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2005. rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2)
  2006. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2007. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2008. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2009. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2010. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2011. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2012. rng6.CFrame = killbrick.CFrame
  2013. rng7.CFrame = killbrick.CFrame
  2014. end
  2015. game:GetService("Debris"):AddItem(rng, 0.1)
  2016. game:GetService("Debris"):AddItem(rng2, 0.1)
  2017. game:GetService("Debris"):AddItem(rng3, 0.1)
  2018. game:GetService("Debris"):AddItem(rng4, 0.1)
  2019. game:GetService("Debris"):AddItem(rng5, 0.1)
  2020. hum.WalkSpeed = 50
  2021. hit:disconnect()
  2022. attack = false
  2023. killbrick:Destroy()
  2024. char.Head.face.Texture = "rbxassetid://332768867"
  2025. jumped = false
  2026. lig:Remove()
  2027. end
  2028.  
  2029.  
  2030.  
  2031.  
  2032. function punchd()
  2033. attack = true
  2034. jumped = true
  2035. hum.WalkSpeed = 50
  2036. killbrick = Instance.new("Part",rarm)
  2037. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2038. killbrick.Transparency = 1
  2039. killbrick:BreakJoints()
  2040. killbrick.CanCollide = false
  2041. killbrick.Anchored = true
  2042. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2043. lig = Instance.new("PointLight",player.Character.Torso)
  2044. lig.Color=Color3.new(255,0,0)
  2045. lig.Range = 20
  2046. local bv = Instance.new("BodyVelocity")
  2047. bv.maxForce = Vector3.new(1,1,1)
  2048. bv.velocity = root.CFrame.lookVector*150
  2049. bv.Parent = root
  2050. char.Head.face.Texture = "rbxassetid://339564938"
  2051. game:GetService("Debris"):AddItem(bv, 1)
  2052. local rng = Instance.new("Part", char)
  2053. rng.Anchored = true
  2054. rng.BrickColor = BrickColor.new("Neon orange")
  2055. rng.CanCollide = false
  2056. rng.FormFactor = 3
  2057. rng.Name = "Ring"
  2058. rng.Size = Vector3.new(1, 1, 1)
  2059. rng.Transparency = 0
  2060. rng.TopSurface = 0
  2061. rng.BottomSurface = 0
  2062. rng.CFrame = root.CFrame
  2063. local rngm = Instance.new("SpecialMesh", rng)
  2064. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2065. local rng2 = rng:Clone()
  2066. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2067. rng2.Parent = char
  2068. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2069. local rng2m = rng2.Mesh
  2070. local rng3 = rng:Clone()
  2071. rng3.Parent = char
  2072. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2073. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2074. local rng3m = rng3.Mesh
  2075. local rng4 = rng:Clone()
  2076. rng4.Parent = char
  2077. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2078. local rng4m = rng4.Mesh
  2079. local rng5 = rng:Clone()
  2080. rng5.Parent = char
  2081. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2082. local rng5m = rng5.Mesh
  2083. local rng6 = rng:Clone()
  2084. rng6.Material = "Neon"
  2085. rng6.CanCollide = false
  2086. rng6.BrickColor = BrickColor.new("Neon orange")
  2087. rng6.Parent = LeftLeg
  2088. local rng6m = rng6.Mesh
  2089. rng6m.Scale = vt(1,1,1)
  2090. rng6m.MeshType = "Sphere"
  2091. local rng7 = rng:Clone()
  2092. rng7.Material = "Plastic"
  2093. rng7.CanCollide = false
  2094. rng7.BrickColor = BrickColor.new("Bright red")
  2095. rng7.Parent = LeftLeg
  2096. local rng7m = rng7.Mesh
  2097. rng7m.Scale = vt(1,1,1)
  2098. rng7m.MeshType = "Sphere"
  2099. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2100. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2101. wait()
  2102. local scaler = 10/5
  2103. local scaler2 = 10/5
  2104. local hit = rng6.Touched:connect(function(hit)
  2105. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2106. CRIT=true
  2107. end)
  2108. for i = 0,10,0.1 do
  2109. swait()
  2110. rng.Transparency = rng.Transparency + 0.01
  2111. rng2.Transparency = rng2.Transparency + 0.01
  2112. rng3.Transparency = rng3.Transparency + 0.01
  2113. rng4.Transparency = rng4.Transparency + 0.01
  2114. rng5.Transparency = rng5.Transparency + 0.01
  2115. rng6.Transparency = rng5.Transparency + 0.001
  2116. rng7.Transparency = rng5.Transparency + 0.001
  2117. scaler = scaler - 0.125/5
  2118. scaler2 = scaler2 - 0.1/5
  2119. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  2120. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2121. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2122. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2123. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2124. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2125. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2126. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2127. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2128. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2129. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2130. rng6.CFrame = killbrick.CFrame
  2131. rng7.CFrame = killbrick.CFrame
  2132. end
  2133. game:GetService("Debris"):AddItem(rng, 0.1)
  2134. game:GetService("Debris"):AddItem(rng2, 0.1)
  2135. game:GetService("Debris"):AddItem(rng3, 0.1)
  2136. game:GetService("Debris"):AddItem(rng4, 0.1)
  2137. game:GetService("Debris"):AddItem(rng5, 0.1)
  2138. hum.WalkSpeed = 50
  2139. hit:disconnect()
  2140. attack = false
  2141. killbrick:Destroy()
  2142. char.Head.face.Texture = "rbxassetid://332768867"
  2143. jumped = false
  2144. lig:Remove()
  2145. end
  2146.  
  2147.  
  2148.  
  2149.  
  2150. function punch2()
  2151. attack = true
  2152. jumped = true
  2153. hum.WalkSpeed = 50
  2154. killbrick = Instance.new("Part",rarm)
  2155. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2156. killbrick.Transparency = 1
  2157. killbrick:BreakJoints()
  2158. killbrick.CanCollide = false
  2159. killbrick.Anchored = true
  2160. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2161. lig = Instance.new("PointLight",player.Character.Torso)
  2162. lig.Color=Color3.new(255,0,0)
  2163. lig.Range = 20
  2164. local bv = Instance.new("BodyVelocity")
  2165. bv.maxForce = Vector3.new(1,1,1)
  2166. bv.velocity = root.CFrame.lookVector*150
  2167. bv.Parent = root
  2168. char.Head.face.Texture = "rbxassetid://339564938"
  2169. game:GetService("Debris"):AddItem(bv, 1)
  2170. local rng = Instance.new("Part", char)
  2171. rng.Anchored = true
  2172. rng.BrickColor = BrickColor.new("Neon orange")
  2173. rng.CanCollide = false
  2174. rng.FormFactor = 3
  2175. rng.Name = "Ring"
  2176. rng.Size = Vector3.new(1, 1, 1)
  2177. rng.Transparency = 0
  2178. rng.TopSurface = 0
  2179. rng.BottomSurface = 0
  2180. rng.CFrame = root.CFrame
  2181. local rngm = Instance.new("SpecialMesh", rng)
  2182. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2183. local rng2 = rng:Clone()
  2184. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2185. rng2.Parent = char
  2186. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2187. local rng2m = rng2.Mesh
  2188. local rng3 = rng:Clone()
  2189. rng3.Parent = char
  2190. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2191. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2192. local rng3m = rng3.Mesh
  2193. local rng4 = rng:Clone()
  2194. rng4.Parent = char
  2195. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2196. local rng4m = rng4.Mesh
  2197. local rng5 = rng:Clone()
  2198. rng5.Parent = char
  2199. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2200. local rng5m = rng5.Mesh
  2201. local rng6 = rng:Clone()
  2202. rng6.Material = "Neon"
  2203. rng6.CanCollide = false
  2204. rng6.BrickColor = BrickColor.new("Neon orange")
  2205. rng6.Parent = LeftLeg
  2206. local rng6m = rng6.Mesh
  2207. rng6m.Scale = vt(1,1,1)
  2208. rng6m.MeshType = "Sphere"
  2209. local rng7 = rng:Clone()
  2210. rng7.Material = "Plastic"
  2211. rng7.CanCollide = false
  2212. rng7.BrickColor = BrickColor.new("Bright red")
  2213. rng7.Parent = LeftLeg
  2214. local rng7m = rng7.Mesh
  2215. rng7m.Scale = vt(1,1,1)
  2216. rng7m.MeshType = "Sphere"
  2217. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2218. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2219. wait()
  2220. local scaler = 10/5
  2221. local scaler2 = 10/5
  2222. local hit = rng6.Touched:connect(function(hit)
  2223. Damagefunc(hit,67,75,math.random(60,70),"Normal",root,.2,1)
  2224. end)
  2225. for i = 0,10,0.1 do
  2226. swait()
  2227. rng.Transparency = rng.Transparency + 0.01
  2228. rng2.Transparency = rng2.Transparency + 0.01
  2229. rng3.Transparency = rng3.Transparency + 0.01
  2230. rng4.Transparency = rng4.Transparency + 0.01
  2231. rng5.Transparency = rng5.Transparency + 0.01
  2232. rng6.Transparency = rng5.Transparency + 0.001
  2233. rng7.Transparency = rng5.Transparency + 0.001
  2234. scaler = scaler - 0.125/5
  2235. scaler2 = scaler2 - 0.1/5
  2236. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2237. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2238. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2239. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2240. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2241. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2242. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2243. 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)
  2244. 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)
  2245. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2246. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2247. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2248. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2249. rng6.CFrame = killbrick.CFrame
  2250. rng7.CFrame = killbrick.CFrame
  2251.  
  2252. end
  2253. game:GetService("Debris"):AddItem(rng, 0.1)
  2254. game:GetService("Debris"):AddItem(rng2, 0.1)
  2255. game:GetService("Debris"):AddItem(rng3, 0.1)
  2256. game:GetService("Debris"):AddItem(rng4, 0.1)
  2257. game:GetService("Debris"):AddItem(rng5, 0.1)
  2258. hum.WalkSpeed = 50
  2259. hit:disconnect()
  2260. attack = false
  2261. killbrick:Destroy()
  2262. char.Head.face.Texture = "rbxassetid://332768867"
  2263. jumped = false
  2264. lig:Remove()
  2265. end
  2266.  
  2267.  
  2268. function Crater(hed,Radius)
  2269. spawn(function()
  2270. local Ray = Ray.new(hed.Position,Vector3.new(0,-1,0)*10)
  2271. local Ignore = {}
  2272. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2273. if v.Character ~= nil then
  2274. Ignore[#Ignore+1] = v.Character
  2275. end
  2276. end
  2277. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2278. if Hit == nil then return end
  2279. local Parts = {}
  2280. for i = 1,360,10 do
  2281. local P = Instance.new("Part",hed.Parent)
  2282. P.Anchored = true
  2283. P.FormFactor = "Custom"
  2284. P.BrickColor = Hit.BrickColor
  2285. P.Material = Hit.Material
  2286. P.TopSurface = "Smooth"
  2287. P.BottomSurface = "Smooth"
  2288. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2289. 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)))
  2290. 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}
  2291. if math.random(0,5) == 0 then -- rubble
  2292. local P = Instance.new("Part",hed.Parent)
  2293. P.Anchored = true
  2294. P.FormFactor = "Custom"
  2295. P.BrickColor = Hit.BrickColor
  2296. P.Material = Hit.Material
  2297. P.TopSurface = "Smooth"
  2298. P.BottomSurface = "Smooth"
  2299. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2300. 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)))
  2301. 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}
  2302. end
  2303. end
  2304. for i = 0,1,0.05 do
  2305. for i2,v in pairs(Parts) do
  2306. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2307. end
  2308. wait(0)
  2309. end
  2310. for i,v in pairs(Parts) do
  2311. if v[1].Size.X > 2.1 then
  2312. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2313. end
  2314. v[1].Anchored = false
  2315. end
  2316. for i = 0,1,0.05 do
  2317. for i2,v in pairs(Parts) do
  2318. v[1].Transparency = i
  2319. if i == 1 then
  2320. v[1]:Destroy()
  2321. elseif i >= 0.25 then
  2322. v[1].CanCollide = false
  2323. end
  2324. end
  2325. wait(0.02)
  2326. end
  2327. Parts = nil
  2328. end)
  2329. end
  2330.  
  2331.  
  2332. function shock()
  2333. attack = true
  2334. jumped = true
  2335. hum.WalkSpeed = 50
  2336. killbrick = Instance.new("Part",rarm)
  2337. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2338. killbrick.Transparency = 1
  2339. killbrick:BreakJoints()
  2340. killbrick.CanCollide = false
  2341. killbrick.Anchored = true
  2342. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2343. lig = Instance.new("PointLight",player.Character.Torso)
  2344. lig.Color=Color3.new(255,0,0)
  2345. lig.Range = 20
  2346. local bv = Instance.new("BodyVelocity")
  2347. bv.maxForce = Vector3.new(1,1,1)
  2348. bv.velocity = root.CFrame.lookVector*150
  2349. bv.Parent = root
  2350. char.Head.face.Texture = "rbxassetid://339564938"
  2351. game:GetService("Debris"):AddItem(bv, 1)
  2352. local rng = Instance.new("Part", char)
  2353. rng.Anchored = true
  2354. rng.BrickColor = BrickColor.new("Neon orange")
  2355. rng.CanCollide = false
  2356. rng.FormFactor = 3
  2357. rng.Name = "Ring"
  2358. rng.Size = Vector3.new(1, 1, 1)
  2359. rng.Transparency = 0
  2360. rng.TopSurface = 0
  2361. rng.BottomSurface = 0
  2362. rng.CFrame = root.CFrame
  2363. local rngm = Instance.new("SpecialMesh", rng)
  2364. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2365. local rng2 = rng:Clone()
  2366. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2367. rng2.Parent = char
  2368. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2369. local rng2m = rng2.Mesh
  2370. local rng3 = rng:Clone()
  2371. rng3.Parent = char
  2372. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2373. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2374. local rng3m = rng3.Mesh
  2375. local rng4 = rng:Clone()
  2376. rng4.Parent = char
  2377. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2378. local rng4m = rng4.Mesh
  2379. local rng5 = rng:Clone()
  2380. rng5.Parent = char
  2381. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2382. local rng5m = rng5.Mesh
  2383. local rng6 = rng:Clone()
  2384. rng6.Material = "Neon"
  2385. rng6.CanCollide = false
  2386. rng6.BrickColor = BrickColor.new("Neon orange")
  2387. rng6.Parent = LeftLeg
  2388. local rng6m = rng6.Mesh
  2389. rng6m.Scale = vt(1,1,1)
  2390. rng6m.MeshType = "Sphere"
  2391. local rng7 = rng:Clone()
  2392. rng7.Material = "Plastic"
  2393. rng7.CanCollide = false
  2394. rng7.BrickColor = BrickColor.new("Bright red")
  2395. rng7.Parent = LeftLeg
  2396. local rng7m = rng7.Mesh
  2397. rng7m.Scale = vt(1,1,1)
  2398. rng7m.MeshType = "Sphere"
  2399. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2400. wait()
  2401. local scaler = 10/5
  2402. local scaler2 = 10/5
  2403. local hit = rng6.Touched:connect(function(hit)
  2404. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2405. end)
  2406. for i = 0,10,0.1 do
  2407. swait()
  2408. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2409. rng.Transparency = rng.Transparency + 0.01
  2410. rng2.Transparency = rng2.Transparency + 0.01
  2411. rng3.Transparency = rng3.Transparency + 0.01
  2412. rng4.Transparency = rng4.Transparency + 0.01
  2413. rng5.Transparency = rng5.Transparency + 0.01
  2414. rng6.Transparency = rng5.Transparency + 0.001
  2415. rng7.Transparency = rng5.Transparency + 0.001
  2416. scaler = scaler - 0.125/5
  2417. scaler2 = scaler2 - 0.1/5
  2418. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0)
  2419. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0)
  2420. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0)
  2421. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0)
  2422. rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2423. rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2424. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2425. 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)
  2426. 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)
  2427. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2428. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2429. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2430. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2431. rng6.CFrame = killbrick.CFrame
  2432. rng7.CFrame = killbrick.CFrame
  2433. end
  2434. game:GetService("Debris"):AddItem(rng, 0.1)
  2435. game:GetService("Debris"):AddItem(rng2, 0.1)
  2436. game:GetService("Debris"):AddItem(rng3, 0.1)
  2437. game:GetService("Debris"):AddItem(rng4, 0.1)
  2438. game:GetService("Debris"):AddItem(rng5, 0.1)
  2439. hum.WalkSpeed = 50
  2440. hit:disconnect()
  2441. attack = false
  2442. killbrick:Destroy()
  2443. char.Head.face.Texture = "rbxassetid://332768867"
  2444. jumped = false
  2445. lig:Remove()
  2446. end
  2447.  
  2448.  
  2449. function punch3()
  2450. attack = true
  2451. jumped = true
  2452. hum.WalkSpeed = 50
  2453. killbrick = Instance.new("Part",rarm)
  2454. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2455. killbrick.Transparency = 1
  2456. killbrick:BreakJoints()
  2457. killbrick.CanCollide = false
  2458. killbrick.Anchored = true
  2459. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2460.  
  2461. killbrick2 = Instance.new("Part",rarm)
  2462. killbrick2.Size = Vector3.new(0.1,0.1,0.1)
  2463. killbrick2.Transparency = 1
  2464. killbrick2:BreakJoints()
  2465. killbrick2.CanCollide = false
  2466. killbrick2.Anchored = true
  2467. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30)
  2468. lig = Instance.new("PointLight",player.Character.Torso)
  2469. lig.Color=Color3.new(255,0,0)
  2470. lig.Range = 20
  2471. local bv = Instance.new("BodyVelocity")
  2472. bv.maxForce = Vector3.new(1,1,1)
  2473. bv.velocity = root.CFrame.lookVector*150
  2474. bv.Parent = root
  2475. char.Head.face.Texture = "rbxassetid://339564938"
  2476. game:GetService("Debris"):AddItem(bv, 1)
  2477. local rng = Instance.new("Part", char)
  2478. rng.Anchored = true
  2479. rng.BrickColor = BrickColor.new("Neon orange")
  2480. rng.CanCollide = false
  2481. rng.FormFactor = 3
  2482. rng.Name = "Ring"
  2483. rng.Size = Vector3.new(1, 1, 1)
  2484. rng.Transparency = 0
  2485. rng.TopSurface = 0
  2486. rng.BottomSurface = 0
  2487. rng.CFrame = root.CFrame
  2488. local rngm = Instance.new("SpecialMesh", rng)
  2489. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2490. local rng2 = rng:Clone()
  2491. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2492. rng2.Parent = char
  2493. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2494. local rng2m = rng2.Mesh
  2495. local rng3 = rng:Clone()
  2496. rng3.Parent = char
  2497. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2498. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2499. local rng3m = rng3.Mesh
  2500. local rng4 = rng:Clone()
  2501. rng4.Parent = char
  2502. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2503. local rng4m = rng4.Mesh
  2504. local rng5 = rng:Clone()
  2505. rng5.Parent = char
  2506. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2507. local rng5m = rng5.Mesh
  2508. local rng6 = rng:Clone()
  2509. rng6.Material = "Neon"
  2510. rng6.CanCollide = false
  2511. rng6.BrickColor = BrickColor.new("Neon orange")
  2512. rng6.Parent = LeftLeg
  2513. local rng6m = rng6.Mesh
  2514. rng6m.Scale = vt(1,1,1)
  2515. rng6m.MeshType = "Sphere"
  2516. local rng7 = rng:Clone()
  2517. rng7.Material = "Plastic"
  2518. rng7.CanCollide = false
  2519. rng7.BrickColor = BrickColor.new("Bright red")
  2520. rng7.Parent = LeftLeg
  2521. local rng7m = rng7.Mesh
  2522. rng7m.Scale = vt(1,1,1)
  2523. rng7m.MeshType = "Sphere"
  2524. local rng8 = rng6:Clone()
  2525. rng8.Material = "Neon"
  2526. rng8.CanCollide = false
  2527. rng8.BrickColor = BrickColor.new("Neon orange")
  2528. rng8.Parent = LeftLeg
  2529. local rng8m = rng7.Mesh
  2530. rng8m.Scale = vt(1,1,1)
  2531. rng8m.MeshType = "Sphere"
  2532. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2533. wait()
  2534. local scaler = 10/5
  2535. local scaler2 = 10/5
  2536. local hit = rng8.Touched:connect(function(hit)
  2537. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2538. end)
  2539. for i = 0,10,0.1 do
  2540. swait()
  2541. rng.Transparency = rng.Transparency + 0.01
  2542. rng2.Transparency = rng2.Transparency + 0.01
  2543. rng3.Transparency = rng3.Transparency + 0.01
  2544. rng4.Transparency = rng4.Transparency + 0.01
  2545. rng5.Transparency = rng5.Transparency + 0.01
  2546. rng6.Transparency = rng5.Transparency + 0.001
  2547. rng7.Transparency = rng5.Transparency + 0.001
  2548. rng8.Transparency = rng5.Transparency + 0.001
  2549. scaler = scaler - 0.125/5
  2550. scaler2 = scaler2 - 0.1/5
  2551. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2552. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2553. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2554. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2555. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2556. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2557. rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2558. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2559. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2560. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2561. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2562. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2563. rng6.CFrame = killbrick.CFrame
  2564. rng7.CFrame = killbrick.CFrame
  2565. rng8.CFrame = killbrick2.CFrame
  2566. end
  2567. game:GetService("Debris"):AddItem(rng, 0.1)
  2568. game:GetService("Debris"):AddItem(rng2, 0.1)
  2569. game:GetService("Debris"):AddItem(rng3, 0.1)
  2570. game:GetService("Debris"):AddItem(rng4, 0.1)
  2571. game:GetService("Debris"):AddItem(rng5, 0.1)
  2572. hum.WalkSpeed = 50
  2573. hit:disconnect()
  2574. attack = false
  2575. killbrick:Destroy()
  2576. char.Head.face.Texture = "rbxassetid://332768867"
  2577. jumped = false
  2578. lig:Remove()
  2579. end
  2580.  
  2581.  
  2582.  
  2583. function boom()
  2584. attack = true
  2585. jumped = true
  2586. hum.WalkSpeed = 0
  2587. MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2588. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2589. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  2590. for i = 0,15,0.1 do
  2591. swait()
  2592. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2593. 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)
  2594. 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)
  2595. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2596. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2597. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2598. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2599. char.Head.face.Texture = "rbxassetid://339564938"
  2600. end
  2601. local rng = Instance.new("Part", char)
  2602. rng.Anchored = true
  2603. rng.BrickColor = BrickColor.new("Neon orange")
  2604. rng.CanCollide = false
  2605. rng.FormFactor = 3
  2606. rng.Name = "Ring"
  2607. rng.Size = Vector3.new(1, 1, 1)
  2608. rng.Transparency = 0
  2609. rng.TopSurface = 0
  2610. rng.BottomSurface = 0
  2611. rng.Position = root.Position
  2612. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2613. local rngm = Instance.new("SpecialMesh", rng)
  2614. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2615. local rng2 = rng:Clone()
  2616. rng2.Parent = char
  2617. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2618. local rng2m = rng2.Mesh
  2619. local rng3 = rng:Clone()
  2620. rng3.Parent = char
  2621. local rng3m = rng3.Mesh
  2622. local rng4 = rng:Clone()
  2623. rng4.Parent = char
  2624. local rng4m = rng4.Mesh
  2625. local rng5 = rng:Clone()
  2626. rng5.Parent = char
  2627. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2628. local rng5m = rng5.Mesh
  2629. local hit = rng5.Touched:connect(function(hit)
  2630. Damagefunc(hit,120,175,math.random(100,100),"Normal",root,.2,1)
  2631. end)
  2632. MagicBlock(bc("White"),root.CFrame,15,15,15,5,5,5,0.015)
  2633. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  2634. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
  2635. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
  2636. wait()
  2637. local scaler = 10
  2638. local scaler2 = 10
  2639. for i = 0,10,0.1 do
  2640. swait()
  2641. rng.Transparency = rng.Transparency + 0.01
  2642. rng2.Transparency = rng2.Transparency + 0.01
  2643. rng3.Transparency = rng3.Transparency + 0.01
  2644. rng4.Transparency = rng4.Transparency + 0.01
  2645. rng5.Transparency = rng5.Transparency + 0.01
  2646. scaler = scaler - 0.125
  2647. scaler2 = scaler2 - 0.1
  2648. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4)
  2649. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3)
  2650. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2)
  2651. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1)
  2652. rng5.Size = rng5m.Scale
  2653. rng5.CFrame = rng.CFrame
  2654. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
  2655. text.Text = " DIE! "
  2656. 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)
  2657. 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)
  2658. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2659. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2660. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2661. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2662. end
  2663. hit:disconnect()
  2664. game:GetService("Debris"):AddItem(rng, 1)
  2665. game:GetService("Debris"):AddItem(rng2, 1)
  2666. game:GetService("Debris"):AddItem(rng3, 1)
  2667. game:GetService("Debris"):AddItem(rng4, 1)
  2668. game:GetService("Debris"):AddItem(rng5, 1)
  2669. hum.WalkSpeed = 50
  2670. attack = false
  2671. text.Text = " "
  2672. char.Head.face.Texture = "rbxassetid://332768867"
  2673. jumped = false
  2674. end
  2675.  
  2676. function shooty()
  2677. attack = true
  2678. MagicBlock(bc("Neon orange"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2679. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2680. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  2681. for i = 0,15,0.1 do
  2682. swait()
  2683. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2684. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2685. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2686. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2687. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2688. char.Head.face.Texture = "rbxassetid://339564938"
  2689. end
  2690. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2691. local a = Instance.new("Part",Character)
  2692. a.Name = "Direction"
  2693. a.Anchored = true
  2694. a.BrickColor = bc("Neon orange")
  2695. a.Material = "Neon"
  2696. a.Transparency = 1
  2697. a.CanCollide = false
  2698. local ray = Ray.new(
  2699. root.CFrame.p, -- origin
  2700. (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
  2701. )
  2702. local ignore = Character
  2703. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2704. a.BottomSurface = 10
  2705. a.TopSurface = 10
  2706. local distance = (root.CFrame.p - position).magnitude
  2707. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2708. a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
  2709. local lb = Instance.new("Part")
  2710. lb.Parent = char
  2711. lb.BrickColor = bc("Neon orange")
  2712. local pie22 = Instance.new("ParticleEmitter")
  2713. pie22.Parent = char.Torso
  2714. pie22.Color = ColorSequence.new(BrickColor.new("Dark stone grey").Color)
  2715. pie22.LightEmission = 0
  2716. pie22.Size = NumberSequence.new(10,5)
  2717. pie22.Texture = "http://www.roblox.com/asset/?id=254959503"
  2718. pie22.Transparency = NumberSequence.new(0, 1)
  2719. pie22.EmissionDirection = "Top"
  2720. pie22.Enabled = true
  2721. pie22.Lifetime = NumberRange.new(1)
  2722. pie22.Rotation = NumberRange.new(-17, 17)
  2723. pie22.Rate = 200
  2724. pie22.Speed = NumberRange.new(3)
  2725. pie22.LockedToPart = false
  2726. pie22.VelocitySpread = 3
  2727. pie22.Name = "Haa"
  2728. pie22.Parent = lb
  2729. lb.CanCollide = false
  2730. lb.Material = "Neon"
  2731. lb.Anchored = true
  2732. lb.TopSurface = 0
  2733. lb.BottomSurface = 0
  2734. lb.Transparency = 0
  2735. lb.Size = vt(0.5,0.5,0.5)
  2736. lb.CFrame = sorb.CFrame
  2737. lb.Anchored = false
  2738. local thingery = Instance.new("SpecialMesh",lb)
  2739. thingery.MeshType = "Sphere"
  2740. thingery.Scale = vt(25,25,25)
  2741. game:GetService("Debris"):AddItem(lb, 10)
  2742. local bv = Instance.new("BodyVelocity")
  2743. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2744. bv.velocity = a.CFrame.lookVector*150
  2745. bv.Parent = lb
  2746. game:GetService("Debris"):AddItem(a, 0.1)
  2747. wait(0.05)
  2748. local hitted = false
  2749. lb.Touched:connect(function(hit)
  2750. if hitted == false then
  2751. hitted = true
  2752. lb.Anchored = true
  2753. lb.Transparency = 1
  2754. local rng = Instance.new("Part", char)
  2755. rng.Anchored = true
  2756. rng.BrickColor = BrickColor.new("Neon orange")
  2757. rng.CanCollide = false
  2758. rng.FormFactor = 3
  2759. rng.Name = "Ring"
  2760. rng.Size = Vector3.new(1, 1, 1)
  2761. rng.Transparency = 0
  2762. rng.TopSurface = 0
  2763. rng.BottomSurface = 0
  2764. rng.CFrame = lb.CFrame
  2765. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2766. local rngm = Instance.new("SpecialMesh", rng)
  2767. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2768. local rng2 = rng:Clone()
  2769. rng2.Parent = char
  2770. local rng2m = rng2.Mesh
  2771. local rng3 = rng:Clone()
  2772. rng3.Parent = char
  2773. rng3.BrickColor = BrickColor.new("Dark stone grey")
  2774. local rng3m = rng3.Mesh
  2775. local rng4 = rng:Clone()
  2776. rng4.Parent = char
  2777. local rng4m = rng4.Mesh
  2778. local rng5 = rng:Clone()
  2779. rng5.Parent = char
  2780. rng5.BrickColor = BrickColor.new("Dark stone grey")
  2781. rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2782. local rng5m = rng5.Mesh
  2783. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2784. rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2785. rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2786. MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
  2787. local rng6 = rng:Clone()
  2788. rng6.Material = "Neon"
  2789. rng6.Parent = char
  2790. local rng6m = rng6.Mesh
  2791. rng6m.Scale = vt(1,1,1)
  2792. rng6m.MeshType = "Sphere"
  2793. local hita = rng6.Touched:connect(function(hit)
  2794. Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1)
  2795. end)
  2796. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
  2797. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
  2798. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2799. local scaler = 5
  2800. local scaler2 = 5
  2801. for i = 0,20,0.1 do
  2802. swait()
  2803. rng.Transparency = rng.Transparency + 0.005
  2804. rng2.Transparency = rng2.Transparency + 0.005
  2805. rng3.Transparency = rng3.Transparency + 0.005
  2806. rng4.Transparency = rng4.Transparency + 0.005
  2807. rng5.Transparency = rng5.Transparency + 0.005
  2808. rng6.Transparency = rng6.Transparency + 0.005
  2809. scaler = scaler - 0.005/2
  2810. scaler2 = scaler2 - 0.05/2
  2811. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  2812. rng6.CFrame = rng.CFrame
  2813. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2814. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2815. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2816. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  2817. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2818. end
  2819. hita:disconnect()
  2820. game:GetService("Debris"):AddItem(rng, 1)
  2821. game:GetService("Debris"):AddItem(rng2, 1)
  2822. game:GetService("Debris"):AddItem(rng3, 1)
  2823. game:GetService("Debris"):AddItem(rng4, 1)
  2824. game:GetService("Debris"):AddItem(rng5, 1)
  2825. game:GetService("Debris"):AddItem(rng6, 1)
  2826. end
  2827. end)
  2828. for i = 0,2,0.1 do
  2829. swait()
  2830. MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2831. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2832. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2833. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2834. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2835. text.Text = " DIE! "
  2836. end
  2837. attack = false
  2838. text.Text = " "
  2839. char.Head.face.Texture = "rbxassetid://332768867"
  2840. end
  2841.  
  2842. function superpunch()
  2843. attack = true
  2844. jumped = true
  2845. hum.WalkSpeed = 50
  2846. chatfunc("Hissatsu!")
  2847. wait(1.5)
  2848. text.Text = "Saitama "
  2849. wait(0.5)
  2850. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2851. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  2852. wait(0.7)
  2853. chatfunc("Maji Naguri!")
  2854. for i = 0,15,0.1 do
  2855. swait()
  2856. 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)
  2857. 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)
  2858. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2859. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2860. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  2861. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2862. char.Head.face.Texture = "rbxassetid://339564938"
  2863. end
  2864. local rng = Instance.new("Part", char)
  2865. rng.Anchored = true
  2866. rng.BrickColor = BrickColor.new("Neon orange")
  2867. rng.CanCollide = false
  2868. rng.FormFactor = 3
  2869. rng.Name = "Ring"
  2870. rng.Size = Vector3.new(1, 1, 1)
  2871. rng.Transparency = 0
  2872. rng.TopSurface = 0
  2873. rng.BottomSurface = 0
  2874. rng.CFrame = root.CFrame
  2875. local rngm = Instance.new("SpecialMesh", rng)
  2876. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2877. local rng2 = rng:Clone()
  2878. rng2.Parent = char
  2879. rng2.BrickColor = BrickColor.new("Dark stone grey")
  2880. local rng2m = rng2.Mesh
  2881. local rng3 = rng:Clone()
  2882. rng3.Parent = char
  2883. local rng3m = rng3.Mesh
  2884. local rng4 = rng:Clone()
  2885. rng4.Parent = char
  2886. rng4.BrickColor = BrickColor.new("Dark stone grey")
  2887. local rng4m = rng4.Mesh
  2888. local rng5 = rng:Clone()
  2889. rng5.Parent = char
  2890. local rng5m = rng5.Mesh
  2891. local rng6 = rng:Clone()
  2892. rng6.Material = "Neon"
  2893. rng6.Parent = char
  2894. local rng6m = rng6.Mesh
  2895. rng6m.Scale = vt(1,1,1)
  2896. rng6m.MeshType = "Sphere"
  2897. local hita = rng6.Touched:connect(function(hit)
  2898. Damagefunc(hit,30000,44000,math.random(30000,40000),"Normal",root,.2,1)
  2899. end)
  2900. rng2.CFrame = root.CFrame
  2901. rng3.CFrame = root.CFrame
  2902. rng4.CFrame = root.CFrame
  2903. rng5.CFrame = root.CFrame
  2904. rng6.CFrame = root.CFrame
  2905. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  2906. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  2907. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2908. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2909. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2910. wait()
  2911. local scaler = 10/5
  2912. local scaler2 = 10/5
  2913. MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015)
  2914. for i = 0,10,0.1 do
  2915. swait()
  2916. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  2917. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
  2918. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
  2919. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
  2920. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
  2921. rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4)
  2922. rng6.CFrame = rng.CFrame
  2923. rng.Transparency = rng.Transparency + 0.01
  2924. rng2.Transparency = rng2.Transparency + 0.01
  2925. rng3.Transparency = rng3.Transparency + 0.01
  2926. rng4.Transparency = rng4.Transparency + 0.01
  2927. rng5.Transparency = rng5.Transparency + 0.01
  2928. rng6.Transparency = rng6.Transparency + 0.01
  2929. scaler = scaler - 0.125/5
  2930. scaler2 = scaler2 - 0.1/5
  2931. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  2932. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  2933. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  2934. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  2935. rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
  2936. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2937. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2938. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2939. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2940. end
  2941. hita:disconnect()
  2942. game:GetService("Debris"):AddItem(rng, 1)
  2943. game:GetService("Debris"):AddItem(rng2, 1)
  2944. game:GetService("Debris"):AddItem(rng3, 1)
  2945. game:GetService("Debris"):AddItem(rng4, 1)
  2946. game:GetService("Debris"):AddItem(rng5, 1)
  2947. hum.WalkSpeed = 50
  2948. attack = false
  2949. char.Head.face.Texture = "rbxassetid://332768867"
  2950. jumped = false
  2951. end
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959. mouse.KeyDown:connect(function(k)
  2960. if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  2961. jump()
  2962. end
  2963. if k == "x" and attack == false then
  2964. dash()
  2965. end
  2966. if k == "t" and attack == false then
  2967. dashh()
  2968. end
  2969. if k == "r" and attack == false then
  2970. dashs()
  2971. end
  2972. if k == "p" and attack == false then
  2973. asd:Stop()
  2974. end
  2975. if k == "g" and attack == false then
  2976. chatfunc("Ok.")
  2977. end
  2978. if k == "1" and attack == false then
  2979. chatfunc("You're not strong enough..")
  2980. end
  2981. if k == "2" and attack == false then
  2982. chatfunc("That's what you consider strong?!")
  2983. end
  2984. if k == "3" and attack == false then
  2985. chatfunc("Powerful!")
  2986. end
  2987. if k == "4" and attack == false then
  2988. chatfunc("What?!")
  2989. end
  2990. if k == "5" and attack == false then
  2991. chatfunc("Hmph.")
  2992. end
  2993. if k == "6" and attack == false then
  2994. chatfunc("Ok.")
  2995. end
  2996. if k == "7" and attack == false then
  2997. chatfunc("You're strong..")
  2998. end
  2999. if k == "h" and attack == false then
  3000. chatfunc("Die!")
  3001. end
  3002. if k == "m" and attack == false then
  3003. char.Head.face.Texture = "rbxassetid://339564938"
  3004. chatfunc("I'll crush you!")
  3005. end
  3006. if k == "j" and attack == false then
  3007. chatfunc("Poor choice..")
  3008. end
  3009. if k == "k" and attack == false then
  3010. chatfunc("I'll crush that Half-n-Half bastard..")
  3011. end
  3012. if k == "l" and attack == false then
  3013. chatfunc("Remember who you are.. YOU'RE BENEATH ME!")
  3014. end
  3015. if k == "f" and attack == false then
  3016. daash()
  3017. end
  3018. if k == "u" and attack == false then
  3019. asd:Play()
  3020. end
  3021. if k == "e" and attack == false then
  3022. punch()
  3023. end
  3024. if k == "y" and attack == false then
  3025. punch3()
  3026. end
  3027.  
  3028. if k == "q" and attack == false then
  3029. punch2()
  3030. end
  3031. if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  3032. boom()
  3033. end
  3034. if k == "v" and attack == false then
  3035. shooty()
  3036. end
  3037. if k == "l" and attack == false then
  3038. if Serious == true then
  3039. punchd()
  3040. end
  3041. end
  3042. if k == ";" and attack == false then
  3043. superpunch()
  3044. end
  3045. end)
  3046. mouse.KeyDown:connect(function(key)
  3047. if key=="8" then
  3048. Serious()
  3049. end
  3050. end)
  3051. Health = math.huge --------- Serious mode aura.
  3052. BaseHealth = math.huge
  3053.  
  3054.  
  3055.  
  3056.  
  3057. InForm = false
  3058.  
  3059. Player = game.Players.LocalPlayer
  3060. Char = Player.Character
  3061. Torso = Char.Torso
  3062.  
  3063. function Serious()
  3064. for X = 1, 1 do wait()
  3065. asd1 = Instance.new("Sound",char)
  3066. asd1.SoundId = "http://www.roblox.com/asset/?id = 879696134"
  3067. asd1.Volume = 2
  3068. asd1.Looped = true
  3069. asd1:Play()
  3070. chatfunc("...")
  3071. wait(1.6)
  3072. chatfunc("...You..")
  3073. wait(1.6)
  3074. chatfunc("...")
  3075. wait(1.6)
  3076. chatfunc("You're stronger than I thought..")
  3077. wait(5)
  3078. for X = 1, 1 do wait()
  3079. local Effect = Instance.new("Part")
  3080. Effect.Name = "Effect"
  3081. Effect.Parent = Torso
  3082. Effect.CFrame = Torso.CFrame
  3083. Effect.BrickColor = BrickColor.new("Neon orange")
  3084. Effect.Shape = "Ball"
  3085. Effect.Size = Vector3.new(1, 1, 1)
  3086. Effect.Anchored = true
  3087. Effect.Material = "Neon"
  3088. Effect.CanCollide = false
  3089. Effect.CFrame = Torso.CFrame
  3090. Effect.Size = Effect.Size + Vector3.new(0.5)
  3091. Effect.Transparency = Effect.Transparency + 0.04
  3092. end
  3093. end
  3094.  
  3095. repeat
  3096. Torso:FindFirstChild("Effect"):Remove()
  3097. until Torso:FindFirstChild("Effect") == nil
  3098.  
  3099.  
  3100. local Color1 = Color3.new(255, 255, 0)
  3101. local Color2 = Color3.new(255, 255, 0)
  3102.  
  3103.  
  3104. local Aura = Instance.new('ParticleEmitter')
  3105. Aura.Name = "Aura"
  3106. Aura.Texture = "rbxassetid://347913776"
  3107. Aura.Parent = Torso
  3108. Aura.LightEmission = 0.6
  3109. Aura.Transparency = NumberSequence.new(0.5)
  3110. Aura.Color = ColorSequence.new(BrickColor.new("White").Color)
  3111. Aura.Size = NumberSequence.new(7,4,1)
  3112. Aura.LockedToPart = true
  3113. Aura.Lifetime = NumberRange.new(1)
  3114. Aura.Rate = 1
  3115. Aura.Speed = NumberRange.new(1)
  3116. Aura.EmissionDirection = "Top"
  3117. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  3118. punch2()
  3119. chatfunc("TIME TO GET SERIOUS!")
  3120. Instance.new("ForceField",char).Visible = false
  3121. hum.Name = "AgentVK"
  3122. local Aura2 = Instance.new('ParticleEmitter')
  3123. Aura2.Name = "Aura"
  3124. Aura2.Texture = "rbxassetid://347913776"
  3125. Aura2.Parent = Torso
  3126. Aura2.LightEmission = 0.6
  3127. Aura2.Transparency = NumberSequence.new(0.7)
  3128. Aura2.Color = ColorSequence.new(BrickColor.new("White").Color)
  3129. Aura2.Size = NumberSequence.new(10,6,1)
  3130. Aura2.LockedToPart = true
  3131. Aura2.Lifetime = NumberRange.new(1)
  3132. Aura2.Rate = 1
  3133. Aura2.Speed = NumberRange.new(1)
  3134. Aura2.EmissionDirection = "Top"
  3135. local Aura3 = Instance.new('ParticleEmitter')
  3136. Aura3.Name = "Aura"
  3137. Aura3.Texture = "rbxassetid://262008492"
  3138. Aura3.Parent = Torso
  3139. Aura3.LightEmission = 1
  3140. Aura3.Transparency = NumberSequence.new(0.7)
  3141. Aura3.Color = ColorSequence.new(BrickColor.new("White").Color)
  3142. Aura3.Size = NumberSequence.new(0.6)
  3143. Aura3.LockedToPart = false
  3144. Aura3.Lifetime = NumberRange.new(1)
  3145. Aura3.Rate = 40
  3146. Aura3.Speed = NumberRange.new(2)
  3147. Aura3.Rotation = NumberRange.new(3,-3)
  3148. Aura3.EmissionDirection = "Top"
  3149.  
  3150.  
  3151. InForm = true
  3152.  
  3153. Char.Humanoid.MaxHealth = Health
  3154. wait(0.3)
  3155. Char.Humanoid.Health = Health
  3156.  
  3157.  
  3158. end
  3159.  
  3160. function Base()
  3161. InForm = false
  3162. local Effect = Instance.new("Part")
  3163. Effect.Name = "Effect"
  3164. Effect.Parent = Torso
  3165. Effect.CFrame = Torso.CFrame
  3166. Effect.BrickColor = BrickColor.new("White")
  3167. Effect.Shape = "Ball"
  3168. Effect.Size = Vector3.new(8, 8, 8)
  3169. Effect.Anchored = true
  3170. Effect.Material = "Neon"
  3171. Effect.CanCollide = false
  3172. for loop = 1, 25 do wait()
  3173. Effect.CFrame = Torso.CFrame
  3174. Effect.Size = Effect.Size + Vector3.new(-0.5)
  3175. Effect.Transparency = Effect.Transparency + 0.04
  3176. end
  3177. repeat
  3178. Torso:FindFirstChild("Effect"):Remove()
  3179. until Torso:FindFirstChild("Effect") == nil
  3180.  
  3181. for i, v in pairs(Torso:GetChildren()) do
  3182. if v:IsA('ParticleEmitter') then
  3183. v:Remove()
  3184. asd1:Destroy()
  3185. killbrick:Destroy()
  3186. end
  3187. end
  3188. char.Humanoid.MaxHealth = BaseHealth
  3189. wait(0.3)
  3190. char.Humanoid.Health = BaseHealth
  3191.  
  3192. end
  3193.  
  3194. mouse.KeyDown:connect(function(key)
  3195. if key=="9" then
  3196. Base()
  3197. end
  3198. end)
  3199.  
  3200. Player.Chatted:connect(function(Message)
  3201. if Message == "Time to get serious." and InForm == false then
  3202. wait(0.10)
  3203. Serious()
  3204. end
  3205. if Message == "off" or Message == "Nice fight." and InForm == true then
  3206. Base()
  3207. end
  3208. end)
  3209. Humanoid.Animator.Parent = nil
  3210. idleanim=.4
  3211. while true do
  3212. swait()
  3213. sine = sine + change
  3214. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3215. local velderp=RootPart.Velocity.y
  3216. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3217. if equipped==true or equipped==false then
  3218. if attack==false then
  3219. idle=idle+1
  3220. else
  3221. idle=0
  3222. end
  3223. if idle>=500 then
  3224. if attack==false then
  3225. --Sheath()
  3226. end
  3227. end
  3228. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3229. Anim="Jump"
  3230. if attack==false then
  3231. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3232. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3233. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3234. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  3235. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3236. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  3237. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3238. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  3239. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  3240. end
  3241. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3242. Anim="Fall"
  3243. if attack==false then
  3244. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  3245. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3247. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  3248. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3249. 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)
  3250. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3251. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  3252. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  3253. end
  3254. elseif torvel<1 and hitfloor~=nil then
  3255. Anim="Idle"
  3256. if jumped == false then
  3257. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3258. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3259. end
  3260. if attack==false then
  3261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  3263. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
  3264. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
  3265. end
  3266. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3267. Anim="Walk"
  3268. if jumped == false then
  3269. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3270. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3271. end
  3272. if attack==false then
  3273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  3274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3275. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  3276. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  3277. end
  3278. elseif torvel>=22 and hitfloor~=nil then
  3279. Anim="Run"
  3280. if jumped == false then
  3281. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3282. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3283. end
  3284. if attack==false then
  3285. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  3286. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3287. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  3288. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  3289. end
  3290. end
  3291. end
  3292. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement