Advertisement
JRKPastesBins

Untitled

Aug 19th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.01 KB | None | 0 0
  1. ---
  2. local p = game.Players.LocalPlayer
  3. game.Workspace.Likebossfromdk.Humanoid.MaxHealth = math.huge
  4. local char = p.Character
  5. local mouse = p:GetMouse()
  6. local larm = char["Left Arm"]
  7. local rarm = char["Right Arm"]
  8. local lleg = char["Left Leg"]
  9. local rleg = char["Right Leg"]
  10. local hed = char.Head
  11. local torso = char.Torso
  12. local ASD = BrickColor.new("Maroon")
  13. local hum = char.Humanoid
  14. local cam = game.Workspace.CurrentCamera
  15. local root = char.HumanoidRootPart
  16. local DD = false
  17. local FA = false
  18. local deb = false
  19. local shot = 0
  20. local l = game:GetService("Lighting")
  21. local rs = game:GetService("RunService").RenderStepped
  22. local stanceToggle = "Normal"
  23. math.randomseed(os.time())
  24. hum.WalkSpeed = 7
  25. char.Health:Destroy()
  26. hum.MaxHealth = 5000000
  27. wait(0.1)
  28. hum.Health = 5000000
  29. z = Instance.new("Sound", char.Torso)
  30. z.SoundId = "rbxassetid://170996483"
  31. z.Looped = true
  32. z.Pitch = 1
  33. z.Volume = 1
  34. ----------------------------------------------------
  35. local SM = Instance.new("Smoke",torso)
  36. SM.Size = 15
  37. local S = Instance.new("Part",char)
  38. S.Size = Vector3.new(1,1,1)
  39. S.Material = "Neon"
  40. S.BrickColor = BrickColor.new("Deep orange")
  41. S.Transparency = 0
  42. S.Anchored = true
  43. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  44. local Ring = Instance.new("Part",S)
  45. Ring.Size = Vector3.new(1,1,1)
  46. Ring.BrickColor = BrickColor.new("Deep orange")
  47. Ring.Anchored = true
  48. Ring.CanCollide = false
  49. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  50. local Ring2 = Instance.new("SpecialMesh",Ring)
  51. Ring2.MeshId = "rbxassetid://3270017"
  52. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  53. local S2 = Instance.new("SpecialMesh",S)
  54. S2.MeshType = "Sphere"
  55. S2.Scale = Vector3.new(1,1,1)
  56. v = Instance.new("Sound")
  57. v.SoundId = "rbxassetid://821439273"
  58. v.Parent = char.Torso
  59. v.Looped = false
  60. v.Pitch = 1
  61. v.Volume = 1
  62. wait(.01)
  63. v:Play()
  64. local partasdeff = Instance.new("ParticleEmitter",S)
  65. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2))
  66. partasdeff.LightEmission = .1
  67. partasdeff.Size = NumberSequence.new(0.2)
  68. partasdeff.Texture = "http://www.roblox.com/asset/?ID=160041570"
  69. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  70. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  71. partasdeff.Transparency = bbb
  72. partasdeff.Size = aaa
  73. partasdeff.ZOffset = .9
  74. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  75. partasdeff.LockedToPart = false
  76. partasdeff.EmissionDirection = "Top"
  77. partasdeff.Lifetime = NumberRange.new(1, 2)
  78. partasdeff.Rate = 1000
  79. partasdeff.Rotation = NumberRange.new(-100, 100)
  80. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  81. partasdeff.Speed = NumberRange.new(10)
  82. partasdeff.VelocitySpread = 300
  83. partasdeff.Enabled = true
  84. for i = 1,100 do
  85. Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  86. Ring.Transparency = Ring.Transparency + 0.01
  87. S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  88. S.Transparency = S.Transparency + 0.01
  89. game:GetService("RunService").RenderStepped:wait()
  90. end
  91. S:remove()
  92. wait(1)
  93. SM:remove()
  94. hed.face:remove()
  95. char.Shirt:remove()
  96. char.Pants:remove()
  97. v = Instance.new("Sound")
  98. v.SoundId = "rbxassetid://785301837"
  99. v.Parent = torso
  100. v.Looped = false
  101. v.Pitch = 0.8
  102. v.Volume = 1
  103. wait(.01)
  104. v:Play()
  105. z:Play()
  106. ----------------------------------------------------
  107. Debounces = {
  108. on = false;
  109. ks = false;
  110. CanAttack = true;
  111. CanJoke = true;
  112. NoIdl = false;
  113. Slashing = false;
  114. Slashed = false;
  115. Grabbing = false;
  116. Grabbed = false;
  117. }
  118. local Touche = {char.Name, }
  119. ----------------------------------------------------
  120. function lerp(a, b, t) -- Linear interpolation
  121. return a + (b - a)*t
  122. end
  123.  
  124. function slerp(a, b, t) --Spherical interpolation
  125. dot = a:Dot(b)
  126. if dot > 0.99999 or dot < -0.99999 then
  127. return t <= 0.5 and a or b
  128. else
  129. r = math.acos(dot)
  130. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  131. end
  132. end
  133.  
  134. function matrixInterpolate(a, b, t)
  135. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  136. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  137. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  138. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  139. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  140. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  141. local t = v1:Dot(v2)
  142. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  143. return CFrame.new()
  144. end
  145. return CFrame.new(
  146. v0.x, v0.y, v0.z,
  147. v1.x, v1.y, v1.z,
  148. v2.x, v2.y, v2.z,
  149. v3.x, v3.y, v3.z)
  150. end
  151. ----------------------------------------------------
  152. function genWeld(a,b)
  153. local w = Instance.new("Weld",a)
  154. w.Part0 = a
  155. w.Part1 = b
  156. return w
  157. end
  158. function weld(a, b)
  159. local weld = Instance.new("Weld")
  160. weld.Name = "W"
  161. weld.Part0 = a
  162. weld.Part1 = b
  163. weld.C0 = a.CFrame:inverse() * b.CFrame
  164. weld.Parent = a
  165. return weld;
  166. end
  167. ----------------------------------------------------
  168. function Lerp(c1,c2,al)
  169. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  170. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  171. for i,v in pairs(com1) do
  172. com1[i] = v+(com2[i]-v)*al
  173. end
  174. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  175. end
  176. ----------------------------------------------------
  177. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  178. local wld = Instance.new("Weld", wp1)
  179. wld.Part0 = wp0
  180. wld.Part1 = wp1
  181. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  182. end
  183. ----------------------------------------------------
  184. for i,v in pairs(char:children()) do
  185. if v:IsA("Hat") then
  186. v:Destroy()
  187. end
  188. end
  189. for i,v in pairs(hed:children()) do
  190. if v:IsA("Sound") then
  191. v:Destroy()
  192. end
  193. end
  194. ----------------------------------------------------
  195. function HasntTouched(plrname)
  196. local ret = true
  197. for _, v in pairs(Touche) do
  198. if v == plrname then
  199. ret = false
  200. end
  201. end
  202. return ret
  203. end
  204. ----------------------------------------------------
  205. larm.Size = larm.Size * 5
  206. rarm.Size = rarm.Size * 5
  207. lleg.Size = lleg.Size * 5
  208. rleg.Size = rleg.Size * 5
  209. torso.Size = torso.Size * 5
  210. hed.Size = hed.Size * 5
  211. root.Size = root.Size * 5
  212. ----------------------------------------------------
  213. newWeld(torso, larm, -1.5, 0.5, 0)
  214. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  215. newWeld(torso, rarm, 1.5, 0.5, 0)
  216. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  217. newWeld(torso, hed, 0, 1.5, 0)
  218. newWeld(torso, lleg, -0.5, -1, 0)
  219. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  220. newWeld(torso, rleg, 0.5, -1, 0)
  221. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  222. newWeld(root, torso, 0, -1, 0)
  223. torso.Weld.C1 = CFrame.new(0, -1, 0)
  224. ----------------------------------------------------
  225. local Part = Instance.new("Part",hed)
  226. Part.BrickColor = BrickColor.new("Really black")
  227. Part.Size = Vector3.new(1,1,1)
  228. Part.CanCollide = false
  229. Part.Material = "Neon"
  230. local M = Instance.new("SpecialMesh",Part)
  231. M.MeshId = "rbxassetid://62246019"
  232. M.Scale = Vector3.new(5,5,5)
  233. local Part2 = Instance.new("Weld",Part)
  234. Part2.Part0 = hed
  235. Part2.Part1 = Part
  236. Part2.C0 = CFrame.new(-0.2,1.5,0.8)
  237. ----------------------------------------------------
  238. -----Armored titan parts nibs
  239. local Arm = Instance.new("Part",char)
  240. Arm.Size = Vector3.new(10,10,10)
  241. Arm.BrickColor = BrickColor.new("Dark red")
  242. Arm.TopSurface = 0
  243. Arm.BottomSurface = 0
  244. Arm.CanCollide = false
  245. local Arm2 = Instance.new("SpecialMesh",Arm)
  246. Arm2.MeshType = "Brick"
  247. Arm2.Scale = Vector3.new(5,8.5,0.3)
  248. local Arm3 = Instance.new("Weld",Arm)
  249. Arm3.Part0 = rarm
  250. Arm3.Part1 = Arm
  251. Arm3.C0 = CFrame.new(0,0,2.5)
  252. local ArmR = Instance.new("Part",char)
  253. ArmR.Size = Vector3.new(10,10,10)
  254. ArmR.BrickColor = BrickColor.new("Dark red")
  255. ArmR.TopSurface = 0
  256. ArmR.BottomSurface = 0
  257. ArmR.CanCollide = false
  258. local Arm2R = Instance.new("SpecialMesh",ArmR)
  259. Arm2R.MeshType = "Brick"
  260. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  261. local Arm3R = Instance.new("Weld",ArmR)
  262. Arm3R.Part0 = rarm
  263. Arm3R.Part1 = ArmR
  264. Arm3R.C0 = CFrame.new(0,0,-2.5)
  265. local ArmRS = Instance.new("Part",char)
  266. ArmRS.Size = Vector3.new(10,10,10)
  267. ArmRS.BrickColor = BrickColor.new("Dark red")
  268. ArmRS.TopSurface = 0
  269. ArmRS.BottomSurface = 0
  270. ArmRS.CanCollide = false
  271. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  272. Arm2RS.MeshType = "Brick"
  273. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  274. local Arm3RS = Instance.new("Weld",ArmRS)
  275. Arm3RS.Part0 = rarm
  276. Arm3RS.Part1 = ArmRS
  277. Arm3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0)
  278. local TopRS = Instance.new("Part",char)
  279. TopRS.Size = Vector3.new(10,10,10)
  280. TopRS.BrickColor = BrickColor.new("Dark red")
  281. TopRS.TopSurface = 0
  282. TopRS.BottomSurface = 0
  283. TopRS.CanCollide = false
  284. local Top2RS = Instance.new("SpecialMesh",TopRS)
  285. Top2RS.MeshType = "Brick"
  286. Top2RS.Scale = Vector3.new(4.7,0.3,4.7)
  287. local Top3RS = Instance.new("Weld",TopRS)
  288. Top3RS.Part0 = rarm
  289. Top3RS.Part1 = TopRS
  290. Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0)
  291. local BotRS = Instance.new("Part",char)
  292. BotRS.Size = Vector3.new(10,10,10)
  293. BotRS.BrickColor = BrickColor.new("Dark red")
  294. BotRS.BottomSurface = 0
  295. BotRS.TopSurface = 0
  296. BotRS.CanCollide = false
  297. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  298. Bot2RS.MeshType = "Brick"
  299. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  300. local Bot3RS = Instance.new("Weld",BotRS)
  301. Bot3RS.Part0 = rarm
  302. Bot3RS.Part1 = BotRS
  303. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  304. ----------------------------------------------------
  305.  
  306. local Arm = Instance.new("Part",char)
  307. Arm.Size = Vector3.new(10,10,10)
  308. Arm.BrickColor = BrickColor.new("Dark red")
  309. Arm.TopSurface = 0
  310. Arm.BottomSurface = 0
  311. Arm.CanCollide = false
  312. local Arm2 = Instance.new("SpecialMesh",Arm)
  313. Arm2.MeshType = "Brick"
  314. Arm2.Scale = Vector3.new(5,8.5,0.3)
  315. local Arm3 = Instance.new("Weld",Arm)
  316. Arm3.Part0 = larm
  317. Arm3.Part1 = Arm
  318. Arm3.C0 = CFrame.new(0,0,2.5)
  319. local ArmR = Instance.new("Part",char)
  320. ArmR.Size = Vector3.new(10,10,10)
  321. ArmR.BrickColor = BrickColor.new("Dark red")
  322. ArmR.TopSurface = 0
  323. ArmR.BottomSurface = 0
  324. ArmR.CanCollide = false
  325. local Arm2R = Instance.new("SpecialMesh",ArmR)
  326. Arm2R.MeshType = "Brick"
  327. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  328. local Arm3R = Instance.new("Weld",ArmR)
  329. Arm3R.Part0 = larm
  330. Arm3R.Part1 = ArmR
  331. Arm3R.C0 = CFrame.new(0,0,-2.5)
  332. local ArmRS = Instance.new("Part",char)
  333. ArmRS.Size = Vector3.new(10,10,10)
  334. ArmRS.BrickColor = BrickColor.new("Dark red")
  335. ArmRS.TopSurface = 0
  336. ArmRS.BottomSurface = 0
  337. ArmRS.CanCollide = false
  338. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  339. Arm2RS.MeshType = "Brick"
  340. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  341. local Arm3RS = Instance.new("Weld",ArmRS)
  342. Arm3RS.Part0 = larm
  343. Arm3RS.Part1 = ArmRS
  344. Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0)
  345. local TopRS = Instance.new("Part",char)
  346. TopRS.Size = Vector3.new(10,10,10)
  347. TopRS.BrickColor = BrickColor.new("Dark red")
  348. TopRS.TopSurface = 0
  349. TopRS.BottomSurface = 0
  350. TopRS.CanCollide = false
  351. local Top2RS = Instance.new("SpecialMesh",TopRS)
  352. Top2RS.MeshType = "Brick"
  353. Top2RS.Scale = Vector3.new(4.7,0.3,4.7)
  354. local Top3RS = Instance.new("Weld",TopRS)
  355. Top3RS.Part0 = larm
  356. Top3RS.Part1 = TopRS
  357. Top3RS.C0 = CFrame.new(0,5,0)*CFrame.Angles(0,0,0)
  358. local BotRS = Instance.new("Part",char)
  359. BotRS.Size = Vector3.new(10,10,10)
  360. BotRS.BrickColor = BrickColor.new("Dark red")
  361. BotRS.BottomSurface = 0
  362. BotRS.TopSurface = 0
  363. BotRS.CanCollide = false
  364. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  365. Bot2RS.MeshType = "Brick"
  366. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  367. local Bot3RS = Instance.new("Weld",BotRS)
  368. Bot3RS.Part0 = larm
  369. Bot3RS.Part1 = BotRS
  370. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  371. ----------------------------------------------------
  372. local Long = Instance.new("Part",char)
  373. Long.Size = Vector3.new(10,10,10)
  374. Long.CanCollide = false
  375. Long.BrickColor = BrickColor.new("Dark red")
  376. Long.TopSurface = 0
  377. Long.BottomSurface = 0
  378. local Long2 = Instance.new("SpecialMesh",Long)
  379. Long2.MeshType = "Brick"
  380. Long2.Scale = Vector3.new(9.5,0.3,4.5)
  381. local Long3 = Instance.new("Weld",Long)
  382. Long3.Part0 = torso
  383. Long3.Part1 = Long
  384. Long3.C0 = CFrame.new(0,4.95,0)
  385. ----------------------------------------------------
  386. local Back = Instance.new("Part",char)
  387. Back.Size = Vector3.new(10,10,10)
  388. Back.CanCollide = false
  389. Back.BrickColor = BrickColor.new("Dark red")
  390. Back.TopSurface = 0
  391. Back.BottomSurface = 0
  392. local Back2 = Instance.new("SpecialMesh",Back)
  393. Back2.MeshType = "Brick"
  394. Back2.Scale = Vector3.new(9.5,9.3,0.3)
  395. local Back3 = Instance.new("Weld",Back)
  396. Back3.Part0 = torso
  397. Back3.Part1 = Back
  398. Back3.C0 = CFrame.new(0,0,2.5)
  399. ----------------------------------------------------
  400. ----------------------------------------------------
  401. local Leg = Instance.new("Part",char)
  402. Leg.Size = Vector3.new(10,10,10)
  403. Leg.BrickColor = BrickColor.new("Dark red")
  404. Leg.TopSurface = 0
  405. Leg.BottomSurface = 0
  406. Leg.CanCollide = false
  407. local Leg2 = Instance.new("SpecialMesh",Leg)
  408. Leg2.MeshType = "Brick"
  409. Leg2.Scale = Vector3.new(5,8.5,0.3)
  410. local Leg3 = Instance.new("Weld",Leg)
  411. Leg3.Part0 = rleg
  412. Leg3.Part1 = Leg
  413. Leg3.C0 = CFrame.new(0,0,2.5)
  414. local LegR = Instance.new("Part",char)
  415. LegR.Size = Vector3.new(10,10,10)
  416. LegR.BrickColor = BrickColor.new("Dark red")
  417. LegR.TopSurface = 0
  418. LegR.BottomSurface = 0
  419. LegR.CanCollide = false
  420. local Leg2R = Instance.new("SpecialMesh",LegR)
  421. Leg2R.MeshType = "Brick"
  422. Leg2R.Scale = Vector3.new(5,8.5,0.3)
  423. local Leg3R = Instance.new("Weld",LegR)
  424. Leg3R.Part0 = rleg
  425. Leg3R.Part1 = LegR
  426. Leg3R.C0 = CFrame.new(0,0,-2.5)
  427. local LegRS = Instance.new("Part",char)
  428. LegRS.Size = Vector3.new(10,10,10)
  429. LegRS.BrickColor = BrickColor.new("Dark red")
  430. LegRS.TopSurface = 0
  431. LegRS.BottomSurface = 0
  432. LegRS.CanCollide = false
  433. local Leg2RS = Instance.new("SpecialMesh",LegRS)
  434. Leg2RS.MeshType = "Brick"
  435. Leg2RS.Scale = Vector3.new(0.3,8.5,4.5)
  436. local Leg3RS = Instance.new("Weld",LegRS)
  437. Leg3RS.Part0 = rleg
  438. Leg3RS.Part1 = LegRS
  439. Leg3RS.C0 = CFrame.new(2.5,0,0)*CFrame.Angles(0,0,0)
  440. local TopRS = Instance.new("Part",char)
  441. TopRS.Size = Vector3.new(10,10,10)
  442. TopRS.BrickColor = BrickColor.new("Dark red")
  443. TopRS.TopSurface = 0
  444. TopRS.BottomSurface = 0
  445. TopRS.CanCollide = false
  446. local BotRS = Instance.new("Part",char)
  447. BotRS.Size = Vector3.new(10,10,10)
  448. BotRS.BrickColor = BrickColor.new("Dark red")
  449. BotRS.BottomSurface = 0
  450. BotRS.TopSurface = 0
  451. BotRS.CanCollide = false
  452. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  453. Bot2RS.MeshType = "Brick"
  454. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  455. local Bot3RS = Instance.new("Weld",BotRS)
  456. Bot3RS.Part0 = rleg
  457. Bot3RS.Part1 = BotRS
  458. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  459. -----------------------------------------------------------
  460. local Arm = Instance.new("Part",char)
  461. Arm.Size = Vector3.new(10,10,10)
  462. Arm.BrickColor = BrickColor.new("Dark red")
  463. Arm.TopSurface = 0
  464. Arm.BottomSurface = 0
  465. Arm.CanCollide = false
  466. local Arm2 = Instance.new("SpecialMesh",Arm)
  467. Arm2.MeshType = "Brick"
  468. Arm2.Scale = Vector3.new(5,8.5,0.3)
  469. local Arm3 = Instance.new("Weld",Arm)
  470. Arm3.Part0 = lleg
  471. Arm3.Part1 = Arm
  472. Arm3.C0 = CFrame.new(0,0,2.5)
  473. local ArmR = Instance.new("Part",char)
  474. ArmR.Size = Vector3.new(10,10,10)
  475. ArmR.BrickColor = BrickColor.new("Dark red")
  476. ArmR.TopSurface = 0
  477. ArmR.BottomSurface = 0
  478. ArmR.CanCollide = false
  479. local Arm2R = Instance.new("SpecialMesh",ArmR)
  480. Arm2R.MeshType = "Brick"
  481. Arm2R.Scale = Vector3.new(5,8.5,0.3)
  482. local Arm3R = Instance.new("Weld",ArmR)
  483. Arm3R.Part0 = lleg
  484. Arm3R.Part1 = ArmR
  485. Arm3R.C0 = CFrame.new(0,0,-2.5)
  486. local ArmRS = Instance.new("Part",char)
  487. ArmRS.Size = Vector3.new(10,10,10)
  488. ArmRS.BrickColor = BrickColor.new("Dark red")
  489. ArmRS.TopSurface = 0
  490. ArmRS.BottomSurface = 0
  491. ArmRS.CanCollide = false
  492. local Arm2RS = Instance.new("SpecialMesh",ArmRS)
  493. Arm2RS.MeshType = "Brick"
  494. Arm2RS.Scale = Vector3.new(0.3,8.5,4.5)
  495. local Arm3RS = Instance.new("Weld",ArmRS)
  496. Arm3RS.Part0 = lleg
  497. Arm3RS.Part1 = ArmRS
  498. Arm3RS.C0 = CFrame.new(-2.5,0,0)*CFrame.Angles(0,0,0)
  499. local BotRS = Instance.new("Part",char)
  500. BotRS.Size = Vector3.new(10,10,10)
  501. BotRS.BrickColor = BrickColor.new("Dark red")
  502. BotRS.BottomSurface = 0
  503. BotRS.TopSurface = 0
  504. BotRS.CanCollide = false
  505. local Bot2RS = Instance.new("SpecialMesh",BotRS)
  506. Bot2RS.MeshType = "Brick"
  507. Bot2RS.Scale = Vector3.new(4.7,0.3,4.7)
  508. local Bot3RS = Instance.new("Weld",BotRS)
  509. Bot3RS.Part0 = lleg
  510. Bot3RS.Part1 = BotRS
  511. Bot3RS.C0 = CFrame.new(0,-5,0)*CFrame.Angles(0,0,0)
  512. ----------------------------------------------------
  513. local Pec = Instance.new("Part",char)
  514. Pec.Size = Vector3.new(10,10,10)
  515. Pec.BrickColor = BrickColor.new("Dark red")
  516. Pec.CanCollide = false
  517. Pec.TopSurface = 0
  518. Pec.BottomSurface = 0
  519. local Pec2 = Instance.new("SpecialMesh",Pec)
  520. Pec2.MeshType = "Brick"
  521. Pec2.Scale = Vector3.new(5,3,0.3)
  522. local Pec3 = Instance.new("Weld",Pec)
  523. Pec3.Part0 = torso
  524. Pec3.Part1 = Pec
  525. Pec3.C0 = CFrame.new(2,2.8,-2.8)*CFrame.Angles(0,0,0.1)
  526. local PecA = Instance.new("Part",char)
  527. PecA.Size = Vector3.new(10,10,10)
  528. PecA.BrickColor = BrickColor.new("Dark red")
  529. PecA.CanCollide = false
  530. PecA.TopSurface = 0
  531. PecA.BottomSurface = 0
  532. local Pec2A = Instance.new("SpecialMesh",PecA)
  533. Pec2A.MeshType = "Brick"
  534. Pec2A.Scale = Vector3.new(5,3,0.3)
  535. local Pec3A = Instance.new("Weld",PecA)
  536. Pec3A.Part0 = torso
  537. Pec3A.Part1 = PecA
  538. Pec3A.C0 = CFrame.new(-2,2.8,-2.8)*CFrame.Angles(0,0,-0.1)
  539. ---------------------------------------------------
  540. local Abs = Instance.new("Part",char)
  541. Abs.Size = Vector3.new(10,10,10)
  542. Abs.BrickColor = BrickColor.new("Dark red")
  543. Abs.CanCollide = false
  544. Abs.TopSurface = 0
  545. Abs.BottomSurface = 0
  546. local Abs2 = Instance.new("SpecialMesh",Abs)
  547. Abs2.MeshType = "Brick"
  548. Abs2.Scale = Vector3.new(2,2,0.3)
  549. local Abs3 = Instance.new("Weld",Abs)
  550. Abs3.Part0 = torso
  551. Abs3.Part1 = Abs
  552. Abs3.C0 = CFrame.new(1.4,0,-2.8)*CFrame.Angles(0,0,0.1)
  553. local Abs = Instance.new("Part",char)
  554. Abs.Size = Vector3.new(10,10,10)
  555. Abs.BrickColor = BrickColor.new("Dark red")
  556. Abs.CanCollide = false
  557. Abs.TopSurface = 0
  558. Abs.BottomSurface = 0
  559. local Abs2 = Instance.new("SpecialMesh",Abs)
  560. Abs2.MeshType = "Brick"
  561. Abs2.Scale = Vector3.new(2,2,0.3)
  562. local Abs3 = Instance.new("Weld",Abs)
  563. Abs3.Part0 = torso
  564. Abs3.Part1 = Abs
  565. Abs3.C0 = CFrame.new(-1.4,0,-2.8)*CFrame.Angles(0,0,-0.1)
  566.  
  567. local Abs = Instance.new("Part",char)
  568. Abs.Size = Vector3.new(10,10,10)
  569. Abs.BrickColor = BrickColor.new("Dark red")
  570. Abs.CanCollide = false
  571. Abs.TopSurface = 0
  572. Abs.BottomSurface = 0
  573. local Abs2 = Instance.new("SpecialMesh",Abs)
  574. Abs2.MeshType = "Brick"
  575. Abs2.Scale = Vector3.new(2,2,0.3)
  576. local Abs3 = Instance.new("Weld",Abs)
  577. Abs3.Part0 = torso
  578. Abs3.Part1 = Abs
  579. Abs3.C0 = CFrame.new(1.4,-2.1,-2.8)*CFrame.Angles(0,0,0.1)
  580. local Abs = Instance.new("Part",char)
  581. Abs.Size = Vector3.new(10,10,10)
  582. Abs.BrickColor = BrickColor.new("Dark red")
  583. Abs.CanCollide = false
  584. Abs.TopSurface = 0
  585. Abs.BottomSurface = 0
  586. local Abs2 = Instance.new("SpecialMesh",Abs)
  587. Abs2.MeshType = "Brick"
  588. Abs2.Scale = Vector3.new(2,2,0.3)
  589. local Abs3 = Instance.new("Weld",Abs)
  590. Abs3.Part0 = torso
  591. Abs3.Part1 = Abs
  592. Abs3.C0 = CFrame.new(-1.4,-2.1,-2.8)*CFrame.Angles(0,0,-0.1)
  593.  
  594. local Abs = Instance.new("Part",char)
  595. Abs.Size = Vector3.new(10,10,10)
  596. Abs.BrickColor = BrickColor.new("Dark red")
  597. Abs.CanCollide = false
  598. Abs.TopSurface = 0
  599. Abs.BottomSurface = 0
  600. local Abs2 = Instance.new("SpecialMesh",Abs)
  601. Abs2.MeshType = "Brick"
  602. Abs2.Scale = Vector3.new(2,2,0.3)
  603. local Abs3 = Instance.new("Weld",Abs)
  604. Abs3.Part0 = torso
  605. Abs3.Part1 = Abs
  606. Abs3.C0 = CFrame.new(1.4,-4.1,-2.8)*CFrame.Angles(0,0,0.1)
  607. local Abs = Instance.new("Part",char)
  608. Abs.Size = Vector3.new(10,10,10)
  609. Abs.BrickColor = BrickColor.new("Dark red")
  610. Abs.CanCollide = false
  611. Abs.TopSurface = 0
  612. Abs.BottomSurface = 0
  613. local Abs2 = Instance.new("SpecialMesh",Abs)
  614. Abs2.MeshType = "Brick"
  615. Abs2.Scale = Vector3.new(2,2,0.3)
  616. local Abs3 = Instance.new("Weld",Abs)
  617. Abs3.Part0 = torso
  618. Abs3.Part1 = Abs
  619. Abs3.C0 = CFrame.new(-1.4,-4.1,-2.8)*CFrame.Angles(0,0,-0.1)
  620. -----------------------------------------------------
  621. local Head = Instance.new("Part",char)
  622. Head.Size = Vector3.new(10,10,10)
  623. Head.BrickColor = BrickColor.new("Maroon")
  624. Head.CanCollide = false
  625. Head.TopSurface = 0
  626. Head.BottomSurface = 0
  627. local Head2 = Instance.new("SpecialMesh",Head)
  628. Head2.MeshType = "Head"
  629. Head2.Scale = Vector3.new(11.5,6.5,6.5)
  630. local Head3 = Instance.new("Weld",Head)
  631. Head3.Part0 = hed
  632. Head3.Part1 = Head
  633. Head3.C0 = CFrame.new(0,0,0)
  634. -----------------------------------------------------
  635. local Eye2 = Instance.new("Part",char)
  636. Eye2.Size = Vector3.new(10,10,10)
  637. Eye2.BrickColor = BrickColor.new("Really red")
  638. Eye2.CanCollide = false
  639. Eye2.TopSurface = 0
  640. Eye2.Material = "Neon"
  641. Eye2.BottomSurface = 0
  642. local Eye22 = Instance.new("SpecialMesh",Eye2)
  643. Eye22.MeshType = "Sphere"
  644. Eye22.Scale = Vector3.new(1.2,0.6,0.1)
  645. local Eye32 = Instance.new("Weld",Eye2)
  646. Eye32.Part0 = hed
  647. Eye32.Part1 = Eye2
  648. Eye32.C0 = CFrame.new(1.3,0.5,-3)*CFrame.Angles(0,0,0.3)
  649. local Eye = Instance.new("Part",char)
  650. Eye.Size = Vector3.new(10,10,10)
  651. Eye.BrickColor = BrickColor.new("Really red")
  652. Eye.CanCollide = false
  653. Eye.TopSurface = 0
  654. Eye.Material = "Neon"
  655. Eye.BottomSurface = 0
  656. local Eye212 = Instance.new("SpecialMesh",Eye)
  657. Eye212.MeshType = "Sphere"
  658. Eye212.Scale = Vector3.new(1.2,0.6,0.1)
  659. local Eye3 = Instance.new("Weld",Eye)
  660. Eye3.Part0 = hed
  661. Eye3.Part1 = Eye
  662. Eye3.C0 = CFrame.new(-1.3,0.5,-3)*CFrame.Angles(0,0,-0.3)
  663.  
  664. -----------------------------------------------------
  665.  
  666. function weld5(part0, part1, c0, c1)
  667. weeld=Instance.new("Weld", part0)
  668. weeld.Part0=part0
  669. weeld.Part1=part1
  670. weeld.C0=c0
  671. weeld.C1=c1
  672. return weeld
  673. end
  674. ----------------------------------------------------
  675. function newRay(start,face,range,wat)
  676. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  677. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  678. return rey,hit,pos
  679. end
  680. ----------------------------------------------------
  681. mod5 = Instance.new("Model",char)
  682.  
  683. function FindNearestTorso(Position,Distance,SinglePlayer)
  684. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  685. local List = {}
  686. for i,v in pairs(workspace:GetChildren())do
  687. if v:IsA("Model")then
  688. if v:findFirstChild("Torso")then
  689. if v ~= char then
  690. if(v.Torso.Position -Position).magnitude <= Distance then
  691. table.insert(List,v)
  692. end
  693. end
  694. end
  695. end
  696. end
  697. return List
  698. end
  699.  
  700. function Landing()
  701. part=Instance.new('Part',mod5)
  702. part.Anchored=true
  703. part.CanCollide=false
  704. part.FormFactor='Custom'
  705. part.Size=Vector3.new(.2,.2,.2)
  706. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  707. part.Transparency=.7
  708. part.BrickColor=BrickColor.new('Really black')
  709. mesh=Instance.new('SpecialMesh',part)
  710. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  711. mesh.Scale=Vector3.new(10,5,10)
  712.  
  713. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  714. if v:FindFirstChild('Humanoid') then
  715. v.Humanoid:TakeDamage(math.random(20,30))
  716. v.Humanoid.PlatformStand = true
  717. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  718. end
  719. end
  720.  
  721. coroutine.resume(coroutine.create(function()
  722. for i=0,3.8,0.05 do
  723. wait()
  724. part.CFrame=part.CFrame
  725. part.Transparency=i
  726. mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  727. end
  728. part.Parent = nil
  729. end))
  730. end
  731. ----------------------------------------------------
  732. mod4 = Instance.new("Model",char)
  733.  
  734. ptez = {0.7, 0.8, 0.9, 1}
  735.  
  736. function FindNearestTorso(Position,Distance,SinglePlayer)
  737. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  738. local List = {}
  739. for i,v in pairs(workspace:GetChildren())do
  740. if v:IsA("Model")then
  741. if v:findFirstChild("Torso")then
  742. if v ~= char then
  743. if(v.Torso.Position -Position).magnitude <= Distance then
  744. table.insert(List,v)
  745. end
  746. end
  747. end
  748. end
  749. end
  750. return List
  751. end
  752.  
  753. ----------------------------------------------------
  754.  
  755. local acos = math.acos
  756. local sqrt = math.sqrt
  757. local Vec3 = Vector3.new
  758. local fromAxisAngle = CFrame.fromAxisAngle
  759.  
  760. local function toAxisAngle(CFr)
  761. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  762. local Angle = math.acos((R00+R11+R22-1)/2)
  763. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  764. A = A == 0 and 0.00001 or A
  765. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  766. B = B == 0 and 0.00001 or B
  767. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  768. C = C == 0 and 0.00001 or C
  769. local x = (R21-R12)/sqrt(A)
  770. local y = (R02-R20)/sqrt(B)
  771. local z = (R10-R01)/sqrt(C)
  772. return Vec3(x,y,z),Angle
  773. end
  774.  
  775. function ApplyTrig(Num,Func)
  776. local Min,Max = Func(0),Func(1)
  777. local i = Func(Num)
  778. return (i-Min)/(Max-Min)
  779. --[[if Func == "sin" then
  780. return (math.sin((1-Num)*math.pi)+1)/2
  781. elseif Func == "cos" then
  782. return (math.cos((1-Num)*math.pi)+1)/2
  783. end]]
  784. end
  785.  
  786. function LerpCFrame(CFrame1,CFrame2,Num)
  787. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  788. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  789. end
  790. mouse.KeyDown:connect(function(key)
  791. if key == "b" then
  792. if Debounces.CanAttack == true then
  793. Debounces.CanAttack = false
  794. Debounces.on = true
  795. Debounces.NoIdl = true
  796. for i = 1,20 do
  797. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(9,4,1) * CFrame.Angles(0.3,-0.5,1.55),.3)
  798. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-9,4,1) * CFrame.Angles(0.3,0.5,-1.55),.3)
  799. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0.4,0,0),.3)
  800. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.3,0,0),.3)
  801. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,1) *CFrame.Angles(-0.3,0,-0.1),.3)
  802. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,1) * CFrame.Angles(-0.3,0,0.1),.3)
  803. if Debounces.on == false then break end
  804. wait()
  805. end
  806. v = Instance.new("Sound")
  807. v.SoundId = "rbxassetid://785301837"
  808. v.Parent = torso
  809. v.Looped = false
  810. v.Pitch = 0.8
  811. v.Volume = math.huge
  812. wait(.01)
  813. v:Play()
  814. coroutine.resume(coroutine.create(function()
  815. for i = 1,80 do
  816. local H = Instance.new("Part",torso)
  817. H.Size = Vector3.new(1,1,1)
  818. H.BrickColor = BrickColor.new("White")
  819. H.CanCollide = false
  820. H.Anchored = true
  821. H.CFrame = torso.CFrame*CFrame.new(0,-13,0)*CFrame.Angles(1.3,0,0)
  822. local H2 = Instance.new("SpecialMesh",H)
  823. H2.MeshId = "rbxassetid://3270017"
  824. coroutine.resume(coroutine.create(function()
  825. for i = 1,200 do
  826. H2.Scale = H2.Scale + Vector3.new(5,5,5)
  827. H.Transparency = H.Transparency + 0.05
  828. wait(0.05)
  829. end
  830. H:remove()
  831. end))
  832. wait(0.005)
  833. end
  834. if Debounces.CanAttack == false then
  835. Debounces.CanAttack = true
  836. Debounces.on = false
  837. Debounces.NoIdl = false
  838. end
  839. end))
  840. end
  841. end
  842. end)
  843. mouse.KeyDown:connect(function(key)
  844. if key == "z" then
  845. if Debounces.CanAttack == true then
  846. Debounces.CanAttack = false
  847. Debounces.on = true
  848. Debounces.NoIdl = true
  849. for i = 1,20 do
  850. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  851. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  852. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  853. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -6, 0) * CFrame.Angles(-1.5,0,0),.3)
  854. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -7.6,-2) *CFrame.Angles(1.55,0,0),.3)
  855. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,-2) * CFrame.Angles(1.55,0,0),.3)
  856. if Debounces.on == false then break end
  857. wait()
  858. end
  859. local Rock = Instance.new("Part",char)
  860. Rock.Size = Vector3.new(1,1,1)
  861. local Rock22 = Instance.new("SpecialMesh",Rock)
  862. Rock22.MeshId = "rbxassetid://433651599"
  863. Rock22.Scale = Vector3.new(0.5,0.5,0.5)
  864. local Rock2 = Instance.new("Weld",Rock)
  865. Rock2.Part0 = hed
  866. Rock2.Part1 = Rock
  867. Rock2.C0 = CFrame.new(0,40,0)*CFrame.Angles(0,-1.55,0)
  868. local PPA = Instance.new("Part",Rock)
  869. PPA.Size = Vector3.new(30,30,30)
  870. PPA.CanCollide = false
  871. local PPA2 = Instance.new("Weld",PPA)
  872. PPA2.Part0 = Rock
  873. PPA2.Part1 = PPA
  874. PPA2.C0 = CFrame.new(0,0,0)
  875. PPA.Touched:connect(function(hit)
  876. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  877. if not FA then FA = true
  878. hit.Parent.Humanoid.PlatformStand = true
  879. hit.Parent.Humanoid:TakeDamage(30)
  880. local Fly = Instance.new("BodyVelocity",hit.Parent.Torso)
  881. Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  882. Fly.velocity = mouse.hit.lookVector*560
  883. wait(0.1)
  884. Fly:remove()
  885. wait(3)
  886. FA = false
  887. end
  888. end
  889. end)
  890. wait(0.5)
  891. for i = 1,20 do
  892. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  893. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  894. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  895. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0,0,0),.3)
  896. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  897. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,0) * CFrame.Angles(0,0,0),.3)
  898. if Debounces.on == false then break end
  899. wait()
  900. end
  901. Rock2:remove()
  902. local Fly = Instance.new("BodyVelocity",Rock)
  903. Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  904. Fly.velocity = mouse.hit.lookVector*200
  905. for i = 1,20 do
  906. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  907. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  908. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.3,0,0),.3)
  909. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.3,0,0),.3)
  910. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  911. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,-2) * CFrame.Angles(0.5,0,0),.3)
  912. if Debounces.on == false then break end
  913. wait()
  914. end
  915. if Debounces.CanAttack == false then
  916. Debounces.CanAttack = true
  917. Debounces.on = false
  918. Debounces.NoIdl = false
  919. end
  920. wait(2)
  921. Fly:remove()
  922. local SFXZ = Instance.new("Sound",Rock)
  923. SFXZ.SoundId = "rbxassetid://134854740"
  924. SFXZ.Volume = math.huge
  925. SFXZ.Pitch = 1
  926. SFXZ.Looped = false
  927. wait(0.01)
  928. SFXZ:Play()
  929. wait(3)
  930. Rock:remove()
  931. end
  932. end
  933. end)
  934. mouse.KeyDown:connect(function(key)
  935. if key == "e" then
  936. if Debounces.CanAttack == true then
  937. Debounces.CanAttack = false
  938. Debounces.on = true
  939. Debounces.NoIdl = true
  940. for i = 1,20 do
  941. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.3,0,0),.3)
  942. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  943. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  944. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  945. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  946. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  947. if Debounces.on == false then break end
  948. wait()
  949. end
  950. local HitBox = Instance.new("Part",char)
  951. HitBox.Size = Vector3.new(5,5,5)
  952. HitBox.CanCollide = false
  953. HitBox.Transparency = math.huge
  954. local HitBox2 = Instance.new("Weld",HitBox)
  955. HitBox2.Part0 = rarm
  956. HitBox2.Part1 = HitBox
  957. HitBox2.C0 = CFrame.new(0,-4.5,0)
  958. HitBox.Touched:connect(function(hit)
  959. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  960. if not DD then DD = true
  961. HitBox:remove()
  962. hit.Parent.Humanoid.PlatformStand = true
  963. local We = Instance.new("Weld",hit.Parent.Torso)
  964. We.Part0 = rarm
  965. We.Part1 = hit.Parent.Torso
  966. We.C0 = CFrame.new(0,-5,0)*CFrame.Angles(-1.55,0,0)
  967. wait(1)
  968. for i = 1,20 do
  969. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,4,0) * CFrame.Angles(3.1,0,1),.3)
  970. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,4,0) * CFrame.Angles(-3.1,0,-1),.3)
  971. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(1,0,0),.3)
  972. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  973. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  974. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  975. if Debounces.on == false then break end
  976. wait()
  977. end
  978. hit.Parent.Humanoid:TakeDamage(20)
  979. for i = 1,20 do
  980. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(6,4,-1) * CFrame.Angles(1.55,0,-1),.3)
  981. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-6,4,-1) * CFrame.Angles(1.55,0,1),.3)
  982. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  983. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  984. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  985. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  986. if Debounces.on == false then break end
  987. wait()
  988. end
  989. for i = 1,20 do
  990. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,4,-1) * CFrame.Angles(1.55,0,-1.3),.3)
  991. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-5,4,-1) * CFrame.Angles(1.55,0,1.3),.3)
  992. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  993. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  994. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  995. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  996. if Debounces.on == false then break end
  997. wait()
  998. end
  999. local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
  1000. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0))
  1001. partasdeff.LightEmission = .1
  1002. partasdeff.Size = NumberSequence.new(0.2)
  1003. partasdeff.Texture = "http://www.roblox.com/asset/?ID=380529823"
  1004. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1005. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1006. partasdeff.Transparency = bbb
  1007. partasdeff.Size = aaa
  1008. partasdeff.ZOffset = .9
  1009. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1010. partasdeff.LockedToPart = false
  1011. partasdeff.EmissionDirection = "Top"
  1012. partasdeff.Lifetime = NumberRange.new(1, 2)
  1013. partasdeff.Rate = 1000
  1014. partasdeff.Rotation = NumberRange.new(-100, 100)
  1015. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1016. partasdeff.Speed = NumberRange.new(10)
  1017. partasdeff.VelocitySpread = 300
  1018. partasdeff.Enabled = true
  1019. wait(1.5)
  1020. hit.Parent:BreakJoints()
  1021. We:remove()
  1022. partasdeff.Enabled = false
  1023. if Debounces.CanAttack == false then
  1024. Debounces.CanAttack = true
  1025. Debounces.on = false
  1026. Debounces.NoIdl = false
  1027. end
  1028. wait(3)
  1029. DD = false
  1030. end
  1031. end
  1032. end)
  1033. wait(5)
  1034. if Debounces.CanAttack == false then
  1035. Debounces.CanAttack = true
  1036. Debounces.on = false
  1037. Debounces.NoIdl = false
  1038. end
  1039. end
  1040. end
  1041. end)
  1042. mouse.KeyDown:connect(function(key)
  1043. if key == "r" then
  1044. if Debounces.CanAttack == true then
  1045. Debounces.CanAttack = false
  1046. Debounces.on = true
  1047. Debounces.NoIdl = true
  1048. for i = 1,20 do
  1049. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  1050. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  1051. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  1052. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.5,0,0),.3)
  1053. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -2) *CFrame.Angles(0.5,0,0),.3)
  1054. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, 1.2) * CFrame.Angles(-1.5,0,0),.3)
  1055. if Debounces.on == false then break end
  1056. wait()
  1057. end
  1058. local HitBox = Instance.new("Part",char)
  1059. HitBox.Size = Vector3.new(5,5,5)
  1060. HitBox.CanCollide = false
  1061. HitBox.Transparency = math.huge
  1062. local HitBox2 = Instance.new("Weld",HitBox)
  1063. HitBox2.Part0 = rleg
  1064. HitBox2.Part1 = HitBox
  1065. HitBox2.C0 = CFrame.new(0,-1.1,0)
  1066. local SFXZ = Instance.new("Sound",torso)
  1067. SFXZ.SoundId = "rbxassetid://169259383"
  1068. SFXZ.Volume = math.huge
  1069. SFXZ.Pitch = 0.5
  1070. SFXZ.Looped = false
  1071. wait(0.01)
  1072. SFXZ:Play()
  1073. HitBox.Touched:connect(function(hit)
  1074. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  1075. local SFXZ = Instance.new("Sound",torso)
  1076. SFXZ.SoundId = "rbxassetid://743886825"
  1077. SFXZ.Volume = 1
  1078. SFXZ.Pitch = 0.5
  1079. SFXZ.Looped = false
  1080. SFXZ:Play()
  1081. HitBox:remove()
  1082. hit.Parent.Humanoid:TakeDamage(44)
  1083. hit.Parent.Humanoid.PlatformStand = true
  1084. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  1085. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1086. Fl.velocity = rleg.CFrame.lookVector*350
  1087. wait(0.1)
  1088. Fl:remove()
  1089. end
  1090. end)
  1091. for i = 1,20 do
  1092. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  1093. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  1094. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  1095. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.5,0,0),.3)
  1096. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, 2) *CFrame.Angles(-0.5,0,0),.3)
  1097. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, -1.2) * CFrame.Angles(1.5,0,0),.3)
  1098. if Debounces.on == false then break end
  1099. wait()
  1100. end
  1101. if Debounces.CanAttack == false then
  1102. Debounces.CanAttack = true
  1103. Debounces.on = false
  1104. Debounces.NoIdl = false
  1105. HitBox:remove()
  1106. end
  1107. end
  1108. end
  1109. end)
  1110. ----------------------------------------------------
  1111. mouse.KeyDown:connect(function(key)
  1112. if string.byte(key) == 34 then
  1113. char.Humanoid.WalkSpeed = 30
  1114. end
  1115. end)
  1116. mouse.KeyUp:connect(function(key)
  1117. if string.byte(key) == 48 then
  1118. char.Humanoid.WalkSpeed = 5
  1119. end
  1120. end)
  1121. ----------------------------------------------------
  1122. local animpose = "Idle"
  1123. local lastanimpose = "Idle"
  1124. local sine = 0
  1125. local change = 1
  1126. local val = 0
  1127. local ffing = false
  1128. ----------------------------------------------------
  1129. local x = Instance.new("Sound", char.Torso)
  1130. x.SoundId = "http://www.roblox.com/asset/?id=198360408"
  1131. x.Looped = true
  1132. x.Volume = 5
  1133. x.Pitch = 1
  1134. local footsteps = false
  1135. -------------------------------
  1136. game:GetService("RunService").RenderStepped:connect(function()
  1137. rarm.BrickColor = ASD
  1138. larm.BrickColor = ASD
  1139. rleg.BrickColor = ASD
  1140. lleg.BrickColor = ASD
  1141. hed.BrickColor = ASD
  1142. torso.BrickColor = ASD
  1143. --[[if char.Humanoid.Jump == true then
  1144. jump = true
  1145. else
  1146. jump = false
  1147. end]]
  1148. char.Humanoid.FreeFalling:connect(function(f)
  1149. if f then
  1150. ffing = true
  1151. else
  1152. ffing = false
  1153. end
  1154. end)
  1155. sine = sine + change
  1156. if jumpn == true then
  1157. animpose = "Jumping"
  1158. elseif ffing == true then
  1159. animpose = "Freefalling"
  1160. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1161. animpose = "Idle"
  1162. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1163. animpose = "Walking"
  1164. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1165. animpose = "Running"
  1166. end
  1167. if animpose ~= lastanimpose then
  1168. sine = 0
  1169. if Debounces.NoIdl == false then
  1170. if animpose == "Idle" then
  1171. for i = 1, 2 do
  1172. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  1173. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  1174. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  1175. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1176. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1177. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1178. end
  1179. elseif animpose == "Walking" then
  1180. for i = 1, 2 do
  1181. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  1182. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  1183. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  1184. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  1185. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  1186. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  1187. end
  1188. elseif animpose == "Running" then
  1189. for i = 1, 2 do
  1190. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  1191. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8, 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)
  1192. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  1193. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.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)
  1194. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-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)
  1195. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+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)
  1196. end
  1197. wait()
  1198. end
  1199. else
  1200. end
  1201. end
  1202. lastanimpose = animpose
  1203. if Debounces.NoIdl == false then
  1204. if animpose == "Idle" then
  1205. if stanceToggle == "Normal" then
  1206. change = 0.5
  1207. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,0.3),.2)
  1208. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,-0.3),.2)
  1209. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(0-.1*math.sin(tick()*1),0,0)*CFrame.Angles(-0.3,0,0), 0.2)
  1210. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1211. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1212. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1213. elseif stanceToggle == "Sitting" then
  1214. 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)
  1215. 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)
  1216. 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)
  1217. 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)
  1218. 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)
  1219. 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)
  1220. end
  1221. elseif animpose == "Walking" then
  1222. if stanceToggle == "Normal" then
  1223. change = 1
  1224. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,0.8,0)*CFrame.Angles(0-.2*math.sin(tick()*2.5),0,0.2),.3)
  1225. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,0.8,0)*CFrame.Angles(0+.2*math.sin(tick()*2.5),0,-0.2),.3)
  1226. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(-0.2,0,0),.3)
  1227. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-1.8,0)*CFrame.new(0,0-.1*math.sin(tick()*2),0)*CFrame.Angles(0,0,0),.3)
  1228. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-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)
  1229. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+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)
  1230. end
  1231. elseif animpose == "Running" then
  1232. change = 1
  1233. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.7,0.5,0)*CFrame.Angles(0-.5*math.sin(tick()*7),0,0),.3)
  1234. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.7,0.5,0)*CFrame.Angles(0+.5*math.sin(tick()*7),0,0),.3)
  1235. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  1236. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.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)
  1237. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.80*math.cos(sine/6)/2.4, -.15 + math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + -math.sin(sine/6)/1.7, 0, 0), .4)
  1238. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.80*math.cos(sine/6)/2.4, -.15 + -math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + math.sin(sine/6)/1.7, 0, 0), .4)
  1239. end
  1240. end
  1241. if animpose == "Walking" then
  1242. if footsteps == false then
  1243. x:Play()
  1244. footsteps = true
  1245. end
  1246. x.Pitch = 1.1
  1247. elseif animpose == "Idle" then
  1248. x:Stop()
  1249. footsteps = false
  1250. elseif animpose == "Running" then
  1251. x.Pitch = 1.2
  1252. if footsteps == false then
  1253. x:Play()
  1254. footsteps = true
  1255. end
  1256. end
  1257. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement