Advertisement
Its_YeBoi

Untitled

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