Advertisement
JRKPastesBins

Untitled

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