Advertisement
JRKPastesBins

Untitled

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