Advertisement
JRKPastesBins

Untitled

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