Advertisement
Finnegan5

kake

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