Advertisement
JRKPastesBins

Untitled

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