Advertisement
pklo

Untitled

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