Advertisement
JRKPastesBins

Untitled

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