Advertisement
pklo

Untitled

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