Advertisement
JRKPastesBins

Untitled

Sep 29th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.37 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. local mudodo = Instance.new("Sound")
  50. mudodo.Volume = 10
  51. mudodo.SoundId = "rbxassetid://616593932"
  52. mudodo.Looped = true
  53. mudodo.Parent = hrp
  54.  
  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. hum.JumpPower = 0
  374. hum.HipHeight = 1
  375. hum.WalkSpeed = 10
  376. hum.MaxHealth = 25000
  377. wait()
  378. hum.Health = 25000
  379. hum:WaitForChild("Animator"):Remove()
  380. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  381. local joint = Instance.new("Weld", wp0)
  382. joint.Part0 = wp0
  383. joint.Part1 = wp1
  384. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  385. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  386. joint.Name = name
  387. return joint
  388. end
  389.  
  390. local RS = createJoint(tors, rarm, 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
  391. local TS = createJoint(root, tors, 0, 0, 0, 0, 0, 0, "RootJoint")
  392. local LS = createJoint(tors, larm, -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
  393. local RH = createJoint(tors, rleg, 0.5, -1, 0, 0, 1, 0, "Right Hip")
  394. local LH = createJoint(tors, lleg, -0.5, -1, 0, 0, 1, 0, "Left Hip")
  395. local NK = createJoint(tors, head, 0, 1, 0, 0, -1/2, 0, "Neck")
  396.  
  397. local rsc0 = RS.C0
  398. local lsc0 = LS.C0
  399. local tsc0 = TS.C0
  400. local rhc0 = RH.C0
  401. local lhc0 = LH.C0
  402. local nkc0 = NK.C0
  403.  
  404. local ears = Instance.new("Part", Player)
  405. ears.Size = Vector3.new(1, 1, 1)
  406. ears.CanCollide = false
  407. ears.BrickColor = BrickColor.new(skinCol)
  408. local earsMesh = Instance.new("SpecialMesh", ears)
  409. earsMesh.MeshId = "rbxassetid://"
  410. earsMesh.Scale = Vector3.new(0.9, 1, 0.9)
  411. createJoint(head, ears, 0, 0.9, 0, 0, 0, 0, "EarWeld")
  412. local tail = Instance.new("Part", Player)
  413. tail.Size = Vector3.new(1, 1, 1)
  414. tail.CanCollide = false
  415. tail.BrickColor = BrickColor.new(skinCol)
  416. local tailMesh = Instance.new("SpecialMesh", tail)
  417. tailMesh.MeshId = "rbxassetid://534615496"
  418. tailMesh.Scale = Vector3.new(0.7, 0.7, 0.7)
  419. tailWeld = createJoint(tors, tail, 0, 0.5, 1.5, 0, 0, 0, "TailWeld")
  420. tailWeld.C0 = tailWeld.C0 * CFrame.Angles(math.rad(-50), 0, math.rad(-90))
  421.  
  422. function createSound(soundid, volume, looped, parent, pitch, lifetime)
  423. local sound = Instance.new("Sound", parent)
  424. sound.SoundId = "rbxassetid://".. soundid ..""
  425. sound.Volume = volume
  426. sound.Pitch = pitch
  427. game:GetService("Debris"):AddItem(sound, lifetime)
  428. return sound
  429. end
  430.  
  431.  
  432.  
  433. function damageLeftarm()
  434. function Damage(model)
  435. for i,s in pairs(model:GetChildren()) do
  436. Damage(s)
  437. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  438. if (larm.Position - s.Position).magnitude < 2.364 and leftArmdamaging and punching then
  439. local hum = s.Parent:FindFirstChild("Humanoid")
  440. if hum then
  441. if damaged[hum.Parent] == nil then
  442. if vel then
  443. vel:Remove()
  444. end
  445.  
  446. vel = Instance.new("BodyVelocity", s)
  447. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  448. game:GetService("Debris"):AddItem(vel, 0.25)
  449.  
  450. damaged[hum.Parent] = true
  451. hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
  452. local punchSound = createSound("1030539343", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  453. punchSound:Play()
  454. end
  455. end
  456. end
  457. end
  458. end
  459. end
  460. Damage(workspace)
  461.  
  462. end
  463.  
  464.  
  465. function damageRightarm()
  466. function Damage(model)
  467. for i,s in pairs(model:GetChildren()) do
  468. Damage(s)
  469. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  470. if (rarm.Position - s.Position).magnitude < 2.364 and rightArmdamaging and punching then
  471. local hum = s.Parent:FindFirstChild("Humanoid")
  472. if hum then
  473. if damaged[hum.Parent] == nil then
  474. if vel then
  475. vel:Remove()
  476. end
  477.  
  478. vel = Instance.new("BodyVelocity", s)
  479. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  480. game:GetService("Debris"):AddItem(vel, 0.25)
  481.  
  482. damaged[hum.Parent] = true
  483. hum:TakeDamage(punchDamage +(math.random(-10, 10)/10))
  484. local punchSound = createSound("1030539343", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  485. punchSound:Play()
  486. end
  487. end
  488. end
  489. end
  490. end
  491. end
  492. Damage(workspace)
  493.  
  494. end
  495.  
  496.  
  497.  
  498. Render:connect(function()
  499. t = t + 0.5
  500.  
  501. if flying then
  502. Player.HumanoidRootPart.CFrame = CFrame.new(Player.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x, Player.HumanoidRootPart.Position.y, Mouse.Hit.p.z))
  503. if mouseDownF then
  504. if bv then
  505. bv.Velocity = Mouse.Hit.lookVector * 100
  506. end
  507. else
  508. if bv then
  509. bv.Velocity = Vector3.new(0, 0, 0)
  510. end
  511. end
  512. end
  513. local exactVel = CFrame.new(Player.HumanoidRootPart.CFrame:vectorToObjectSpace(Player.HumanoidRootPart.Velocity))
  514. if idle then
  515. if math.abs(Player.HumanoidRootPart.Velocity.x) < 1 and math.abs(Player.HumanoidRootPart.Velocity.z) < 1 then
  516. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.sin(t/10)/5, 0), 0.05)
  517. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.cos(t/10)/10, 0, 0), 0.05)
  518. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, 0.05 + math.cos(t/10)/10, 0)
  519. * CFrame.Angles(math.rad(-45), 0, math.rad(25) + -math.cos(t/10)/10), 0.05)
  520. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, 0.05 + math.cos(t/10)/10, 0)
  521. * CFrame.Angles(math.rad(-45), 0, math.rad(-25) + math.cos(t/10)/10), 0.05)
  522. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  523. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(5)), 0.05)
  524. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  525. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(-5)), 0.05)
  526. else
  527. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.cos(t/10)/5, 0)
  528. * CFrame.Angles(math.rad(exactVel.p.z), 0, math.rad(-exactVel.p.x)), 0.05)
  529. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2,0, math.rad(exactVel.p.x)/2), 0.05)
  530. 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)
  531. 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)
  532. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(5) + math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  533. * CFrame.new(0, 0.3, -0.2), 0.05)
  534. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-5) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  535. * CFrame.new(0, 0.3, -0.2), 0.05)
  536.  
  537. end
  538. else
  539. if action == "Punch1" then
  540. local speed = 0.8
  541.  
  542. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  543. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  544. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(50), 0), speed)
  545. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  546. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  547. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  548. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  549. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  550. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  551. * CFrame.Angles(math.rad(90), 0, math.rad(-45)), speed)
  552. elseif action == "Punch2" then
  553. local speed = 0.8
  554. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  555. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  556. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-50), 0), speed)
  557. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  558. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  559. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  560. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  561. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(20))
  562. * CFrame.Angles(math.rad(100), 0, math.rad(45)), speed)
  563. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  564. elseif action == "Punch3" then
  565. local speed = 0.8
  566.  
  567. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  568. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  569. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(40), 0), speed)
  570. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  571. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  572. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  573. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  574. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  575. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  576. * CFrame.Angles(math.rad(80), 0, 0), speed)
  577. elseif action == "Punch4" then
  578. local speed = 0.8
  579.  
  580. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  581. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  582. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-40), 0), speed)
  583. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  584. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  585. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  586. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  587. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(-20))
  588. * CFrame.Angles(math.rad(70), 0, 0), speed)
  589. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  590. end
  591.  
  592.  
  593. damageLeftarm()
  594. damageRightarm()
  595. end
  596. end)
  597.  
  598.  
  599. function ascend()
  600. if pwr10 == true then
  601. pwr40 = true
  602. punchDamage = 30
  603. KiDamage = 50
  604. hum.WalkSpeed = 24
  605. pwr10 = false
  606. removeAura()
  607. aura40()
  608. elseif pwr40 == true then
  609. pwr80 = true
  610. punchDamage = 60
  611. KiDamage = 60
  612. hum.WalkSpeed = 38
  613. pwr40 = false
  614. removeAura()
  615. aura80()
  616. elseif pwr80 == true then
  617. pwr100 = true
  618. punchDamage = 90
  619. KiDamage = 70
  620. hum.WalkSpeed = 56
  621. pwr80 = false
  622. removeAura()
  623. aura100()
  624. end
  625. end
  626.  
  627. function descend()
  628. if pwr100 == true then
  629. pwr80 = true
  630. punchDamage = 60
  631. KiDamage = 60
  632. hum.WalkSpeed = 38
  633. pwr100 = false
  634. removeAura()
  635. aura80()
  636. elseif pwr80 == true then
  637. pwr40 = true
  638. punchDamage = 30
  639. KiDamage = 60
  640. hum.WalkSpeed = 24
  641. pwr80 = false
  642. removeAura()
  643. aura40()
  644. elseif pwr40 == true then
  645. pwr10 = true
  646. punchDamage = 20
  647. KiDamage = 30
  648. hum.WalkSpeed = 16
  649. pwr40 = false
  650. removeAura()
  651. end
  652. end
  653.  
  654. function base()
  655. pwr10 = true
  656. pwr40 = false
  657. pwr80 = false
  658. pwr100 = false
  659. punchDamage = 20
  660. hum.WalkSpeed = 16
  661. removeAura()
  662. end
  663.  
  664. function lerpt(item,max,num,speed)
  665. for i = num, max, speed do
  666. item.Transparency = i
  667. wait()
  668. end
  669. item:Destroy()
  670. end
  671.  
  672. function blast(pos)
  673. spawn(function()
  674. local damaged = {}
  675. local x = math.random(-5, 5)
  676. local y = math.random(-5, 5)
  677. local z = math.random(-5, 5)
  678. local ki = Instance.new("Part", Player)
  679. ki.Size = Vector3.new(1.1,1.1,1.1)
  680. ki.Material = "Neon"
  681. ki.CFrame = tors.CFrame * CFrame.new(x, y, -2)
  682. ki.Anchored = false
  683. ki.CanCollide = false
  684. ki.TopSurface = 10
  685. ki.BottomSurface = 10
  686. ki.BrickColor = BrickColor.new("Really red")
  687. ki.LeftSurface = 10
  688. ki.RightSurface = 10
  689. ki.FrontSurface = 10
  690. ki.BackSurface = 10
  691. local kim = Instance.new("SpecialMesh", ki)
  692. kim.MeshType = "Sphere"
  693. local bp = Instance.new("BodyPosition", ki)
  694. bp.Position = pos + Vector3.new(x, y, z)
  695. bp.P = math.random(20000,100000)
  696. bp.D = 1000
  697. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  698. repeat wait() until (ki.Position-bp.Position).magnitude < 3
  699. local ki2 = Instance.new("Part", Player)
  700. function Damage(model)
  701. for i,s in pairs(model:GetChildren()) do
  702. Damage(s)
  703. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  704. if (ki2.Position - s.Position).magnitude < 7 then
  705. local hum = s.Parent:FindFirstChild("Humanoid")
  706. if hum then
  707. if damaged[hum.Parent] == nil then
  708. damaged[hum.Parent] = true
  709. if vel then
  710. vel:Remove()
  711. end
  712. vel = Instance.new("BodyVelocity", s)
  713. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  714. game:GetService("Debris"):AddItem(vel, 0.5)
  715. hum:TakeDamage(KiDamage +(math.random(-10, 10)/10))
  716. end
  717. end
  718. end
  719. end
  720. end
  721. end
  722. ki2.Size = Vector3.new(1,1,1)
  723. ki2.Material = "Neon"
  724. ki2.Anchored = true
  725. ki2.BrickColor = BrickColor.new("Bright red")
  726. ki2.CFrame = CFrame.new(pos + Vector3.new(x, y, z))
  727. ki2.CanCollide = false
  728. ki2.TopSurface = 10
  729. ki2.BottomSurface = 10
  730. ki2.LeftSurface = 10
  731. ki2.RightSurface = 10
  732. ki2.FrontSurface = 10
  733. ki2.BackSurface = 10
  734. local kim2 = Instance.new("SpecialMesh", ki2)
  735. kim2.MeshType = "Sphere"
  736. spawn(function()
  737. for i = 0,15,3 do
  738. wait()
  739. ki2.Size = Vector3.new(i,i,i)
  740. Damage(workspace)
  741. end
  742. spawn(function()
  743. lerpt(ki2,1,0,0.2)
  744. end)
  745. end)
  746. ki:Destroy()
  747. end)
  748. end
  749. Mouse.KeyDown:connect(function(k)
  750. if k:lower() == "b" and not ascendcooldown then
  751. spawn(function()
  752. ascendcooldown = true
  753. wait(5)
  754. ascendcooldown = false
  755. end)
  756. ascend()
  757. elseif k:lower() == "n" and not descendcooldown then
  758. spawn(function()
  759. descendcooldown = true
  760. wait(2)
  761. descendcooldown = false
  762. end)
  763. descend()
  764. elseif k == "m" then
  765. base()
  766.  
  767. elseif k == "q" then
  768. action = "Punching"
  769. idle = false
  770. punching = true
  771. mudodo:Play()
  772. punching:Disconnect()
  773. mudodo:Stop()
  774.  
  775.  
  776. repeat
  777.  
  778.  
  779. if punching == false then
  780. attacking = false
  781. idle = true
  782. end
  783. damaged = {}
  784. action = "Punch1"
  785.  
  786. leftArmdamaging = false
  787. rightArmdamaging = true
  788. wait(speed)
  789.  
  790. if punching == false then
  791. attacking = false
  792. idle = true
  793. end
  794. damaged = {}
  795. action = "Punch2"
  796.  
  797. leftArmdamaging = true
  798. rightArmdamaging = false
  799. wait(speed)
  800.  
  801. if keyDown == false then
  802. attacking = false
  803. idle = true
  804. end
  805. damaged = {}
  806. action = "Punch3"
  807.  
  808. leftArmdamaging = false
  809. rightArmdamaging = true
  810. wait(speed)
  811.  
  812. if keyDown == false then
  813. attacking = false
  814. idle = true
  815. end
  816. damaged = {}
  817. action = "Punch4"
  818.  
  819. wait(speed)
  820.  
  821. until punching == false
  822. elseif k:lower() == "f" then
  823. if flying then
  824. flying = false
  825. if bv then
  826. bv:Remove()
  827. end
  828. else
  829. flying = true
  830. bv = Instance.new("BodyVelocity", root)
  831. bv.Velocity = Vector3.new(0, 0, 0)
  832. end
  833.  
  834.  
  835.  
  836. elseif k:lower() == "e" then
  837. kiBlasting = true
  838. repeat
  839. idle = false
  840. if armKi == "Right" then
  841. action = "Punch3"
  842. else
  843. action = "Punch4"
  844. end
  845. blast(Mouse.Hit.p)
  846. wait(0.05)
  847. if armKi == "Right" then
  848. armKi = "Left"
  849. else
  850. armKi = "Right"
  851. end
  852. until kiBlasting == false
  853. end
  854. end)
  855.  
  856. Mouse.KeyUp:connect(function(k)
  857. if k:lower() == "q" then
  858. action = ""
  859. punching = false
  860. idle = true
  861. leftArmdamaging = false
  862. rightArmdamaging = false
  863. elseif k:lower() == "e" and kiBlasting then
  864. kiBlasting = false
  865. action = ""
  866. idle = true
  867. end
  868. end)
  869.  
  870. Mouse.Button1Down:connect(function()
  871. if flying then
  872. mouseDownF = true
  873. end
  874. end)
  875. Mouse.Button1Up:connect(function()
  876. if flying then
  877. mouseDownF = false
  878. end
  879. end)
  880.  
  881. base()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement