Dark_EccentricYT

Untitled

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