PersonsadminTeam

Ramenege

Dec 13th, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 105.50 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local deb = false
  14. local shot = 0
  15. local l = game:GetService("Lighting")
  16. local rs = game:GetService("RunService").RenderStepped
  17. local stanceToggle = "Normal"
  18. math.randomseed(os.time())
  19. hum.WalkSpeed = 16
  20. char.Health:Destroy()
  21. hum.MaxHealth = 8400
  22. wait(0.1)
  23. hum.Health = 8400
  24. ----------------------------------------------------
  25. char.Shirt:Destroy()
  26. char.Pants:Destroy()
  27. shirt = Instance.new("Shirt", char)
  28. shirt.Name = "Shirt"
  29. pants = Instance.new("Pants", char)
  30. pants.Name = "Pants"
  31. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=337944629"
  32. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=337944888"
  33. ----------------------------------------------------
  34. Debounces = {
  35. on = false;
  36. ks = false;
  37. CanAttack = true;
  38. CanJoke = true;
  39. NoIdl = false;
  40. Slashing = false;
  41. Slashed = false;
  42. Grabbing = false;
  43. Grabbed = false;
  44. }
  45. local Touche = {char.Name, }
  46. ----------------------------------------------------
  47. function lerp(a, b, t) -- Linear interpolation
  48. return a + (b - a)*t
  49. end
  50.  
  51. function slerp(a, b, t) --Spherical interpolation
  52. dot = a:Dot(b)
  53. if dot > 0.99999 or dot < -0.99999 then
  54. return t <= 0.5 and a or b
  55. else
  56. r = math.acos(dot)
  57. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  58. end
  59. end
  60.  
  61. function matrixInterpolate(a, b, t)
  62. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  63. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  64. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  65. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  66. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  67. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  68. local t = v1:Dot(v2)
  69. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  70. return CFrame.new()
  71. end
  72. return CFrame.new(
  73. v0.x, v0.y, v0.z,
  74. v1.x, v1.y, v1.z,
  75. v2.x, v2.y, v2.z,
  76. v3.x, v3.y, v3.z)
  77. end
  78. ----------------------------------------------------
  79. function genWeld(a,b)
  80. local w = Instance.new("Weld",a)
  81. w.Part0 = a
  82. w.Part1 = b
  83. return w
  84. end
  85. function weld(a, b)
  86. local weld = Instance.new("Weld")
  87. weld.Name = "W"
  88. weld.Part0 = a
  89. weld.Part1 = b
  90. weld.C0 = a.CFrame:inverse() * b.CFrame
  91. weld.Parent = a
  92. return weld;
  93. end
  94. ----------------------------------------------------
  95. function Lerp(c1,c2,al)
  96. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  97. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  98. for i,v in pairs(com1) do
  99. com1[i] = v+(com2[i]-v)*al
  100. end
  101. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  102. end
  103. ----------------------------------------------------
  104. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  105. local wld = Instance.new("Weld", wp1)
  106. wld.Part0 = wp0
  107. wld.Part1 = wp1
  108. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  109. end
  110. ----------------------------------------------------
  111. for i,v in pairs(char:children()) do
  112. if v:IsA("Hat") then
  113. v:Destroy()
  114. end
  115. end
  116. for i,v in pairs(hed:children()) do
  117. if v:IsA("Sound") then
  118. v:Destroy()
  119. end
  120. end
  121. ----------------------------------------------------
  122. function HasntTouched(plrname)
  123. local ret = true
  124. for _, v in pairs(Touche) do
  125. if v == plrname then
  126. ret = false
  127. end
  128. end
  129. return ret
  130. end
  131. ----------------------------------------------------
  132. newWeld(torso, larm, -1.5, 0.5, 0)
  133. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  134. newWeld(torso, rarm, 1.5, 0.5, 0)
  135. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  136. newWeld(torso, hed, 0, 1.5, 0)
  137. newWeld(torso, lleg, -0.5, -1, 0)
  138. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  139. newWeld(torso, rleg, 0.5, -1, 0)
  140. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  141. newWeld(root, torso, 0, -1, 0)
  142. torso.Weld.C1 = CFrame.new(0, -1, 0)
  143. ----------------------------------------------------
  144. game:service'InsertService':LoadAsset(64444871):children()[1].Parent=char
  145. char.DominusV2.Handle.Mesh.Scale = char.DominusV2.Handle.Mesh.Scale * 1
  146. char.DominusV2.Handle.Mesh.VertexColor = Vector3.new(0,100,0)
  147. hed.face.Texture = "rbxassetid://0"
  148. hed.BrickColor = BrickColor.new("Light orange")
  149. larm.BrickColor = BrickColor.new("Light orange")
  150. rarm.BrickColor = BrickColor.new("Light orange")
  151. lleg.BrickColor = BrickColor.new("Light orange")
  152. torso.BrickColor = BrickColor.new("Light orange")
  153. --[[local hed2 = hed:Clone()
  154. hed2.CanCollide = false
  155. hed2.Parent = char
  156. hed2:ClearAllChildren()
  157. hed2.Transparency = 0
  158. hed2.Name = "DARP"
  159. local w = Instance.new("Weld",hed2)
  160. w.Part0 = hed
  161. w.Part1 = hed2
  162. w.C0 = CFrame.new(0,0,-0.175)
  163. z=Instance.new("SurfaceGui",hed2)
  164. z.Enabled = true
  165. z.Face = "Front"
  166. z.Adornee = hed2
  167. z.CanvasSize = Vector2.new(100,100)
  168. local face = Instance.new("ImageLabel",z)
  169. face.Size = UDim2.new(1,-30,1,0)
  170. face.Position = UDim2.new(0,15,0,0)
  171. face.BackgroundTransparency = 0
  172. face.Image='rbxassetid://46282671']]--
  173. ----------------------------------------------------
  174. local m = Instance.new("Model")
  175. m.Name = "RamenBlade"
  176. p1 = Instance.new("Part", m)
  177. p1.Name = "Handle"
  178. p1.BrickColor = BrickColor.new("Sea green")
  179. p1.FormFactor = Enum.FormFactor.Custom
  180. p1.Transparency = 0
  181. p1.Size = Vector3.new(1, 7, 1)
  182. p1.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  183. p1.CanCollide = false
  184. p1.Locked = true
  185. p1.Elasticity = 0
  186. p1.BottomSurface = Enum.SurfaceType.Smooth
  187. p1.TopSurface = Enum.SurfaceType.Smooth
  188. b1 = Instance.new("FileMesh", p1)
  189. b1.MeshId="http://www.roblox.com/asset/?id=431136192"
  190. b1.TextureId="http://www.roblox.com/asset/?id=74322092"
  191. b1.VertexColor = Vector3.new(0,100,0)
  192. b1.Name = "Mesh"
  193. b1.Scale = Vector3.new(.1,.1,.1)
  194. w1 = Instance.new("Weld", p1)
  195. w1.Name = "Part_Weld"
  196. w1.Part0 = p1
  197. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  198. m.Parent = char
  199. m:MakeJoints()
  200. ----------------------------------------------------
  201. local cor = Instance.new("Part", char.RamenBlade)
  202. cor.Name = "Thingy"
  203. cor.Locked = true
  204. cor.BottomSurface = 0
  205. cor.CanCollide = false
  206. cor.Size = Vector3.new(3, 7, 1)
  207. cor1 = Instance.new("FileMesh", p1)
  208. cor1.MeshId="http://www.roblox.com/asset/?id=431136192"
  209. cor1.TextureId="http://www.roblox.com/asset/?id=74322092"
  210. cor1.VertexColor = Vector3.new(0,100,0)
  211. cor1.Name = "Mesh"
  212. cor1.Scale = Vector3.new(.3, .3, .3)
  213. cor.Transparency = 1
  214. cor.TopSurface = 0
  215. corw = Instance.new("Weld", cor)
  216. corw.Part0 = rarm
  217. corw.Part1 = cor
  218. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40))
  219. corw.C1 = CFrame.new(0, 0, 0)
  220. weld1 = Instance.new("Weld", char.RamenBlade)
  221. weld1.Part0 = cor
  222. weld1.Part1 = p1
  223. weld1.C0 = CFrame.new(0, 0, 0)
  224. m.Parent = char
  225. m:MakeJoints()
  226. ----------------------------------------------------
  227. hitb = Instance.new("Part", char.RamenBlade)
  228. hitb.Name = "Thingy2"
  229. hitb.Locked = true
  230. hitb.BottomSurface = 0
  231. hitb.CanCollide = false
  232. hitb.Size = Vector3.new(0, 8, 6)
  233. hitb.Transparency = 1
  234. hitb.TopSurface = 0
  235. weld2 = Instance.new("Weld", char.RamenBlade)
  236. weld2.Part0 = hitb
  237. weld2.Part1 = p12
  238. weld2.C0 = CFrame.new(0, .6, 1)
  239. ----------------------------------------------------
  240. function weld5(part0, part1, c0, c1)
  241. weeld=Instance.new("Weld", part0)
  242. weeld.Part0=part0
  243. weeld.Part1=part1
  244. weeld.C0=c0
  245. weeld.C1=c1
  246. return weeld
  247. end
  248. ----------------------------------------------------
  249. function newRay(start,face,range,wat)
  250. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  251. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  252. return rey,hit,pos
  253. end
  254. ----------------------------------------------------
  255. mod5 = Instance.new("Model",char)
  256.  
  257. function FindNearestTorso(Position,Distance,SinglePlayer)
  258. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  259. local List = {}
  260. for i,v in pairs(workspace:GetChildren())do
  261. if v:IsA("Model")then
  262. if v:findFirstChild("Torso")then
  263. if v ~= char then
  264. if(v.Torso.Position -Position).magnitude <= Distance then
  265. table.insert(List,v)
  266. end
  267. end
  268. end
  269. end
  270. end
  271. return List
  272. end
  273.  
  274. function Tornado()
  275. part=Instance.new('Part',mod5)
  276. part.Anchored=true
  277. part.CanCollide=false
  278. part.FormFactor='Custom'
  279. part.Size=Vector3.new(.2,.2,.2)
  280. part.CFrame=root.CFrame*CFrame.new(0,7,0)*CFrame.Angles(math.rad(0),0,0)
  281. part.Transparency=.7
  282. part.BrickColor=BrickColor.new('Sea green')
  283. mesh=Instance.new('SpecialMesh',part)
  284. mesh.MeshId='http://www.roblox.com/asset/?id=102638417'
  285. mesh.Scale=Vector3.new(1,4,1)
  286.  
  287.  
  288. for i,v in pairs(FindNearestTorso(torso.CFrame.p,60))do
  289. if v:FindFirstChild('Humanoid') then
  290. v.Humanoid:TakeDamage(math.random(10,20))
  291. v.Humanoid.PlatformStand = true
  292. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  293. end
  294. end
  295.  
  296. coroutine.resume(coroutine.create(function()
  297. for i=0,1,0.1 do
  298. wait()
  299. part.CFrame=part.CFrame
  300. part.Transparency=i
  301. mesh.Scale=mesh.Scale+Vector3.new(3,1,3)
  302. end
  303. part.Parent = nil
  304. end))
  305. end
  306. -----------------------------------------------------
  307. mod5 = Instance.new("Model",char)
  308.  
  309. function FindNearestTorso(Position,Distance,SinglePlayer)
  310. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  311. local List = {}
  312. for i,v in pairs(workspace:GetChildren())do
  313. if v:IsA("Model")then
  314. if v:findFirstChild("Torso")then
  315. if v ~= char then
  316. if(v.Torso.Position -Position).magnitude <= Distance then
  317. table.insert(List,v)
  318. end
  319. end
  320. end
  321. end
  322. end
  323. return List
  324. end
  325.  
  326. function Landing()
  327. part=Instance.new('Part',mod5)
  328. part.Anchored=true
  329. part.CanCollide=false
  330. part.FormFactor='Custom'
  331. part.Size=Vector3.new(.2,.2,.2)
  332. part.CFrame=root.CFrame*CFrame.new(0,-2,-1.5)
  333. part.Transparency=.7
  334. part.BrickColor=BrickColor.new('Lime green')
  335. mesh=Instance.new('SpecialMesh',part)
  336. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  337. mesh.Scale=Vector3.new(1,1,1)
  338. part2=part:clone()
  339. part2.Parent=mod
  340. part2.BrickColor=BrickColor.new('Really black')
  341. mesh2=mesh:clone()
  342. mesh2.Parent=part2
  343. mesh2.Scale=Vector3.new(1,1,1)
  344.  
  345.  
  346. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  347. if v:FindFirstChild('Humanoid') then
  348. v.Humanoid:TakeDamage(math.random(20,40))
  349. v.Humanoid.PlatformStand = true
  350. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  351. end
  352. end
  353.  
  354. coroutine.resume(coroutine.create(function()
  355. for i=0,1,0.1 do
  356. rs:wait()
  357. part.CFrame=part.CFrame
  358. part.Transparency=i
  359. mesh.Scale=mesh.Scale+Vector3.new(1,0.5,1)
  360. part2.CFrame=part2.CFrame
  361. part2.Transparency=i
  362. mesh2.Scale=mesh2.Scale+Vector3.new(1.5,0,1.5)
  363. end
  364. part.Parent = nil
  365. part2.Parent = nil
  366. end))
  367. end
  368. ----------------------------------------------------
  369. mod3 = Instance.new("Model",rleg)
  370. function Backjump()--Dodge
  371. hed.Velocity=hed.CFrame.lookVector*-100
  372. part=Instance.new('Part',mod5)
  373. part.Anchored=true
  374. part.CanCollide=false
  375. part.FormFactor='Custom'
  376. part.Size=Vector3.new(.2,.2,.2)
  377. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  378. part.Transparency=.7
  379. part.BrickColor=BrickColor.new('Lime green')
  380. mesh=Instance.new('SpecialMesh',part)
  381. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  382. mesh.Scale=Vector3.new(1,2,1)
  383. x = Instance.new("Sound",char)
  384. x.SoundId = "http://www.roblox.com/asset/?id=157626116"
  385. x.Volume = 1
  386. wait()
  387. x:Play()
  388.  
  389. for i,v in pairs(FindNearestTorso(torso.CFrame.p,0))do
  390. if v:FindFirstChild('Humanoid') then
  391. v.Humanoid:TakeDamage(math.random(0))
  392. v.Humanoid.PlatformStand = true
  393. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  394. end
  395. end
  396.  
  397. coroutine.resume(coroutine.create(function()
  398. for i=0,0.62,0.13 do
  399. rs:wait()
  400. part.CFrame=part.CFrame
  401. part.Transparency=i
  402. mesh.Scale=mesh.Scale+Vector3.new(1,.1,1)
  403. end
  404. part.Parent = nil
  405. end))
  406. end
  407. ----------------------------------------------------
  408. mod5 = Instance.new("Model",char)
  409.  
  410. function FindNearestTorso(Position,Distance,SinglePlayer)
  411. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  412. local List = {}
  413. for i,v in pairs(workspace:GetChildren())do
  414. if v:IsA("Model")then
  415. if v:findFirstChild("Torso")then
  416. if v ~= char then
  417. if(v.Torso.Position -Position).magnitude <= Distance then
  418. table.insert(List,v)
  419. end
  420. end
  421. end
  422. end
  423. end
  424. return List
  425. end
  426.  
  427. function Smash()
  428. part=Instance.new('Part',mod5)
  429. part.Anchored=true
  430. part.CanCollide=false
  431. part.FormFactor='Custom'
  432. part.Size=Vector3.new(.2,.2,.2)
  433. part.CFrame=root.CFrame*CFrame.new(0,0,0)
  434. part.Transparency=.7
  435. part.BrickColor=BrickColor.new('Lime green')
  436. mesh=Instance.new('SpecialMesh',part)
  437. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  438. mesh.Scale=Vector3.new(1,1,1)
  439.  
  440. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  441. if v:FindFirstChild('Humanoid') then
  442. v.Humanoid:TakeDamage(math.random(20,50))
  443. v.Humanoid.PlatformStand = true
  444. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  445. end
  446. end
  447.  
  448. coroutine.resume(coroutine.create(function()
  449. for i=0,1,0.1 do
  450. rs:wait()
  451. part.CFrame=part.CFrame
  452. part.Transparency=i
  453. mesh.Scale=mesh.Scale+Vector3.new(3,1.5,3)
  454. end
  455. part.Parent = nil
  456. end))
  457. end
  458. ----------------------------------------------------
  459. mod4 = Instance.new("Model",char)
  460.  
  461. ptez = {0.7, 0.8, 0.9, 1}
  462.  
  463. function FindNearestTorso(Position,Distance,SinglePlayer)
  464. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  465. local List = {}
  466. for i,v in pairs(workspace:GetChildren())do
  467. if v:IsA("Model")then
  468. if v:findFirstChild("Torso")then
  469. if v ~= char then
  470. if(v.Torso.Position -Position).magnitude <= Distance then
  471. table.insert(List,v)
  472. end
  473. end
  474. end
  475. end
  476. end
  477. return List
  478. end
  479.  
  480. function GroundPound()
  481. part=Instance.new('Part',mod4)
  482. part.Anchored=true
  483. part.CanCollide=false
  484. part.FormFactor='Custom'
  485. part.Size=Vector3.new(.2,.2,.2)
  486. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  487. part.Transparency=.7
  488. part.BrickColor=BrickColor.new('Lime green')
  489. mesh=Instance.new('SpecialMesh',part)
  490. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  491. mesh.Scale=Vector3.new(5,5,5)
  492. part2=Instance.new('Part',mod4)
  493. part2.Anchored=true
  494. part2.CanCollide=false
  495. part2.FormFactor='Custom'
  496. part2.Size=Vector3.new(5,5,5)
  497. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  498. part2.Transparency=.7
  499. part2.BrickColor=BrickColor.new('Lime green')
  500. mesh2=Instance.new('SpecialMesh',part2)
  501. mesh2.MeshId='http://www.roblox.com/asset/?id=1323306'
  502. mesh2.Scale=Vector3.new(5,5,5)
  503. part3=Instance.new('Part',mod4)
  504. part3.Anchored=true
  505. part3.CanCollide=false
  506. part3.FormFactor='Custom'
  507. part3.Size=Vector3.new(5,5,5)
  508. part3.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  509. part3.Transparency=.7
  510. part3.BrickColor=BrickColor.new('Really black')
  511. mesh3=Instance.new('SpecialMesh',part3)
  512. mesh3.MeshId='http://www.roblox.com/asset/?id=20329976'
  513. mesh3.Scale=Vector3.new(5,5,5)
  514. x = Instance.new("Sound",char)
  515. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  516. x.Pitch = ptez[math.random(1,#ptez)]
  517. x.Volume = 1
  518. wait(.1)
  519. x:Play()
  520. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  521. if v:FindFirstChild('Humanoid') then
  522. v.Humanoid:TakeDamage(math.random(8,15))
  523. end
  524. end
  525. coroutine.resume(coroutine.create(function()
  526. for i=0,0.62,0.13 do
  527. wait()
  528. part.CFrame=part.CFrame
  529. part.Transparency=i
  530. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  531. part2.CFrame=part2.CFrame
  532. part2.Transparency=i
  533. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.4,0.4)
  534. part3.CFrame=part2.CFrame
  535. part3.Transparency=i
  536. mesh3.Scale=mesh2.Scale+Vector3.new(0.4,-0.4,0.4)
  537. end
  538. part.Parent=nil
  539. part2.Parent=nil
  540. part3.Parent=nil
  541. x:Destroy()
  542. end))
  543. end
  544. ----------------------------------------------------
  545. mod4 = Instance.new("Model",char)
  546.  
  547. ptez = {0.7, 0.8, 0.9, 1}
  548.  
  549. function FindNearestTorso(Position,Distance,SinglePlayer)
  550. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  551. local List = {}
  552. for i,v in pairs(workspace:GetChildren())do
  553. if v:IsA("Model")then
  554. if v:findFirstChild("Torso")then
  555. if v ~= char then
  556. if(v.Torso.Position -Position).magnitude <= Distance then
  557. table.insert(List,v)
  558. end
  559. end
  560. end
  561. end
  562. end
  563. return List
  564. end
  565.  
  566. function Punch()
  567. part=Instance.new('Part',mod4)
  568. part.Anchored=true
  569. part.CanCollide=false
  570. part.FormFactor='Custom'
  571. part.Size=Vector3.new(.2,.2,.2)
  572. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  573. part.Transparency=.7
  574. part.BrickColor=BrickColor.new('Lime green')
  575. mesh=Instance.new('SpecialMesh',part)
  576. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  577. mesh.Scale=Vector3.new(3,3,3)
  578. part2=Instance.new('Part',mod4)
  579. part2.Anchored=true
  580. part2.CanCollide=false
  581. part2.FormFactor='Custom'
  582. part2.Size=Vector3.new(.2,.2,.2)
  583. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  584. part2.Transparency=.7
  585. part2.BrickColor=BrickColor.new('Really black')
  586. mesh2=Instance.new('SpecialMesh',part2)
  587. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  588. mesh2.Scale=Vector3.new(3,1.5,3)
  589. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  590. if v:FindFirstChild('Humanoid') then
  591. v.Humanoid:TakeDamage(math.random(6,10))
  592. end
  593. end
  594. coroutine.resume(coroutine.create(function()
  595. for i=0,1,0.1 do
  596. rs:wait()
  597. part.CFrame=part.CFrame
  598. part.Transparency=i
  599. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  600. part2.CFrame=part2.CFrame
  601. part2.Transparency=i
  602. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  603. end
  604. part.Parent=nil
  605. part2.Parent=nil
  606. end))
  607. end
  608. ----------------------------------------------------
  609. mod=Instance.new('Model',hed)
  610.  
  611. function charge()
  612. hed.Velocity=hed.CFrame.lookVector*160
  613. part=Instance.new('Part',mod)
  614. part.Anchored=true
  615. part.CanCollide=false
  616. part.FormFactor='Custom'
  617. part.Size=Vector3.new(.2,.2,.2)
  618. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  619. part.Transparency=.7
  620. part.BrickColor=BrickColor.new('Forest green')
  621. mesh=Instance.new('SpecialMesh',part)
  622. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  623. mesh.Scale=Vector3.new(5,1,5)
  624. part2=part:clone()
  625. part2.Parent=mod
  626. part2.BrickColor=BrickColor.new('Sea green')
  627. mesh2=mesh:clone()
  628. mesh2.Parent=part2
  629. mesh2.Scale=Vector3.new(10,5,10)
  630. part3=part2:clone()
  631. part3.Parent = mod
  632. part3.BrickColor=BrickColor.new('Really black')
  633. mesh3=mesh2:clone()
  634. mesh2.Parent=part3
  635. mesh3.Scale=Vector3.new(15,10,15)
  636. coroutine.resume(coroutine.create(function()
  637. for i=0,1,0.1 do
  638. rs:wait()
  639. part.CFrame=part.CFrame
  640. part.Transparency=i
  641. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  642. part2.CFrame=part2.CFrame
  643. part2.Transparency=i
  644. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  645. part3.CFrame=part3.CFrame
  646. part3.Transparency=i
  647. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  648. end
  649. part.Parent=nil
  650. part2.Parent=nil
  651. part3.Parent = nil
  652. end))
  653. end
  654. ----------------------------------------------------
  655. function FindNearestTorso(Position,Distance,SinglePlayer)
  656. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  657. local List = {}
  658. for i,v in pairs(workspace:GetChildren())do
  659. if v:IsA("Model")then
  660. if v:findFirstChild("Torso")then
  661. if v ~= char then
  662. if(v.Torso.Position -Position).magnitude <= Distance then
  663. table.insert(List,v)
  664. end
  665. end
  666. end
  667. end
  668. end
  669. return List
  670. end
  671.  
  672. mod3 = Instance.new("Model",rleg)
  673.  
  674. function Stomp()
  675. part=Instance.new('Part',mod3)
  676. part.Anchored=true
  677. part.CanCollide=false
  678. part.FormFactor='Custom'
  679. part.Size=Vector3.new(.2,.2,.2)
  680. part.CFrame=rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(100),0,0)
  681. part.Transparency=.7
  682. part.BrickColor=BrickColor.new('Lime green')
  683. mesh=Instance.new('SpecialMesh',part)
  684. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  685. mesh.Scale=Vector3.new(8,8,8)
  686. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  687. if v:FindFirstChild('Humanoid') then
  688. v.Humanoid:TakeDamage(math.random(20,60))
  689. v.Humanoid.PlatformStand = true
  690. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  691. end
  692. end
  693. coroutine.resume(coroutine.create(function()
  694. for i=0,3.8,0.05 do
  695. rs:wait()
  696. part.CFrame=part.CFrame
  697. part.Transparency=i
  698. mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
  699. end
  700. end))
  701. end
  702. ----------------------------------------------------
  703. local acos = math.acos
  704. local sqrt = math.sqrt
  705. local Vec3 = Vector3.new
  706. local fromAxisAngle = CFrame.fromAxisAngle
  707.  
  708. local function toAxisAngle(CFr)
  709. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  710. local Angle = math.acos((R00+R11+R22-1)/2)
  711. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  712. A = A == 0 and 0.00001 or A
  713. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  714. B = B == 0 and 0.00001 or B
  715. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  716. C = C == 0 and 0.00001 or C
  717. local x = (R21-R12)/sqrt(A)
  718. local y = (R02-R20)/sqrt(B)
  719. local z = (R10-R01)/sqrt(C)
  720. return Vec3(x,y,z),Angle
  721. end
  722.  
  723. function ApplyTrig(Num,Func)
  724. local Min,Max = Func(0),Func(1)
  725. local i = Func(Num)
  726. return (i-Min)/(Max-Min)
  727. --[[if Func == "sin" then
  728. return (math.sin((1-Num)*math.pi)+1)/2
  729. elseif Func == "cos" then
  730. return (math.cos((1-Num)*math.pi)+1)/2
  731. end]]
  732. end
  733.  
  734. function LerpCFrame(CFrame1,CFrame2,Num)
  735. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  736. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  737. end
  738.  
  739. function Crater(Torso,Radius)
  740. Spawn(function()
  741. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  742. local Ignore = {}
  743. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  744. if v.Character ~= nil then
  745. Ignore[#Ignore+1] = v.Character
  746. end
  747. end
  748. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  749. if Hit == nil then return end
  750. local Parts = {}
  751. for i = 1,360,10 do
  752. local P = Instance.new("Part",Torso.Parent)
  753. P.Anchored = true
  754. P.FormFactor = "Custom"
  755. P.BrickColor = Hit.BrickColor
  756. P.Material = Hit.Material
  757. P.TopSurface = "Smooth"
  758. P.BottomSurface = "Smooth"
  759. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  760. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  761. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  762. if math.random(0,5) == 0 then -- rubble
  763. local P = Instance.new("Part",Torso.Parent)
  764. P.Anchored = true
  765. P.FormFactor = "Custom"
  766. P.BrickColor = Hit.BrickColor
  767. P.Material = Hit.Material
  768. P.TopSurface = "Smooth"
  769. P.BottomSurface = "Smooth"
  770. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  771. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  772. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  773. end
  774. end
  775. for i = 0,1,0.05 do
  776. for i2,v in pairs(Parts) do
  777. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  778. end
  779. wait(0.02)
  780. end
  781. for i,v in pairs(Parts) do
  782. if v[1].Size.X > 2.1 then
  783. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  784. end
  785. v[1].Anchored = false
  786. end
  787. for i = 0,1,0.05 do
  788. for i2,v in pairs(Parts) do
  789. v[1].Transparency = i
  790. if i == 1 then
  791. v[1]:Destroy()
  792. elseif i >= 0.25 then
  793. v[1].CanCollide = false
  794. end
  795. end
  796. wait(0.02)
  797. end
  798. Parts = nil
  799. end)
  800. end
  801.  
  802. ----------------------------------------------------
  803. mouse.KeyDown:connect(function(key)
  804. if key == "r" then
  805. if Debounces.CanAttack == true then
  806. Debounces.CanAttack = false
  807. Debounces.on = true
  808. Debounces.NoIdl = true
  809. z = Instance.new("Sound",char)
  810. z.SoundId = "http://www.roblox.com/asset/?id=169380495"
  811. z.Looped = false
  812. z.Pitch = 1
  813. z.Volume = 1
  814. z:Play()
  815. local PowerCharge = function()
  816. local rng1 = Instance.new("Part", char)
  817. rng1.Anchored = true
  818. rng1.BrickColor = BrickColor.new("Lime green")
  819. rng1.CanCollide = false
  820. rng1.FormFactor = 3
  821. rng1.Name = "Ring"
  822. rng1.Size = Vector3.new(1, 1, 1)
  823. rng1.Transparency = 0.35
  824. rng1.TopSurface = 0
  825. rng1.BottomSurface = 0
  826. local rngm1 = Instance.new("SpecialMesh", rng)
  827. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  828. rngm1.Scale = Vector3.new(10, 10, 1)
  829. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  830. local Wave = Instance.new("Part", game.Workspace--[[?]])
  831.  
  832. Wave.BrickColor = BrickColor.new("Lime green")
  833. Wave.Size = Vector3.new(8, 8, 0)
  834. Wave.CanCollide = false
  835. Wave.Anchored = true
  836. Wave.TopSurface = 0
  837. Wave.BottomSurface = 0
  838. Wave.Touched:connect(function(hit)
  839. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  840. local Occlude = true
  841. local NotOccludes = {
  842. char.Name;
  843. "Wings";
  844. "Scythe";
  845. "Thingy";
  846. "Thingy2"; -- put all of the names in a table pls
  847. }
  848. for i,v in pairs(NotOccludes) do
  849. if hit.Parent.Name == v then
  850. Occlude = false
  851. end
  852. end
  853. end
  854. end)
  855.  
  856. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  857.  
  858. coroutine.wrap(function()
  859. for i = 1, 20, 0.5 do
  860. rngm1.Scale = Vector3.new(40 + i*120, 40 + i*120, 1)
  861. rng1.Transparency = i/5
  862. wait()
  863. end
  864. wait()
  865. rng1:Destroy()
  866. end)()
  867.  
  868. Delay(0, function()
  869.  
  870. if Daytime == false then
  871. for i = 1, 10, 0.5 do
  872. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  873. Wave.CFrame = char.Torso.CFrame
  874. local t = i / 30
  875. Wave.Transparency = t
  876. wait()
  877. end
  878. else
  879. for i = 1, 50, 1 do
  880. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  881. Wave.CFrame = char.Torso.CFrame
  882. local t = i / 30
  883. Wave.Transparency = t
  884. rs:wait()
  885. end
  886. end
  887. Wave:Destroy()
  888. end)
  889. Delay(0, function()
  890. while wait() do
  891. if Wave ~= nil then
  892. Wave.CFrame = char.Torso.CFrame
  893. else
  894. break
  895. end
  896. end
  897. end)
  898. end
  899. PowerCharge()
  900. for i = 1, 50 do
  901. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.62,-1) * CFrame.Angles(math.rad(125), math.rad(0), math.rad(-55)), 0.2)
  902. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.62,-1) * CFrame.Angles(math.rad(125), math.rad(0), math.rad(55)), 0.2)
  903. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.2)
  904. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  905. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.2)
  906. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(15), 0, math.rad(0)), 0.2)
  907. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(90)), 1)
  908. rs:wait()
  909. end
  910. x = Instance.new("Sound",char)
  911. x.SoundId = "rbxassetid://211062246"
  912. x.Pitch = 2
  913. x.Volume = 1
  914. x:Play()
  915. Crater(hed,30)
  916. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  917. if v:FindFirstChild('Humanoid') then
  918. v.Humanoid:TakeDamage(math.random(20,40))
  919. v.Humanoid.PlatformStand = true
  920. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  921. end
  922. end
  923. for i = 1, 50 do
  924. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.62, -1) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-55)), 0.6)
  925. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.62, -1) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(55)), 0.6)
  926. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.6)
  927. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.4, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  928. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.9, -.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.6)
  929. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.5, -.4) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.6)
  930. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(90)), 1)
  931. if Debounces.on == false then break end
  932. rs:wait()
  933. end
  934. if Debounces.CanAttack == false then
  935. Debounces.CanAttack = true
  936. Debounces.on = false
  937. Debounces.NoIdl = false
  938. end
  939. end
  940. end
  941. end)
  942. ----------------------------------------------------
  943. mouse.KeyDown:connect(function(key)
  944. if key == "q" then
  945. if Debounces.CanAttack == true then
  946. Debounces.CanAttack = false
  947. hum.WalkSpeed = 2
  948. Debounces.on = true
  949. Debounces.NoIdl = true
  950. to = char.RamenBlade.Thingy.Touched:connect(function(ht)
  951. hit = ht.Parent
  952. if ht and hit:IsA("Model") then
  953. if hit:FindFirstChild("Humanoid") then
  954. if hit.Name ~= p.Name then
  955. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  956. Debounces.Slashed = true]]--
  957. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  958. wait(1)
  959. --Debounces.Slashed = false
  960. --end
  961. end
  962. end
  963. elseif ht and hit:IsA("Hat") then
  964. if hit.Parent.Name ~= p.Name then
  965. if hit.Parent:FindFirstChild("Humanoid") then
  966. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  967. Debounces.Slashed = true]]--
  968. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  969. wait(1)
  970. --Debounces.Slashed = false
  971. end
  972. end
  973. end
  974. end)
  975. for i = 1, 40 do
  976. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(170), math.rad(10), math.rad(20)), 0.2)
  977. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(30)), 0.2)
  978. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.1)
  979. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.1)
  980. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-5)), 0.1)
  981. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(5)), 0.1)
  982. if Debounces.on == false then break end
  983. rs:wait()
  984. end
  985. z = Instance.new("Sound",hed)
  986. z.SoundId = "rbxassetid://161006212"
  987. z.Looped = false
  988. z.Pitch = 0.7
  989. wait(0.01)
  990. z:Play()
  991. for i = 1, 10 do
  992. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(-5)), 0.3)
  993. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.3)
  994. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8),math.rad(-20),math.rad(-8)),0.5)
  995. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),math.rad(20), math.rad(0)), 0.5)
  996. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30),math.rad(20),math.rad(0)), 0.5)
  997. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.5)
  998. if Debounces.on == false then break end
  999. rs:wait()
  1000. end
  1001. for i = 1, 10 do
  1002. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.3)
  1003. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.3)
  1004. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  1005. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  1006. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1007. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1008. if Debounces.on == false then break end
  1009. rs:wait(2)
  1010. end
  1011. z = Instance.new("Sound",hed)
  1012. z.SoundId = "rbxassetid://161006212"
  1013. z.Looped = false
  1014. z.Pitch = 0.7
  1015. wait(0.01)
  1016. z:Play()
  1017. for i = 1, 10 do
  1018. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(50)), 0.3)
  1019. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  1020. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  1021. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.4, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  1022. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0.2, -1) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  1023. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  1024. if Debounces.on == false then break end
  1025. rs:wait(2)
  1026. end
  1027. for i = 1, 10 do
  1028. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(170), math.rad(0), math.rad(50)), 0.3)
  1029. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.3)
  1030. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  1031. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  1032. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1033. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1034. if Debounces.on == false then break end
  1035. rs:wait(2)
  1036. end
  1037. z = Instance.new("Sound",hed)
  1038. z.SoundId = "rbxassetid://161006212"
  1039. z.Looped = false
  1040. z.Pitch = 1
  1041. wait(0.01)
  1042. z:Play()
  1043. stun = cor.Touched:connect(function(ht)
  1044. hit = ht.Parent
  1045. if ht and hit:IsA("Model") then
  1046. if hit:FindFirstChild("Humanoid") then
  1047. if hit.Name ~= p.Name then
  1048. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1049. Debounces.Slashed = true]]--
  1050. if Debounces.ks==true then
  1051. z = Instance.new("Sound",hed)
  1052. z.SoundId = "rbxassetid://169380525"
  1053. z.Volume = 1
  1054. z:Play()
  1055. Debounces.ks=false
  1056. end
  1057. hit:FindFirstChild("Humanoid"):TakeDamage(8)
  1058. hit:FindFirstChild("Humanoid").PlatformStand = true
  1059. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -40
  1060. --Debounces.Slashed = false
  1061. --end
  1062. end
  1063. end
  1064. elseif ht and hit:IsA("Hat") then
  1065. if hit.Parent.Name ~= p.Name then
  1066. if hit.Parent:FindFirstChild("Humanoid") then
  1067. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1068. Debounces.Slashed = true]]--
  1069. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(8)
  1070. hit:FindFirstChild("Humanoid").PlatformStand = true
  1071. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -40
  1072. --Debounces.Slashed = false
  1073. --end
  1074. end
  1075. end
  1076. end
  1077. end)
  1078. for i = 1, 30 do
  1079. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(-30), math.rad(-20), math.rad(-5)), 0.2)
  1080. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.2)
  1081. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.1)
  1082. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.1)
  1083. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.1)
  1084. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.1)
  1085. if Debounces.on == false then break end
  1086. rs:wait(2)
  1087. end
  1088. to:disconnect()
  1089. stun:disconnect()
  1090. if Debounces.CanAttack == false then
  1091. Debounces.CanAttack = true
  1092. hum.WalkSpeed = 16
  1093. Debounces.on = false
  1094. Debounces.NoIdl = false
  1095. end
  1096. end
  1097. end
  1098. end)
  1099. ----------------------------------------------------
  1100. mouse.KeyDown:connect(function(key)
  1101. if key == "t" then
  1102. if Debounces.CanAttack == true then
  1103. Debounces.CanAttack = false
  1104. hum.WalkSpeed = 0.01
  1105. Debounces.on = true
  1106. Debounces.NoIdl = true
  1107. z = Instance.new("Sound",char)
  1108. z.SoundId = "http://www.roblox.com/asset/?id=169380495"
  1109. z.Looped = false
  1110. z.Pitch = 1
  1111. z.Volume = 1
  1112. z:Play()
  1113. local PowerCharge = function()
  1114. local rng1 = Instance.new("Part", char)
  1115. rng1.Anchored = true
  1116. rng1.BrickColor = BrickColor.new("Lime green")
  1117. rng1.CanCollide = false
  1118. rng1.FormFactor = 3
  1119. rng1.Name = "Ring"
  1120. rng1.Size = Vector3.new(1, 1, 1)
  1121. rng1.Transparency = 0.35
  1122. rng1.TopSurface = 0
  1123. rng1.BottomSurface = 0
  1124. local rngm1 = Instance.new("SpecialMesh", rng)
  1125. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1126. rngm1.Scale = Vector3.new(10, 10, 1)
  1127. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  1128. local Wave = Instance.new("Part", game.Workspace--[[?]])
  1129.  
  1130. Wave.BrickColor = BrickColor.new("Lime green")
  1131. Wave.Size = Vector3.new(8, 8, 0)
  1132. Wave.CanCollide = false
  1133. Wave.Anchored = true
  1134. Wave.TopSurface = 0
  1135. Wave.BottomSurface = 0
  1136. Wave.Touched:connect(function(hit)
  1137. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  1138. local Occlude = true
  1139. local NotOccludes = {
  1140. char.Name;
  1141. "Wings";
  1142. "Scythe";
  1143. "Thingy";
  1144. "Thingy2"; -- put all of the names in a table pls
  1145. }
  1146. for i,v in pairs(NotOccludes) do
  1147. if hit.Parent.Name == v then
  1148. Occlude = false
  1149. end
  1150. end
  1151. end
  1152. end)
  1153.  
  1154. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  1155.  
  1156. coroutine.wrap(function()
  1157. for i = 1, 20, 0.5 do
  1158. rngm1.Scale = Vector3.new(40 + i*120, 40 + i*120, 1)
  1159. rng1.Transparency = i/5
  1160. wait()
  1161. end
  1162. wait()
  1163. rng1:Destroy()
  1164. end)()
  1165.  
  1166. Delay(0, function()
  1167.  
  1168. if Daytime == false then
  1169. for i = 1, 10, 0.5 do
  1170. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  1171. Wave.CFrame = char.Torso.CFrame
  1172. local t = i / 30
  1173. Wave.Transparency = t
  1174. wait()
  1175. end
  1176. else
  1177. for i = 1, 50, 1 do
  1178. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  1179. Wave.CFrame = char.Torso.CFrame
  1180. local t = i / 30
  1181. Wave.Transparency = t
  1182. rs:wait()
  1183. end
  1184. end
  1185. Wave:Destroy()
  1186. end)
  1187. Delay(0, function()
  1188. while wait() do
  1189. if Wave ~= nil then
  1190. Wave.CFrame = char.Torso.CFrame
  1191. else
  1192. break
  1193. end
  1194. end
  1195. end)
  1196. end
  1197. PowerCharge()
  1198. for i = 1, 40 do
  1199. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,-0.3) *CFrame.Angles (math.rad(-50),math.rad(0),math.rad(-10)), 0.3)
  1200. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-34)), 0.2)
  1201. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),0.2)
  1202. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-10),math.rad(30), math.rad(0)), 0.1)
  1203. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(15),math.rad(20),math.rad(0)), 0.2)
  1204. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  1205. if Debounces.on == false then break end
  1206. rs:wait()
  1207. end
  1208. for i = 1, 40 do
  1209. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.2)
  1210. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.2)
  1211. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.2)
  1212. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.2)
  1213. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.2)
  1214. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.2)
  1215. if Debounces.on == false then break end
  1216. rs:wait()
  1217. end
  1218. for i = 1, 20 do
  1219. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.62,-1) * CFrame.Angles(math.rad(125), math.rad(0), math.rad(-55)), 0.2)
  1220. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1,0.62,-1) * CFrame.Angles(math.rad(125), math.rad(0), math.rad(55)), 0.2)
  1221. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.2)
  1222. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  1223. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.2)
  1224. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(15), 0, math.rad(0)), 0.2)
  1225. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(90)), 0.2)
  1226. rs:wait()
  1227. end
  1228. Spawn(function()
  1229. local Parts = {}
  1230. for Y = -5,5 do
  1231. local P = Instance.new("Part",char)
  1232. P.Anchored = true
  1233. P.FormFactor = "Custom"
  1234. P.CanCollide = false
  1235. P.Size = Vector3.new(1,2,1)
  1236. P.TopSurface = "SmoothNoOutlines"
  1237. P.BottomSurface = "SmoothNoOutlines"
  1238. P.BrickColor = BrickColor.new("Lime green")
  1239. P.Name = tostring(Y)
  1240. local i = (Y+5)/(10)
  1241. i = 1-math.cos(math.pi*i-(math.pi/2))
  1242. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,0+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  1243. --[[P.Touched:connect(function(ht)
  1244. local hit = ht.Parent
  1245. if hit:FindFirstChild("Humanoid") then
  1246. hit.Humanoid:TakeDamage(math.random(20,50))
  1247. end
  1248. end)]]--
  1249. s = Instance.new("Sound",P)
  1250. s.SoundId = "rbxassetid://144414085"
  1251. s.Volume = .7
  1252. s.Pitch = 1
  1253. s:Play()
  1254. P.Touched:connect(function(ht)
  1255. hit = ht.Parent
  1256. if ht and hit:IsA("Model") then
  1257. if hit:FindFirstChild("Humanoid") then
  1258. if hit.Name ~= p.Name then
  1259. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1260. Debounces.Slashed = true]]--
  1261. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,10))
  1262. hit:FindFirstChild("Humanoid").PlatformStand = true
  1263. wait(1)
  1264. --Debounces.Slashed = false
  1265. --end
  1266. end
  1267. end
  1268. elseif ht and hit:IsA("Hat") then
  1269. if hit.Parent.Name ~= p.Name then
  1270. if hit.Parent:FindFirstChild("Humanoid") then
  1271. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1272. Debounces.Slashed = true]]--
  1273. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (5,10))
  1274. hit:FindFirstChild("Humanoid").PlatformStand = true
  1275. wait(1)
  1276. --Debounces.Slashed = false
  1277. --end
  1278. end
  1279. end
  1280. end
  1281. end)
  1282. Parts[#Parts+1] = P
  1283. end
  1284. local BREAKIT = false
  1285. local CParts = {}
  1286. local Rocks = {}
  1287. local LastPos = nil
  1288. for i = 1,70 do
  1289. for i2,v in pairs(Parts) do
  1290. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1291. local cf = v.CFrame
  1292. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  1293. v.CFrame = cf
  1294. v.Transparency = v.Transparency+0.02
  1295. if v.Transparency >= 0.975 then BREAKIT = true end
  1296. if v.Name == "0" then
  1297. local Ignore = {}
  1298. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1299. if v.Character ~= nil then
  1300. Ignore[#Ignore+1] = v.Character
  1301. end
  1302. end
  1303. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1304. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1305. if Hit ~= nil then
  1306. if #Rocks == 0 then
  1307. for i = 1,5 do
  1308. local P = Instance.new("Part",char)
  1309. Rocks[#Rocks+1] = P
  1310. P.Anchored = true
  1311. P.FormFactor = "Custom"
  1312. P.BrickColor = Hit.BrickColor
  1313. P.Material = Hit.Material
  1314. P.TopSurface = "Smooth"
  1315. P.BottomSurface = "Smooth"
  1316. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/200)
  1317. end
  1318. end
  1319. for i,P in pairs(Rocks) do
  1320. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1321. end
  1322. local P = Instance.new("Part",char)
  1323. CParts[#CParts+1] = {P,tick()}
  1324. P.Anchored = true
  1325. P.FormFactor = "Custom"
  1326. P.BrickColor = Hit.BrickColor
  1327. P.Material = Hit.Material
  1328. P.TopSurface = "Smooth"
  1329. P.BottomSurface = "Smooth"
  1330. P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
  1331. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1332. Pos = Pos.p
  1333. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1334. local P = P:Clone()
  1335. CParts[#CParts+1] = {P,tick()}
  1336. P.Parent = char
  1337. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1338. Pos = Pos.p
  1339. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1340. if LastPos ~= nil then
  1341. local P = P:Clone()
  1342. CParts[#CParts+1] = {P,tick()}
  1343. P.Parent = char
  1344. P.BrickColor = BrickColor.new("Lime green")
  1345. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1346. Pos = Pos.p
  1347. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1348. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1349. --P.Velocity = Vector3.new(0,-1000,0)
  1350. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1351. end
  1352. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1353. end
  1354. end
  1355. end
  1356. if BREAKIT then break end
  1357. rs:wait(0.002)
  1358. end
  1359. for i,v in pairs(Rocks) do
  1360. CParts[#CParts+1] = {v,tick()}
  1361. end
  1362. for i,v in pairs(Parts) do
  1363. v:Destroy()
  1364. end
  1365. Parts = nil
  1366. while true do
  1367. local t = tick()
  1368. local p = nil
  1369. for i,v in pairs(CParts) do
  1370. if t-v[2] > 4 then
  1371. v[1].Transparency = v[1].Transparency+0.05
  1372. if v[1].Transparency >= 1 then
  1373. v[1]:Destroy()
  1374. CParts[i] = nil
  1375. end
  1376. end
  1377. p = v
  1378. end
  1379. if p == nil then break end
  1380. rs:wait(0.002)
  1381. end
  1382. for i,v in pairs(CParts) do
  1383. v:Destroy()
  1384. end
  1385. CParts = {}
  1386. end)
  1387. for i = 1, 80 do
  1388. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.62, -1) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-55)), 0.6)
  1389. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.62, -1) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(55)), 0.6)
  1390. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.6)
  1391. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.4, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  1392. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.9, -.4) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.6)
  1393. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.5, -.4) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.6)
  1394. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(90)), 1)
  1395. if Debounces.on == false then break end
  1396. rs:wait()
  1397. end
  1398. if Debounces.CanAttack == false then
  1399. Debounces.CanAttack = true
  1400. hum.WalkSpeed = 16
  1401. Debounces.on = false
  1402. Debounces.NoIdl = false
  1403. end
  1404. end
  1405. end
  1406. end)
  1407. ----------------------------------------------------
  1408. mouse.KeyDown:connect(function(key)
  1409. if key == "y" then
  1410. if Debounces.CanAttack == true then
  1411. Debounces.CanAttack = false
  1412. hum.WalkSpeed = 0.01
  1413. Debounces.on = true
  1414. Debounces.NoIdl = true
  1415. z = Instance.new("Sound",char)
  1416. z.SoundId = "http://www.roblox.com/asset/?id=169380495"
  1417. z.Looped = false
  1418. z.Pitch = 1
  1419. z.Volume = 1
  1420. z:Play()
  1421. local PowerCharge = function()
  1422. local rng1 = Instance.new("Part", char)
  1423. rng1.Anchored = true
  1424. rng1.BrickColor = BrickColor.new("Lime green")
  1425. rng1.CanCollide = false
  1426. rng1.FormFactor = 3
  1427. rng1.Name = "Ring"
  1428. rng1.Size = Vector3.new(1, 1, 1)
  1429. rng1.Transparency = 0.35
  1430. rng1.TopSurface = 0
  1431. rng1.BottomSurface = 0
  1432. local rngm1 = Instance.new("SpecialMesh", rng)
  1433. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1434. rngm1.Scale = Vector3.new(10, 10, 1)
  1435. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  1436. local Wave = Instance.new("Part", game.Workspace--[[?]])
  1437.  
  1438. Wave.BrickColor = BrickColor.new("Lime green")
  1439. Wave.Size = Vector3.new(8, 8, 0)
  1440. Wave.CanCollide = false
  1441. Wave.Anchored = true
  1442. Wave.TopSurface = 0
  1443. Wave.BottomSurface = 0
  1444. Wave.Touched:connect(function(hit)
  1445. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  1446. local Occlude = true
  1447. local NotOccludes = {
  1448. char.Name;
  1449. "Wings";
  1450. "Scythe";
  1451. "Thingy";
  1452. "Thingy2"; -- put all of the names in a table pls
  1453. }
  1454. for i,v in pairs(NotOccludes) do
  1455. if hit.Parent.Name == v then
  1456. Occlude = false
  1457. end
  1458. end
  1459. end
  1460. end)
  1461.  
  1462. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  1463.  
  1464. coroutine.wrap(function()
  1465. for i = 1, 20, 0.5 do
  1466. rngm1.Scale = Vector3.new(40 + i*120, 40 + i*120, 1)
  1467. rng1.Transparency = i/5
  1468. wait()
  1469. end
  1470. wait()
  1471. rng1:Destroy()
  1472. end)()
  1473.  
  1474. Delay(0, function()
  1475.  
  1476. if Daytime == false then
  1477. for i = 1, 10, 0.5 do
  1478. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  1479. Wave.CFrame = char.Torso.CFrame
  1480. local t = i / 30
  1481. Wave.Transparency = t
  1482. wait()
  1483. end
  1484. else
  1485. for i = 1, 50, 1 do
  1486. Wave.Size = Vector3.new(20 - i, 20 - i, 20 - i)
  1487. Wave.CFrame = char.Torso.CFrame
  1488. local t = i / 30
  1489. Wave.Transparency = t
  1490. rs:wait()
  1491. end
  1492. end
  1493. Wave:Destroy()
  1494. end)
  1495. Delay(0, function()
  1496. while wait() do
  1497. if Wave ~= nil then
  1498. Wave.CFrame = char.Torso.CFrame
  1499. else
  1500. break
  1501. end
  1502. end
  1503. end)
  1504. end
  1505. PowerCharge()
  1506. for i = 1, 50 do
  1507. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.4)
  1508. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), 0.4)
  1509. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-15),math.rad(80),math.rad(0)), 0.4)
  1510. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1511. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1512. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.4)
  1513. if Debounces.on == false then break end
  1514. rs:wait()
  1515. end
  1516. for i = 1, 1 do
  1517. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.62, 0) * CFrame.Angles (math.rad(90),math.rad(0),math.rad(-20)), 1)
  1518. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.62, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(70)), 1)
  1519. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),1)
  1520. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-90),math.rad(-90), math.rad(0)), 1)
  1521. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1522. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1523. if Debounces.on == false then break end
  1524. rs:wait()
  1525. end
  1526. z1 = Instance.new("Sound",hed)
  1527. z1.SoundId = "rbxassetid://188959272"
  1528. z1.Volume = 1
  1529. z1.Pitch = 0.9
  1530. z1:Play()
  1531. swg = cor.Touched:connect(function(ht)
  1532. hit = ht.Parent
  1533. if ht and hit:IsA("Model") then
  1534. if hit:FindFirstChild("Humanoid") then
  1535. if hit.Name ~= p.Name then
  1536. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1537. Debounces.Slashed = true]]--
  1538. if Debounces.ks==true then
  1539. Debounces.ks=false
  1540. end
  1541. hit:FindFirstChild("Humanoid"):TakeDamage(6)
  1542. hit:FindFirstChild("Humanoid").PlatformStand = true
  1543. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -10
  1544. --Debounces.Slashed = false
  1545. --end
  1546. end
  1547. end
  1548. elseif ht and hit:IsA("Hat") then
  1549. if hit.Parent.Name ~= p.Name then
  1550. if hit.Parent:FindFirstChild("Humanoid") then
  1551. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1552. Debounces.Slashed = true]]--
  1553. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(6)
  1554. hit:FindFirstChild("Humanoid").PlatformStand = true
  1555. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -10
  1556. --Debounces.Slashed = false
  1557. --end
  1558. end
  1559. end
  1560. end
  1561. end)
  1562. for i = 1, 5400, 50 do rs:wait()
  1563. torso.Weld.C1 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(0),math.rad(i),math.rad(0))
  1564. hum.WalkSpeed = 80
  1565. end
  1566. end
  1567. torso.Weld.C1 = CFrame.new(0,-1,0)
  1568. local ry,ht,ps=nil,nil,nil
  1569. while ht==nil do
  1570. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  1571. rs:wait()
  1572. end
  1573. swg:disconnect()
  1574. for i = 1, 50 do
  1575. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles (math.rad(-30),math.rad(-50),math.rad(50)), 0.2)
  1576. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.62, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-60)), 0.2)
  1577. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(0),math.rad(40),math.rad(0)),0.2)
  1578. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.4, 0) * CFrame.Angles(math.rad(-50),math.rad(-40), math.rad(0)), 0.2)
  1579. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.9, -.4) * CFrame.Angles(math.rad(30),0,math.rad(20)), 0.2)
  1580. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.5, -.4) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  1581. if Debounces.on == false then break end
  1582. hum.WalkSpeed = 0.001
  1583. rs:wait()
  1584. end
  1585. z1:Destroy()
  1586. if Debounces.CanAttack == false then
  1587. Debounces.CanAttack = true
  1588. hum.WalkSpeed = 16
  1589. Debounces.on = false
  1590. Debounces.NoIdl = false
  1591. end
  1592. end
  1593. end)
  1594. ----------------------------------------------------
  1595. mouse.KeyDown:connect(function(key)
  1596. if key == "e" then
  1597. if Debounces.CanAttack == true then
  1598. Debounces.CanAttack = false
  1599. hum.WalkSpeed = 0.01
  1600. Debounces.on = true
  1601. Debounces.NoIdl = true
  1602. for i = 1, 50 do
  1603. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(170), math.rad(0), math.rad(5)), 0.1)
  1604. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.1)
  1605. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)), 0.1)
  1606. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.1)
  1607. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30),math.rad(20),math.rad(0)), 0.1)
  1608. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.1)
  1609. if Debounces.on == false then break end
  1610. rs:wait()
  1611. end
  1612. z = Instance.new("Sound",hed)
  1613. z.SoundId = "rbxassetid://211062246"
  1614. z.Looped = false
  1615. z.Pitch = 1
  1616. wait(0.01)
  1617. z:Play()
  1618. Smash()
  1619. for i = 1, 90 do
  1620. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,-0.3) *CFrame.Angles (math.rad(-50),math.rad(0),math.rad(-10)), 0.3)
  1621. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-34)), 0.2)
  1622. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(-20),math.rad(0)),0.2)
  1623. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(-10),math.rad(30), math.rad(0)), 0.1)
  1624. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(15),math.rad(20),math.rad(0)), 0.2)
  1625. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  1626. if Debounces.on == false then break end
  1627. rs:wait()
  1628. end
  1629. if Debounces.CanAttack == false then
  1630. Debounces.CanAttack = true
  1631. hum.WalkSpeed = 16
  1632. Debounces.on = false
  1633. Debounces.NoIdl = false
  1634. end
  1635. end
  1636. end
  1637. end)
  1638. ----------------------------------------------------
  1639. mouse.KeyDown:connect(function(key)
  1640. if key == " " then --Jumping Animation!! Huh ha!
  1641. if Debounces.CanAttack == true then
  1642. Debounces.CanAttack = false
  1643. Debounces.on = true
  1644. Debounces.NoIdl = true
  1645. for i = 1, 16 do
  1646. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),0.3)
  1647. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(5),math.rad(0), math.rad(0)), 0.3)
  1648. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.3)
  1649. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)), 0.3)
  1650. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1651. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.3)
  1652. if Debounces.on == false then break end
  1653. rs:wait()
  1654. end
  1655. for i = 1, 8 do
  1656. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  1657. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),math.rad(0), math.rad(0)), 0.3)
  1658. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)),0.3)
  1659. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.55, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)), 0.3)
  1660. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(5), 0, 0), 0.3)
  1661. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  1662. rs:wait()
  1663. end
  1664. if Debounces.CanAttack == false then
  1665. Debounces.CanAttack = true
  1666. Debounces.on = false
  1667. hum.WalkSpeed = 16
  1668. Debounces.NoIdl = false
  1669. end
  1670. end
  1671. end
  1672. end)
  1673. ----------------------------------------------------
  1674. mouse.KeyDown:connect(function(key)
  1675. if key == "u" then --Dodge
  1676. if Debounces.CanAttack == true then
  1677. Debounces.CanAttack = false
  1678. Debounces.on = true
  1679. Debounces.NoIdl = true
  1680. hum.WalkSpeed = 0.01
  1681. hum.Jump = true
  1682. Backjump()
  1683. for i = 1, 6 do
  1684. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.4)
  1685. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-30)), 0.4)
  1686. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.4)
  1687. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1688. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.5, -.5) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)), 0.4)
  1689. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
  1690. if Debounces.on == false then break end
  1691. rs:wait()
  1692. end
  1693. if Debounces.CanAttack == false then
  1694. Debounces.CanAttack = true
  1695. Debounces.on = false
  1696. hum.WalkSpeed = 16
  1697. Debounces.NoIdl = false
  1698. end
  1699. end
  1700. end
  1701. end)
  1702. ----------------------------------------------------
  1703.  
  1704. ----------------------------------------------------
  1705. sidz = {"231917888", "231917845", "231917806"}
  1706. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  1707. mouse.KeyDown:connect(function(key)
  1708. if key == "f" then
  1709. hum.WalkSpeed = 0.01
  1710. if Debounces.CanAttack == true then
  1711. Debounces.CanAttack = false
  1712. Debounces.on = true
  1713. Debounces.NoIdl = true
  1714. for i = 1, 20 do
  1715. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.1)
  1716. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(110), math.rad(0), math.rad(40)), 0.1)
  1717. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),0.1)
  1718. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0),math.rad(0), math.rad(0)), 0.1)
  1719. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.1)
  1720. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -.5) * CFrame.Angles(math.rad(0), 0, 0), 0.1)
  1721. if Debounces.on == false then break end
  1722. rs:wait()
  1723. end
  1724. for i = 1, 40 do
  1725. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.3)
  1726. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(110), math.rad(0), math.rad(40)), 0.3)
  1727. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0), math.rad(0)),0.3)
  1728. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1729. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1730. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, -.5) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1731. if Debounces.on == false then break end
  1732. rs:wait()
  1733. end
  1734. z = Instance.new("Sound",char)
  1735. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  1736. z.Pitch = ptz[math.random(1,#ptz)]
  1737. z.Volume = 1
  1738. z1 = Instance.new("Sound",char)
  1739. z1.SoundId = z.SoundId
  1740. z1.Pitch = z.Pitch
  1741. z1.Volume = 1
  1742. z:Play()
  1743. z1:Play()
  1744. Stomp()
  1745. for i = 1, 80 do
  1746. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80)), 0.3)
  1747. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(110), math.rad(0), math.rad(40)), 0.3)
  1748. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.3)
  1749. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.3)
  1750. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.3)
  1751. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.5) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.3)
  1752. if Debounces.on == false then break end
  1753. rs:wait()
  1754. end
  1755. if Debounces.CanAttack == false then
  1756. Debounces.CanAttack = true
  1757. Debounces.on = false
  1758. hum.WalkSpeed = 16
  1759. Debounces.NoIdl = false
  1760. end
  1761. end
  1762. end
  1763. end)
  1764. ----------------------------------------------------
  1765. mouse.KeyDown:connect(function(key)
  1766. if key == "g" then
  1767. hum.WalkSpeed = 0.01
  1768. if Debounces.CanAttack == true then
  1769. Debounces.CanAttack = false
  1770. Debounces.on = true
  1771. Debounces.NoIdl = true
  1772. for i = 1, 30 do
  1773. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.2)
  1774. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.2)
  1775. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.2)
  1776. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.2)
  1777. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.2)
  1778. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.2)
  1779. if Debounces.on == false then break end
  1780. rs:wait()
  1781. end
  1782. chrg = larm.Touched:connect(function(ht)
  1783. hit = ht.Parent
  1784. if ht and hit:IsA("Model") then
  1785. if hit:FindFirstChild("Humanoid") then
  1786. if hit.Name ~= p.Name then
  1787. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1788. Debounces.Slashed = true]]--
  1789. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1790. hit:FindFirstChild("Humanoid").PlatformStand = true
  1791. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1792. --Debounces.Slashed = false
  1793. --end
  1794. end
  1795. end
  1796. elseif ht and hit:IsA("Hat") then
  1797. if hit.Parent.Name ~= p.Name then
  1798. if hit.Parent:FindFirstChild("Humanoid") then
  1799. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1800. Debounces.Slashed = true]]--
  1801. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1802. hit:FindFirstChild("Humanoid").PlatformStand = true
  1803. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1804. --Debounces.Slashed = false
  1805. end
  1806. end
  1807. end
  1808. end)
  1809. for i = 1, 7 do
  1810. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.4)
  1811. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.4)
  1812. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.4)
  1813. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1814. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.4)
  1815. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.4)
  1816. if Debounces.on == false then break end
  1817. rs:wait()
  1818. end
  1819. charge()
  1820. z = Instance.new("Sound",char)
  1821. z.SoundId = "rbxassetid://200632875"
  1822. z.Volume = 1
  1823. z.Pitch = 1
  1824. z:Play()
  1825. wait(1)
  1826. z:Destroy()
  1827. chrg:disconnect()
  1828. if Debounces.CanAttack == false then
  1829. Debounces.CanAttack = true
  1830. Debounces.on = false
  1831. hum.WalkSpeed = 16
  1832. Debounces.NoIdl = false
  1833. end
  1834. end
  1835. end
  1836. end)
  1837. ----------------------------------------------------
  1838. mouse.KeyDown:connect(function(key)
  1839. if key == "x" then
  1840. if Debounces.CanAttack == true then
  1841. Debounces.CanAttack = false
  1842. Debounces.NoIdl = true
  1843. Debounces.on = true
  1844. Debounces.ks = true
  1845. for i = 1, 10 do
  1846. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(20)), 0.2)
  1847. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.2)
  1848. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-16),math.rad(40),0), 0.2)
  1849. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.2)
  1850. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
  1851. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.2)
  1852. if Debounces.on == false then break end
  1853. rs:wait()
  1854. end
  1855. z = Instance.new("Sound",hed)
  1856. z.SoundId = "rbxassetid://169445092"
  1857. z.Volume = 1
  1858. wait(0.1)
  1859. z:Play()
  1860. kik = rleg.Touched:connect(function(ht)
  1861. hit = ht.Parent
  1862. if ht and hit:IsA("Model") then
  1863. if hit:FindFirstChild("Humanoid") then
  1864. if hit.Name ~= p.Name then
  1865. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1866. Debounces.Slashed = true]]--
  1867. if Debounces.ks==true then
  1868. z = Instance.new("Sound",hed)
  1869. z.SoundId = "rbxassetid://169380525"
  1870. z.Volume = 1
  1871. z:Play()
  1872. Debounces.ks=false
  1873. end
  1874. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1875. hit:FindFirstChild("Humanoid").PlatformStand = true
  1876. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1877. --Debounces.Slashed = false
  1878. --end
  1879. end
  1880. end
  1881. elseif ht and hit:IsA("Hat") then
  1882. if hit.Parent.Name ~= p.Name then
  1883. if hit.Parent:FindFirstChild("Humanoid") then
  1884. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1885. Debounces.Slashed = true]]--
  1886. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1887. hit:FindFirstChild("Humanoid").PlatformStand = true
  1888. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1889. --Debounces.Slashed = false
  1890. --end
  1891. end
  1892. end
  1893. end
  1894. end)
  1895. for i = 1,20 do
  1896. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)), 0.4)
  1897. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
  1898. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
  1899. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
  1900. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
  1901. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1902. if Debounces.on == false then break end
  1903. rs:wait()
  1904. end
  1905. kik:disconnect()
  1906. if Debounces.CanAttack == false then
  1907. Debounces.CanAttack = true
  1908. Debounces.on = false
  1909. Debounces.NoIdl = false
  1910. end
  1911. end
  1912. end
  1913. end)
  1914. ----------------------------------------------------
  1915. mouse.KeyDown:connect(function(key)
  1916. if key == "m" then
  1917. hum.WalkSpeed = 0
  1918. if Debounces.CanAttack == true then
  1919. Debounces.CanAttack = false
  1920. Debounces.on = true
  1921. Debounces.NoIdl = true
  1922. --[[x = Instance.new("Sound",char)
  1923. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  1924. x.Looped = false
  1925. x.Pitch = 1.1
  1926. x.Volume = 1
  1927. x:Play()
  1928. x2 = Instance.new("Sound",char)
  1929. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  1930. x2.Looped = false
  1931. x2.Pitch = .7
  1932. x2.Volume = 1
  1933. wait(.1)
  1934. x:Play()
  1935. x2:Play()
  1936. for i = 1, 20 do
  1937. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  1938. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  1939. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  1940. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  1941. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  1942. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  1943. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  1944. if Debounces.on == false then break end
  1945. wait()
  1946. x:Destroy()
  1947. x2:Destroy()
  1948. end
  1949. wait(1)]]--
  1950. local rng = Instance.new("Part", char)
  1951. rng.Anchored = true
  1952. rng.BrickColor = BrickColor.new("Lime green")
  1953. rng.CanCollide = false
  1954. rng.FormFactor = 3
  1955. rng.Name = "Ring"
  1956. rng.Size = Vector3.new(1, 1, 1)
  1957. rng.Transparency = 0.35
  1958. rng.TopSurface = 0
  1959. rng.BottomSurface = 0
  1960. rng.Position = torso.Position - Vector3.new(0,2,0)
  1961. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1962. local rngm = Instance.new("SpecialMesh", rng)
  1963. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1964. rngm.Scale = Vector3.new(1, 1, 2)
  1965. x = Instance.new("Sound",char)
  1966. x.SoundId = "http://www.roblox.com/asset/?id=324867021"
  1967. x.Looped = false
  1968. x.Pitch = .7
  1969. x.Volume = 1
  1970. x:Play()
  1971. coroutine.wrap(function()
  1972. for i = 1, 60, 2 do
  1973. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  1974. rng.Transparency = i/60
  1975. rs:wait()
  1976. end
  1977. rs:wait()
  1978. rng:Destroy()
  1979. end)()
  1980. hum.WalkSpeed = 60
  1981. BV = Instance.new("BodyVelocity", torso)
  1982. BV.maxForce = Vector3.new(0,12000,0)
  1983. BV.P = 10000
  1984. BV.velocity = Vector3.new(0,800,0)
  1985. for i = 1, 60 do
  1986. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(0)),0.7)
  1987. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10),math.rad(0), math.rad(0)), 0.7)
  1988. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(5)), 0.7)
  1989. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.62, 0)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-5)), 0.7)
  1990. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.2, -0.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  1991. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  1992. if Debounces.on == false then break end
  1993. rs:wait()
  1994. end
  1995. x:Destroy()
  1996. BV:Destroy()
  1997. --[[for i = 1, 30 do
  1998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  1999. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2000. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2001. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2002. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2003. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2004. if Debounces.on == false then break end
  2005. wait()
  2006. end]]--
  2007. end
  2008. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2009. for i = 1, 40 do
  2010. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.4)
  2011. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2012. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2013. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  2014. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2015. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2016. if Debounces.on == false then break end
  2017. rs:wait()
  2018. end
  2019. end
  2020. Debounces.on = false
  2021. Debounces.NoIdl = false
  2022. local ry,ht,ps=nil,nil,nil
  2023. while ht==nil do
  2024. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2025. wait()
  2026. end
  2027. z = Instance.new("Sound",char)
  2028. z.SoundId = "rbxassetid://2233908"
  2029. z.Volume = 1
  2030. wait(.1)
  2031. z:Play()
  2032. Landing()
  2033. hum.WalkSpeed = 16
  2034. if Debounces.CanAttack == false then
  2035. Debounces.CanAttack = true
  2036. end
  2037. end
  2038. end)
  2039. ----------------------------------------------------
  2040. Grab = false
  2041. mouse.KeyDown:connect(function(key)
  2042. if key == "z" then
  2043. Debounces.on = true
  2044. Debounces.NoIdl = true
  2045. if Grab == false then
  2046. gp = nil
  2047. for i = 1, 20 do
  2048. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  2049. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
  2050. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-20),0), 0.2)
  2051. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(20), 0), 0.2)
  2052. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-10)), 0.2)
  2053. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(10)), 0.2)
  2054. if Debounces.on == false then break end
  2055. rs:wait()
  2056. end
  2057. con1=larm.Touched:connect(function(hit) -- this is grab
  2058. ht = hit.Parent
  2059. hum1=ht:FindFirstChild('Humanoid')
  2060. if hum1 ~= nil then
  2061. if Debounces.ks==true then
  2062. z = Instance.new("Sound",hed)
  2063. z.SoundId = "rbxassetid://169380525"
  2064. z.Volume = 3
  2065. z:Play()
  2066. Debounces.ks=false
  2067. end
  2068. hum1.PlatformStand=true
  2069. gp = ht
  2070. Grab = true
  2071. asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.5),CFrame.new(0,0,0))
  2072. asd.Parent = larm
  2073. asd.Name = "asd"
  2074. asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
  2075. --[[elseif hum1 == nil then
  2076. con1:disconnect()
  2077. wait() return]]--
  2078. end
  2079. end)
  2080. for i = 1, 20 do
  2081. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  2082. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
  2083. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2084. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2085. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(-10)), 0.2)
  2086. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(10)), 0.2)
  2087. if Debounces.on == false then break end
  2088. rs:wait()
  2089. end
  2090. if hum1 == nil then
  2091. Debounces.on = false
  2092. Debounces.NoIdl = false
  2093. end
  2094. con1:disconnect()
  2095. elseif Grab == true then
  2096. Grab = false
  2097. for i = 1, 30 do
  2098. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.2)
  2099. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.2)
  2100. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.2)
  2101. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.2)
  2102. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.2)
  2103. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.2)
  2104. if Debounces.on == false then break end
  2105. rs:wait()
  2106. end
  2107. Punch()
  2108. z = Instance.new("Sound",hed)
  2109. z.SoundId = "rbxassetid://169380525"
  2110. z.Volume = 1
  2111. z.Pitch = 0.6
  2112. z:Play()
  2113. for i = 1, 10 do
  2114. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.6)
  2115. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
  2116. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.6)
  2117. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.6)
  2118. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-15)), 0.6)
  2119. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.6)
  2120. if Debounces.on == false then break end
  2121. rs:wait()
  2122. end
  2123. con1:disconnect()
  2124. Debounces.on = false
  2125. Debounces.NoIdl = false
  2126. if gp ~= nil then
  2127. gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
  2128. for i,v in pairs(larm:GetChildren()) do
  2129. if v.Name == "asd" and v:IsA("Weld") then
  2130. v:Remove()
  2131. end
  2132. end
  2133. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2134. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2135. bv.P = 125000
  2136. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  2137. hum1=nil
  2138. ht=nil
  2139. Debounces.on = false
  2140. Debounces.NoIdl = false
  2141. elseif ht == nil then wait()
  2142. Grab = false
  2143. Debounces.on = false
  2144. Debounces.NoIdl = false
  2145. end
  2146. end
  2147. end
  2148. end)
  2149. ----------------------------------------------------
  2150. mouse.KeyDown:connect(function(key)
  2151. if string.byte(key) == 52 then
  2152. char.Humanoid.WalkSpeed = 40
  2153. end
  2154. end)
  2155. mouse.KeyUp:connect(function(key)
  2156. if string.byte(key) == 52 then
  2157. char.Humanoid.WalkSpeed = 16
  2158. end
  2159. end)
  2160. ----------------------------------------------------
  2161. local animpose = "Idle"
  2162. local lastanimpose = "Idle"
  2163. local sine = 0
  2164. local change = 1
  2165. local val = 0
  2166. local ffing = false
  2167. ----------------------------------------------------
  2168. --[[x = Instance.new("Sound", char)
  2169. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  2170. x.Looped = true
  2171. x.Volume = 1
  2172. x.Pitch = 1
  2173. local footsteps = false]]--
  2174. -------------------------------
  2175. game:GetService("RunService").RenderStepped:connect(function()
  2176. --[[if char.Humanoid.Jump == true then
  2177. jump = true
  2178. else
  2179. jump = false
  2180. end]]
  2181. char.Humanoid.FreeFalling:connect(function(f)
  2182. if f then
  2183. ffing = true
  2184. else
  2185. ffing = false
  2186. end
  2187. end)
  2188. sine = sine + change
  2189. if jumpn == true then
  2190. animpose = "Jumping"
  2191. elseif ffing == true then
  2192. animpose = "Freefalling"
  2193. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2194. animpose = "Idle"
  2195. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2196. animpose = "Walking"
  2197. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2198. animpose = "Running"
  2199. end
  2200. if animpose ~= lastanimpose then
  2201. sine = 0
  2202. if Debounces.NoIdl == false then
  2203. if animpose == "Idle" then
  2204. for i = 1, 2 do
  2205. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/14))), 0.2)
  2206. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  2207. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(0),math.rad(10),0), 0.2)
  2208. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8+0.02*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-20),math.rad(-10), math.rad(0)), 0.2)
  2209. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(10+1*math.cos(sine/14)), 0, 0), 0.2)
  2210. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, 0) * CFrame.Angles(math.rad(-20+1*math.cos(sine/14)), 0, 0), 0.2)
  2211. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2212. end
  2213. elseif animpose == "Walking" then
  2214. for i = 1, 2 do
  2215. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/14))), 0.2)
  2216. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  2217. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.2)
  2218. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.07*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  2219. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(10) + -math.sin(sine/14)/2.3, 0, 0), 0.2)
  2220. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.1*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(10) + math.sin(sine/14)/2.3, 0, 0), 0.2)
  2221. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2222. end
  2223. elseif animpose == "Running" then
  2224. for i = 1, 2 do
  2225. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/8))), 0.2)
  2226. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.62+0*math.cos(sine/8), -math.sin(sine/8)/8)*CFrame.Angles(math.sin(sine/8)/0.8, math.rad(6) + -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  2227. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.2)
  2228. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.07*math.cos(sine/8), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  2229. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/4)/2.8, -.05 + math.sin(sine/4)/2.8) * CFrame.Angles(math.rad(-20) + -math.sin(sine/4)/1.8, 0, 0), 0.2)
  2230. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.1*math.cos(sine/4)/2.8, -.05 + -math.sin(sine/4)/2.8) * CFrame.Angles(math.rad(-20) + math.sin(sine/4)/1.8, 0, 0), 0.2)
  2231. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2232. end
  2233. wait()
  2234. end
  2235. else
  2236. end
  2237. end
  2238. lastanimpose = animpose
  2239. if Debounces.NoIdl == false then
  2240. if animpose == "Idle" then
  2241. if stanceToggle == "Normal" then
  2242. change = 0.5
  2243. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/14))), 0.2)
  2244. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  2245. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(0),math.rad(10),0), 0.2)
  2246. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8+0.02*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-20),math.rad(-10), math.rad(0)), 0.2)
  2247. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(10+1*math.cos(sine/14)), 0, 0), 0.2)
  2248. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, 0) * CFrame.Angles(math.rad(-20+1*math.cos(sine/14)), 0, 0), 0.2)
  2249. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2250. end
  2251. elseif animpose == "Walking" then
  2252. if stanceToggle == "Normal" then
  2253. change = 1
  2254. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/14))), 0.2)
  2255. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  2256. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.2)
  2257. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.07*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  2258. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2.2) * CFrame.Angles(math.rad(10) + -math.sin(sine/14)/2.3, 0, 0), 0.4)
  2259. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.1*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2.2) * CFrame.Angles(math.rad(10) + math.sin(sine/14)/2.3, 0, 0), 0.4)
  2260. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2261. end
  2262. elseif animpose == "Running" then
  2263. change = 1
  2264. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.62, 0) * CFrame.Angles(math.rad(-30),math.rad(-50),math.rad(80+2*math.cos(sine/6))), 0.2)
  2265. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.62+0*math.cos(sine/6), -math.sin(sine/6)/8)*CFrame.Angles(math.sin(sine/6)/0.8, math.rad(6) + -math.sin(sine/6)/2, math.rad(-10)), 0.6)
  2266. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.2)
  2267. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.07*math.cos(sine/6), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  2268. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.1*math.cos(sine/4)/2.8, -.05 + math.sin(sine/4)/2.8) * CFrame.Angles(math.rad(-20) + -math.sin(sine/4)/1.8, 0, 0), 0.6)
  2269. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.1*math.cos(sine/4)/2.8, -.05 + -math.sin(sine/4)/2.8) * CFrame.Angles(math.rad(-20) + math.sin(sine/4)/1.8, 0, 0), 0.6)
  2270. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -.5, -2.7) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(0)), 1)
  2271. end
  2272. end
  2273. end)
Add Comment
Please, Sign In to add comment