Advertisement
JRKPastesBins

Untitled

Sep 29th, 2017
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.48 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local Player = plr.Character
  3. local Mouse = plr:GetMouse()
  4. local hum = Player.Humanoid
  5. local rarm = Player["Right Arm"]
  6. local larm= Player["Left Arm"]
  7. local rleg= Player["Right Leg"]
  8. local lleg = Player["Left Leg"]
  9. local root = Player.HumanoidRootPart
  10. local tors = Player.Torso
  11. local head = Player.Head
  12. local shirtid = 765769814
  13. local pantsid = 781482072
  14. chr = plr.Character
  15. hrp = chr.HumanoidRootPart
  16. local punching = false
  17. local skinCol = "Crimson"
  18. local damaged = {}
  19. local t = tick()
  20. local faceid = 378389548
  21. local auras = {}
  22. local idle = true
  23. local kiBlasting = false
  24. local pwr10 = true
  25. local bv = nil
  26. local flying = false
  27. local pwr40 = false
  28. local pwr80 = false
  29. local pwr100 = false
  30. local ascendcooldown = false
  31. local descendcooldown = false
  32. local leftArmdamaging = false
  33. local rightArmdamaging = false
  34. local punching = false
  35. local action = ""
  36. local mouseDownF = false
  37. local punchDamage = 15
  38. local KiDamage = 30
  39. local armKi = "Right"
  40. Player:WaitForChild("Health"):Remove()
  41. local Render = game:GetService("RunService").RenderStepped
  42. game.Chat:Chat(Player, "Pathetic beings.. I guess its time to teach them a lesson.", "White")
  43. for i,s in pairs(Player:GetChildren()) do
  44. if s:IsA("Hat") or s:IsA("Accessory") or s:IsA("Accoutrement") or s:IsA("CharacterMesh") then
  45. s:Destroy()
  46. end
  47. end
  48.  
  49.  
  50. local mudodo = Instance.new("Sound")
  51. mudodo.Volume = 10
  52. mudodo.SoundId = "rbxassetid://616593932"
  53. mudodo.Looped = true
  54. mudodo.Parent = hrp
  55.  
  56. local bd = Player:FindFirstChild("Body Colors")
  57. if bd then
  58. bd.HeadColor = BrickColor.new(skinCol)
  59. bd.TorsoColor = BrickColor.new(skinCol)
  60. bd.LeftLegColor = BrickColor.new(skinCol)
  61. bd.RightLegColor = BrickColor.new(skinCol)
  62. bd.LeftArmColor = BrickColor.new(skinCol)
  63. bd.RightArmColor = BrickColor.new(skinCol)
  64. else
  65. bd = Instance.new("BodyColors", Player)
  66. bd.HeadColor = BrickColor.new(skinCol)
  67. bd.TorsoColor = BrickColor.new(skinCol)
  68. bd.LeftLegColor = BrickColor.new(skinCol)
  69. bd.RightLegColor = BrickColor.new(skinCol)
  70. bd.LeftArmColor = BrickColor.new(skinCol)
  71. bd.RightArmColor = BrickColor.new(skinCol)
  72. end
  73.  
  74. shirt = Player:FindFirstChild("Shirt")
  75. if shirt then
  76. shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
  77. else
  78. shirt = Instance.new("Shirt", Player)
  79. shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
  80. end
  81.  
  82.  
  83. pants = Player:FindFirstChild("Pants")
  84. if pants then
  85. pants.PantsTemplate = "rbxassetid://".. pantsid ..""
  86. else
  87. pants = Instance.new("Pants", Player)
  88. pants. PantsTemplate = "rbxassetid://".. pantsid ..""
  89. end
  90. face = head:FindFirstChild("face")
  91. if face then
  92. face.Texture = "rbxassetid://".. faceid ..""
  93. else
  94. face = Instance.new("Decal", head)
  95. face.Name = "face"
  96. face.Texture = "rbxassetid://".. faceid ..""
  97. end
  98. function aura()
  99. local aura = Instance.new("ParticleEmitter", root)
  100. aura.Texture = "rbxassetid://445231746"
  101. aura.Color = ColorSequence.new(Color3.fromRGB(220, 0, 0))
  102. aura.Size = NumberSequence.new(0,1)
  103. aura.Transparency = NumberSequence.new(0,1)
  104. aura.LockedToPart = true
  105. aura.LightEmission = 1
  106. aura.LightInfluence = 1
  107. aura.ZOffset = -1
  108. aura.Lifetime = NumberRange.new(0.4)
  109. aura.Rate = 200
  110. aura.Speed = NumberRange.new(2)
  111. aura.SpreadAngle = Vector2.new(0,0)
  112. aura.Enabled = true
  113. table.insert(auras, aura)
  114. aurah = aura:Clone()
  115. aurah.Parent = head
  116. table.insert(auras, aurah)
  117. auralarm = aura:Clone()
  118. auralarm.Parent = larm
  119. table.insert(auras, auralarm)
  120. aurararm = aura:Clone()
  121. aurararm.Parent = rarm
  122. table.insert(auras, aurararm)
  123. auralleg = aura:Clone()
  124. auralleg.Parent = lleg
  125. table.insert(auras, auralleg)
  126. aurarleg = aura:Clone()
  127. aurarleg.Parent = rleg
  128. table.insert(auras, aurarleg)
  129. end
  130.  
  131.  
  132.  
  133. function aura40()
  134. local aura = Instance.new("ParticleEmitter", root)
  135. aura.Texture = "rbxassetid://445231746"
  136. aura.Color = ColorSequence.new(Color3.fromRGB(250, 0, 0))
  137. aura.Size = NumberSequence.new(0,1)
  138. aura.Transparency = NumberSequence.new(0,1)
  139. aura.LockedToPart = true
  140. aura.LightEmission = 1
  141. aura.LightInfluence = 1
  142. aura.ZOffset = -1
  143. aura.Lifetime = NumberRange.new(0.4)
  144. aura.Rate = 200
  145. aura.Speed = NumberRange.new(2)
  146. aura.SpreadAngle = Vector2.new(0,0)
  147. aura.Enabled = true
  148. table.insert(auras, aura)
  149. aurah = aura:Clone()
  150. aurah.Parent = head
  151. table.insert(auras, aurah)
  152. auralarm = aura:Clone()
  153. auralarm.Parent = larm
  154. table.insert(auras, auralarm)
  155. aurararm = aura:Clone()
  156. aurararm.Parent = rarm
  157. table.insert(auras, aurararm)
  158. auralleg = aura:Clone()
  159. auralleg.Parent = lleg
  160. table.insert(auras, auralleg)
  161. aurarleg = aura:Clone()
  162. aurarleg.Parent = rleg
  163. table.insert(auras, aurarleg)
  164.  
  165. local aura2 = Instance.new("ParticleEmitter", root)
  166. aura2.Texture = "rbxassetid://445231746"
  167. aura2.Color = ColorSequence.new(Color3.fromRGB(245, 0, 0))
  168. aura2.Size = NumberSequence.new(0,1)
  169. aura2.Transparency = NumberSequence.new(0,1)
  170. aura2.LockedToPart = true
  171. aura2.LightEmission = 0
  172. aura2.LightInfluence = 0
  173. aura2.ZOffset = -1.1
  174. aura2.Lifetime = NumberRange.new(0.4)
  175. aura2.Rate = 100000
  176. aura2.Speed = NumberRange.new(2)
  177. aura2.SpreadAngle = Vector2.new(0,0)
  178. aura2.Enabled = true
  179. table.insert(auras, aura2)
  180. aurah2 = aura2:Clone()
  181. aurah2.Parent = head
  182. table.insert(auras, aurah2)
  183. auralarm2 = aura2:Clone()
  184. auralarm2.Parent = larm
  185. table.insert(auras, auralarm2)
  186. aurararm2 = aura2:Clone()
  187. aurararm2.Parent = rarm
  188. table.insert(auras, aurararm2)
  189. auralleg2 = aura2:Clone()
  190. auralleg2.Parent = lleg
  191. table.insert(auras, auralleg2)
  192. aurarleg2 = aura2:Clone()
  193. aurarleg2.Parent = rleg
  194. table.insert(auras, aurarleg2)
  195. end
  196.  
  197. function aura80()
  198. local aura = Instance.new("ParticleEmitter", root)
  199. aura.Texture = "rbxassetid://445231746"
  200. aura.Color = ColorSequence.new(Color3.fromRGB(250, 0, 0))
  201. aura.Size = NumberSequence.new(0,1)
  202. aura.Transparency = NumberSequence.new(0,1)
  203. aura.LockedToPart = true
  204. aura.LightEmission = 1
  205. aura.LightInfluence = 1
  206. aura.ZOffset = -1
  207. aura.Lifetime = NumberRange.new(0.4)
  208. aura.Rate = 100000
  209. aura.Speed = NumberRange.new(2)
  210. aura.SpreadAngle = Vector2.new(0,0)
  211. aura.Enabled = true
  212. table.insert(auras, aura)
  213. aurah = aura:Clone()
  214. aurah.Parent = head
  215. table.insert(auras, aurah)
  216. auralarm = aura:Clone()
  217. auralarm.Parent = larm
  218. table.insert(auras, auralarm)
  219. aurararm = aura:Clone()
  220. aurararm.Parent = rarm
  221. table.insert(auras, aurararm)
  222. auralleg = aura:Clone()
  223. auralleg.Parent = lleg
  224. table.insert(auras, auralleg)
  225. aurarleg = aura:Clone()
  226. aurarleg.Parent = rleg
  227. table.insert(auras, aurarleg)
  228.  
  229. local aura2 = Instance.new("ParticleEmitter", root)
  230. aura2.Texture = "rbxassetid://445231746"
  231. aura2.Color = ColorSequence.new(Color3.fromRGB(245, 0, 0))
  232. aura2.Size = NumberSequence.new(0,1)
  233. aura2.Transparency = NumberSequence.new(0,1)
  234. aura2.LockedToPart = true
  235. aura2.LightEmission = 0
  236. aura2.LightInfluence = 0
  237. aura2.ZOffset = -1.1
  238. aura2.Lifetime = NumberRange.new(0.4)
  239. aura2.Rate = 100000
  240. aura2.Speed = NumberRange.new(2)
  241. aura2.SpreadAngle = Vector2.new(0,0)
  242. aura2.Enabled = true
  243. table.insert(auras, aura2)
  244. aurah2 = aura2:Clone()
  245. aurah2.Parent = head
  246. table.insert(auras, aurah2)
  247. auralarm2 = aura2:Clone()
  248. auralarm2.Parent = larm
  249. table.insert(auras, auralarm2)
  250. aurararm2 = aura2:Clone()
  251. aurararm2.Parent = rarm
  252. table.insert(auras, aurararm2)
  253. auralleg2 = aura2:Clone()
  254. auralleg2.Parent = lleg
  255. table.insert(auras, auralleg2)
  256. aurarleg2 = aura2:Clone()
  257. aurarleg2.Parent = rleg
  258. table.insert(auras, aurarleg2)
  259.  
  260. local aura3 = Instance.new("ParticleEmitter", root)
  261. aura3.Texture = "rbxassetid://347730682"
  262. aura3.Color = ColorSequence.new(Color3.fromRGB(220, 0, 0))
  263. aura3.Size = NumberSequence.new(5,5)
  264. aura3.Transparency = NumberSequence.new(0,1)
  265. aura3.LockedToPart = true
  266. aura3.LightEmission = 1
  267. aura3.LightInfluence = 0
  268. aura3.ZOffset = -1.5
  269. aura3.Lifetime = NumberRange.new(0.1)
  270. aura3.Rate = 120
  271. aura3.Speed = NumberRange.new(20)
  272. aura3.SpreadAngle = Vector2.new(0,0)
  273. aura3.Enabled = true
  274. table.insert(auras, aura3)
  275. end
  276.  
  277. function aura100()
  278. local aura = Instance.new("ParticleEmitter", root)
  279. aura.Texture = "rbxassetid://445231746"
  280. aura.Color = ColorSequence.new(Color3.fromRGB(250, 0, 0))
  281. aura.Size = NumberSequence.new(0,1)
  282. aura.Transparency = NumberSequence.new(0,1)
  283. aura.LockedToPart = true
  284. aura.LightEmission = 1
  285. aura.LightInfluence = 1
  286. aura.ZOffset = -1
  287. aura.Lifetime = NumberRange.new(0.4)
  288. aura.SpreadAngle = Vector2.new(1000,1000)
  289. aura.Rotation = NumberRange.new(200)
  290. aura.RotSpeed = NumberRange.new(200)
  291. aura.Rate = 100000
  292. aura.Speed = NumberRange.new(5)
  293. aura.Enabled = true
  294. table.insert(auras, aura)
  295. aurah = aura:Clone()
  296. aurah.Parent = head
  297. table.insert(auras, aurah)
  298. auralarm = aura:Clone()
  299. auralarm.Parent = larm
  300. table.insert(auras, auralarm)
  301. aurararm = aura:Clone()
  302. aurararm.Parent = rarm
  303. table.insert(auras, aurararm)
  304. auralleg = aura:Clone()
  305. auralleg.Parent = lleg
  306. table.insert(auras, auralleg)
  307. aurarleg = aura:Clone()
  308. aurarleg.Parent = rleg
  309. table.insert(auras, aurarleg)
  310.  
  311. local aura2 = Instance.new("ParticleEmitter", root)
  312. aura2.Texture = "rbxassetid://445231746"
  313. aura2.Color = ColorSequence.new(Color3.fromRGB(0, 0, 0))
  314. aura2.Size = NumberSequence.new(0,1)
  315. aura2.Transparency = NumberSequence.new(0,1)
  316. aura2.LockedToPart = true
  317. aura2.LightEmission = 0
  318. aura2.LightInfluence = 0
  319. aura2.ZOffset = -1.1
  320. aura2.Lifetime = NumberRange.new(0.4)
  321. aura2.Rate = 100000
  322. aura2.Rotation = NumberRange.new(200)
  323. aura2.RotSpeed = NumberRange.new(200)
  324. aura2.Speed = NumberRange.new(5)
  325. aura2.SpreadAngle = Vector2.new(1000,1000)
  326. aura2.Enabled = true
  327. table.insert(auras, aura2)
  328. aurah2 = aura2:Clone()
  329. aurah2.Parent = head
  330. table.insert(auras, aurah2)
  331. auralarm2 = aura2:Clone()
  332. auralarm2.Parent = larm
  333. table.insert(auras, auralarm2)
  334. aurararm2 = aura2:Clone()
  335. aurararm2.Parent = rarm
  336. table.insert(auras, aurararm2)
  337. auralleg2 = aura2:Clone()
  338. auralleg2.Parent = lleg
  339. table.insert(auras, auralleg2)
  340. aurarleg2 = aura2:Clone()
  341. aurarleg2.Parent = rleg
  342. table.insert(auras, aurarleg2)
  343.  
  344. local aura3 = Instance.new("ParticleEmitter", root)
  345. aura3.Texture = "rbxassetid://347730682"
  346. aura3.Color = ColorSequence.new(Color3.fromRGB(220, 0, 0))
  347. aura3.Size = NumberSequence.new(5,5)
  348. aura3.Transparency = NumberSequence.new(0.9,0.9)
  349. aura3.LockedToPart = true
  350. aura3.LightEmission = 1
  351. aura3.LightInfluence = 0
  352. aura3.ZOffset = -1.5
  353. aura3.Lifetime = NumberRange.new(0.1)
  354. aura3.Rate = 120
  355. aura3.Speed = NumberRange.new(20)
  356. aura3.SpreadAngle = Vector2.new(0,0)
  357. aura3.Enabled = true
  358. table.insert(auras, aura3)
  359. end
  360.  
  361. function removeAura()
  362. -- aura fade
  363. for i,a in pairs(auras) do
  364. a.Enabled = false
  365. game:GetService("Debris"):AddItem(a, 3)
  366. end
  367. auras = {}
  368. end
  369.  
  370.  
  371.  
  372.  
  373.  
  374. hum.JumpPower = 0
  375. hum.HipHeight = 1
  376. hum.WalkSpeed = 10
  377. hum.MaxHealth = 25000
  378. wait()
  379. hum.Health = 25000
  380. hum:WaitForChild("Animator"):Remove()
  381. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  382. local joint = Instance.new("Weld", wp0)
  383. joint.Part0 = wp0
  384. joint.Part1 = wp1
  385. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  386. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  387. joint.Name = name
  388. return joint
  389. end
  390.  
  391. local RS = createJoint(tors, rarm, 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
  392. local TS = createJoint(root, tors, 0, 0, 0, 0, 0, 0, "RootJoint")
  393. local LS = createJoint(tors, larm, -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
  394. local RH = createJoint(tors, rleg, 0.5, -1, 0, 0, 1, 0, "Right Hip")
  395. local LH = createJoint(tors, lleg, -0.5, -1, 0, 0, 1, 0, "Left Hip")
  396. local NK = createJoint(tors, head, 0, 1, 0, 0, -1/2, 0, "Neck")
  397.  
  398. local rsc0 = RS.C0
  399. local lsc0 = LS.C0
  400. local tsc0 = TS.C0
  401. local rhc0 = RH.C0
  402. local lhc0 = LH.C0
  403. local nkc0 = NK.C0
  404.  
  405. local ears = Instance.new("Part", Player)
  406. ears.Size = Vector3.new(1, 1, 1)
  407. ears.CanCollide = false
  408. ears.BrickColor = BrickColor.new(skinCol)
  409. local earsMesh = Instance.new("SpecialMesh", ears)
  410. earsMesh.MeshId = "rbxassetid://"
  411. earsMesh.Scale = Vector3.new(0.9, 1, 0.9)
  412. createJoint(head, ears, 0, 0.9, 0, 0, 0, 0, "EarWeld")
  413. local tail = Instance.new("Part", Player)
  414. tail.Size = Vector3.new(1, 1, 1)
  415. tail.CanCollide = false
  416. tail.BrickColor = BrickColor.new(skinCol)
  417. local tailMesh = Instance.new("SpecialMesh", tail)
  418. tailMesh.MeshId = "rbxassetid://534615496"
  419. tailMesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  420. tailWeld = createJoint(tors, tail, 0, 0.5, 1.5, 0, 0, 0, "TailWeld")
  421. tailWeld.C0 = tailWeld.C0 * CFrame.Angles(math.rad(-50), 0, math.rad(-90))
  422.  
  423. function createSound(soundid, volume, looped, parent, pitch, lifetime)
  424. local sound = Instance.new("Sound", parent)
  425. sound.SoundId = "rbxassetid://".. soundid ..""
  426. sound.Volume = volume
  427. sound.Pitch = pitch
  428. game:GetService("Debris"):AddItem(sound, lifetime)
  429. return sound
  430. end
  431.  
  432.  
  433.  
  434. function damageLeftarm()
  435. function Damage(model)
  436. for i,s in pairs(model:GetChildren()) do
  437. Damage(s)
  438. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  439. if (larm.Position - s.Position).magnitude < 2.364 and leftArmdamaging and punching then
  440. local hum = s.Parent:FindFirstChild("Humanoid")
  441. if hum then
  442. if damaged[hum.Parent] == nil then
  443. if vel then
  444. vel:Remove()
  445. end
  446.  
  447. vel = Instance.new("BodyVelocity", s)
  448. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  449. game:GetService("Debris"):AddItem(vel, 0.25)
  450.  
  451. damaged[hum.Parent] = true
  452. hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
  453. local punchSound = createSound("1030539343", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  454. punchSound:Play()
  455. end
  456. end
  457. end
  458. end
  459. end
  460. end
  461. Damage(workspace)
  462.  
  463. end
  464.  
  465.  
  466.  
  467. function damageRightarm()
  468. function Damage(model)
  469. for i,s in pairs(model:GetChildren()) do
  470. Damage(s)
  471. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  472. if (rarm.Position - s.Position).magnitude < 2.364 and rightArmdamaging and punching then
  473. local hum = s.Parent:FindFirstChild("Humanoid")
  474. if hum then
  475. if damaged[hum.Parent] == nil then
  476. if vel then
  477. vel:Remove()
  478. end
  479.  
  480.  
  481.  
  482. vel = Instance.new("BodyVelocity", s)
  483. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  484. game:GetService("Debris"):AddItem(vel, 0.25)
  485.  
  486. damaged[hum.Parent] = true
  487. hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
  488. local punchSound = createSound("1030539343", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  489. punchSound:Play()
  490. end
  491. end
  492. end
  493. end
  494. end
  495. end
  496. Damage(workspace)
  497.  
  498. end
  499.  
  500.  
  501.  
  502. Render:connect(function()
  503. t = t + 0.5
  504.  
  505. if flying then
  506. Player.HumanoidRootPart.CFrame = CFrame.new(Player.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x, Player.HumanoidRootPart.Position.y, Mouse.Hit.p.z))
  507. if mouseDownF then
  508. if bv then
  509. bv.Velocity = Mouse.Hit.lookVector * 100
  510. end
  511. else
  512. if bv then
  513. bv.Velocity = Vector3.new(0, 0, 0)
  514. end
  515. end
  516. end
  517. local exactVel = CFrame.new(Player.HumanoidRootPart.CFrame:vectorToObjectSpace(Player.HumanoidRootPart.Velocity))
  518. if idle then
  519. if math.abs(Player.HumanoidRootPart.Velocity.x) < 1 and math.abs(Player.HumanoidRootPart.Velocity.z) < 1 then
  520. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.sin(t/10)/5, 0), 0.05)
  521. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.cos(t/10)/10, 0, 0), 0.05)
  522. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, 0.05 + math.cos(t/10)/10, 0)
  523. * CFrame.Angles(math.rad(-45), 0, math.rad(25) + -math.cos(t/10)/10), 0.05)
  524. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, 0.05 + math.cos(t/10)/10, 0)
  525. * CFrame.Angles(math.rad(-45), 0, math.rad(-25) + math.cos(t/10)/10), 0.05)
  526. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  527. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(5)), 0.05)
  528. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  529. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(-5)), 0.05)
  530. else
  531. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.cos(t/10)/5, 0)
  532. * CFrame.Angles(math.rad(exactVel.p.z), 0, math.rad(-exactVel.p.x)), 0.05)
  533. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2,0, math.rad(exactVel.p.x)/2), 0.05)
  534. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(exactVel.p.z)/2, 0, math.rad(10) + math.cos(t/10)/30 + math.rad(-exactVel.p.x)), 0.05)
  535. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(exactVel.p.z)/2, 0, math.rad(-10) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x)), 0.05)
  536. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(5) + math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  537. * CFrame.new(0, 0.3, -0.2), 0.05)
  538. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-5) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  539. * CFrame.new(0, 0.3, -0.2), 0.05)
  540.  
  541. end
  542. else
  543. if action == "Punch1" then
  544. local speed = 0.8
  545.  
  546. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  547. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  548. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(50), 0), speed)
  549. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  550. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  551. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  552. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  553. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  554. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  555. * CFrame.Angles(math.rad(90), 0, math.rad(-45)), speed)
  556. elseif action == "Punch2" then
  557. local speed = 0.8
  558. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  559. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  560. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-50), 0), speed)
  561. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  562. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  563. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  564. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  565. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(20))
  566. * CFrame.Angles(math.rad(100), 0, math.rad(45)), speed)
  567. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  568. elseif action == "Punch3" then
  569. local speed = 0.8
  570.  
  571. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  572. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  573. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(40), 0), speed)
  574. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  575. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  576. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  577. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  578. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  579. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  580. * CFrame.Angles(math.rad(80), 0, 0), speed)
  581. elseif action == "Punch4" then
  582. local speed = 0.8
  583.  
  584. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  585. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  586. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-40), 0), speed)
  587. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  588. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  589. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  590. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  591. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(-20))
  592. * CFrame.Angles(math.rad(70), 0, 0), speed)
  593. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  594. end
  595.  
  596.  
  597. damageLeftarm()
  598. damageRightarm()
  599. end
  600. end)
  601.  
  602.  
  603. function ascend()
  604. if pwr10 == true then
  605. pwr40 = true
  606. punchDamage = 30
  607. KiDamage = 50
  608. hum.WalkSpeed = 24
  609. pwr10 = false
  610. removeAura()
  611. aura40()
  612. elseif pwr40 == true then
  613. pwr80 = true
  614. punchDamage = 60
  615. KiDamage = 60
  616. hum.WalkSpeed = 38
  617. pwr40 = false
  618. removeAura()
  619. aura80()
  620. elseif pwr80 == true then
  621. pwr100 = true
  622. punchDamage = 90
  623. KiDamage = 70
  624. hum.WalkSpeed = 56
  625. pwr80 = false
  626. removeAura()
  627. aura100()
  628. end
  629. end
  630.  
  631. function descend()
  632. if pwr100 == true then
  633. pwr80 = true
  634. punchDamage = 60
  635. KiDamage = 60
  636. hum.WalkSpeed = 38
  637. pwr100 = false
  638. removeAura()
  639. aura80()
  640. elseif pwr80 == true then
  641. pwr40 = true
  642. punchDamage = 30
  643. KiDamage = 60
  644. hum.WalkSpeed = 24
  645. pwr80 = false
  646. removeAura()
  647. aura40()
  648. elseif pwr40 == true then
  649. pwr10 = true
  650. punchDamage = 20
  651. KiDamage = 30
  652. hum.WalkSpeed = 16
  653. pwr40 = false
  654. removeAura()
  655. end
  656. end
  657.  
  658. function base()
  659. pwr10 = true
  660. pwr40 = false
  661. pwr80 = false
  662. pwr100 = false
  663. punchDamage = 20
  664. hum.WalkSpeed = 16
  665. removeAura()
  666. end
  667.  
  668. function lerpt(item,max,num,speed)
  669. for i = num, max, speed do
  670. item.Transparency = i
  671. wait()
  672. end
  673. item:Destroy()
  674. end
  675.  
  676. function blast(pos)
  677. spawn(function()
  678. local damaged = {}
  679. local x = math.random(-5, 5)
  680. local y = math.random(-5, 5)
  681. local z = math.random(-5, 5)
  682. local ki = Instance.new("Part", Player)
  683. ki.Size = Vector3.new(1.1,1.1,1.1)
  684. ki.Material = "Neon"
  685. ki.CFrame = tors.CFrame * CFrame.new(x, y, -2)
  686. ki.Anchored = false
  687. ki.CanCollide = false
  688. ki.TopSurface = 10
  689. ki.BottomSurface = 10
  690. ki.BrickColor = BrickColor.new("Really red")
  691. ki.LeftSurface = 10
  692. ki.RightSurface = 10
  693. ki.FrontSurface = 10
  694. ki.BackSurface = 10
  695. local kim = Instance.new("SpecialMesh", ki)
  696. kim.MeshType = "Sphere"
  697. local bp = Instance.new("BodyPosition", ki)
  698. bp.Position = pos + Vector3.new(x, y, z)
  699. bp.P = math.random(20000,100000)
  700. bp.D = 1000
  701. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  702. repeat wait() until (ki.Position-bp.Position).magnitude < 3
  703. local ki2 = Instance.new("Part", Player)
  704. function Damage(model)
  705. for i,s in pairs(model:GetChildren()) do
  706. Damage(s)
  707. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  708. if (ki2.Position - s.Position).magnitude < 7 then
  709. local hum = s.Parent:FindFirstChild("Humanoid")
  710. if hum then
  711. if damaged[hum.Parent] == nil then
  712. damaged[hum.Parent] = true
  713. if vel then
  714. vel:Remove()
  715. end
  716. vel = Instance.new("BodyVelocity", s)
  717. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  718. game:GetService("Debris"):AddItem(vel, 0.5)
  719. hum:TakeDamage(KiDamage +(math.random(-10, 10)/10))
  720. end
  721. end
  722. end
  723. end
  724. end
  725. end
  726. ki2.Size = Vector3.new(1,1,1)
  727. ki2.Material = "Neon"
  728. ki2.Anchored = true
  729. ki2.BrickColor = BrickColor.new("Bright red")
  730. ki2.CFrame = CFrame.new(pos + Vector3.new(x, y, z))
  731. ki2.CanCollide = false
  732. ki2.TopSurface = 10
  733. ki2.BottomSurface = 10
  734. ki2.LeftSurface = 10
  735. ki2.RightSurface = 10
  736. ki2.FrontSurface = 10
  737. ki2.BackSurface = 10
  738. local kim2 = Instance.new("SpecialMesh", ki2)
  739. kim2.MeshType = "Sphere"
  740. spawn(function()
  741. for i = 0,15,3 do
  742. wait()
  743. ki2.Size = Vector3.new(i,i,i)
  744. Damage(workspace)
  745. end
  746. spawn(function()
  747. lerpt(ki2,1,0,0.2)
  748. end)
  749. end)
  750. ki:Destroy()
  751.  
  752. end)
  753. end
  754. Mouse.KeyDown:connect(function(k)
  755. if k:lower() == "b" and not ascendcooldown then
  756. spawn(function()
  757. ascendcooldown = true
  758. wait(5)
  759. ascendcooldown = false
  760. end)
  761. ascend()
  762. elseif k:lower() == "n" and not descendcooldown then
  763. spawn(function()
  764. descendcooldown = true
  765. wait(2)
  766. descendcooldown = false
  767. end)
  768. descend()
  769. elseif k == "m" then
  770. base()
  771. elseif k == "q" then
  772. action = "Punching"
  773. idle = false
  774. punching = true
  775. mudodo:Play()
  776.  
  777.  
  778. repeat
  779.  
  780. local de = Mouse.KeyUp:connect(function(key)
  781. if key == "q" then
  782. mudodo:Stop()
  783. end
  784. end)
  785. if punching == false then
  786. mudodo = false
  787. mudodo:Stop()
  788. mudodo:Destroy()
  789. attacking = false
  790. idle = true
  791. end
  792. damaged = {}
  793. action = "Punch1"
  794.  
  795.  
  796. leftArmdamaging = false
  797. rightArmdamaging = true
  798. wait(speed)
  799.  
  800. if punching == false then
  801. attacking = false
  802. idle = true
  803. end
  804. damaged = {}
  805. action = "Punch2"
  806.  
  807. leftArmdamaging = true
  808. rightArmdamaging = false
  809. wait(speed)
  810.  
  811. if keyDown == false then
  812. attacking = false
  813. idle = true
  814. end
  815. damaged = {}
  816. action = "Punch3"
  817.  
  818. leftArmdamaging = false
  819. rightArmdamaging = true
  820. wait(speed)
  821.  
  822. if keyDown == false then
  823. attacking = false
  824. idle = true
  825. end
  826. damaged = {}
  827. action = "Punch4"
  828.  
  829. wait(speed)
  830.  
  831. until punching == false
  832. elseif k:lower() == "f" then
  833. if flying then
  834. flying = false
  835. if bv then
  836. bv:Remove()
  837. end
  838. else
  839. flying = true
  840. bv = Instance.new("BodyVelocity", root)
  841. bv.Velocity = Vector3.new(0, 0, 0)
  842. end
  843.  
  844.  
  845. elseif k:lower() == "e" then
  846. kiBlasting = true
  847. repeat
  848. idle = false
  849. if armKi == "Right" then
  850. action = "Punch3"
  851. else
  852. action = "Punch4"
  853. end
  854. blast(Mouse.Hit.p)
  855. wait(0.05)
  856. if armKi == "Right" then
  857. armKi = "Left"
  858. else
  859. armKi = "Right"
  860. end
  861. until kiBlasting == false
  862. end
  863. end)
  864.  
  865. Mouse.KeyUp:connect(function(k)
  866. if k:lower() == "q" then
  867. action = ""
  868. punching = false
  869. idle = true
  870. leftArmdamaging = false
  871. rightArmdamaging = false
  872. elseif k:lower() == "e" and kiBlasting then
  873. kiBlasting = false
  874. action = ""
  875. idle = true
  876. end
  877. end)
  878. Mouse.Button1Down:connect(function()
  879. if flying then
  880. mouseDownF = true
  881. end
  882. end)
  883. Mouse.Button1Up:connect(function()
  884. if flying then
  885. mouseDownF = false
  886. end
  887. end)
  888.  
  889.  
  890.  
  891. base()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement