Advertisement
JRKPastesBins

Untitled

Sep 15th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.08 KB | None | 0 0
  1. game.Workspace.Likebossfromdk.Humanoid.MaxHealth = math.huge
  2. warn'any options for magic'
  3. plr = game.Players.LocalPlayer
  4. char = plr.Character
  5. hum = char.Humanoid
  6. local cam = game.Workspace.CurrentCamera
  7. t = char.Torso
  8. h = char.Head
  9. ra = char["Right Arm"]
  10. la = char["Left Arm"]
  11. rl = char["Right Leg"]
  12. ll = char["Left Leg"]
  13. tors = char.Torso
  14. lleg = char["Left Leg"]
  15. root = char.HumanoidRootPart
  16. hed = char.Head
  17. rleg = char["Right Leg"]
  18. rarm = char["Right Arm"]
  19. larm = char["Left Arm"]
  20. vt = Vector3.new
  21. bc = BrickColor.new
  22. br = BrickColor.random
  23. it = Instance.new
  24. cf = CFrame.new
  25.  
  26.  
  27. local Create = LoadLibrary("RbxUtility").Create
  28.  
  29. CFuncs = {
  30. ["Part"] = {
  31. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  32. local Part = Create("Part"){
  33. Parent = Parent,
  34. Reflectance = Reflectance,
  35. Transparency = Transparency,
  36. CanCollide = false,
  37. Locked = true,
  38. BrickColor = BrickColor.new(tostring(BColor)),
  39. Name = Name,
  40. Size = Size,
  41. Material = Material,
  42. }
  43. RemoveOutlines(Part)
  44. return Part
  45. end;
  46. };
  47.  
  48. ["Mesh"] = {
  49. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  50. local Msh = Create(Mesh){
  51. Parent = Part,
  52. Offset = OffSet,
  53. Scale = Scale,
  54. }
  55. if Mesh == "SpecialMesh" then
  56. Msh.MeshType = MeshType
  57. Msh.MeshId = MeshId
  58. end
  59. return Msh
  60. end;
  61. };
  62.  
  63. ["Mesh"] = {
  64. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  65. local Msh = Create(Mesh){
  66. Parent = Part,
  67. Offset = OffSet,
  68. Scale = Scale,
  69. }
  70. if Mesh == "SpecialMesh" then
  71. Msh.MeshType = MeshType
  72. Msh.MeshId = MeshId
  73. end
  74. return Msh
  75. end;
  76. };
  77.  
  78. ["Weld"] = {
  79. Create = function(Parent, Part0, Part1, C0, C1)
  80. local Weld = Create("Weld"){
  81. Parent = Parent,
  82. Part0 = Part0,
  83. Part1 = Part1,
  84. C0 = C0,
  85. C1 = C1,
  86. }
  87. return Weld
  88. end;
  89. };
  90.  
  91. ["Sound"] = {
  92. Create = function(id, par, vol, pit)
  93. coroutine.resume(coroutine.create(function()
  94. local S = Create("Sound"){
  95. Volume = vol,
  96. Pitch = pit or 1,
  97. SoundId = id,
  98. Parent = par or workspace,
  99. }
  100. wait()
  101. S:play()
  102. game:GetService("Debris"):AddItem(S, 10)
  103. end))
  104. end;
  105. };
  106.  
  107. ["ParticleEmitter"] = {
  108. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  109. local fp = Create("ParticleEmitter"){
  110. Parent = Parent,
  111. Color = ColorSequence.new(Color1, Color2),
  112. LightEmission = LightEmission,
  113. Size = Size,
  114. Texture = Texture,
  115. Transparency = Transparency,
  116. ZOffset = ZOffset,
  117. Acceleration = Accel,
  118. Drag = Drag,
  119. LockedToPart = LockedToPart,
  120. VelocityInheritance = VelocityInheritance,
  121. EmissionDirection = EmissionDirection,
  122. Enabled = Enabled,
  123. Lifetime = LifeTime,
  124. Rate = Rate,
  125. Rotation = Rotation,
  126. RotSpeed = RotSpeed,
  127. Speed = Speed,
  128. VelocitySpread = VelocitySpread,
  129. }
  130. return fp
  131. end;
  132. };
  133.  
  134. CreateTemplate = {
  135.  
  136. };
  137. }
  138.  
  139.  
  140.  
  141. New = function(Object, Parent, Name, Data)
  142. local Object = Instance.new(Object)
  143. for Index, Value in pairs(Data or {}) do
  144. Object[Index] = Value
  145. end
  146. Object.Parent = Parent
  147. Object.Name = Name
  148. return Object
  149. end
  150. local m = Instance.new("Model",char)
  151.  
  152. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  153. local p = Instance.new("Part")
  154. p.Parent = parent
  155. p.Size = Vector3.new(1,1,1)
  156. p.Transparency = transparency
  157. p.Reflectance = reflectance
  158. p.CanCollide = false
  159. p.Locked = true
  160. p.BrickColor = brickcolor
  161. p.Material = material
  162. return p
  163. end
  164.  
  165. function CreateMesh(parent,meshtype,x1,y1,z1)
  166. local mesh = Instance.new("SpecialMesh",parent)
  167. mesh.MeshType = meshtype
  168. mesh.Scale = Vector3.new(x1,y1,z1)
  169. return mesh
  170. end
  171.  
  172. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  173. local mesh = Instance.new("SpecialMesh",parent)
  174. mesh.MeshType = "FileMesh"
  175. mesh.MeshId = meshid
  176. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  177. mesh.Scale = Vector3.new(x1,y1,z1)
  178. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  179. return mesh
  180. end
  181.  
  182. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  183. local weld = Instance.new("Weld")
  184. weld.Parent = parent
  185. weld.Part0 = part0
  186. weld.Part1 = part1
  187. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  188. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  189. return weld
  190. end
  191.  
  192.  
  193. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  194. 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))
  195. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  196. 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))
  197.  
  198. Player=game:GetService("Players").LocalPlayer
  199. Character=Player.Character
  200. PlayerGui=Player.PlayerGui
  201. Backpack=Player.Backpack
  202. Torso=Character.Torso
  203. Head=Character.Head
  204. Humanoid=Character.Humanoid
  205. m=Instance.new('Model',Character)
  206. LeftArm=Character["Left Arm"]
  207. LeftLeg=Character["Left Leg"]
  208. RightArm=Character["Right Arm"]
  209. RightLeg=Character["Right Leg"]
  210. LS=Torso["Left Shoulder"]
  211. LH=Torso["Left Hip"]
  212. RS=Torso["Right Shoulder"]
  213. RH=Torso["Right Hip"]
  214. Face = Head.face
  215. Neck=Torso.Neck
  216. it=Instance.new
  217. attacktype=1
  218. vt=Vector3.new
  219. cf=CFrame.new
  220. euler=CFrame.fromEulerAnglesXYZ
  221. angles=CFrame.Angles
  222. cloaked=false
  223. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  224. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  225. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  226. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  227. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  228. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  229. RootPart=Character.HumanoidRootPart
  230. RootJoint=RootPart.RootJoint
  231. RootCF=euler(-1.57,0,3.14)
  232. attack = false
  233. attackdebounce = false
  234. deb=false
  235. equipped=true
  236. hand=false
  237. MMouse=nil
  238. combo=0
  239. mana=0
  240. trispeed=.2
  241. attackmode='none'
  242. local idle=0
  243. local Anim="Idle"
  244. local Effects={}
  245. local gun=false
  246. local shoot=false
  247. local sine = 0
  248. local change = 1
  249. player=nil
  250.  
  251. mouse=Player:GetMouse()
  252. --save shoulders
  253. RSH, LSH=nil, nil
  254. --welds
  255. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  256. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  257. LH=Torso["Left Hip"]
  258. RH=Torso["Right Hip"]
  259. TorsoColor=Torso.BrickColor
  260. function NoOutline(Part)
  261. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  262. end
  263. player=Player
  264. ch=Character
  265. RSH=ch.Torso["Right Shoulder"]
  266. LSH=ch.Torso["Left Shoulder"]
  267. --
  268. RSH.Parent=nil
  269. LSH.Parent=nil
  270. --
  271. RW.Name="Right Shoulder"
  272. RW.Part0=ch.Torso
  273. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  274. RW.C1=cf(0, 0.5, 0)
  275. RW.Part1=ch["Right Arm"]
  276. RW.Parent=ch.Torso
  277. --
  278. LW.Name="Left Shoulder"
  279. LW.Part0=ch.Torso
  280. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  281. LW.C1=cf(0, 0.5, 0)
  282. LW.Part1=ch["Left Arm"]
  283. LW.Parent=ch.Torso
  284.  
  285. local Stats=Instance.new("BoolValue")
  286. Stats.Name="Stats"
  287. Stats.Parent=Character
  288. local Atk=Instance.new("NumberValue")
  289. Atk.Name="Damage"
  290. Atk.Parent=Stats
  291. Atk.Value=1
  292. local Def=Instance.new("NumberValue")
  293. Def.Name="Defense"
  294. Def.Parent=Stats
  295. Def.Value=1
  296. local Speed=Instance.new("NumberValue")
  297. Speed.Name="Speed"
  298. Speed.Parent=Stats
  299. Speed.Value=1
  300. local Mvmt=Instance.new("NumberValue")
  301. Mvmt.Name="Movement"
  302. Mvmt.Parent=Stats
  303. Mvmt.Value=1
  304.  
  305. local donum=0
  306.  
  307.  
  308. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  309. local fp=it("Part")
  310. fp.formFactor=formfactor
  311. fp.Parent=parent
  312. fp.Reflectance=reflectance
  313. fp.Transparency=transparency
  314. fp.CanCollide=false
  315. fp.Locked=true
  316. fp.BrickColor=brickcolor
  317. fp.Name=name
  318. fp.Size=size
  319. fp.Position=Torso.Position
  320. NoOutline(fp)
  321. fp.Material="SmoothPlastic"
  322. fp:BreakJoints()
  323. return fp
  324. end
  325.  
  326. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  327. local mesh=it(Mesh)
  328. mesh.Parent=part
  329. if Mesh=="SpecialMesh" then
  330. mesh.MeshType=meshtype
  331. if meshid~="nil" then
  332. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  333. end
  334. end
  335. mesh.Offset=offset
  336. mesh.Scale=scale
  337. return mesh
  338. end
  339.  
  340. function weld(parent,part0,part1,c0)
  341. local weld=it("Weld")
  342. weld.Parent=parent
  343. weld.Part0=part0
  344. weld.Part1=part1
  345. weld.C0=c0
  346. return weld
  347. end
  348.  
  349. local Color1=Torso.BrickColor
  350.  
  351. local bodvel=Instance.new("BodyVelocity")
  352. local bg=Instance.new("BodyGyro")
  353.  
  354. function swait(num)
  355. if num==0 or num==nil then
  356. game:service'RunService'.Stepped:wait(0)
  357. else
  358. for i=0,num do
  359. game:service'RunService'.Stepped:wait(0)
  360. end
  361. end
  362. end
  363.  
  364.  
  365. so = function(id,par,vol,pit)
  366. coroutine.resume(coroutine.create(function()
  367. local sou = Instance.new("Sound",par or workspace)
  368. sou.Volume=vol
  369. sou.Pitch=pit or 1
  370. sou.SoundId=id
  371. swait()
  372. sou:play()
  373. game:GetService("Debris"):AddItem(sou,6)
  374. end))
  375. end
  376.  
  377. function clerp(a,b,t)
  378. local qa = {QuaternionFromCFrame(a)}
  379. local qb = {QuaternionFromCFrame(b)}
  380. local ax, ay, az = a.x, a.y, a.z
  381. local bx, by, bz = b.x, b.y, b.z
  382. local _t = 1-t
  383. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  384. end
  385.  
  386. function QuaternionFromCFrame(cf)
  387. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  388. local trace = m00 + m11 + m22
  389. if trace > 0 then
  390. local s = math.sqrt(1 + trace)
  391. local recip = 0.5/s
  392. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  393. else
  394. local i = 0
  395. if m11 > m00 then
  396. i = 1
  397. end
  398. if m22 > (i == 0 and m00 or m11) then
  399. i = 2
  400. end
  401. if i == 0 then
  402. local s = math.sqrt(m00-m11-m22+1)
  403. local recip = 0.5/s
  404. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  405. elseif i == 1 then
  406. local s = math.sqrt(m11-m22-m00+1)
  407. local recip = 0.5/s
  408. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  409. elseif i == 2 then
  410. local s = math.sqrt(m22-m00-m11+1)
  411. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  412. end
  413. end
  414. end
  415.  
  416. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  417. local xs, ys, zs = x + x, y + y, z + z
  418. local wx, wy, wz = w*xs, w*ys, w*zs
  419. local xx = x*xs
  420. local xy = x*ys
  421. local xz = x*zs
  422. local yy = y*ys
  423. local yz = y*zs
  424. local zz = z*zs
  425. 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))
  426. end
  427.  
  428. function QuaternionSlerp(a, b, t)
  429. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  430. local startInterp, finishInterp;
  431. if cosTheta >= 0.0001 then
  432. if (1 - cosTheta) > 0.0001 then
  433. local theta = math.acos(cosTheta)
  434. local invSinTheta = 1/math.sin(theta)
  435. startInterp = math.sin((1-t)*theta)*invSinTheta
  436. finishInterp = math.sin(t*theta)*invSinTheta
  437. else
  438. startInterp = 1-t
  439. finishInterp = t
  440. end
  441. else
  442. if (1+cosTheta) > 0.0001 then
  443. local theta = math.acos(-cosTheta)
  444. local invSinTheta = 1/math.sin(theta)
  445. startInterp = math.sin((t-1)*theta)*invSinTheta
  446. finishInterp = math.sin(t*theta)*invSinTheta
  447. else
  448. startInterp = t-1
  449. finishInterp = t
  450. end
  451. end
  452. 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
  453. end
  454.  
  455. local function CFrameFromTopBack(at, top, back)
  456. local right = top:Cross(back)
  457. return CFrame.new(at.x, at.y, at.z,
  458. right.x, top.x, back.x,
  459. right.y, top.y, back.y,
  460. right.z, top.z, back.z)
  461. end
  462.  
  463. function Triangle(a, b, c)
  464. local edg1 = (c-a):Dot((b-a).unit)
  465. local edg2 = (a-b):Dot((c-b).unit)
  466. local edg3 = (b-c):Dot((a-c).unit)
  467. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  468. a, b, c = a, b, c
  469. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  470. a, b, c = b, c, a
  471. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  472. a, b, c = c, a, b
  473. else
  474. assert(false, "unreachable")
  475. end
  476.  
  477. local len1 = (c-a):Dot((b-a).unit)
  478. local len2 = (b-a).magnitude - len1
  479. local width = (a + (b-a).unit*len1 - c).magnitude
  480.  
  481. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  482.  
  483. local list = {}
  484.  
  485. if len1 > 0.01 then
  486. local w1 = Instance.new('WedgePart', m)
  487. game:GetService("Debris"):AddItem(w1,5)
  488. w1.Material = "SmoothPlastic"
  489. w1.FormFactor = 'Custom'
  490. w1.BrickColor = BrickColor.new("Really red")
  491. w1.Transparency = 0
  492. w1.Reflectance = 0
  493. w1.Material = "SmoothPlastic"
  494. w1.CanCollide = false
  495. local l1 = Instance.new("PointLight",w1)
  496. l1.Color = Color3.new(170,0,0)
  497. NoOutline(w1)
  498. local sz = Vector3.new(0.2, width, len1)
  499. w1.Size = sz
  500. local sp = Instance.new("SpecialMesh",w1)
  501. sp.MeshType = "Wedge"
  502. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  503. w1:BreakJoints()
  504. w1.Anchored = true
  505. w1.Parent = workspace
  506. w1.Transparency = 0.7
  507. table.insert(Effects,{w1,"Disappear",.01})
  508. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  509. table.insert(list,w1)
  510. end
  511.  
  512. if len2 > 0.01 then
  513. local w2 = Instance.new('WedgePart', m)
  514. game:GetService("Debris"):AddItem(w2,5)
  515. w2.Material = "SmoothPlastic"
  516. w2.FormFactor = 'Custom'
  517. w2.BrickColor = BrickColor.new("Really red")
  518. w2.Transparency = 0
  519. w2.Reflectance = 0
  520. w2.Material = "SmoothPlastic"
  521. w2.CanCollide = false
  522. local l2 = Instance.new("PointLight",w2)
  523. l2.Color = Color3.new(170,0,0)
  524. NoOutline(w2)
  525. local sz = Vector3.new(0.2, width, len2)
  526. w2.Size = sz
  527. local sp = Instance.new("SpecialMesh",w2)
  528. sp.MeshType = "Wedge"
  529. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  530. w2:BreakJoints()
  531. w2.Anchored = true
  532. w2.Parent = workspace
  533. w2.Transparency = 0.7
  534. table.insert(Effects,{w2,"Disappear",.01})
  535. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  536. table.insert(list,w2)
  537. end
  538. return unpack(list)
  539. end
  540.  
  541.  
  542. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  543. if hit.Parent==nil then
  544. return
  545. end
  546. h=hit.Parent:FindFirstChild("Humanoid")
  547. for _,v in pairs(hit.Parent:children()) do
  548. if v:IsA("Humanoid") then
  549. h=v
  550. end
  551. end
  552. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  553. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  554. end
  555. if hit.Parent.className=="Hat" then
  556. hit=hit.Parent.Parent:findFirstChild("Head")
  557. end
  558. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  559. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  560. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  561. return
  562. end]]
  563. -- hs(hit,1.2)
  564. c=Instance.new("ObjectValue")
  565. c.Name="creator"
  566. c.Value=game:service("Players").LocalPlayer
  567. c.Parent=h
  568. game:GetService("Debris"):AddItem(c,.5)
  569. Damage=math.random(minim,maxim)
  570. -- h:TakeDamage(Damage)
  571. blocked=false
  572. block=hit.Parent:findFirstChild("Block")
  573. if block~=nil then
  574. print(block.className)
  575. if block.className=="NumberValue" then
  576. if block.Value>0 then
  577. blocked=true
  578. if decreaseblock==nil then
  579. block.Value=block.Value-1
  580. end
  581. end
  582. end
  583. if block.className=="IntValue" then
  584. if block.Value>0 then
  585. blocked=true
  586. if decreaseblock~=nil then
  587. block.Value=block.Value-1
  588. end
  589. end
  590. end
  591. end
  592. if blocked==false then
  593. -- h:TakeDamage(Damage)
  594. h.Health=h.Health-Damage
  595. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  596. else
  597. h.Health=h.Health-(Damage/2)
  598. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  599. end
  600. if Type=="Knockdown" then
  601. hum=hit.Parent.Humanoid
  602. hum.PlatformStand=true
  603. coroutine.resume(coroutine.create(function(HHumanoid)
  604. swait(1)
  605. HHumanoid.PlatformStand=false
  606. end),hum)
  607. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  608. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  609. local bodvol=Instance.new("BodyVelocity")
  610. bodvol.velocity=angle*knockback
  611. bodvol.P=5000
  612. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  613. bodvol.Parent=hit
  614. rl=Instance.new("BodyAngularVelocity")
  615. rl.P=3000
  616. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  617. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  618. rl.Parent=hit
  619. game:GetService("Debris"):AddItem(bodvol,.5)
  620. game:GetService("Debris"):AddItem(rl,.5)
  621. elseif Type=="Normal" then
  622. vp=Instance.new("BodyVelocity")
  623. vp.P=500
  624. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  625. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  626. if KnockbackType==1 then
  627. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  628. elseif KnockbackType==2 then
  629. vp.velocity=Property.CFrame.lookVector*knockback
  630. end
  631. if knockback>0 then
  632. vp.Parent=hit.Parent.Torso
  633. end
  634. game:GetService("Debris"):AddItem(vp,.5)
  635. elseif Type=="Up" then
  636. local bodyVelocity=Instance.new("BodyVelocity")
  637. bodyVelocity.velocity=vt(0,60,0)
  638. bodyVelocity.P=5000
  639. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  640. bodyVelocity.Parent=hit
  641. game:GetService("Debris"):AddItem(bodyVelocity,1)
  642. rl=Instance.new("BodyAngularVelocity")
  643. rl.P=3000
  644. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  645. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  646. rl.Parent=hit
  647. game:GetService("Debris"):AddItem(rl,.5)
  648. elseif Type=="Snare" then
  649. bp=Instance.new("BodyPosition")
  650. bp.P=2000
  651. bp.D=100
  652. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  653. bp.position=hit.Parent.Torso.Position
  654. bp.Parent=hit.Parent.Torso
  655. game:GetService("Debris"):AddItem(bp,1)
  656. elseif Type=="Target" then
  657. if Targetting==false then
  658. ZTarget=hit.Parent.Torso
  659. coroutine.resume(coroutine.create(function(Part)
  660. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  661. swait(5)
  662. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  663. end),ZTarget)
  664. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  665. targetgui=Instance.new("BillboardGui")
  666. targetgui.Parent=ZTarget
  667. targetgui.Size=UDim2.new(10,100,10,100)
  668. targ=Instance.new("ImageLabel")
  669. targ.Parent=targetgui
  670. targ.BackgroundTransparency=1
  671. targ.Image="rbxassetid://4834067"
  672. targ.Size=UDim2.new(1,0,1,0)
  673. cam.CameraType="Scriptable"
  674. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  675. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  676. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  677. Targetting=true
  678. RocketTarget=ZTarget
  679. for i=1,Property do
  680. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  681. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  682. swait()
  683. end
  684. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  685. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  686. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  687. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  688. end
  689. Targetting=false
  690. RocketTarget=nil
  691. targetgui.Parent=nil
  692. cam.CameraType="Custom"
  693. end
  694. end
  695. debounce=Instance.new("BoolValue")
  696. debounce.Name="DebounceHit"
  697. debounce.Parent=hit.Parent
  698. debounce.Value=true
  699. game:GetService("Debris"):AddItem(debounce,Delay)
  700. c=Instance.new("ObjectValue")
  701. c.Name="creator"
  702. c.Value=Player
  703. c.Parent=h
  704. game:GetService("Debris"):AddItem(c,.5)
  705. CRIT=false
  706. hitDeb=true
  707. AttackPos=6
  708. end
  709. end
  710.  
  711. showDamage=function(Char,Dealt,du,Color)
  712. m=Instance.new("Model")
  713. m.Name=tostring(Dealt)
  714. h=Instance.new("Humanoid")
  715. h.Health=0
  716. h.MaxHealth=0
  717. h.Parent=m
  718. c=Instance.new("Part")
  719. c.Transparency=0
  720. c.BrickColor=Color
  721. c.Transparency = 1
  722. c.Name="Head"
  723. c.TopSurface=0
  724. c.BottomSurface=0
  725. c.formFactor="Plate"
  726. c.Size=Vector3.new(1,.4,1)
  727.  
  728. local txt = Instance.new("BillboardGui", c)
  729. txt.Adornee = c
  730. txt.Name = "_status"
  731. txt.Size = UDim2.new(2, 0, 1.2, 0)
  732. txt.StudsOffset = Vector3.new(-9, 8, 0)
  733. local text = Instance.new("TextLabel", txt)
  734. text.Size = UDim2.new(10, 0, 7, 0)
  735. text.FontSize = "Size12"
  736. text.TextScaled = true
  737. text.TextTransparency = 0.5
  738. text.BackgroundTransparency = 1
  739. text.TextTransparency = 0.5
  740. text.TextStrokeTransparency = 0.5
  741. text.Font = "SciFi"
  742. text.TextStrokeColor3 = Color3.new(0,0,0)
  743. v=Instance.new("Part")
  744. v.Name = "ColorBrick"
  745. v.Parent=c
  746. v.FormFactor="Symmetric"
  747. v.Anchored=true
  748. v.CanCollide=false
  749. v.BottomSurface="Smooth"
  750. v.TopSurface="Smooth"
  751. v.Size=Vector3.new(10,5,3)
  752. v.Transparency=1
  753. v.CFrame=c.CFrame
  754. v.BrickColor=BrickColor.random()
  755. v.Transparency=1
  756. text.TextColor3 = t.BrickColor.Color
  757. v.Shape="Block"
  758. text.Text = tostring(Dealt)
  759. ms=Instance.new("CylinderMesh")
  760. ms.Scale=Vector3.new(.8,.8,.8)
  761. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  762. local rndm=math.random(1,#hitsounds)
  763. local r=rndm
  764. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  765. if CRIT==true then
  766. ms.Scale=Vector3.new(1,1.25,1)
  767. end
  768. ms.Parent=c
  769. c.Reflectance=0
  770. Instance.new("BodyGyro").Parent=c
  771. c.Parent=m
  772. if Char:findFirstChild("Head")~=nil then
  773. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  774. elseif Char.Parent:findFirstChild("Head")~=nil then
  775. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  776. end
  777. f=Instance.new("BodyPosition")
  778. f.P=2000
  779. f.D=100
  780. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  781. f.position=c.Position+Vector3.new(0,3,0)
  782. f.Parent=c
  783. game:GetService("Debris"):AddItem(m,.5+du)
  784. c.CanCollide=false
  785. m.Parent=workspace
  786. c.CanCollide=false
  787. end
  788.  
  789. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  790. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  791. end
  792.  
  793. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  794. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  795. prt.Anchored=true
  796. prt.CFrame=cframe
  797. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  798. --http://www.roblox.com/asset/?id=4770560
  799. game:GetService("Debris"):AddItem(prt,2)
  800. CF=prt.CFrame
  801. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  802. for i=0,1,0.2 do
  803. wait()
  804. Part.CFrame=CF*cf(0,0,-0.4)
  805. end
  806. for i=0,1,delay do
  807. wait()
  808. --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)
  809. Mesh.Scale=Mesh.Scale
  810. end
  811. for i=0,1,0.1 do
  812. wait()
  813. Part.Transparency=i
  814. end
  815. Part.Parent=nil
  816. end),prt,msh,CF)
  817. end
  818.  
  819. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  820. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  821. prt.Anchored=true
  822. prt.Material = "Neon"
  823. prt.CFrame=cframe
  824. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  825. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  826. game:GetService("Debris"):AddItem(prt,5)
  827. coroutine.resume(coroutine.create(function(Part,Mesh)
  828. for i=0,1,delay do
  829. swait()
  830. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  831. Part.Transparency=i
  832. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  833. end
  834. Part.Parent=nil
  835. end),prt,msh)
  836. end
  837.  
  838. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  839. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  840. prt.Anchored=true
  841. prt.Material = "Neon"
  842. prt.CFrame=cframe
  843. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  844. game:GetService("Debris"):AddItem(prt,5)
  845. coroutine.resume(coroutine.create(function(Part,Mesh)
  846. local rtype = rottype
  847. for i=0,1,delay do
  848. swait()
  849. if rtype == 1 then
  850. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  851. elseif rtype == 2 then
  852. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  853. end
  854. Part.Transparency=i
  855. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  856. end
  857. Part.Parent=nil
  858. end),prt,msh)
  859. end
  860.  
  861. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  862. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  863. prt.Anchored=true
  864. prt.CFrame=cframe
  865. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  866. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  867. game:GetService("Debris"):AddItem(prt,5)
  868. coroutine.resume(coroutine.create(function(Part,Mesh)
  869. for i=0,1,delay do
  870. wait()
  871. Part.Transparency=i
  872. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  873. end
  874. Part.Parent=nil
  875. end),prt,msh)
  876. end
  877.  
  878. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  879. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  880. prt.Anchored=true
  881. prt.Material = "Neon"
  882. prt.CFrame=cframe
  883. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  884. game:GetService("Debris"):AddItem(prt,5)
  885. coroutine.resume(coroutine.create(function(Part,Mesh)
  886. local rtype = rottype
  887. for i=0,1,delay do
  888. swait()
  889. if rtype == 1 then
  890. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  891. elseif rtype == 2 then
  892. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  893. end
  894. Part.Transparency=i
  895. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  896. end
  897. Part.Parent=nil
  898. end),prt,msh)
  899. end
  900.  
  901. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  902. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  903. prt.Anchored=true
  904. prt.Material = "Neon"
  905. prt.CFrame=cframe
  906. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  907. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  908. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  909. game:GetService("Debris"):AddItem(prt,5)
  910. coroutine.resume(coroutine.create(function(Part,Mesh)
  911. local rtype = rottype
  912. for i=0,1,delay do
  913. swait()
  914. if rtype == 1 then
  915. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  916. elseif rtype == 2 then
  917. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  918. end
  919. dec.Transparency=i
  920. dec2.Transparency=i
  921. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  922. end
  923. Part.Parent=nil
  924. end),prt,msh)
  925. end
  926.  
  927. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  928. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  929. prt.Anchored=true
  930. prt.Material = "Neon"
  931. prt.CFrame=cframe
  932. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  933. game:GetService("Debris"):AddItem(prt,5)
  934. coroutine.resume(coroutine.create(function(Part,Mesh)
  935. local rtype = rottype
  936. for i=0,1,delay do
  937. swait()
  938. if rtype == 1 then
  939. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  940. elseif rtype == 2 then
  941. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  942. end
  943. prt.Transparency=i
  944. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  945. end
  946. Part.Parent=nil
  947. end),prt,msh)
  948. end
  949.  
  950. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  951. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  952. prt.Anchored=true
  953. prt.Material = "Neon"
  954. prt.CFrame=cframe
  955. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  956. game:GetService("Debris"):AddItem(prt,5)
  957. coroutine.resume(coroutine.create(function(Part,Mesh)
  958. local rtype = rottype
  959. for i=0,1,delay do
  960. swait()
  961. if rtype == 1 then
  962. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  963. elseif rtype == 2 then
  964. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  965. end
  966. prt.Transparency=i
  967. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  968. end
  969. Part.Parent=nil
  970. end),prt,msh)
  971. end
  972.  
  973. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  974. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  975. prt.Anchored=true
  976. prt.Material = "Neon"
  977. prt.CFrame=cframe
  978. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  979. game:GetService("Debris"):AddItem(prt,5)
  980. coroutine.resume(coroutine.create(function(Part,Mesh)
  981. local rtype = rottype
  982. for i=0,1,delay do
  983. swait()
  984. if rtype == 1 then
  985. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  986. elseif rtype == 2 then
  987. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  988. end
  989. prt.Transparency=i
  990. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  991. end
  992. Part.Parent=nil
  993. end),prt,msh)
  994. end
  995.  
  996. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  997. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  998. prt.Anchored=false
  999. prt.CFrame=cframe
  1000. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1001. local wld=weld(prt,prt,Parent,cframe)
  1002. game:GetService("Debris"):AddItem(prt,5)
  1003. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1004. for i=0,1,delay do
  1005. wait()
  1006. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1007. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1008. Part.Transparency=i
  1009. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1010. end
  1011. Part.Parent=nil
  1012. end),prt,msh,wld)
  1013. end
  1014.  
  1015. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1016. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1017. prt.Anchored=false
  1018. prt.CFrame=cframe
  1019. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1020. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1021. game:GetService("Debris"):AddItem(prt,5)
  1022. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1023. for i=0,1,delay do
  1024. wait()
  1025. Weld.C0=euler(i*20,0,0)
  1026. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1027. Part.Transparency=i
  1028. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1029. end
  1030. Part.Parent=nil
  1031. end),prt,msh,wld)
  1032. end
  1033.  
  1034. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1035. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1036. prt.Anchored=true
  1037. prt.CFrame=cframe
  1038. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1039. game:GetService("Debris"):AddItem(prt,2)
  1040. coroutine.resume(coroutine.create(function(Part,Mesh)
  1041. for i=0,1,delay do
  1042. wait()
  1043. Part.CFrame=Part.CFrame
  1044. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1045. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1046. prt2.Anchored=true
  1047. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1048. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1049. game:GetService("Debris"):AddItem(prt2,2)
  1050. coroutine.resume(coroutine.create(function(Part,Mesh)
  1051. for i=0,1,0.1 do
  1052. wait()
  1053. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1054. end
  1055. Part.Parent=nil
  1056. end),prt2,msh2)
  1057. end
  1058. for i=0,1,delay*2 do
  1059. wait()
  1060. Part.CFrame=Part.CFrame
  1061. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1062. end
  1063. Part.Parent=nil
  1064. end),prt,msh)
  1065. end
  1066.  
  1067. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1068. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1069. prt.Anchored=true
  1070. prt.CFrame=cframe
  1071. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1072. game:GetService("Debris"):AddItem(prt,2)
  1073. coroutine.resume(coroutine.create(function(Part,Mesh)
  1074. for i=0,1,delay do
  1075. wait()
  1076. Part.CFrame=Part.CFrame
  1077. Part.Transparency=i
  1078. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1079. end
  1080. Part.Parent=nil
  1081. end),prt,msh)
  1082. end
  1083.  
  1084. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1085. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1086. prt.Anchored=true
  1087. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1088. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1089. game:GetService("Debris"):AddItem(prt,2)
  1090. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1091. CF=Part.CFrame
  1092. Numbb=0
  1093. randnumb=math.random()/10
  1094. rand1=math.random()/10
  1095. for i=0,1,rand1 do
  1096. wait()
  1097. CF=CF*cf(0,math.random()/2,0)
  1098. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1099. Part.CFrame=CF*euler(Numbb,0,0)
  1100. Part.Transparency=i
  1101. Numbb=Numbb+randnumb
  1102. end
  1103. Part.Parent=nil
  1104. end),prt,CF,Numbb,randnumb)
  1105. end
  1106.  
  1107. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1108. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1109. prt.Anchored=true
  1110. prt.CFrame=cframe
  1111. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1112. game:GetService("Debris"):AddItem(prt,5)
  1113. coroutine.resume(coroutine.create(function(Part,Mesh)
  1114. for i=0,1,delay do
  1115. wait()
  1116. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1117. Part.Transparency=i
  1118. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1119. end
  1120. Part.Parent=nil
  1121. end),prt,msh)
  1122. end
  1123.  
  1124. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1125. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1126. prt.Anchored=true
  1127. prt.CFrame=cframe
  1128. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1129. game:GetService("Debris"):AddItem(prt,2)
  1130. coroutine.resume(coroutine.create(function(Part,Mesh)
  1131. for i=0,1,delay do
  1132. wait()
  1133. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1134. Part.Transparency=i
  1135. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1136. end
  1137. Part.Parent=nil
  1138. end),prt,msh)
  1139. end
  1140.  
  1141. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1142. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1143. prt.Anchored=true
  1144. prt.CFrame=cframe*cf(x,y,z)
  1145. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1146. game:GetService("Debris"):AddItem(prt,5)
  1147. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1148. local num=math.random()
  1149. local num2=math.random(-3,2)+math.random()
  1150. local numm=0
  1151. for i=0,1,delay*2 do
  1152. swait()
  1153. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1154. Part.Transparency=i
  1155. numm=numm+0.01
  1156. end
  1157. Part.Parent=nil
  1158. Mesh.Parent=nil
  1159. end),prt,msh,x,y,z)
  1160. end
  1161.  
  1162. function dmgstart(dmg,what)
  1163. hitcon = what.Touched:connect(function(hit)
  1164. local hum = hit.Parent:FindFirstChild("Humanoid")
  1165. if hum and not hum:IsDescendantOf(Character) then
  1166. hum:TakeDamage(dmg)
  1167. end
  1168. end)
  1169. end
  1170.  
  1171. function dmgstop()
  1172. hitcon:disconnect()
  1173. end
  1174.  
  1175. function Cloak()
  1176. Face.Parent=nil
  1177. cloaked=true
  1178. for _,v in pairs(Torso.Parent:children()) do
  1179. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1180. coroutine.resume(coroutine.create(function()
  1181. for i=0,1,0.2 do
  1182. wait()
  1183. v.Transparency=i
  1184. end
  1185. v.Transparency=1
  1186. end))
  1187. end
  1188. if v.className=="Hat" then
  1189. hatp=v.Handle
  1190. coroutine.resume(coroutine.create(function(derp)
  1191. for i=0,1,0.2 do
  1192. wait()
  1193. derp.Transparency=i
  1194. end
  1195. derp.Transparency=1
  1196. end),hatp)
  1197. end
  1198. end
  1199. for _,v in pairs(m:children()) do
  1200. if v.className=="Part" then
  1201. coroutine.resume(coroutine.create(function()
  1202. for i=0,1,0.2 do
  1203. wait()
  1204. v.Transparency=i
  1205. end
  1206. v.Transparency=1
  1207. end))
  1208. end
  1209. end
  1210. end
  1211.  
  1212. function UnCloak()
  1213. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1214. Face.Parent=Head
  1215. cloaked=false
  1216. for _,v in pairs(Torso.Parent:children()) do
  1217. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1218. coroutine.resume(coroutine.create(function()
  1219. for i=0,1,0.1 do
  1220. wait()
  1221. v.Transparency=v.Transparency-0.1
  1222. end
  1223. v.Transparency=0
  1224. end))
  1225. end
  1226. if v.className=="Hat" then
  1227. hatp=v.Handle
  1228. coroutine.resume(coroutine.create(function(derp)
  1229. for i=0,1,0.1 do
  1230. wait()
  1231. derp.Transparency=derp.Transparency-0.1
  1232. end
  1233. derp.Transparency=0
  1234. end),hatp)
  1235. end
  1236. end
  1237. for _,v in pairs(m:children()) do
  1238. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1239. coroutine.resume(coroutine.create(function()
  1240. for i=0,1,0.1 do
  1241. wait()
  1242. v.Transparency=v.Transparency-0.1
  1243. end
  1244. v.Transparency=0
  1245. end))
  1246. v.Transparency=0
  1247. end
  1248. end
  1249. end
  1250.  
  1251. local jumped = false
  1252. function jump()
  1253. attack = true
  1254. jumped = true
  1255. hum.WalkSpeed = 0
  1256. MagicBlock(bc("Really red"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1257. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 1)
  1258. CFuncs["Sound"].Create("rbxassetid://991726501", root, 1, 0.7)
  1259. for i = 0,15,0.1 do
  1260. swait()
  1261. MagicBlock(bc("Really red"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1262. MagicBlock(bc("Really red"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1263. 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)
  1264. 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)
  1265. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05)
  1266. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1268. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1269. end
  1270. local bv = Instance.new("BodyVelocity")
  1271. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1272. bv.velocity = Vector3.new(0,500,0)
  1273. bv.Parent = root
  1274. game:GetService("Debris"):AddItem(bv, 0.5)
  1275. local rng = Instance.new("Part", char)
  1276. rng.Anchored = true
  1277. rng.BrickColor = BrickColor.new("Bright red")
  1278. rng.CanCollide = false
  1279. rng.FormFactor = 3
  1280. rng.Name = "Ring"
  1281. rng.Size = Vector3.new(1, 1, 1)
  1282. rng.Transparency = 0
  1283. rng.TopSurface = 0
  1284. rng.BottomSurface = 0
  1285. rng.Position = root.Position
  1286. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1287. local rngm = Instance.new("SpecialMesh", rng)
  1288. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1289. local rng2 = rng:Clone()
  1290. rng2.Parent = char
  1291. local rng2m = rng2.Mesh
  1292. local rng3 = rng:Clone()
  1293. rng3.Parent = char
  1294. local rng3m = rng3.Mesh
  1295. local rng4 = rng:Clone()
  1296. rng4.Parent = char
  1297. local rng4m = rng4.Mesh
  1298. local rng5 = rng:Clone()
  1299. rng5.Parent = char
  1300. local rng5m = rng5.Mesh
  1301. CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
  1302. wait()
  1303. local scaler = 10
  1304. local scaler2 = 10
  1305. game:GetService("Debris"):AddItem(bv, 2.4)
  1306. hum.WalkSpeed = 50
  1307. MagicBlock(bc("Really red"),root.CFrame,15,15,15,10,10,10,0.015)
  1308. for i = 0,10,0.1 do
  1309. swait()
  1310. rng.Transparency = rng.Transparency + 0.01
  1311. rng2.Transparency = rng2.Transparency + 0.01
  1312. rng3.Transparency = rng3.Transparency + 0.01
  1313. rng4.Transparency = rng4.Transparency + 0.01
  1314. rng5.Transparency = rng5.Transparency + 0.01
  1315. scaler = scaler - 0.125
  1316. scaler2 = scaler2 - 0.1
  1317. rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
  1318. rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
  1319. rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
  1320. rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
  1321. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1322. 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)
  1323. 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)
  1324. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
  1325. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
  1326. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
  1328. end
  1329. game:GetService("Debris"):AddItem(rng, 0.1)
  1330. game:GetService("Debris"):AddItem(rng2, 0.1)
  1331. game:GetService("Debris"):AddItem(rng3, 0.1)
  1332. game:GetService("Debris"):AddItem(rng4, 0.1)
  1333. game:GetService("Debris"):AddItem(rng5, 0.1)
  1334. hum.WalkSpeed = 16
  1335. attack = false
  1336. jumped = false
  1337. end
  1338.  
  1339. function dash()
  1340. attack = true
  1341. jumped = true
  1342. hum.WalkSpeed = 0
  1343. local bv = Instance.new("BodyVelocity")
  1344. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1345. bv.velocity = root.CFrame.lookVector*150
  1346. bv.Parent = root
  1347. game:GetService("Debris"):AddItem(bv, 1)
  1348. local rng = Instance.new("Part", char)
  1349. rng.Anchored = true
  1350. rng.BrickColor = BrickColor.new("Bright red")
  1351. rng.CanCollide = false
  1352. rng.FormFactor = 3
  1353. rng.Name = "Ring"
  1354. rng.Size = Vector3.new(1, 1, 1)
  1355. rng.Transparency = 0
  1356. rng.TopSurface = 0
  1357. rng.BottomSurface = 0
  1358. rng.CFrame = root.CFrame
  1359. local rngm = Instance.new("SpecialMesh", rng)
  1360. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1361. local rng2 = rng:Clone()
  1362. rng2.Parent = char
  1363. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1364. local rng2m = rng2.Mesh
  1365. local rng3 = rng:Clone()
  1366. rng3.Parent = char
  1367. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1368. local rng3m = rng3.Mesh
  1369. local rng4 = rng:Clone()
  1370. rng4.Parent = char
  1371. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1372. local rng4m = rng4.Mesh
  1373. local rng5 = rng:Clone()
  1374. rng5.Parent = char
  1375. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1376. local rng5m = rng5.Mesh
  1377. CFuncs["Sound"].Create("rbxassetid://324867021", root, 1, 1)
  1378. wait()
  1379. local scaler = 10/5
  1380. local scaler2 = 10/5
  1381. local hit = larm.Touched:connect(function(hit)
  1382. Damagefunc(hit,25,34,math.random(10,20),"Normal",root,.2,1)
  1383. end)
  1384. for i = 0,10,0.1 do
  1385. swait()
  1386. MagicBlock(bc("Really red"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1387. rng.Transparency = rng.Transparency + 0.01
  1388. rng2.Transparency = rng2.Transparency + 0.01
  1389. rng3.Transparency = rng3.Transparency + 0.01
  1390. rng4.Transparency = rng4.Transparency + 0.01
  1391. rng5.Transparency = rng5.Transparency + 0.01
  1392. scaler = scaler - 0.125/5
  1393. scaler2 = scaler2 - 0.1/5
  1394. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  1395. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1396. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1397. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1398. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1399. 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(-25)),.5)
  1400. 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)
  1401. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.5)
  1402. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  1403. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1404. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-110)), 0.5)
  1405. end
  1406. game:GetService("Debris"):AddItem(rng, 0.1)
  1407. game:GetService("Debris"):AddItem(rng2, 0.1)
  1408. game:GetService("Debris"):AddItem(rng3, 0.1)
  1409. game:GetService("Debris"):AddItem(rng4, 0.1)
  1410. game:GetService("Debris"):AddItem(rng5, 0.1)
  1411. hum.WalkSpeed = 16
  1412. hit:disconnect()
  1413. attack = false
  1414. jumped = false
  1415. end
  1416.  
  1417. function boom()
  1418. attack = false
  1419. jumped = false
  1420. hum.WalkSpeed = 5
  1421. MagicBlock(bc("Bright red"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1422. CFuncs["Sound"].Create("rbxassetid://1047709376", root, 7, 1)
  1423. CFuncs["Sound"].Create("rbxassetid://991726501", root, 6, 0.7)
  1424. for i = 0,15,0.1 do
  1425. swait()
  1426. MagicBlock(bc("Really red"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1427. 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)
  1428. 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)
  1429. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  1430. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  1431. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1432. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  1433. end
  1434. local rng = Instance.new("Part", char)
  1435. rng.Anchored = true
  1436. rng.BrickColor = BrickColor.new("Bright red")
  1437. rng.CanCollide = false
  1438. rng.FormFactor = 3
  1439. rng.Name = "Ring"
  1440. rng.Size = Vector3.new(1, 1, 1)
  1441. rng.Transparency = 0
  1442. rng.TopSurface = 0
  1443. rng.BottomSurface = 0
  1444. rng.Position = root.Position
  1445. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1446. local rngm = Instance.new("SpecialMesh", rng)
  1447. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1448. local rng2 = rng:Clone()
  1449. rng2.Parent = char
  1450. local rng2m = rng2.Mesh
  1451. local rng3 = rng:Clone()
  1452. rng3.Parent = char
  1453. local rng3m = rng3.Mesh
  1454. local rng4 = rng:Clone()
  1455. rng4.Parent = char
  1456. local rng4m = rng4.Mesh
  1457. local rng5 = rng:Clone()
  1458. rng5.Parent = char
  1459. local rng5m = rng5.Mesh
  1460. local hit = rng5.Touched:connect(function(hit)
  1461. Damagefunc(hit,999999999,999999999,math.random(999999999,999999999),"Normal",root,.2,1)
  1462. end)
  1463. MagicBlock(bc("Really red"),root.CFrame,15,15,15,5,5,5,0.015)
  1464. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  1465. CFuncs["Sound"].Create("rbxassetid://597291504", rng, 5, 0.85)
  1466. CFuncs["Sound"].Create("rbxassetid://144699494", rng, 10, 1)
  1467. wait()
  1468. local scaler = 10
  1469. local scaler2 = 10
  1470. for i = 0,10,0.1 do
  1471. swait()
  1472. rng.Transparency = rng.Transparency + 0.01
  1473. rng2.Transparency = rng2.Transparency + 0.01
  1474. rng3.Transparency = rng3.Transparency + 0.01
  1475. rng4.Transparency = rng4.Transparency + 0.01
  1476. rng5.Transparency = rng5.Transparency + 0.01
  1477. scaler = scaler - 0.125
  1478. scaler2 = scaler2 - 0.1
  1479. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 4)
  1480. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 3)
  1481. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 2)
  1482. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 1)
  1483. rng5.Size = rng5m.Scale
  1484. rng5.CFrame = rng.CFrame
  1485. rngm.Scale = rngm.Scale + Vector3.new(scaler2/2, scaler2/2, 5)
  1486. 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)
  1487. 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)
  1488. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  1489. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1490. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  1491. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  1492. end
  1493. hit:disconnect()
  1494. game:GetService("Debris"):AddItem(rng, 1)
  1495. game:GetService("Debris"):AddItem(rng2, 1)
  1496. game:GetService("Debris"):AddItem(rng3, 1)
  1497. game:GetService("Debris"):AddItem(rng4, 1)
  1498. game:GetService("Debris"):AddItem(rng5, 1)
  1499. hum.WalkSpeed = 16
  1500. attack = true
  1501. jumped = true
  1502. end
  1503.  
  1504. function shooty()
  1505. attack = true
  1506. hum.WalkSpeed = 25
  1507. MagicBlock(bc("Really red"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1508. CFuncs["Sound"].Create("rbxassetid://1047709376", root, 7, 1)
  1509. CFuncs["Sound"].Create("rbxassetid://991726501", root, 6, 0.7)
  1510. for i = 0,15,0.1 do
  1511. swait()
  1512. MagicBlock(bc("Really red"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1513. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  1514. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  1515. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1516. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  1517. end
  1518. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  1519. local a = Instance.new("Part",Character)
  1520. a.Name = "Direction"
  1521. a.Anchored = true
  1522. a.BrickColor = bc("Bright red")
  1523. a.Material = "Neon"
  1524. a.Transparency = 1
  1525. a.CanCollide = false
  1526. local ray = Ray.new(
  1527. root.CFrame.p, -- origin
  1528. (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
  1529. )
  1530. local ignore = Character
  1531. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1532. a.BottomSurface = 10
  1533. a.TopSurface = 10
  1534. local distance = (root.CFrame.p - position).magnitude
  1535. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1536. a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
  1537. local lb = Instance.new("Part")
  1538. lb.Parent = char
  1539. lb.BrickColor = bc("Bright red")
  1540. lb.CanCollide = false
  1541. lb.Material = "Neon"
  1542. lb.Anchored = true
  1543. lb.TopSurface = 0
  1544. lb.BottomSurface = 0
  1545. lb.Transparency = 0
  1546. lb.Size = vt(0.5,0.5,0.5)
  1547. lb.CFrame = sorb.CFrame
  1548. lb.Anchored = false
  1549. local thingery = Instance.new("SpecialMesh",lb)
  1550. thingery.MeshType = "Sphere"
  1551. thingery.Scale = vt(25,25,25)
  1552. game:GetService("Debris"):AddItem(lb, 10)
  1553. local bv = Instance.new("BodyVelocity")
  1554. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1555. bv.velocity = a.CFrame.lookVector*150
  1556. bv.Parent = lb
  1557. game:GetService("Debris"):AddItem(a, 0.1)
  1558. wait(0.05)
  1559. local hitted = false
  1560. lb.Touched:connect(function(hit)
  1561. if hitted == false then
  1562. hitted = true
  1563. lb.Anchored = true
  1564. lb.Transparency = 1
  1565. local rng = Instance.new("Part", char)
  1566. rng.Anchored = true
  1567. rng.BrickColor = BrickColor.new("Bright red")
  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 = lb.CFrame
  1576. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1577. local rngm = Instance.new("SpecialMesh", rng)
  1578. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1579. local rng2 = rng:Clone()
  1580. rng2.Parent = char
  1581. local rng2m = rng2.Mesh
  1582. local rng3 = rng:Clone()
  1583. rng3.Parent = char
  1584. local rng3m = rng3.Mesh
  1585. local rng4 = rng:Clone()
  1586. rng4.Parent = char
  1587. local rng4m = rng4.Mesh
  1588. local rng5 = rng:Clone()
  1589. rng5.Parent = char
  1590. rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1591. local rng5m = rng5.Mesh
  1592. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1593. rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1594. rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  1595. MagicBlock(bc("Really red"),lb.CFrame,15,15,15,5,5,5,0.015)
  1596. local rng6 = rng:Clone()
  1597. rng6.Material = "Neon"
  1598. rng6.Parent = char
  1599. local rng6m = rng6.Mesh
  1600. rng6m.Scale = vt(1,1,1)
  1601. rng6m.MeshType = "Sphere"
  1602. local hita = rng6.Touched:connect(function(hit)
  1603. Damagefunc(hit,999999999,999999999,math.random(999999999,999999999),"Normal",root,.2,1)
  1604. end)
  1605. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
  1606. CFuncs["Sound"].Create("rbxassetid://597291504", rng, 5, 0.75)
  1607. CFuncs["Sound"].Create("rbxassetid://144699494", rng, 5, 1)
  1608. local scaler = 5
  1609. local scaler2 = 5
  1610. for i = 0,20,0.1 do
  1611. swait()
  1612. rng.Transparency = rng.Transparency + 0.005
  1613. rng2.Transparency = rng2.Transparency + 0.005
  1614. rng3.Transparency = rng3.Transparency + 0.005
  1615. rng4.Transparency = rng4.Transparency + 0.005
  1616. rng5.Transparency = rng5.Transparency + 0.005
  1617. rng6.Transparency = rng6.Transparency + 0.005
  1618. scaler = scaler - 0.005/2
  1619. scaler2 = scaler2 - 0.05/2
  1620. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  1621. rng6.CFrame = rng.CFrame
  1622. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1623. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1624. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1625. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  1626. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1627. end
  1628. hita:disconnect()
  1629. game:GetService("Debris"):AddItem(rng, 1)
  1630. game:GetService("Debris"):AddItem(rng2, 1)
  1631. game:GetService("Debris"):AddItem(rng3, 1)
  1632. game:GetService("Debris"):AddItem(rng4, 1)
  1633. game:GetService("Debris"):AddItem(rng5, 1)
  1634. game:GetService("Debris"):AddItem(rng6, 1)
  1635. end
  1636. end)
  1637. for i = 0,2,0.1 do
  1638. swait()
  1639. MagicBlock(bc("Really red"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1640. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1641. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1642. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1643. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1644. end
  1645. attack = false
  1646. end
  1647.  
  1648. function superpunch()
  1649. attack = true
  1650. jumped = true
  1651. hum.WalkSpeed = 5
  1652. MagicBlock(bc("Really red"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1653. CFuncs["Sound"].Create("rbxassetid://1047709376", root, 7, 1)
  1654. CFuncs["Sound"].Create("rbxassetid://991726501", root, 6, 0.7)
  1655. for i = 0,15,0.1 do
  1656. swait()
  1657. MagicBlock(bc("Really red"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1658. 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)
  1659. 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)
  1660. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  1661. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  1662. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1663. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  1664. end
  1665. local rng = Instance.new("Part", char)
  1666. rng.Anchored = true
  1667. rng.BrickColor = BrickColor.new("Bright red")
  1668. rng.CanCollide = false
  1669. rng.FormFactor = 3
  1670. rng.Name = "Ring"
  1671. rng.Size = Vector3.new(1, 1, 1)
  1672. rng.Transparency = 0
  1673. rng.TopSurface = 0
  1674. rng.BottomSurface = 0
  1675. rng.CFrame = root.CFrame
  1676. local rngm = Instance.new("SpecialMesh", rng)
  1677. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1678. local rng2 = rng:Clone()
  1679. rng2.Parent = char
  1680. local rng2m = rng2.Mesh
  1681. local rng3 = rng:Clone()
  1682. rng3.Parent = char
  1683. local rng3m = rng3.Mesh
  1684. local rng4 = rng:Clone()
  1685. rng4.Parent = char
  1686. local rng4m = rng4.Mesh
  1687. local rng5 = rng:Clone()
  1688. rng5.Parent = char
  1689. local rng5m = rng5.Mesh
  1690. local rng6 = rng:Clone()
  1691. rng6.Material = "Neon"
  1692. rng6.Parent = char
  1693. local rng6m = rng6.Mesh
  1694. rng6m.Scale = vt(1,1,1)
  1695. rng6m.MeshType = "Sphere"
  1696. local hita = rng6.Touched:connect(function(hit)
  1697. Damagefunc(hit,999999999,999999999,math.random(999999999,999999999),"Normal",root,.2,1)
  1698. end)
  1699. rng2.CFrame = root.CFrame
  1700. rng3.CFrame = root.CFrame
  1701. rng4.CFrame = root.CFrame
  1702. rng5.CFrame = root.CFrame
  1703. rng6.CFrame = root.CFrame
  1704. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  1705. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  1706. CFuncs["Sound"].Create("rbxassetid://169628396", rng, 5, 1)
  1707. CFuncs["Sound"].Create("rbxassetid://137994058", rng, 5, 1)
  1708. CFuncs["Sound"].Create("rbxassetid://138186576", rng, 5, 1)
  1709. wait()
  1710. local scaler = 10/5
  1711. local scaler2 = 10/5
  1712. MagicBlock(bc("Really red"),root.CFrame,15,15,15,5,5,5,0.015)
  1713. for i = 0,10,0.1 do
  1714. swait()
  1715. MagicBlock(bc("Really red"),rng6.CFrame,5,5,5,5,5,5,0.1)
  1716. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  1717. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/1.25
  1718. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/1.5
  1719. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/1.75
  1720. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
  1721. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  1722. rng6.CFrame = rng.CFrame
  1723. rng.Transparency = rng.Transparency + 0.01
  1724. rng2.Transparency = rng2.Transparency + 0.01
  1725. rng3.Transparency = rng3.Transparency + 0.01
  1726. rng4.Transparency = rng4.Transparency + 0.01
  1727. rng5.Transparency = rng5.Transparency + 0.01
  1728. rng6.Transparency = rng6.Transparency + 0.01
  1729. scaler = scaler - 0.125/5
  1730. scaler2 = scaler2 - 0.1/5
  1731. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  1732. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  1733. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  1734. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  1735. rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
  1736. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1737. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1738. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1739. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1740. end
  1741. hita:disconnect()
  1742. game:GetService("Debris"):AddItem(rng, 1)
  1743. game:GetService("Debris"):AddItem(rng2, 1)
  1744. game:GetService("Debris"):AddItem(rng3, 1)
  1745. game:GetService("Debris"):AddItem(rng4, 1)
  1746. game:GetService("Debris"):AddItem(rng5, 1)
  1747. hum.WalkSpeed = 16
  1748. attack = false
  1749. jumped = false
  1750. end
  1751.  
  1752.  
  1753. mouse.KeyDown:connect(function(k)
  1754. if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  1755. jump()
  1756. end
  1757. if k == "x" and attack == false then
  1758. dash()
  1759. end
  1760. if k == "c" and attack == false then
  1761. boom()
  1762. end
  1763. if k == "v" and attack == false then
  1764. shooty()
  1765. end
  1766. if k == "b" and attack == false then
  1767. superpunch()
  1768. end
  1769. end)
  1770. Humanoid.Animator.Parent = nil
  1771. idleanim=.4
  1772. while true do
  1773. swait()
  1774. sine = sine + change
  1775. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1776. local velderp=RootPart.Velocity.y
  1777. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1778. if equipped==true or equipped==false then
  1779. if attack==false then
  1780. idle=idle+1
  1781. else
  1782. idle=0
  1783. end
  1784. if idle>=500 then
  1785. if attack==false then
  1786. --Sheath()
  1787. end
  1788. end
  1789. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1790. Anim="Jump"
  1791. if attack==false then
  1792. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  1793. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1794. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1795. 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)
  1796. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1797. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  1798. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1799. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  1800. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  1801. end
  1802. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1803. Anim="Fall"
  1804. if attack==false then
  1805. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  1806. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1807. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1808. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  1809. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1810. 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)
  1811. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1812. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  1813. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  1814. end
  1815. elseif torvel<1 and hitfloor~=nil then
  1816. Anim="Idle"
  1817. if jumped == false then
  1818. 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)
  1819. 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)
  1820. end
  1821. if attack==false then
  1822. 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)
  1823. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  1824. 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)
  1825. 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)
  1826. end
  1827. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1828. Anim="Walk"
  1829. if jumped == false then
  1830. 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)
  1831. 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)
  1832. end
  1833. if attack==false then
  1834. 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)
  1835. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1836. 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)
  1837. 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)
  1838. end
  1839. elseif torvel>=22 and hitfloor~=nil then
  1840. Anim="Run"
  1841. if jumped == false then
  1842. 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)
  1843. 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)
  1844. end
  1845. if attack==false then
  1846. 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)
  1847. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1848. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  1849. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  1850. end
  1851. end
  1852. end
  1853. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement