Advertisement
yabagaba

Untitled

Jul 13th, 2019
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 110.89 KB | None | 0 0
  1. ---------------------------
  2. --/ \--
  3. -- Script By: 123jl123 --
  4. --\ /--
  5. ---------------------------
  6.  
  7. local lastid= "http://www.roblox.com/asset/?id=1525123663"
  8. ArtificialHB = Instance.new("BindableEvent", script)
  9. ArtificialHB.Name = "Heartbeat"
  10. script:WaitForChild("Heartbeat")
  11. Player = game:GetService("Players").LocalPlayer
  12. local MHIT=Vector3.new()
  13. local MTARGET=nil
  14. local CamCoord = Vector3.new()
  15. if Player.Character == nil then
  16. while Player.Character == nil do wait()
  17.  
  18. end end
  19. Character = Player.Character
  20. PlayerGui = Player:WaitForChild("PlayerGui")
  21. Backpack = Player:WaitForChild("Backpack")
  22. Torso = Character.Torso
  23. Head = Character.Head
  24. Cam = workspace.CurrentCamera
  25. Shadow = false
  26. Humanoid = Character.Humanoid
  27. CanDoubleJump = false
  28. Jumped=false
  29. Canholdtime = 5
  30. LostGrip = false
  31. for _,v in pairs(Character:children()) do
  32. if v:IsA("BasePart") then
  33. v.Material = "Fabric"
  34. end
  35. end
  36. local mouse = Player:GetMouse()
  37. Combo = 0
  38. ComboDur = 0
  39. local effectmodel = Instance.new("Model",Character)
  40. effectmodel.Name = "Effects"
  41. torvel = 0
  42. local CurId = 1
  43. function makeGiant(Character, S)
  44. local HR = Character:findFirstChild("HumanoidRootPart")
  45. local welds, hats = {}, {}
  46. local torso = Character:findFirstChild("Torso")
  47. local pos = torso.Position
  48. local ssss = torso.Size.Y
  49. for _,v in pairs(HR:children()) do
  50. if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
  51. table.insert(welds, {v, v.Part0, v.Part1})
  52. end
  53. end
  54. for _,v in pairs(torso:children()) do
  55. if v:IsA("Motor6D") or v:IsA("Weld") or v:IsA("Motor") then
  56. table.insert(welds, {v, v.Part0, v.Part1})
  57. end
  58. end
  59. for _, v in pairs(Character:children()) do
  60. if v:IsA("Accessory") then
  61. --v.AttachmentPos = v.AttachmentPos*S
  62. --v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
  63. v:Destroy()
  64.  
  65. elseif v:IsA("BasePart") then
  66. v.formFactor = "Custom"
  67. v.Size = v.Size*S
  68. --v.Transparency = 1
  69.  
  70. end
  71. end
  72. local anim = Character.Animate
  73. local animc = anim:clone()
  74. anim:remove()
  75. for _,v in pairs(welds) do
  76. local c1 = v[1].C1
  77. local c0 = v[1].C0
  78. local a1, a2, a3 = c1:toEulerAnglesXYZ()
  79. local b1, b2, b3 = c0:toEulerAnglesXYZ()
  80. c1 = CFrame.new(c1.p * S) * CFrame.Angles(a1, a2, a3)
  81. c0 = CFrame.new(c0.p * S) * CFrame.Angles(b1, b2, b3)
  82. local clon = v[1]:clone()
  83. v[1]:remove()
  84. clon.C1 = c1
  85. clon.C0 = c0
  86. clon.Part1 = v[3]
  87. clon.Part0 = v[2]
  88. clon.Parent = Character.Torso
  89. if clon.Name == "RootJoint" then
  90. clon.Parent = Character.HumanoidRootPart
  91.  
  92.  
  93. end
  94.  
  95.  
  96. end
  97. animc.Parent = Character
  98.  
  99. Character:MoveTo(pos+Vector3.new(0,S*(ssss/2),0))
  100. wait(0.1)
  101.  
  102. end
  103.  
  104. makeGiant(Player.Character, .7)
  105.  
  106.  
  107.  
  108. SkinParts = {}
  109. MaskParts = {}
  110. SwordParts = {}
  111. CapeParts = {}
  112. ShadowParticle = {}
  113. Healing = false
  114. CanDash = true
  115. HClip = true
  116. LeftArm = Character["Left Arm"]
  117. LeftLeg = Character["Left Leg"]
  118. RightArm = Character["Right Arm"]
  119. RightLeg = Character["Right Leg"]
  120. ch = Character
  121. RootPart = Character.HumanoidRootPart
  122. RootJoint = RootPart.RootJoint
  123. local Anim="Idle"
  124. local inAir = false
  125. local inAir2 = false
  126. local attack = false
  127. it=Instance.new
  128. vt=Vector3.new
  129. cf=CFrame.new
  130. euler=CFrame.fromEulerAnglesXYZ
  131. angles=CFrame.Angles
  132. local cn = CFrame.new
  133. mr=math.rad
  134. local sprintmode=false
  135. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  136. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  137. local Anim="Idle"
  138. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  139. local Neck = Character.Torso:FindFirstChild("Neck")
  140. function weld(parent,part0,part1,c0)
  141. local weld=it("Weld")
  142. weld.Parent=parent
  143. weld.Part0=part0
  144. weld.Part1=part1
  145. weld.C0=c0
  146. return weld
  147. end
  148. local s2=Instance.new("Sound",Torso)
  149. local Tuanting = false
  150. local HClip = true
  151. s2.EmitterSize = 40
  152. local s2c=s2:Clone()
  153. local RbxUtility = LoadLibrary("RbxUtility")
  154. local Create = RbxUtility.Create
  155. local sine = 0
  156. local change = 1
  157.  
  158.  
  159.  
  160. local LCape = Instance.new("Part")
  161. LCape.Parent = Character
  162. LCape.Size = Vector3.new(0.05, 0.05, 0.05)
  163. LCape.Transparency = 1
  164. LCape.BrickColor = BrickColor.new("Really black")
  165. LCape.Material = "SmoothPlastic"
  166. LCape.CanCollide = false
  167. LCape.Archivable = false
  168. local RCape = Instance.new("Part")
  169. RCape.Parent = Character
  170. RCape.Size = Vector3.new(0.05, 0.05, 0.05)
  171. RCape.Transparency = 1
  172. RCape.BrickColor = BrickColor.new("Really black")
  173. RCape.Material = "SmoothPlastic"
  174. RCape.CanCollide = false
  175. RCape.Archivable = false
  176. function stopAnimations()
  177. coroutine.resume(coroutine.create(function()
  178. Character.Animate:Destroy()
  179. end))
  180. coroutine.resume(coroutine.create(function()
  181. for _,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
  182. v:Stop()
  183.  
  184. end
  185. end))
  186. end
  187.  
  188.  
  189. stopAnimations()
  190.  
  191. function Acthing(Part00,Mid,MScale,MBC,MMT,WCF,MCL,Par,mode)
  192. local RoHead = Instance.new("Part")
  193.  
  194.  
  195. RoHead:BreakJoints()
  196. RoHead.Size = Vector3.new(0.05, 0.05, 0.05)
  197. RoHead.Transparency = 0
  198. RoHead.Shape = "Ball"
  199. RoHead.BrickColor = MBC
  200. RoHead.Material = MMT
  201. RoHead.CanCollide = false
  202. RoHead.CFrame = Part00.CFrame
  203. RoHead:BreakJoints()
  204. if Par ~= nil then
  205. RoHead.Parent = Par
  206. else
  207. RoHead.Parent = Character
  208.  
  209. end
  210.  
  211. local mesh = Instance.new("SpecialMesh",RoHead)
  212. mesh.MeshId = "rbxassetid://"..Mid
  213. mesh.Scale = MScale
  214.  
  215. local weld2en = Instance.new("Motor6D")
  216. weld2en.Parent = Part00
  217. if mode == nil or mode == 1 then
  218. weld2en.Part0 = Part00
  219. weld2en.Part1 = RoHead
  220. elseif mode == 2 then
  221. weld2en.Part0 = RoHead
  222. weld2en.Part1 = Part00
  223. end
  224. weld2en.C1 = WCF
  225. if MCL ~= nil then
  226. RoHead.Color = MCL
  227. if MCL == Color3.new(1, 1, 1) and Par == nil then
  228. table.insert(MaskParts,RoHead)
  229. elseif MCL == Color3.new(27/255, 42/255, 53/255) then
  230. table.insert(CapeParts,RoHead)
  231.  
  232. end
  233. end
  234. RoHead.Archivable = false
  235. end
  236.  
  237. coroutine.resume(coroutine.create(function()
  238.  
  239.  
  240.  
  241. wait(.5)
  242. Head.face:Destroy()
  243. end))
  244.  
  245. local BC = Character:WaitForChild("Body Colors")
  246. BC:Destroy()
  247.  
  248. wait()
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256. table.insert(SkinParts,Head)
  257. table.insert(SkinParts,LeftArm)
  258. table.insert(SkinParts,LeftLeg)
  259. table.insert(SkinParts,RightArm)
  260. table.insert(SkinParts,RightLeg)
  261. table.insert(SkinParts,Torso)
  262.  
  263.  
  264.  
  265.  
  266. --[[
  267. Acthing(Head,"1174600651",Vector3.new(.04,.04,.04),BrickColor.new("Really black"),"Fabric",cn(0,0,-.02)*angles(math.rad(90), math.rad(0), math.rad(-180)),Color3.new(1, 1, 1))
  268. Acthing(Head,"1174600651",Vector3.new(.04,.04,.01),BrickColor.new("Really black"),"Fabric",cn(0,0,.08)*angles(math.rad(90), math.rad(180), math.rad(0)),Color3.new(1, 1, 1))
  269. --]]
  270. Acthing(Head,"1698327723",Vector3.new(1.01,1.02,1.01),BrickColor.new("Really black"),"SmoothPlastic",cn(0,-.0325,0)*angles(math.rad(0), math.rad(180), math.rad(0)),Color3.new(1, 1, 1))
  271.  
  272. Acthing(Head,"15934744",Vector3.new(1.11,2.12,1.01),BrickColor.new("Really black"),"SmoothPlastic",cn(0,-0.6325,.1)*angles(math.rad(0), math.rad(0), math.rad(0)),Color3.new(1, 1, 1))
  273.  
  274. -----------------
  275. Acthing(Torso,"0",Vector3.new(0.78,1.12,0.26),BrickColor.new("Really black"),"Fabric",cn(0,-0.1,-.43)*angles(math.rad(0), math.rad(0), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  276.  
  277. Acthing(Torso,"0",Vector3.new(0.7/2.6,1.0,0.21),BrickColor.new("Really black"),"Fabric",cn(-.2,-0.1,-.43*1.5)*angles(math.rad(-10), math.rad(90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  278. Acthing(Torso,"0",Vector3.new(0.7/2.6,1.0,0.21),BrickColor.new("Really black"),"Fabric",cn(.2,-0.1,-.43*1.5)*angles(math.rad(-10), math.rad(-90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  279.  
  280. -----------------
  281. -- RCape
  282. -- LCape
  283. Acthing(RCape,"0",Vector3.new(0.7/2,0.9,0.51),BrickColor.new("Really black"),"Fabric",cn(0,-0.0,-.40*.5)*angles(math.rad(-15), math.rad(45), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  284. Acthing(RCape,"0",Vector3.new(0.7/2.5,0.9,0.25),BrickColor.new("Really black"),"Fabric",cn(.15,-0.0,-.43*.9)*angles(math.rad(-15), math.rad(135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  285. Acthing(RCape,"0",Vector3.new(0.7/2,0.5,0.31),BrickColor.new("Really black"),"Fabric",cn(.1,0.5,-.40*.4)*angles(math.rad(-15), math.rad(90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  286.  
  287.  
  288. Acthing(RCape,"0",Vector3.new(0.7/1.5,0.9,0.15),BrickColor.new("Really black"),"Fabric",cn(.35,-0.05,-.43*.8)*angles(math.rad(-15), math.rad(135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  289.  
  290.  
  291.  
  292. -----------------
  293.  
  294.  
  295. Acthing(LCape,"0",Vector3.new(0.7/2,0.9,0.51),BrickColor.new("Really black"),"Fabric",cn(0,-0.0,-.40*.5)*angles(math.rad(-15), math.rad(-45), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  296. Acthing(LCape,"0",Vector3.new(0.7/2.5,0.9,0.25),BrickColor.new("Really black"),"Fabric",cn(-.15,-0.0,-.43*.9)*angles(math.rad(-15), math.rad(-135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  297. Acthing(LCape,"0",Vector3.new(0.7/2,0.5,0.31),BrickColor.new("Really black"),"Fabric",cn(-.1,0.5,-.40*.4)*angles(math.rad(-15), math.rad(-90), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  298. Acthing(LCape,"0",Vector3.new(0.7/1.5,0.9,0.15),BrickColor.new("Really black"),"Fabric",cn(-.35,-0.05,-.43*.8)*angles(math.rad(-15), math.rad(-135), math.rad(180)),Color3.new(27/255, 42/255, 53/255))
  299.  
  300. -----------------
  301. --so("135436302", Handle,3, .9)
  302.  
  303. local Eyes = Instance.new("Part")
  304.  
  305. Eyes.Size = Vector3.new(0.1, 0.1, 0.1)
  306. Eyes.Transparency = 0
  307. Eyes.Shape = "Ball"
  308. Eyes.Material = "Neon"
  309. Eyes.CanCollide = false
  310. Eyes.Name = "Neon"
  311. Eyes.CFrame = Head.CFrame
  312. Eyes:BreakJoints()
  313. Eyes.Parent = Character
  314. local mesh = Instance.new("SpecialMesh",Eyes)
  315. mesh.MeshType = "Sphere"
  316. mesh.Scale = Vector3.new(10.4,10,5.2)*.9
  317. local weld2en = Instance.new("Weld")
  318. weld2en.Parent = Character.Head
  319. weld2en.Part0 = Character.Head
  320. weld2en.Part1 = Eyes
  321. weld2en.C1 = cn(0,-.0325,.35)
  322.  
  323. Eyes.Color = Color3.new(0, 0, 0)
  324.  
  325. Eyes.Archivable = false
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338. local Handle = Instance.new("Part")
  339.  
  340. Handle.Size = Vector3.new(0.1, 0.1, 0.1)
  341. Handle.Transparency = 0
  342. Handle.Shape = "Ball"
  343. Handle.Material = "SmoothPlastic"
  344. Handle.CanCollide = false
  345. Handle.Name = "Handle"
  346. Handle.CFrame = Torso.CFrame
  347. Handle:BreakJoints()
  348. Handle.Parent = Character
  349. local Hmesh = Instance.new("SpecialMesh",Handle)
  350. Hmesh.MeshType = "Sphere"
  351. Hmesh.Scale = Vector3.new(2,8,2)
  352.  
  353.  
  354. Handle.Color = Color3.new(.5, .5, .5)
  355.  
  356. Handle.Archivable = false
  357. local HW=weld(Torso,Torso,Handle,cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135)))
  358.  
  359. local HandleBlade = Instance.new("Part")
  360.  
  361. HandleBlade.Size = Vector3.new(0.1, 0.1, 0.1)
  362. HandleBlade.Transparency = 0
  363. HandleBlade.Shape = "Ball"
  364. HandleBlade.Material = "SmoothPlastic"
  365. HandleBlade.CanCollide = false
  366. HandleBlade.Name = "Blade"
  367. HandleBlade.CFrame = Handle.CFrame
  368. HandleBlade:BreakJoints()
  369. HandleBlade.Parent = Character
  370. local HBmesh = Instance.new("SpecialMesh",HandleBlade)
  371. HBmesh.MeshType = "Sphere"
  372. HBmesh.Scale = Vector3.new(.01,.05,.01)
  373. HBmesh.MeshId = "rbxassetid://703458158"
  374.  
  375. HandleBlade.Color = Color3.new(.5, .5, .5)
  376.  
  377. HandleBlade.Archivable = false
  378.  
  379. local HBW=weld(Handle,Handle,HandleBlade,cf(0,1.5,0))
  380. table.insert(SwordParts,Handle)
  381. table.insert(SwordParts,HandleBlade)
  382.  
  383.  
  384. local LimbMesh1 = Create("SpecialMesh"){
  385. Parent = nil,
  386. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  387. --MeshId = "http://www.roblox.com/asset/?id=430080097",
  388. MeshType = "Sphere",
  389. Scale = vt(.7,.7*1.5,.7),
  390. Offset = vt(0,.04,0)
  391. }
  392.  
  393.  
  394. local LimbMesh1_2 = Create("SpecialMesh"){
  395. Parent = nil,
  396. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  397. MeshId = "http://www.roblox.com/asset/?id=430080097",
  398. MeshType = "Sphere",
  399. Scale = vt(.35,.7,.35),
  400. Offset = vt(-.1,.0,-.1)
  401. }
  402.  
  403. local LimbMesh1_3 = Create("SpecialMesh"){
  404. Parent = nil,
  405. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  406. MeshId = "http://www.roblox.com/asset/?id=430080097",
  407. MeshType = "Sphere",
  408. Scale = vt(.35,.7,.35),
  409. Offset = vt(.1,.0,-.1)
  410. }
  411.  
  412. local LimbMesh2 = Create("SpecialMesh"){
  413. Parent = nil,
  414. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  415. MeshId = "http://www.roblox.com/asset/?id=430080097",
  416. MeshType = "Sphere",
  417. Scale = vt(.5,.7,.5),
  418. Offset = vt(0,.04,0)
  419. }
  420. local TorsoMesh = Create("SpecialMesh"){
  421. Parent = Torso,
  422. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  423. MeshId = "http://www.roblox.com/asset/?id=430080097",
  424. Scale = vt(1,.7,.7),
  425. Offset = vt(0,.13,0)
  426. }
  427. LimbMesh1_2:Clone().Parent = RightArm
  428. LimbMesh1_3:Clone().Parent = LeftArm
  429. LimbMesh2:Clone().Parent = RightLeg
  430. LimbMesh2:Clone().Parent = LeftLeg
  431.  
  432. RightArm.Material = "SmoothPlastic"
  433. LeftArm.Material = "SmoothPlastic"
  434. for i,clothes in pairs(Character:GetChildren()) do
  435. if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
  436. clothes:Destroy()
  437. end
  438. end
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446. local RbxUtility = LoadLibrary("RbxUtility")
  447. local Create = RbxUtility.Create
  448. local Ang=Instance.new("Model")
  449. Ang.Name="Angles"
  450. Ang.Parent=Character
  451.  
  452. local rrx=Instance.new("NumberValue")
  453. rrx.Name="X"
  454. rrx.Parent=Ang
  455. rrx.Value=0
  456. local rry=Instance.new("NumberValue")
  457. rry.Name="Y"
  458. rry.Parent=Ang
  459. rry.Value=0
  460. local rrz=Instance.new("NumberValue")
  461. rrz.Name="Z"
  462. rrz.Parent=Ang
  463. rrz.Value=0
  464. function Glitch1(StartPart,VF1,VF2,VF3,Mode)
  465.  
  466.  
  467. if Mode == nil or Mode == "M1" then
  468. coroutine.resume(coroutine.create(function()
  469. for _,v in pairs(StartPart:GetChildren()) do
  470. if v:isA("BasePart") then
  471.  
  472.  
  473.  
  474. local GlitchPart = Instance.new("Part",nil)
  475. GlitchPart.Transparency = v.Transparency +.0
  476. if v.Name == "Center" or v.Name == "Neon" then
  477. GlitchPart.Transparency = 1
  478.  
  479. end
  480. local OldTrans = GlitchPart.Transparency
  481. local CF1 = v.CFrame
  482. RemoveOutlines(GlitchPart)
  483. GlitchPart.CanCollide = false
  484. GlitchPart.Anchored = true
  485. GlitchPart:BreakJoints()
  486. GlitchPart.CFrame = v.CFrame
  487. GlitchPart:BreakJoints()
  488. GlitchPart.Size = v.Size
  489.  
  490. GlitchPart:BreakJoints()
  491. GlitchPart.Color = Color3.new(0, 0, 0)
  492. RemoveOutlines(GlitchPart)
  493. --GlitchPart.Material = v.Material
  494. GlitchPart.Material = "Neon"
  495. for _,v2 in pairs(v:GetChildren()) do
  496. if v2:isA("SpecialMesh") then
  497. v2:Clone().Parent=GlitchPart
  498. end
  499. end
  500.  
  501.  
  502. local LifeTime = math.random(300,300)
  503. LifeTime=LifeTime/100
  504.  
  505. coroutine.resume(coroutine.create(function()
  506.  
  507. for T = OldTrans,2,.01 do swait()
  508. GlitchPart.Transparency = OldTrans +T
  509. end
  510.  
  511. end))
  512. coroutine.resume(coroutine.create(function()
  513. local loopnum1 = 0
  514. local loopnum2 = VF2
  515. local loopnum3 = VF3
  516. wait()
  517. GlitchPart.Parent = workspace
  518. while GlitchPart.Parent ~= nil do swait()
  519.  
  520.  
  521. -- loopnum2
  522. -- loopnum3
  523. -- coroutine.resume(coroutine.create(function()
  524. GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
  525. loopnum1 = loopnum1 + .01
  526.  
  527. --end))
  528. end
  529. end))
  530. game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
  531.  
  532.  
  533. end
  534.  
  535. Glitch1(v,VF1,VF2,VF3)
  536. end
  537.  
  538. end))
  539.  
  540.  
  541.  
  542.  
  543. elseif Mode == "M2" then
  544. coroutine.resume(coroutine.create(function()
  545. for _,v in pairs(StartPart:GetChildren()) do
  546. if v:isA("BasePart") then
  547.  
  548.  
  549.  
  550. local GlitchPart = Instance.new("Part",nil)
  551. GlitchPart.Transparency = 0
  552. if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
  553. GlitchPart.Transparency = 1
  554.  
  555. end
  556. local OldTrans = GlitchPart.Transparency
  557. local CF1 = v.CFrame
  558. RemoveOutlines(GlitchPart)
  559. GlitchPart.CanCollide = false
  560. GlitchPart.Anchored = true
  561. GlitchPart:BreakJoints()
  562. GlitchPart.CFrame = v.CFrame
  563. GlitchPart:BreakJoints()
  564. GlitchPart.Size = v.Size
  565.  
  566. GlitchPart:BreakJoints()
  567. GlitchPart.Color = Color3.new(0, 0, 0)
  568. RemoveOutlines(GlitchPart)
  569. --GlitchPart.Material = v.Material
  570. GlitchPart.Material = "Neon"
  571. for _,v2 in pairs(v:GetChildren()) do
  572. if v2:isA("SpecialMesh") then
  573. v2:Clone().Parent=GlitchPart
  574. end
  575. end
  576.  
  577.  
  578. local LifeTime = math.random(300,300)
  579. LifeTime=LifeTime/100
  580.  
  581. coroutine.resume(coroutine.create(function()
  582.  
  583. for T = OldTrans,2,.01 do swait()
  584. GlitchPart.Transparency = OldTrans +T
  585. end
  586.  
  587. end))
  588. coroutine.resume(coroutine.create(function()
  589. local loopnum1 = 0
  590. local loopnum2 = VF2
  591. local loopnum3 = VF3
  592. wait()
  593. GlitchPart.Parent = workspace
  594. while GlitchPart.Parent ~= nil do swait()
  595.  
  596.  
  597. -- loopnum2
  598. -- loopnum3
  599. -- coroutine.resume(coroutine.create(function()
  600. GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
  601. loopnum1 = loopnum1 + .01
  602.  
  603. --end))
  604. end
  605. end))
  606. game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
  607.  
  608.  
  609. end
  610.  
  611. Glitch1(v,VF1,VF2,VF3,Mode)
  612. end
  613.  
  614. end))
  615.  
  616.  
  617.  
  618. end
  619. end
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626. function RemoveOutlines(part)
  627. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  628. end
  629.  
  630.  
  631. RemoveOutlines(RightArm)
  632. RemoveOutlines(LeftArm)
  633. RemoveOutlines(RightLeg)
  634. RemoveOutlines(LeftLeg)
  635. CFuncs = {
  636. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  637.  
  638. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  639. RemoveOutlines(Part)
  640. return Part
  641. end
  642. }
  643. ,
  644. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  645.  
  646. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  647. if Mesh == "SpecialMesh" then
  648. Msh.MeshType = MeshType
  649. Msh.MeshId = MeshId
  650. end
  651. return Msh
  652. end
  653. }
  654. ,
  655. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  656.  
  657. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  658. if Mesh == "SpecialMesh" then
  659. Msh.MeshType = MeshType
  660. Msh.MeshId = MeshId
  661. end
  662. return Msh
  663. end
  664. }
  665. ,
  666. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  667.  
  668. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  669. return Weld
  670. end
  671. }
  672. ,
  673. Sound = {Create = function(id, par, vol, pit)
  674.  
  675. coroutine.resume(coroutine.create(function()
  676.  
  677. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  678. wait()
  679. S:play()
  680. game:GetService("Debris"):AddItem(S, 6)
  681. end
  682. ))
  683. end
  684. }
  685. ,
  686. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  687.  
  688. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  689. return fp
  690. end
  691. }
  692. }
  693.  
  694. local Particle1 = Create("ParticleEmitter"){
  695. Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (.5, .5, .5)),
  696. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(.5,.8),NumberSequenceKeypoint.new(1,1)}),
  697. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,2)}),
  698. Texture = "rbxassetid://688705835",
  699. Lifetime = NumberRange.new(.8),
  700. Rate = 0,
  701. VelocitySpread = 50,
  702. ZOffset = .9,
  703. Rotation = NumberRange.new(0),
  704. RotSpeed = NumberRange.new(-200,200),
  705. Speed = NumberRange.new(5.0),
  706. LightEmission = 0,
  707. LockedToPart = false,
  708. Acceleration = Vector3.new(0, -10, 0),
  709. EmissionDirection = "Top",
  710. Drag = 2,
  711. Enabled = false
  712. }
  713.  
  714. local Particle1_2 = Create("ParticleEmitter"){
  715. Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (.5, .5, .5)),
  716. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.8),NumberSequenceKeypoint.new(.5,.8),NumberSequenceKeypoint.new(1,1)}),
  717. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,2)}),
  718. Texture = "rbxassetid://688705835",
  719. Lifetime = NumberRange.new(.8),
  720. Rate = 0,
  721. VelocitySpread = 50,
  722. ZOffset = .9,
  723. Rotation = NumberRange.new(0),
  724. RotSpeed = NumberRange.new(-200,200),
  725. Speed = NumberRange.new(2.0),
  726. LightEmission = 0,
  727. LockedToPart = false,
  728. Acceleration = Vector3.new(0, -10, 0),
  729. EmissionDirection = "Bottom",
  730. Drag = 2,
  731. Enabled = false
  732. }
  733.  
  734.  
  735.  
  736.  
  737. local Particle2 = Create("ParticleEmitter"){
  738. Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
  739. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
  740. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
  741. Texture = "rbxassetid://596872069",
  742. Lifetime = NumberRange.new(0.3,1.2),
  743. Rate = 100,
  744. VelocitySpread = 180,
  745. ZOffset = -.9,
  746. Rotation = NumberRange.new(0),
  747. RotSpeed = NumberRange.new(-200,200),
  748. Speed = NumberRange.new(3.0),
  749. LightEmission = 0,
  750. LockedToPart = false,
  751. Acceleration = Vector3.new(0, 0, 0),
  752. EmissionDirection = "Top",
  753. Drag = 3,
  754. Enabled = false
  755. }
  756. local Particle2_2 = Create("ParticleEmitter"){
  757. Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
  758. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
  759. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,2),NumberSequenceKeypoint.new(1,0)}),
  760. Texture = "rbxassetid://596872069",
  761. Lifetime = NumberRange.new(0.3,1.2),
  762. Rate = 100,
  763. VelocitySpread = 180,
  764. ZOffset = .9,
  765. Rotation = NumberRange.new(0),
  766. RotSpeed = NumberRange.new(-200,200),
  767. Speed = NumberRange.new(3.0),
  768. LightEmission = 0,
  769. LockedToPart = false,
  770. Acceleration = Vector3.new(0, 0, 0),
  771. EmissionDirection = "Top",
  772. Drag = 3,
  773. Enabled = false
  774. }
  775. local Particle2_3 = Create("ParticleEmitter"){
  776. Color = ColorSequence.new(Color3.new (0,0,0), Color3.new (0,0,0)),
  777. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(.3,0),NumberSequenceKeypoint.new(1,0)}),
  778. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.4),NumberSequenceKeypoint.new(.25,2),NumberSequenceKeypoint.new(1,0)}),
  779. Texture = "rbxassetid://596872069",
  780. Lifetime = NumberRange.new(0.1,0.2),
  781. Rate = 100,
  782. VelocitySpread = 45,
  783. ZOffset = .9,
  784. Rotation = NumberRange.new(0),
  785. RotSpeed = NumberRange.new(-200,200),
  786. Speed = NumberRange.new(8.0),
  787. LightEmission = 0,
  788. LockedToPart = false,
  789. Acceleration = Vector3.new(0, 0, 0),
  790. EmissionDirection = "Front",
  791. Drag = 0,
  792. Enabled = false
  793. }
  794. local Particle3 = Create("ParticleEmitter"){
  795. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  796. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
  797. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
  798. Texture = "rbxassetid://321556991",
  799. Lifetime = NumberRange.new(.4),
  800. Rate = 100,
  801. VelocitySpread = 2,
  802. ZOffset = 0,
  803. Rotation = NumberRange.new(0),
  804. RotSpeed = NumberRange.new(-600,600),
  805. Speed = NumberRange.new(20.0),
  806. LightEmission = 1,
  807. LockedToPart = true,
  808. Acceleration = Vector3.new(-10, 50, -2),
  809. EmissionDirection = "Left",
  810. Drag = 0,
  811. Enabled = true
  812. }
  813.  
  814. local Particle3_2 = Create("ParticleEmitter"){
  815. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  816. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
  817. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
  818. Texture = "rbxassetid://321556991",
  819. Lifetime = NumberRange.new(.4),
  820. Rate = 100,
  821. VelocitySpread = 2,
  822. ZOffset = 0,
  823. Rotation = NumberRange.new(0),
  824. RotSpeed = NumberRange.new(-600,600),
  825. Speed = NumberRange.new(20.0),
  826. LightEmission = 1,
  827. LockedToPart = true,
  828. Acceleration = Vector3.new(10, 50, -2),
  829. EmissionDirection = "Right",
  830. Drag = 0,
  831. Enabled = true
  832. }
  833.  
  834. local Particle3_3 = Create("ParticleEmitter"){
  835. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (1, 1, 1)),
  836. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)}),
  837. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(.5,.5),NumberSequenceKeypoint.new(1,0)}),
  838. Texture = "rbxassetid://337301645",
  839. Lifetime = NumberRange.new(.1,1),
  840. Rate = 100,
  841. VelocitySpread = 90,
  842. ZOffset = 10,
  843. Rotation = NumberRange.new(0),
  844. RotSpeed = NumberRange.new(-600,600),
  845. Speed = NumberRange.new(25.0),
  846. LightEmission = 1,
  847. LockedToPart = false,
  848. Acceleration = Vector3.new(-0, -15, -0),
  849. EmissionDirection = "Bottom",
  850. Drag = 4,
  851. Enabled = false
  852. }
  853.  
  854.  
  855.  
  856.  
  857.  
  858. so = function(id, par, vol, pit)
  859.  
  860. CFuncs.Sound.Create(id, par, vol, pit)
  861.  
  862.  
  863. end
  864.  
  865.  
  866.  
  867.  
  868. function ShadowForm()
  869. Shadow = true
  870. HClip = false
  871. for _,v in pairs(Character:children()) do
  872. if v:IsA("BasePart") then
  873. v.Color = Color3.new(0, 0, 0)
  874.  
  875. end
  876. end
  877. for i,v in pairs(SkinParts) do
  878. coroutine.resume(coroutine.create(function()
  879. local NewParticle = Particle2:Clone()
  880. NewParticle.Parent = v
  881. NewParticle.Enabled = true
  882. NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
  883. table.insert(ShadowParticle,NewParticle)
  884. end))
  885. end
  886. for i,v in pairs(MaskParts) do
  887. v.Color = Color3.new(0,0,0)
  888. end
  889. for i,v in pairs(SwordParts) do
  890. v.Color = Color3.new(0,0,0)
  891. end
  892. for i,v in pairs(CapeParts) do
  893. v.Color = Color3.new(0,0,0)
  894. end
  895. Eyes.Color = Color3.new(1, 1, 1)
  896.  
  897. end
  898.  
  899. function NormalForm()
  900. Shadow = false
  901. HClip = true
  902. for _,v in pairs(Character:children()) do
  903. if v:IsA("BasePart") then
  904. v.Color = Color3.new(0, 0, 0)
  905. end
  906. end
  907. for i,v in pairs(ShadowParticle ) do
  908.  
  909.  
  910. v.Rate = 0
  911. game:GetService("Debris"):AddItem(v, 3)
  912. end
  913. for i,v in pairs(MaskParts) do
  914. v.Color = Color3.new(1,1,1)
  915. end
  916. for i,v in pairs(SwordParts) do
  917. v.Color = Color3.new(.5,.5,.5)
  918. end
  919. for i,v in pairs(CapeParts) do
  920. v.Color = Color3.new(27/255, 42/255, 53/255)
  921. end
  922. Eyes.Color = Color3.new(0, 0, 0)
  923. Head.Color = Color3.new(0, 0, 0)
  924. LeftArm.Color = Color3.new(0, 0, 0)
  925. LeftLeg.Color= Color3.new(0, 0, 0)
  926. RightArm.Color = Color3.new(0, 0, 0)
  927. RightLeg.Color = Color3.new(0, 0, 0)
  928. Torso.Color = Color3.new(0, 0, 0)
  929. end
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936. rayCast = function(Pos, Dir, Max, Ignore)
  937.  
  938. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  939. end
  940.  
  941. function swait(num)
  942. if num==0 or num==nil then
  943. --if Stagger.Value==false or Stun.Value<=100 then
  944. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  945. script.Heartbeat.Event:wait()
  946. --end
  947. else
  948. for i=0,num do
  949. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  950. script.Heartbeat.Event:wait()
  951. --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
  952. break
  953. end]]
  954. end
  955. end
  956. end
  957. script:WaitForChild("Heartbeat")
  958.  
  959. frame = 1/60
  960. tf = 0
  961. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater.
  962. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  963. lastframe = tick()
  964. script.Heartbeat:Fire() --ayy lmao
  965.  
  966. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  967. tf = tf + s
  968. if tf >= frame then
  969. if allowframeloss then
  970. script.Heartbeat:Fire()
  971. lastframe=tick()
  972. else
  973. ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
  974. for i=1, math.floor(tf/frame) do
  975. script.Heartbeat:Fire()
  976. end
  977. lastframe=tick()
  978. end
  979. if tossremainder then
  980. tf = 0
  981. else
  982. tf = tf - frame * math.floor(tf/frame)
  983. end
  984. end
  985. end)
  986.  
  987. function clerp(a,b,t)
  988. local qa = {QuaternionFromCFrame(a)}
  989. local qb = {QuaternionFromCFrame(b)}
  990. local ax, ay, az = a.x, a.y, a.z
  991. local bx, by, bz = b.x, b.y, b.z
  992. local _t = 1-t
  993. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  994. end
  995.  
  996. function QuaternionFromCFrame(cf)
  997. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  998. local trace = m00 + m11 + m22
  999. if trace > 0 then
  1000. local s = math.sqrt(1 + trace)
  1001. local recip = 0.5/s
  1002. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1003. else
  1004. local i = 0
  1005. if m11 > m00 then
  1006. i = 1
  1007. end
  1008. if m22 > (i == 0 and m00 or m11) then
  1009. i = 2
  1010. end
  1011. if i == 0 then
  1012. local s = math.sqrt(m00-m11-m22+1)
  1013. local recip = 0.5/s
  1014. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1015. elseif i == 1 then
  1016. local s = math.sqrt(m11-m22-m00+1)
  1017. local recip = 0.5/s
  1018. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1019. elseif i == 2 then
  1020. local s = math.sqrt(m22-m00-m11+1)
  1021. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1022. end
  1023. end
  1024. end
  1025. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1026. local xs, ys, zs = x + x, y + y, z + z
  1027. local wx, wy, wz = w*xs, w*ys, w*zs
  1028. local xx = x*xs
  1029. local xy = x*ys
  1030. local xz = x*zs
  1031. local yy = y*ys
  1032. local yz = y*zs
  1033. local zz = z*zs
  1034. 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))
  1035. end
  1036. function QuaternionSlerp(a, b, t)
  1037. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1038. local startInterp, finishInterp;
  1039. if cosTheta >= 0.0001 then
  1040. if (1 - cosTheta) > 0.0001 then
  1041. local theta = math.acos(cosTheta)
  1042. local invSinTheta = 1/math.sin(theta)
  1043. startInterp = math.sin((1-t)*theta)*invSinTheta
  1044. finishInterp = math.sin(t*theta)*invSinTheta
  1045. else
  1046. startInterp = 1-t
  1047. finishInterp = t
  1048. end
  1049. else
  1050. if (1+cosTheta) > 0.0001 then
  1051. local theta = math.acos(-cosTheta)
  1052. local invSinTheta = 1/math.sin(theta)
  1053. startInterp = math.sin((t-1)*theta)*invSinTheta
  1054. finishInterp = math.sin(t*theta)*invSinTheta
  1055. else
  1056. startInterp = t-1
  1057. finishInterp = t
  1058. end
  1059. end
  1060. 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
  1061. end
  1062. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1063. local Part = Create("Part"){
  1064.  
  1065. Parent = Parent,
  1066. Reflectance = Reflectance,
  1067. Transparency = Transparency,
  1068. CanCollide = false,
  1069. Locked = true,
  1070. BrickColor = BrickColor.new(tostring(BColor)),
  1071. Name = Name,
  1072. Size = Size,
  1073. Material = Material,
  1074. }
  1075. RemoveOutlines(Part)
  1076. return Part
  1077. end
  1078.  
  1079.  
  1080.  
  1081. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1082.  
  1083. if hit.Parent == nil then
  1084. return
  1085. end
  1086. local h = hit.Parent:FindFirstChild("Humanoid")
  1087. for _,v in pairs(hit.Parent:children()) do
  1088. if v:IsA("Humanoid") then
  1089. h = v
  1090. end
  1091. end
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1098.  
  1099.  
  1100.  
  1101. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1102. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1103. return
  1104. end
  1105. local c = Create("ObjectValue")({Name = "creator", Value = Player, Parent = h})
  1106. game:GetService("Debris"):AddItem(c, 0.5)
  1107. if HitSound ~= nil and HitPitch ~= nil then
  1108. so(HitSound, hit, 1, HitPitch)
  1109. end
  1110. local Damage = math.random(minim, maxim)
  1111. local blocked = false
  1112. local block = hit.Parent:findFirstChild("Block")
  1113. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1114. blocked = true
  1115. block.Value = block.Value - 1
  1116. print(block.Value)
  1117. end
  1118. if blocked == false then
  1119. h.Health = h.Health - Damage
  1120. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1121. else
  1122. h.Health = h.Health - Damage / 2
  1123. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1124. end
  1125.  
  1126. if Type == "Knockdown" then
  1127. local hum = h
  1128.  
  1129. hum.PlatformStand = true
  1130. coroutine.resume(coroutine.create(function(HHumanoid)
  1131.  
  1132. swait(.2)
  1133. HHumanoid.PlatformStand = false
  1134. end
  1135. ), hum)
  1136. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1137. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1138. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1139. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1140. game:GetService("Debris"):AddItem(rl, 0.2)
  1141.  
  1142.  
  1143.  
  1144. elseif Type == "Knockdown2" then
  1145. local hum = h
  1146.  
  1147. hum.PlatformStand = true
  1148. coroutine.resume(coroutine.create(function(HHumanoid)
  1149.  
  1150. ComboDur = 55
  1151. Combo = 1 swait(.2)
  1152. HHumanoid.PlatformStand = false
  1153. end
  1154. ), hum)
  1155. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1156. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1157. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1158. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1159. game:GetService("Debris"):AddItem(rl, 0.2)
  1160. CanDoubleJump=true
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1168. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1169.  
  1170. elseif Type == "Normal" then
  1171. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1172. if knockback > 0 then
  1173.  
  1174. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1175. vp.Parent = HTorso
  1176. end
  1177. game:GetService("Debris"):AddItem(vp, 0.25)
  1178. elseif Type == "Normal2" then
  1179.  
  1180.  
  1181. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1182. if knockback > 0 then
  1183. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1184. vp.Parent = HTorso
  1185. coroutine.resume(coroutine.create(function()
  1186.  
  1187. end))
  1188.  
  1189. local SValue = 1.5
  1190.  
  1191. local randomcf = cn(math.random(-1, 1)/7,math.random(-1, 1)/7,0)
  1192.  
  1193. end
  1194. game:GetService("Debris"):AddItem(vp, 0.5)
  1195. elseif Type == "Impale" then
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1205. hit.Parent.Humanoid.PlatformStand = true
  1206.  
  1207.  
  1208. swait(1)
  1209. hit.Parent.Humanoid.PlatformStand = false
  1210.  
  1211. elseif Type == "Stone" then
  1212. local hashum=false
  1213. local HitModel = nil
  1214.  
  1215. HitModel = hit.Parent
  1216.  
  1217. if hit.Parent:isA("Accessory") or hit.Parent:isA("Hat") then
  1218. HitModel = hit.Parent.Parent
  1219. end
  1220.  
  1221. coroutine.resume(coroutine.create(function()
  1222.  
  1223. for _,v in pairs(HitModel:GetChildren()) do
  1224.  
  1225. if v:isA("Humanoid") then
  1226. hashum=true
  1227. local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso")
  1228.  
  1229.  
  1230. --RootPart.Anchored = true
  1231.  
  1232. so("331666014 ",Handle,.5,1.2)
  1233.  
  1234.  
  1235. so("588706798 ",Handle,1,0.8)
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242. local ST = Create("Model"){
  1243. Parent = workspace,
  1244. Name = "Statue of "..HitModel.Name
  1245. }
  1246.  
  1247. for _,v2 in pairs(HitModel:GetChildren()) do
  1248. if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then
  1249. -- v2.Anchored = true
  1250.  
  1251. end
  1252.  
  1253. --v.Parent:BreakJoints()
  1254.  
  1255. if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then
  1256.  
  1257. --w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1258. local StonePart = Create("Part"){
  1259. Parent = ST,
  1260. Material = "Concrete",
  1261. Reflectance = 0,
  1262. Transparency = 0,
  1263. Name = v2.Name,
  1264. Size = v2.Size,
  1265. Locked = true,
  1266. CanCollide = true,
  1267. CFrame = v2.CFrame,
  1268. Anchored = true
  1269. }
  1270.  
  1271.  
  1272.  
  1273.  
  1274. for _,v3 in pairs(v2:GetChildren()) do
  1275. if v3:isA("SpecialMesh") then
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283. v3:Clone().Parent=StonePart
  1284.  
  1285.  
  1286. end
  1287. end
  1288.  
  1289.  
  1290.  
  1291. end
  1292.  
  1293. if v2:isA("Accessory") then
  1294. for _,v4 in pairs(v2:GetChildren()) do
  1295. if v4:isA("BasePart") then
  1296.  
  1297.  
  1298. local StonePart = Create("Part"){
  1299. Parent = ST,
  1300. Material = "Concrete",
  1301. Reflectance = 0,
  1302. Transparency = 0,
  1303. Name = v4.Name,
  1304. Size = v4.Size,
  1305. Locked = true,
  1306. CanCollide = true,
  1307. CFrame = v4.CFrame,
  1308. Anchored = true
  1309. }
  1310.  
  1311.  
  1312. for _,v3 in pairs(v4:GetChildren()) do
  1313. if v3:isA("SpecialMesh") then
  1314.  
  1315.  
  1316.  
  1317. coroutine.resume(coroutine.create(function()
  1318. v3.TextureId = "http://www.roblox.com/asset/?id=1693385655"
  1319.  
  1320. v3.VertexColor = Vector3.new(163/255, 162/255, 165/255)
  1321.  
  1322. end))
  1323.  
  1324. v3:Clone().Parent=StonePart
  1325.  
  1326.  
  1327. end
  1328. end
  1329. end
  1330. end
  1331. end
  1332.  
  1333.  
  1334.  
  1335. end
  1336.  
  1337. local STFoundTorso = ST:FindFirstChild("Torso") or ST:FindFirstChild("UpperTorso")
  1338. for _,v3 in pairs(ST:GetChildren()) do
  1339.  
  1340. local STW=weld(v3,v3,STFoundTorso,STFoundTorso.CFrame:toObjectSpace(v3.CFrame):inverse() )
  1341. v3.Anchored = false
  1342.  
  1343.  
  1344. end
  1345.  
  1346.  
  1347.  
  1348.  
  1349. v.Parent:BreakJoints()
  1350. v.Parent.Parent = nil
  1351.  
  1352. for _,v2 in pairs(game:GetService("Players"):GetChildren()) do
  1353. if v2:isA("Player") then
  1354. if v2.Character == HitModel then
  1355.  
  1356. end
  1357. end
  1358. end
  1359.  
  1360.  
  1361.  
  1362. wait(1)
  1363.  
  1364.  
  1365.  
  1366.  
  1367. end
  1368.  
  1369. end
  1370.  
  1371. end))
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378. elseif Type == "Up" then
  1379. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1380. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1381. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1382. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. elseif Type == "Snare" then
  1391. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1392. game:GetService("Debris"):AddItem(bp, 1)
  1393.  
  1394.  
  1395.  
  1396. elseif Type == "Freeze2" then
  1397. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1398. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1399. hit.Parent.Torso.Anchored = true
  1400. coroutine.resume(coroutine.create(function(Part)
  1401.  
  1402. swait(1.5)
  1403. Part.Anchored = false
  1404. end
  1405. ), hit.Parent.Torso)
  1406. game:GetService("Debris"):AddItem(BodPos, 3)
  1407. game:GetService("Debris"):AddItem(BodGy, 3)
  1408. end
  1409. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1410. game:GetService("Debris"):AddItem(debounce, Delay)
  1411. c = Instance.new("ObjectValue")
  1412. c.Name = "creator"
  1413. c.Value = Player
  1414. c.Parent = h
  1415. game:GetService("Debris"):AddItem(c, 0.5)
  1416. end
  1417. end
  1418.  
  1419. ShowDamage = function(Pos, Text, Time, Color)
  1420.  
  1421. local Rate = 0.033333333333333
  1422. if not Pos then
  1423. local Pos = Vector3.new(0, 0, 0)
  1424. end
  1425. local Text = Text or ""
  1426. local Time = Time or 2
  1427. if not Color then
  1428. local Color = Color3.new(1, 0, 1)
  1429. end
  1430. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1431. EffectPart.Anchored = true
  1432. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1433. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1434. game.Debris:AddItem(EffectPart, Time + 0.1)
  1435. EffectPart.Parent = game:GetService("Workspace")
  1436. delay(0, function()
  1437.  
  1438. local Frames = Time / Rate
  1439. for Frame = 1, Frames do
  1440. wait(Rate)
  1441. local Percent = Frame / Frames
  1442. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1443. TextLabel.TextTransparency = Percent
  1444. end
  1445. if EffectPart and EffectPart.Parent then
  1446. EffectPart:Destroy()
  1447. end
  1448. end
  1449. )
  1450. end
  1451.  
  1452. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1453.  
  1454. for _,c in pairs(workspace:children()) do
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460. local hum = c:FindFirstChild("Humanoid")
  1461. for _,v in pairs(c:children()) do
  1462. if v:IsA("Humanoid") then
  1463. hum = v
  1464. end
  1465. end
  1466.  
  1467.  
  1468.  
  1469.  
  1470. if hum ~= nil then
  1471. local head = c:findFirstChild("Head")
  1472. if head ~= nil then
  1473. local targ = head.Position - Part.Position
  1474. local mag = targ.magnitude
  1475. if mag <= magni and c.Name ~= Player.Name then
  1476. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1477. end
  1478. end
  1479. end
  1480. end
  1481. end
  1482.  
  1483.  
  1484.  
  1485. local RCW=weld(Torso,Torso,RCape,cf(0,0,0))
  1486.  
  1487. local LCW=weld(Torso,Torso,LCape,cf(0,0,0))
  1488.  
  1489. RCW.C1 = cn(.3, 0.5, 0)
  1490. LCW.C1 = cn(-.3, 0.5, 0)
  1491. -- RCape
  1492. -- LCape
  1493.  
  1494.  
  1495. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  1496.  
  1497. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  1498.  
  1499. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  1500.  
  1501. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  1502.  
  1503.  
  1504.  
  1505. RW.C1 = cn(.3, 0.5, 0)
  1506. LW.C1 = cn(-.3, 0.5, 0)
  1507. RH.C1 = cn(0, .7, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1508. LH.C1 = cn(0, .7, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1509.  
  1510.  
  1511. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1512. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1513.  
  1514.  
  1515.  
  1516.  
  1517. s2.SoundId = lastid
  1518. s2:play()
  1519.  
  1520. HitboxFunction = function(Pose,lifetime,siz1,siz2,siz3,Radie,Min,Max,kb,atype)
  1521.  
  1522. local Hitboxpart = Instance.new("Part",effectmodel)
  1523. RemoveOutlines(Hitboxpart)
  1524. Hitboxpart.Size = Vector3.new(siz1,siz2,siz3)
  1525. Hitboxpart.CanCollide = false
  1526. Hitboxpart.Transparency = 1
  1527. Hitboxpart.Anchored = true
  1528. Hitboxpart.CFrame = Pose
  1529. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1530. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1531.  
  1532. end
  1533.  
  1534.  
  1535.  
  1536. function JumpAfterEffect()
  1537. if attack == false then
  1538. attack = true
  1539.  
  1540.  
  1541.  
  1542. if sprintmode == true then
  1543. Humanoid.WalkSpeed= 10
  1544.  
  1545. else
  1546. Humanoid.WalkSpeed= 3
  1547. end
  1548. Humanoid.JumpPower= 0
  1549. coroutine.resume(coroutine.create(function()
  1550. local NewParticle = Particle1:Clone()
  1551.  
  1552.  
  1553. local EffectFloor,PosFloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1554.  
  1555. local EffectHolder = Instance.new("Part")
  1556. EffectHolder.Parent = Character
  1557. EffectHolder.Size = Vector3.new(0.05, 0.05, 0.05)
  1558. EffectHolder.Transparency = 0
  1559.  
  1560.  
  1561. EffectHolder.Material = "Neon"
  1562. EffectHolder.CanCollide = false
  1563.  
  1564.  
  1565. EffectHolder.CFrame = cn(PosFloor)
  1566.  
  1567.  
  1568. NewParticle.Parent = EffectHolder
  1569. NewParticle:Emit(30)
  1570. so("1161221108", EffectHolder,1, math.random(130,150)/100)
  1571. game:GetService("Debris"):AddItem(EffectHolder, 3)
  1572.  
  1573.  
  1574. end))
  1575. for i = 1,2.4,.1 do
  1576. swait()
  1577. Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1)
  1578. RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .3, -0.3 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1579. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
  1580. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1581. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.35+ .05 * math.cos(sine / 15), -.1) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1582. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.1) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1583.  
  1584. -- RH.C0 = RH.C0:lerp(CFrame.new(.25, 0.45- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(22.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(5.5- 0.0 * math.cos(sine / 8))),.1)
  1585. -- LH.C0 = LH.C0:lerp(CFrame.new(-.25, -.45- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(-70.5- 0 * math.cos(sine / 8)),math.rad(0),math.rad(-5.5- 0.0 * math.cos(sine / 8))),.15)
  1586.  
  1587.  
  1588.  
  1589.  
  1590. RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-7 + .5 * math.cos(sine / 8))), 0.08)
  1591. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  1592.  
  1593.  
  1594.  
  1595.  
  1596. end
  1597.  
  1598.  
  1599. attack = false
  1600. end
  1601. end
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627. --------------------------------------------------------------------------------------------------------------------------------------------
  1628.  
  1629. shoottraildd = function(mouse, partt, SpreadAmount,ShootPart)
  1630.  
  1631. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
  1632. local MainPos = partt.Position
  1633. local MainPos2 = mouse + SpreadVectors
  1634. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1635. local speed = 2
  1636. local num = 100
  1637. ShootPart.CFrame=CFrame.new(MainPos)
  1638. local ShootPartVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = ShootPart})
  1639.  
  1640. coroutine.resume(coroutine.create(function()
  1641.  
  1642. repeat
  1643. ShootPart.Anchored = true
  1644.  
  1645. swait()
  1646.  
  1647. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1648. local mag = (MainPos - pos).magnitude
  1649.  
  1650.  
  1651. -- Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.4, 0, -0.4, .4)
  1652.  
  1653.  
  1654. ShootPart.CFrame=clerp(ShootPart.CFrame,CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0)*angles(math.rad(-90), math.rad(0), math.rad(0)), 1, mag * (speed / (speed / 2)),.4)
  1655.  
  1656.  
  1657.  
  1658. MainPos = MainPos + MouseLook.lookVector * speed
  1659. num = num - 1
  1660. MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
  1661. if hit ~= nil then
  1662. num = 0
  1663. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1664. refpart.Anchored = true
  1665. refpart.CFrame = CFrame.new(pos)
  1666. game:GetService("Debris"):AddItem(refpart, 2)
  1667. end
  1668. do
  1669. if num <= 0 then
  1670. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1671. refpart.Anchored = true
  1672. refpart.CFrame = CFrame.new(pos)
  1673. if hit ~= nil then
  1674.  
  1675.  
  1676. -- MagniDamage(refpart, 10, 30, 45, 0, "Normal")
  1677. -- so("233856079", refpart,1.5, 1.0)
  1678. end
  1679. game:GetService("Debris"):AddItem(refpart, 4)
  1680. coroutine.resume(coroutine.create(function()
  1681.  
  1682.  
  1683. local NParticH = CreatePart(workspace, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1684. NParticH.Anchored = true
  1685. NParticH.CFrame = ShootPart.CFrame
  1686. game:GetService("Debris"):AddItem(NParticH, 4)
  1687.  
  1688. MagniDamage(refpart, 10, 30, 45, 0, "Normal")
  1689. so("228343349", refpart,1.5, 1.0)
  1690. local NPartic = ShootPart.ParticleEmitter
  1691.  
  1692. NPartic.Speed = NumberRange.new(13.0)
  1693. NPartic.Enabled = false
  1694. NPartic.VelocitySpread = 180
  1695. NPartic.Lifetime = NumberRange.new(0.6,1.2)
  1696. NPartic.Drag = 3
  1697. NPartic.Enabled = false
  1698. ShootPart.ParticleEmitter:Emit(60)
  1699. NPartic.Parent=NParticH
  1700. game:GetService("Debris"):AddItem(ShootPart, 0)
  1701.  
  1702. game:GetService("Debris"):AddItem(NParticH, 4)
  1703.  
  1704.  
  1705.  
  1706.  
  1707. end))
  1708. end
  1709. end
  1710. until num <= 0
  1711. end
  1712. ))
  1713. end
  1714. --------------------------------------------------------------------------------------------------------------------------------------------
  1715.  
  1716. function AT0()
  1717. attack = true
  1718.  
  1719. HW.Part0 = RightArm
  1720. HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
  1721.  
  1722.  
  1723.  
  1724. for i = 0,10,0.1 do
  1725. swait()
  1726. change = 0.5
  1727. Humanoid.WalkSpeed = 12
  1728. Humanoid.JumpPower = 80
  1729. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
  1730. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
  1731. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
  1732. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1733. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1734. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1735. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1736. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  1737.  
  1738.  
  1739. end
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746. HW.Part0 = Torso
  1747. HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
  1748. attack = false
  1749. end
  1750.  
  1751. function AT1()
  1752. attack = true
  1753.  
  1754. HW.Part0 = RightArm
  1755. --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
  1756.  
  1757.  
  1758.  
  1759. for i = 0,1.0,0.1 do
  1760. swait()
  1761. change = 0.5
  1762. Humanoid.WalkSpeed = 12
  1763. Humanoid.JumpPower = 80
  1764. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  1765. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  1766. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.25)
  1767. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1768. if Anim == "Walk" then
  1769. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1770. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1771. else
  1772. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1773. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1774. end
  1775.  
  1776. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1777. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1778.  
  1779. HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
  1780.  
  1781. end
  1782. HitboxFunction(RootPart.CFrame * cn(0,0,-2),.1,0.1,.1,.1,4.5,5,10,2,"Normal")
  1783. so("234365573", Handle,2, math.random(10,15)/10)
  1784. for i = 0,1,0.1 do
  1785. swait()
  1786. change = 0.5
  1787. Humanoid.WalkSpeed = 12
  1788. Humanoid.JumpPower = 80
  1789. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
  1790. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
  1791. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.5) * angles(math.rad(20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(-20 + .5 * math.cos(sine / 8))), 0.3)
  1792. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1793. if Anim == "Walk" then
  1794. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1795. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1796. else
  1797. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1798. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1799. end
  1800. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1801. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1802. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-135),math.rad(0),math.rad(0)),.2)
  1803.  
  1804.  
  1805. end
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811. ComboDur = 15
  1812. Combo = 1
  1813. ComboDur = 15
  1814.  
  1815.  
  1816. --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
  1817. attack = false
  1818. end
  1819.  
  1820. function AT2()
  1821. attack = true
  1822.  
  1823. HW.Part0 = RightArm
  1824. --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
  1825.  
  1826.  
  1827.  
  1828.  
  1829. for i = 0,1.5,0.1 do
  1830. swait()
  1831. change = 0.5
  1832. Humanoid.WalkSpeed = 12
  1833. Humanoid.JumpPower = 80
  1834. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(70)), .15)
  1835. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-70)), .15)
  1836. RW.C0 = clerp(RW.C0, CFrame.new(.7 , 0.9, -.2) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(90), math.rad(-40 + .5 * math.cos(sine / 8))), 0.25)
  1837. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1838. if Anim == "Walk" then
  1839. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1840. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1841. else
  1842. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1843. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1844. end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(25 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1845. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1846. HW.C0 = clerp(HW.C0,cf(-.2,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.15)
  1847.  
  1848.  
  1849. end
  1850.  
  1851. HitboxFunction(RootPart.CFrame * cn(0,0,-2),.1,0.1,.1,.1,4.5,8,18,4,"Normal")
  1852. so("234365573", Handle,2, math.random(10,15)/10)
  1853. for i = 0,1,0.1 do
  1854. swait()
  1855. change = 0.5
  1856. Humanoid.WalkSpeed = 12
  1857. Humanoid.JumpPower = 80
  1858. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .2)
  1859. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  1860. RW.C0 = clerp(RW.C0, CFrame.new(.7 , 0.7, .3) * angles(math.rad(80 - .5 * math.cos(sine / 8)), math.rad(-10), math.rad(90 + .5 * math.cos(sine / 8))), 0.3)
  1861. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1862. if Anim == "Walk" then
  1863. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1864. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1865. else
  1866. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1867. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1868. end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(5 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
  1869. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1870. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(180),math.rad(0),math.rad(0)),.2)
  1871.  
  1872.  
  1873. end
  1874.  
  1875. for i = 0,0.5,0.1 do
  1876. swait()
  1877. change = 0.5
  1878. Humanoid.WalkSpeed = 12
  1879. Humanoid.JumpPower = 80
  1880. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .2)
  1881. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  1882. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, .0) * angles(math.rad(0 - .5 * math.cos(sine / 8)), math.rad(-0), math.rad(0 + .5 * math.cos(sine / 8))), 0.3)
  1883. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1884. if Anim == "Walk" then
  1885. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 55 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1886. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 55 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  1887. else
  1888. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  1889. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  1890. end RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(5 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
  1891. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1892. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(0),math.rad(0),math.rad(135)),.2)
  1893.  
  1894.  
  1895. end
  1896.  
  1897.  
  1898. Combo = 2
  1899. ComboDur = 10
  1900.  
  1901.  
  1902. --HW.Part0 = Torso
  1903.  
  1904.  
  1905. --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
  1906. attack = false
  1907. end
  1908.  
  1909. function DownAT()
  1910. attack = true
  1911.  
  1912. HW.Part0 = RightArm
  1913. --HW.C0 = cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0))
  1914.  
  1915.  
  1916. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, -9, 0), P = 5000, maxForce = Vector3.new(0, 8000, 0), Parent = RootPart})
  1917. game:GetService("Debris"):AddItem(bodyVelocity2, 0.25)
  1918. for i = 0,.8,0.1 do
  1919. swait()
  1920. change = 0.5
  1921. Humanoid.WalkSpeed = 16
  1922. Humanoid.JumpPower = 80
  1923. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
  1924. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
  1925. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.25)
  1926. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1927.  
  1928. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  1929. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  1930.  
  1931.  
  1932. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1933. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  1934.  
  1935. HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
  1936.  
  1937. end
  1938.  
  1939. for i = 0,0.8,0.1 do
  1940. swait()
  1941. change = 0.5
  1942. Humanoid.WalkSpeed = 16
  1943. Humanoid.JumpPower = 80
  1944. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(50)), .15)
  1945. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-50)), .15)
  1946. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, .1) * angles(math.rad(10 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(-40 + .5 * math.cos(sine / 8))), 0.25)
  1947. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1948.  
  1949. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  1950. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  1951.  
  1952.  
  1953. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1954. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  1955.  
  1956. HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(90)),.2)
  1957.  
  1958. end
  1959.  
  1960. HitboxFunction(RootPart.CFrame * cn(0,-2,-.5),.1,0.1,.1,.1,5,15,25,0,"Knockdown2")
  1961. so("233856146", Handle,2, math.random(7,9)/10)
  1962.  
  1963. for i = 0,0.5,0.1 do
  1964. swait()
  1965. change = 0.5
  1966. Humanoid.WalkSpeed = 16
  1967. Humanoid.JumpPower = 80
  1968. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  1969. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  1970. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
  1971. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1972.  
  1973. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  1974. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  1975.  
  1976. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  1977. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  1978. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
  1979.  
  1980.  
  1981. end
  1982.  
  1983. -- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1984. -- game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990. for i = 0,1,0.1 do
  1991. swait()
  1992. change = 0.5
  1993. Humanoid.WalkSpeed = 16
  1994. Humanoid.JumpPower = 80
  1995. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  1996. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  1997. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
  1998. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  1999.  
  2000. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2001. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2002.  
  2003. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2004. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  2005. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
  2006.  
  2007.  
  2008. end
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014. if Combo == 0 then
  2015. ComboDur = 15
  2016. Combo = 1
  2017. else
  2018. for i = 0,0.5,0.1 do
  2019. swait()
  2020. change = 0.5
  2021. Humanoid.WalkSpeed = 16
  2022. Humanoid.JumpPower = 80
  2023. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  2024. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  2025. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
  2026. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2027.  
  2028. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2029. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2030.  
  2031. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2032. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  2033. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-140),math.rad(0),math.rad(-30)),.2)
  2034.  
  2035.  
  2036. end
  2037. for i = 0,1,0.1 do
  2038. swait()
  2039. change = 0.5
  2040. Humanoid.WalkSpeed = 16
  2041. Humanoid.JumpPower = 80
  2042. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(30 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  2043. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  2044. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.8, -.2) * angles(math.rad(30 - .5 * math.cos(sine / 8)), math.rad(30), math.rad(40 + .5 * math.cos(sine / 8))), 0.1)
  2045. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2046.  
  2047. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2048. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2049.  
  2050. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.4, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2051. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(7 - .5 * math.cos(sine / 8))), 0.08)
  2052. HW.C0 = clerp(HW.C0,cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(-0)),.1)
  2053.  
  2054.  
  2055. end
  2056. end
  2057.  
  2058. --HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
  2059. attack = false
  2060.  
  2061. end
  2062.  
  2063.  
  2064. function ClickCombo()
  2065. if Anim == "Fall" or Anim == "Jump" then
  2066. if Combo == 0 then
  2067. DownAT()
  2068. end
  2069. else
  2070. if Combo == 0 then
  2071. AT1()
  2072. elseif Combo == 1 then
  2073. AT2()
  2074. elseif Combo == 2 then
  2075. AT1()
  2076. end
  2077. end
  2078. end
  2079. Button1Down=function()
  2080. if attack==false then
  2081. ClickCombo()
  2082. end
  2083. end
  2084.  
  2085. --------------------------------------------------------------------------------------------------------------------------------------------
  2086. function DoubleJump()
  2087. attack = true
  2088. CanDoubleJump=false
  2089. for WNR = -1,1,1 do
  2090. coroutine.resume(coroutine.create(function()
  2091.  
  2092.  
  2093.  
  2094. local Wing = CreatePart(Torso, "SmoothPlastic", 0, 1, BrickColor.new("White"), "Effect", Vector3.new(0.1, 0.1, .1))
  2095. game:GetService("Debris"):AddItem(Wing, 2)
  2096. local NewParticle = Particle3:Clone()
  2097. NewParticle.Parent = Wing
  2098.  
  2099. NewParticle.Enabled = true
  2100.  
  2101. local WingW=weld(Wing,Wing,Torso,cf(0,0,0)*angles(math.rad(0),0,math.rad(0)))
  2102.  
  2103.  
  2104.  
  2105.  
  2106. WingW.C0 = cf(2.25,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112. for i = 0,1,.1 do swait()
  2113. WingW.C0 = clerp(WingW.C0, cf(1.25,-1,-2)*angles(math.rad(0),math.rad(-0),math.rad(45+WNR*20)),.25)
  2114.  
  2115. end
  2116. for i = 0,10,1 do swait()
  2117. WingW.C0 = clerp(WingW.C0, cf(2.25+WNR*1,0,-2+WNR)*angles(math.rad(0),math.rad(25),math.rad(-25+WNR*10)),.25)
  2118.  
  2119. end
  2120.  
  2121. for i = 0,1,.1 do swait()
  2122. NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,i),NumberSequenceKeypoint.new(1,1)})
  2123. end
  2124.  
  2125. end))
  2126. end
  2127.  
  2128.  
  2129.  
  2130. for WNR = 1,-1,-1 do
  2131. coroutine.resume(coroutine.create(function()
  2132.  
  2133.  
  2134.  
  2135. local Wing = CreatePart(Torso, "SmoothPlastic", 0, 1, BrickColor.new("White"), "Effect", Vector3.new(0.1, 0.1, .1))
  2136. game:GetService("Debris"):AddItem(Wing, 2)
  2137. local NewParticle = Particle3_2:Clone()
  2138. NewParticle.Parent = Wing
  2139.  
  2140. NewParticle.Enabled = true
  2141.  
  2142. local WingW=weld(Wing,Wing,Torso,cf(0,0,0)*angles(math.rad(0),0,math.rad(0)))
  2143.  
  2144.  
  2145.  
  2146.  
  2147. WingW.C0 = cf(-2.25,-2,0)*angles(math.rad(0),math.rad(0),math.rad(0))
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153. for i = 0,1,.1 do swait()
  2154. WingW.C0 = clerp(WingW.C0, cf(-1.25,-1,-2)*angles(math.rad(0),math.rad(-0),math.rad(-45+WNR*20)),.25)
  2155.  
  2156. end
  2157. for i = 0,10,1 do swait()
  2158. WingW.C0 = clerp(WingW.C0, cf(-2.25+WNR*1,0,-2-WNR)*angles(math.rad(0),math.rad(-25),math.rad(25+WNR*10)),.25)
  2159.  
  2160. end
  2161. for i = 0,1,.1 do swait()
  2162. NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,i),NumberSequenceKeypoint.new(1,1)})
  2163. end
  2164.  
  2165. end))
  2166. end
  2167.  
  2168.  
  2169.  
  2170.  
  2171. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 2000, 8000), Parent = RootPart})
  2172. game:GetService("Debris"):AddItem(bodyVelocity2, .1) so("588717600", Torso,1.5, math.random(195,200)/100)
  2173. for i = 0,1,.1 do swait()
  2174. change = 0.5
  2175. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -2.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  2176. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  2177. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
  2178. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
  2179. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2180. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2181.  
  2182. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2183. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  2184.  
  2185.  
  2186.  
  2187. end
  2188.  
  2189. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 100, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2190. game:GetService("Debris"):AddItem(bodyVelocity2, .05)
  2191.  
  2192. so("231917772", Torso,1.5, math.random(95,100)/100)
  2193. local NewParticle = Particle3_3:Clone()
  2194. NewParticle.Parent = RootPart
  2195. NewParticle:Emit(50)
  2196. game:GetService("Debris"):AddItem(NewParticle, 2)
  2197. for i = 0,1,.1 do swait()
  2198.  
  2199. change = 0.5
  2200. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(20.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .20)
  2201. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
  2202. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2203. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2204. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2205. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2206.  
  2207. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2208. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2209.  
  2210.  
  2211.  
  2212.  
  2213. end
  2214.  
  2215. attack = false
  2216. end
  2217.  
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223. function Walljump()
  2224.  
  2225. attack = true
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231. for i = 0,.5,.1 do swait()
  2232. change = 0.5
  2233. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -2.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  2234. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  2235. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
  2236. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
  2237. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2238. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2239.  
  2240. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2241. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  2242.  
  2243.  
  2244.  
  2245. end
  2246. so("233856140", Torso,1.5,2)
  2247.  
  2248.  
  2249. Torso.Velocity = Vector3.new(0,80,0) + RootPart.CFrame.lookVector*-35
  2250. -- local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0,80,0) + RootPart.CFrame.lookVector*-35, P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2251. -- game:GetService("Debris"):AddItem(bodyVelocity2, .05)
  2252.  
  2253.  
  2254.  
  2255. for i = 0,1,.1 do swait()
  2256.  
  2257. change = 0.5
  2258. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(20.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .20)
  2259. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
  2260. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2261. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2262. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2263. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2264.  
  2265. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2266. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2267.  
  2268.  
  2269.  
  2270.  
  2271. end
  2272.  
  2273. attack = false
  2274. end
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281. function Dash()
  2282. if Shadow == false then
  2283. attack = true
  2284. CanDash = false
  2285. RootPart.Anchored = true
  2286. ShadowForm()
  2287. so("233091205", Torso,1.5, math.random(185,190)/100)
  2288. for i,v in pairs(SkinParts) do
  2289. coroutine.resume(coroutine.create(function()
  2290. local NewParticle = Particle2_2:Clone()
  2291. NewParticle.Parent = v
  2292.  
  2293. NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
  2294. NewParticle:Emit(10)
  2295. game:GetService("Debris"):AddItem(NewParticle, 2)
  2296. end))
  2297. end
  2298.  
  2299. wait()
  2300. Humanoid.WalkSpeed = 0
  2301. Humanoid.JumpPower = 0
  2302. for i = 0,1,0.1 do
  2303.  
  2304. local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 3, Character)
  2305. if Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2306. else
  2307.  
  2308.  
  2309.  
  2310. swait()
  2311.  
  2312. change = 0.5
  2313. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(82 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .3)
  2314. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-82.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .3)
  2315. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.2)
  2316. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.2)
  2317. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.2)
  2318. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.2)
  2319.  
  2320. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.2)
  2321. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.2)
  2322.  
  2323. local HMD = RootPart.CFrame.lookVector*10
  2324.  
  2325. local Orsave = RootPart.Orientation
  2326.  
  2327.  
  2328.  
  2329.  
  2330. RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.3)
  2331. RootPart.Velocity = Vector3.new(0,0,0)
  2332. end
  2333. end
  2334. local dashhitwall = false
  2335. local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 3, Character)
  2336. if Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2337. RootPart.Anchored = false
  2338. RootPart.Velocity = RootPart.CFrame.lookVector*-50
  2339. dashhitwall = true
  2340. else
  2341. RootPart.Anchored = false
  2342. RootPart.Velocity = RootPart.CFrame.lookVector*60
  2343. end
  2344.  
  2345. coroutine.resume(coroutine.create(function()
  2346. if dashhitwall == false then
  2347. wait(.5)
  2348. else
  2349. wait(.25)
  2350. end
  2351. so("231917772", Torso,1.0, 1.0)
  2352. NormalForm()
  2353. Humanoid.WalkSpeed = 12
  2354. Humanoid.JumpPower = 80
  2355. for i,v in pairs(SkinParts) do
  2356. coroutine.resume(coroutine.create(function()
  2357. local NewParticle = Particle2_2:Clone()
  2358. NewParticle.Parent = v
  2359.  
  2360. NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
  2361. NewParticle:Emit(15)
  2362. game:GetService("Debris"):AddItem(NewParticle, 5)
  2363. end))
  2364. end
  2365. wait(1)
  2366. CanDash = true
  2367.  
  2368. end))
  2369. end
  2370. attack = false
  2371. end
  2372.  
  2373.  
  2374. function Shade_Soul()
  2375. if Shadow == false then
  2376. attack = true
  2377.  
  2378. RootPart.Anchored = true
  2379. ShadowForm()
  2380. so("228343444", Torso,1.5, math.random(080,090)/100)
  2381. for i,v in pairs(SkinParts) do
  2382. coroutine.resume(coroutine.create(function()
  2383. local NewParticle = Particle2_2:Clone()
  2384. NewParticle.Parent = v
  2385.  
  2386.  
  2387. NewParticle:Emit(5)
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394. game:GetService("Debris"):AddItem(NewParticle, 2)
  2395. while NewParticle.Parent ~= nil do
  2396. NewParticle.Acceleration = RootPart.CFrame.lookVector*-40
  2397. swait()
  2398. end
  2399. end))
  2400. end
  2401.  
  2402. wait()
  2403. Humanoid.WalkSpeed = 0
  2404. Humanoid.JumpPower = 0
  2405. for i = 0,1,0.1 do
  2406. swait()
  2407.  
  2408. change = 0.5
  2409.  
  2410. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
  2411. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
  2412. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-20 + .5 * math.cos(sine / 8))), 0.15)
  2413. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(90 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(20 - .5 * math.cos(sine / 8))), 0.15)
  2414. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2415. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2416.  
  2417.  
  2418. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2419. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  2420.  
  2421. local HMD = RootPart.CFrame.lookVector*-0
  2422.  
  2423.  
  2424. local Orsave = RootPart.Orientation
  2425.  
  2426.  
  2427.  
  2428.  
  2429. RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.5)
  2430. RootPart.Velocity = Vector3.new(0,0,0)
  2431.  
  2432. end
  2433.  
  2434. local NewParticle = Particle2_2:Clone()
  2435. NewParticle.Parent = Torso
  2436. NewParticle.VelocitySpread = 180
  2437. NewParticle.Speed = NumberRange.new(0.0)
  2438. NewParticle:Emit(4)
  2439. NewParticle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.5,0),NumberSequenceKeypoint.new(1,1)})
  2440. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4),NumberSequenceKeypoint.new(.5,6.5),NumberSequenceKeypoint.new(1,5)})
  2441. NewParticle.Lifetime = NumberRange.new(.6)
  2442. NewParticle.Texture = "rbxassetid://321556991"
  2443. game:GetService("Debris"):AddItem(NewParticle, 2)
  2444. local GhostHolder = Instance.new("Part")
  2445. GhostHolder.Parent = effectmodel
  2446. GhostHolder.Size = Vector3.new(.1, .1, .1)
  2447. GhostHolder.Transparency = 0
  2448. GhostHolder.Material = "Neon"
  2449. GhostHolder.CanCollide = true
  2450. --GhostHolder:BreakJoints()
  2451. GhostHolder.Anchored = true
  2452.  
  2453. Acthing(GhostHolder,"1698327723",Vector3.new(1.41,1.42,1.41),BrickColor.new("Really black"),"Fabric",cn(0,.0325,0)*angles(math.rad(0), math.rad(180), math.rad(0)),Color3.new(0, 0, 0),GhostHolder,2)
  2454.  
  2455. Acthing(GhostHolder,"15934744",Vector3.new(0,0,0),BrickColor.new("Really black"),"Fabric",cn(0,-0.6325,.1)*angles(math.rad(0), math.rad(0), math.rad(0)),Color3.new(0, 0, 0),GhostHolder,1)
  2456.  
  2457.  
  2458.  
  2459.  
  2460. local GhostMesh1 = Create("SpecialMesh"){
  2461. Parent = GhostHolder,
  2462. MeshType = "Sphere",
  2463. Scale = vt(14.4,14,9.2),
  2464. Offset = vt(0,0,0)
  2465. }
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474. local HBW=weld(Handle,Handle,HandleBlade,cf(0,1.5,0))
  2475.  
  2476.  
  2477. local NewParticle2 = Particle2_3:Clone()
  2478. NewParticle2.Parent = GhostHolder
  2479. NewParticle2.Enabled = true
  2480. NewParticle2.Acceleration = Vector3.new(math.random(-0,0), math.random(-0,0), math.random(-0,0))
  2481. NewParticle2.Rate = 100
  2482. NewParticle2.ZOffset = -1
  2483. shoottraildd(RootPart.Position+RootPart.CFrame.lookVector*10, RootPart, 0,GhostHolder)
  2484.  
  2485.  
  2486. for i = 0,2,0.1 do
  2487. swait()
  2488. change = 0.5
  2489. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, .5, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .25)
  2490. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .25)
  2491. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(70 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(20 + .5 * math.cos(sine / 8))), 0.25)
  2492. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(70 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-20 - .5 * math.cos(sine / 8))), 0.25)
  2493. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-14.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.25)
  2494. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(-14.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.25)
  2495.  
  2496.  
  2497. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2498. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  2499.  
  2500.  
  2501.  
  2502.  
  2503. RootPart.Velocity = Vector3.new(0,0,0)
  2504.  
  2505. end
  2506.  
  2507. RootPart.Anchored = false
  2508. RootPart.Velocity = RootPart.CFrame.lookVector*-0
  2509.  
  2510.  
  2511. coroutine.resume(coroutine.create(function()
  2512. wait(.5)
  2513. so("588718542", Torso,1.0, 1.0)
  2514. NormalForm()
  2515. Humanoid.WalkSpeed = 12
  2516. Humanoid.JumpPower = 80
  2517. for i,v in pairs(SkinParts) do
  2518. coroutine.resume(coroutine.create(function()
  2519. local NewParticle = Particle2_2:Clone()
  2520. NewParticle.Parent = v
  2521.  
  2522. NewParticle.Acceleration = Vector3.new(math.random(-8,8), math.random(-8,8), math.random(-8,8))
  2523. NewParticle:Emit(5)
  2524. game:GetService("Debris"):AddItem(NewParticle, 5)
  2525. while NewParticle.Parent ~= nil do
  2526. --NewParticle.Acceleration = RootPart.CFrame.lookVector*-40
  2527. swait()
  2528. end
  2529. end))
  2530. end
  2531.  
  2532.  
  2533.  
  2534. end))
  2535. attack = false
  2536. end
  2537.  
  2538. end
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545. --------------------------------------------------------------------------------------------------------------------------------------------
  2546.  
  2547.  
  2548.  
  2549.  
  2550.  
  2551.  
  2552.  
  2553.  
  2554.  
  2555. wallhit = false
  2556.  
  2557.  
  2558. KeyDown=function(key)
  2559. if key == "0" and attack == false and CanDash == true then
  2560. Dash()
  2561.  
  2562. end
  2563.  
  2564.  
  2565. if hitfloor == nil and key == " " and attack == false then
  2566.  
  2567. if wallhit == true then
  2568. Walljump()
  2569. LostGrip = true
  2570. else
  2571. if CanDoubleJump == true then
  2572. DoubleJump()
  2573. end
  2574. end
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582. end
  2583.  
  2584.  
  2585.  
  2586.  
  2587. if key == "z" and attack == false then
  2588. Shade_Soul()
  2589.  
  2590. end
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603. if key == "r" and attack == false then
  2604. attack = true
  2605.  
  2606.  
  2607.  
  2608. for i = 0,2,0.1 do
  2609. swait()
  2610. change = 0.5
  2611. Humanoid.WalkSpeed = 12
  2612. Humanoid.JumpPower = 80
  2613. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
  2614. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
  2615. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
  2616. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2617. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2618. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2619.  
  2620. RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
  2621. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  2622.  
  2623.  
  2624. end
  2625.  
  2626.  
  2627. while hitfloor ~= nil and torvel < 2 do
  2628. swait()
  2629. change = 0.5
  2630. Humanoid.WalkSpeed = 12
  2631. Humanoid.JumpPower = 80
  2632. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1.30 + 0.0 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(0)), .15)
  2633. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .15)
  2634. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(-20 - .0 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
  2635. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(-20 - .0 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2636. RH.C0 = RH.C0:lerp(CFrame.new(.25, -.35- .0 * math.cos(sine / 8), -.0) * CFrame.Angles(math.rad(65.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(5.5- 0.0 * math.cos(sine / 8))),.15)
  2637. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -.35- .0 * math.cos(sine / 8), -.0) * CFrame.Angles(math.rad(65.5- 0 * math.cos(sine / 8)),math.rad(0),math.rad(-5.5- 0.0 * math.cos(sine / 8))),.15)
  2638.  
  2639. RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
  2640. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  2641.  
  2642. end
  2643.  
  2644.  
  2645.  
  2646.  
  2647. attack = false
  2648. end
  2649.  
  2650.  
  2651.  
  2652. if key == "m" then
  2653.  
  2654.  
  2655.  
  2656.  
  2657.  
  2658.  
  2659.  
  2660.  
  2661. --[
  2662.  
  2663. if CurId == 6 then
  2664. lastid= "http://www.roblox.com/asset/?id=1525123663"
  2665. s2:play()
  2666. CurId = 1
  2667. elseif CurId == 1 then
  2668. lastid= "http://www.roblox.com/asset/?id=711197488"
  2669. s2:play()
  2670. CurId = 2
  2671. elseif CurId == 2 then
  2672. lastid= "http://www.roblox.com/asset/?id=1056053576"
  2673. s2:play()
  2674. CurId = 3
  2675. elseif CurId == 3 then
  2676. lastid= "http://www.roblox.com/asset/?id=416923620"
  2677. s2:Stop()
  2678. CurId = 4
  2679. elseif CurId == 4 then
  2680. lastid= "http://www.roblox.com/asset/?id=537332038"
  2681. s2:play()
  2682. CurId = 5
  2683. elseif CurId == 5 then
  2684. lastid= "http://www.roblox.com/asset/?id=667496334"
  2685. s2:play()
  2686. CurId = 6
  2687. end
  2688. lastsongpos = 0
  2689. s2.TimePosition = lastsongpos
  2690.  
  2691.  
  2692. --]]
  2693. end
  2694.  
  2695.  
  2696. end
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702.  
  2703.  
  2704. NoClipCons = {}
  2705. coroutine.resume(coroutine.create(function()
  2706.  
  2707.  
  2708. if #NoClipCons == 0 then
  2709. local con = game:service("RunService").Stepped:connect(function()
  2710. if HClip == false then
  2711. pcall(function() Torso.CanCollide = false end)
  2712. pcall(function() Head.CanCollide = false end)
  2713. end
  2714. end)
  2715. table.insert(NoClipCons, con)
  2716. else
  2717. for i, v in pairs(NoClipCons) do
  2718. v:disconnect()
  2719. table.remove(NoClipCons, i)
  2720. end
  2721. end
  2722.  
  2723.  
  2724. end))
  2725.  
  2726. coroutine.resume(coroutine.create(function()
  2727. while Humanoid.Health>0 do
  2728.  
  2729.  
  2730. Head.Color = Color3.new(0, 0, 0)
  2731. LeftArm.Color = Color3.new(0, 0, 0)
  2732. LeftLeg.Color = Color3.new(0, 0, 0)
  2733. RightArm.Color = Color3.new(0, 0, 0)
  2734. RightLeg.Color = Color3.new(0, 0, 0)
  2735. Torso.Color = Color3.new(0, 0, 0)
  2736.  
  2737. if ComboDur > 0 and Combo > 0 then
  2738. ComboDur = ComboDur - 1
  2739.  
  2740.  
  2741.  
  2742. end
  2743. if ComboDur == 0 and Combo > 0 then
  2744.  
  2745. coroutine.resume(coroutine.create(function()
  2746. if attack == false then
  2747. Combo = 0
  2748. attack = true
  2749. for i = 0,1,0.1 do
  2750. swait()
  2751. change = 0.5
  2752. Humanoid.WalkSpeed = 12
  2753. Humanoid.JumpPower = 80
  2754. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-50)), .15)
  2755. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(50)), .15)
  2756. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-27), math.rad(40 + .5 * math.cos(sine / 8))), 0.3)
  2757. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2758. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2759. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2760. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.5, .5) * angles(math.rad(55 ), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.3)
  2761. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  2762.  
  2763. HW.C0 = clerp(HW.C0, cf(-.15,-.5,-.2)*angles(math.rad(-90),math.rad(0),math.rad(0)),.2)
  2764.  
  2765. end
  2766. attack = false
  2767. HW.C0 = cf(.8,.8,.45)*angles(math.rad(0),math.rad(0),math.rad(135))
  2768. HW.Part0 = Torso
  2769.  
  2770.  
  2771.  
  2772. else
  2773. ComboDur = 5
  2774. Combo = 1
  2775. end
  2776.  
  2777. end))
  2778. end
  2779.  
  2780. sine = sine + change
  2781. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2782.  
  2783. if s2.Parent == nil or s2 == nil then
  2784. s2 = s2c:Clone()
  2785. s2.Parent = Torso
  2786. s2.Name = "BGMusic"
  2787. -- s2.SoundId = lastid
  2788. s2.Pitch = 1
  2789. s2.Volume = 2
  2790. s2.Looped = true
  2791. s2.archivable = false
  2792. s2.TimePosition = lastsongpos
  2793. s2:play()
  2794.  
  2795. else
  2796. lastsongpos=s2.TimePosition
  2797. s2.Pitch = 1
  2798. s2.Volume = 2
  2799. s2.Looped = true
  2800. s2.SoundId = lastid
  2801. s2.EmitterSize = 40
  2802. end
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810. local wallhit2 = wallhit
  2811.  
  2812.  
  2813. local Lookray,Lookpos = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 2, Character)
  2814. if hitfloor == nil and LostGrip == false and attack == false and Lookray ~= nil and Lookray.CanCollide == true and not Lookray.Parent:FindFirstChildOfClass("Humanoid") and Lookray ~= workspace and not Lookray.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2815. wallhit = true
  2816. if wallhit2==false and wallhit == true then
  2817. local NewParticle = Particle1_2:Clone()
  2818.  
  2819. local EffectHolder = Instance.new("Part")
  2820. EffectHolder.Parent = Character
  2821. EffectHolder.Size = Vector3.new(0.05, 0.05, 0.05)
  2822. EffectHolder.Transparency = 0
  2823. EffectHolder.Anchored=true
  2824.  
  2825. EffectHolder.Material = "Neon"
  2826. EffectHolder.CanCollide = false
  2827.  
  2828.  
  2829. EffectHolder.CFrame = cn(Lookpos)
  2830.  
  2831.  
  2832. NewParticle.Parent = EffectHolder
  2833. NewParticle:Emit(30)
  2834. so("268933974", EffectHolder,1.5, math.random(230,250)/100)
  2835. game:GetService("Debris"):AddItem(EffectHolder, 3)
  2836. end
  2837.  
  2838.  
  2839. --local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 0, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2840. --game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  2841. Torso.Velocity = Vector3.new(Torso.Velocity.X,0,Torso.Velocity.Z) --+ RootPart.CFrame.lookVector*-35
  2842. if Canholdtime > .1 then
  2843. Canholdtime = Canholdtime - 1
  2844. else
  2845. LostGrip = true
  2846. end
  2847.  
  2848. else
  2849.  
  2850. if Canholdtime < 19.5 and LostGrip == true then
  2851. Canholdtime = Canholdtime + 1
  2852. elseif Canholdtime > 19.5 and LostGrip == true then
  2853. LostGrip = false
  2854. elseif Canholdtime < 19.5 and LostGrip == false then
  2855. Canholdtime = 20
  2856. end
  2857.  
  2858.  
  2859. wallhit = false
  2860. end
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866. if hitfloor ~= nil then
  2867. inAir = true
  2868. else
  2869. inAir = false
  2870. end
  2871.  
  2872. if inAir == true then
  2873. if inAir2 == false then
  2874.  
  2875.  
  2876. JumpAfterEffect()
  2877.  
  2878. if CanDoubleJump == false then
  2879. CanDoubleJump= true
  2880. end
  2881.  
  2882.  
  2883. end
  2884. end
  2885.  
  2886. if hitfloor ~= nil then
  2887. inAir2 = true
  2888. else
  2889. inAir2 = false
  2890. end
  2891.  
  2892.  
  2893.  
  2894.  
  2895. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2896. local velderp = RootPart.Velocity.y
  2897.  
  2898.  
  2899.  
  2900.  
  2901. coroutine.resume(coroutine.create(function()
  2902.  
  2903. for i,v in pairs(SkinParts) do
  2904. v.Color = Color3.new(0,0,0)
  2905. end
  2906.  
  2907. Head.Transparency = 1
  2908.  
  2909. end))
  2910.  
  2911.  
  2912.  
  2913.  
  2914.  
  2915. if RootPart.Velocity.y > 1 and hitfloor == nil then
  2916. Anim = "Jump"
  2917. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  2918. Anim = "Fall"
  2919. elseif Humanoid.Sit == true then
  2920. Anim = "Sit"
  2921. elseif torvel < 1 and hitfloor ~= nil then
  2922. Anim = "Idle"
  2923. elseif torvel > 2 and hitfloor ~= nil then
  2924. if sprintmode == true then
  2925. Anim = "Run"
  2926. else
  2927. Anim = "Walk"
  2928. end
  2929. elseif wallhit == true then
  2930. Anim = "WallHit"
  2931.  
  2932. else
  2933. Anim = ""
  2934.  
  2935. end
  2936.  
  2937. if wallhit == true then
  2938. Anim = "WallHit"
  2939. end
  2940.  
  2941. if attack == false then
  2942. if Anim == "Jump" then
  2943.  
  2944.  
  2945. change = 0.5
  2946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  2947. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .08)
  2948. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2949. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2950. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.45+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  2951. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2952.  
  2953. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  2954. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  2955.  
  2956.  
  2957.  
  2958. elseif Anim == "Fall" then
  2959.  
  2960.  
  2961. change = 0.5
  2962. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.2 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(25.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  2963. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(36.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  2964. RW.C0 = clerp(RW.C0, CFrame.new(1 , 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(35 + 0 * math.cos(sine / 8))), 0.1)
  2965. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.75, .20) * angles(math.rad(5 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-35 - 2 * math.cos(sine / 8))), 0.1)
  2966. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.05+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2967. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.35+ .05 * math.cos(sine / 15), -.3) * CFrame.Angles(math.rad(20 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  2968.  
  2969. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  2970. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  2971.  
  2972.  
  2973.  
  2974.  
  2975. elseif Anim == "Idle" then
  2976. change = 0.5
  2977. LostGrip = true
  2978. Canholdtime = 10
  2979. Humanoid.WalkSpeed = 12
  2980. Humanoid.JumpPower = 80
  2981. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
  2982. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
  2983. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(10 + .5 * math.cos(sine / 8))), 0.1)
  2984. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(1 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - .5 * math.cos(sine / 8))), 0.1)
  2985. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2986. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2987.  
  2988.  
  2989. RCW.C0 = clerp(RCW.C0, CFrame.new(.9 , 0.5, -.0) * angles(math.rad(1 - 2.5 * math.cos(sine / 8)), math.rad(7), math.rad(-6 + .5 * math.cos(sine / 8))), 0.1)
  2990. LCW.C0 = clerp(LCW.C0, CFrame.new(-.9, 0.5, -.0) * angles(math.rad(1 - 2.5 * math.cos(sine / 8)), math.rad(-7), math.rad(6 - .5 * math.cos(sine / 8))), 0.1)
  2991.  
  2992. elseif Anim == "Walk" then
  2993. LostGrip = true
  2994. Canholdtime = 10
  2995.  
  2996. change = 1.8
  2997. Humanoid.WalkSpeed = 20
  2998. Humanoid.JumpPower = 70
  2999. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0 - 0.05 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7, -0.205 + 0.25 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(18 - 3 * math.cos(sine / 3.5)), math.rad(0) + RootPart.RotVelocity.Y / 50, math.rad(8 * math.cos(sine / 7))), 0.2)
  3000. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(-14 + 2.5 * math.cos(sine / 3.5)), math.rad(0 - 0 * math.cos(sine / 3.5)), math.rad(-8 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 16), 0.2)
  3001. RW.C0 = clerp(RW.C0, CFrame.new(0.95, 0.6, .1) * angles(math.rad(5+10 * math.cos(sine / 7)), math.rad(0), math.rad(10)), 0.2)
  3002. LW.C0 = clerp(LW.C0, CFrame.new(-0.95, 0.6, .1) * angles(math.rad(5-10 * math.cos(sine / 7)), math.rad(0), math.rad(-10)), 0.2)
  3003. RH.C0 = RH.C0:lerp( cf(.25, -0.505 - 0.325 * math.cos(sine / 7) / 2,-0.1+ 0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 - 75 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  3004. LH.C0 = LH.C0:lerp( cf(-.25, -0.505 + 0.325 * math.cos(sine / 7) / 2,-0.1+ -0.25 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-2.5 + 75 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.2)
  3005.  
  3006.  
  3007.  
  3008.  
  3009. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .2) * angles(math.rad(-10 - 15.5 * math.cos(sine / 3.5)), math.rad(-17), math.rad(10 + .5 * math.cos(sine / 8))), 0.15)
  3010. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .2) * angles(math.rad(-10 - 15.5 * math.cos(sine / 3.5)), math.rad(17), math.rad(-10 - .5 * math.cos(sine / 8))), 0.15)
  3011.  
  3012. elseif Anim == "WallHit" then
  3013.  
  3014.  
  3015. change = 0.5
  3016. Humanoid.WalkSpeed = 17
  3017. Humanoid.JumpPower = 70
  3018.  
  3019. change = 0.5
  3020. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -.5, -0.18 + 0.02 * math.cos(sine / 8)) * angles(math.rad(-15 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(-40)), .08)
  3021. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(30.5 - 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(20)), .25)
  3022. RW.C0 = clerp(RW.C0, CFrame.new(.9 , 0.6, -.0) * angles(math.rad(-20 - .5 * math.cos(sine / 8)), math.rad(7), math.rad(20 + .5 * math.cos(sine / 8))), 0.08)
  3023. LW.C0 = clerp(LW.C0, CFrame.new(-.9, 0.6, -.0) * angles(math.rad(140 - .5 * math.cos(sine / 8)), math.rad(-7), math.rad(-40 - .5 * math.cos(sine / 8))), 0.25)
  3024. RH.C0 = RH.C0:lerp(CFrame.new(.25, -0.55- .02 * math.cos(sine / 8), -.2) * CFrame.Angles(math.rad(-20.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.08)
  3025. LH.C0 = LH.C0:lerp(CFrame.new(-.25, -0.55- .02 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(24.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.25)
  3026.  
  3027.  
  3028. RCW.C0 = clerp(RCW.C0, CFrame.new(1 , 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(-45), math.rad(20 + .5 * math.cos(sine / 8))), 0.15)
  3029. LCW.C0 = clerp(LCW.C0, CFrame.new(-1, 0.6, .5) * angles(math.rad(-5 - 2.5 * math.cos(sine / 3)), math.rad(45), math.rad(-20 - .5 * math.cos(sine / 8))), 0.15)
  3030.  
  3031.  
  3032.  
  3033. end
  3034. end
  3035. swait()
  3036. end
  3037.  
  3038. local TPN1 = math.random(-10,10)/300
  3039. local TPN2 = math.random(-10,10)/300
  3040. Glitch1(Character,TPN1,.01,TPN2)
  3041. so("588694789", Torso,2.5, .8)
  3042.  
  3043. local LHead = Instance.new("Part")
  3044. LHead.Parent = workspace
  3045. LHead.Size = Vector3.new(.5, 1, 1)
  3046. LHead.Transparency = 0
  3047. LHead.Color = Color3.new(1, 1, 1)
  3048. LHead.Material = "SmoothPlastic"
  3049. LHead.CanCollide = true
  3050. LHead.Archivable = false
  3051. LHead.Anchored = true
  3052. local HeadMeshL = Create("SpecialMesh"){
  3053. Parent = LHead,
  3054. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  3055. MeshId = "http://www.roblox.com/asset/?id=1707536480",
  3056. MeshType = "Sphere",
  3057. Scale = vt(1,1,1),
  3058. Offset = vt(0.44, -0.605, 0.965)
  3059. }
  3060. LHead.CFrame = Head.CFrame*cn(-.2,0,0)*angles(math.rad(0), math.rad(180), math.rad(0))
  3061. local RHead = Instance.new("Part")
  3062. RHead.Parent = workspace
  3063. RHead.Size = Vector3.new(.5, 1, 1)
  3064. RHead.Transparency = 0
  3065. RHead.Color = Color3.new(1, 1, 1)
  3066. RHead.Material = "SmoothPlastic"
  3067. RHead.CanCollide = true
  3068. RHead.Archivable = false
  3069. RHead.Anchored = true
  3070. local HeadMeshL = Create("SpecialMesh"){
  3071. Parent = RHead,
  3072. --TextureId = "http://www.roblox.com/asset/?id=1374149",
  3073. MeshId = "http://www.roblox.com/asset/?id=1707521666",
  3074. MeshType = "Sphere",
  3075. Scale = vt(1,1,1),
  3076. Offset = vt(0,0,0)
  3077. }
  3078. RHead.CFrame = Head.CFrame*cn(.2,0,0)*angles(math.rad(0), math.rad(180), math.rad(0))
  3079. Head.Parent = nil
  3080.  
  3081. for _,v in pairs(Character:GetChildren()) do
  3082.  
  3083. if v:isA("BasePart") then
  3084. v.Anchored = true
  3085. v.Size = Vector3.new(0, 0, 0)
  3086. v.Transparency = 1
  3087. end
  3088. end
  3089. wait(.1)
  3090. LHead.Anchored = false
  3091. RHead.Anchored = false
  3092. for i = s2.Volume,0,-.1 do wait()
  3093. s2.Volume = i
  3094. end
  3095. end))
  3096. remote = Instance.new 'RemoteFunction';
  3097. remote.Parent = Character;
  3098. remote.OnServerInvoke = function (player, request, ...)
  3099. if (player ~= Player) then
  3100. return error ('You cannot invoke this remote', 0);
  3101. end;
  3102.  
  3103.  
  3104.  
  3105. if (request == 1) then
  3106. local k = ...;
  3107.  
  3108. KeyDown(k)
  3109.  
  3110.  
  3111.  
  3112. end;
  3113. if (request == 2) then
  3114. local k = ...;
  3115.  
  3116. --KeyUp(k)
  3117.  
  3118.  
  3119.  
  3120. end;
  3121. if (request == 3) then
  3122. local k = ...;
  3123. if k == "Down" then
  3124. Button1Down(k)
  3125. elseif k == "Up" then
  3126. --MouseUp(k)
  3127. end
  3128. end;
  3129.  
  3130.  
  3131. if (request == 4) then
  3132. local k=...;
  3133. MTARGET=k
  3134. end
  3135. if (request == 5) then
  3136. local k=...;
  3137. MHIT=k
  3138.  
  3139. end
  3140.  
  3141. if (request == 6) then
  3142. local k=...;
  3143. CamCoord=k
  3144.  
  3145. end
  3146.  
  3147.  
  3148.  
  3149. end;
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163. remote.Name = 'ServerRemote';
  3164. --local remote = NLS ([=[
  3165. localscript = script.Keys
  3166. localscript.Name = Player.Name
  3167. localscript.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement