Advertisement
pklo

Untitled

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