Advertisement
Guest User

Untitled

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