Advertisement
Thefrozen106

Beerus (Edited)

Sep 29th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.18 KB | None | 0 0
  1. --https://www.youtube.com/watch?v=vfc42Pb5RA8 --00:00 - 00:01
  2.  
  3. local plr = game.Players.LocalPlayer
  4. local Player = plr.Character
  5. local Mouse = plr:GetMouse()
  6. local hum = Player.Humanoid
  7. local rarm = Player["Right Arm"]
  8. local larm= Player["Left Arm"]
  9. local rleg= Player["Right Leg"]
  10. local lleg = Player["Left Leg"]
  11. local root = Player.HumanoidRootPart
  12. local tors = Player.Torso
  13. local head = Player.Head
  14. local shirtid = 765769814
  15. local pantsid = 781482072
  16.  
  17. local punching = false
  18. local skinCol = "Lavender"
  19. local damaged = {}
  20. local t = tick()
  21. local faceid = 342828206
  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 = 99999999999999999999999999999999
  39. local KiDamage = 99999999999999999999999999999999
  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 bd = Player:FindFirstChild("Body Colors")
  51. if bd then
  52. bd.HeadColor = BrickColor.new(skinCol)
  53. bd.TorsoColor = BrickColor.new(skinCol)
  54. bd.LeftLegColor = BrickColor.new(skinCol)
  55. bd.RightLegColor = BrickColor.new(skinCol)
  56. bd.LeftArmColor = BrickColor.new(skinCol)
  57. bd.RightArmColor = BrickColor.new(skinCol)
  58. else
  59. bd = Instance.new("BodyColors", Player)
  60. bd.HeadColor = BrickColor.new(skinCol)
  61. bd.TorsoColor = BrickColor.new(skinCol)
  62. bd.LeftLegColor = BrickColor.new(skinCol)
  63. bd.RightLegColor = BrickColor.new(skinCol)
  64. bd.LeftArmColor = BrickColor.new(skinCol)
  65. bd.RightArmColor = BrickColor.new(skinCol)
  66. end
  67.  
  68. shirt = Player:FindFirstChild("Shirt")
  69. if shirt then
  70. shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
  71. else
  72. shirt = Instance.new("Shirt", Player)
  73. shirt.ShirtTemplate = "rbxassetid://".. shirtid ..""
  74. end
  75.  
  76.  
  77. pants = Player:FindFirstChild("Pants")
  78. if pants then
  79. pants.PantsTemplate = "rbxassetid://".. pantsid ..""
  80. else
  81. pants = Instance.new("Pants", Player)
  82. pants. PantsTemplate = "rbxassetid://".. pantsid ..""
  83. end
  84. face = head:FindFirstChild("face")
  85. if face then
  86. face.Texture = "rbxassetid://".. faceid ..""
  87. else
  88. face = Instance.new("Decal", head)
  89. face.Name = "face"
  90. face.Texture = "rbxassetid://".. faceid ..""
  91. end
  92. function aura()
  93. local aura = Instance.new("ParticleEmitter", root)
  94. aura.Texture = "rbxassetid://445231746"
  95. aura.Color = ColorSequence.new(Color3.fromRGB(69, 0, 220))
  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:FindFirstChild("Humanoid")
  434. if hum then
  435. if damaged[hum.Parent] == nil then
  436. if vel then
  437. vel:Remove()
  438. end
  439.  
  440. vel = Instance.new("BodyVelocity", s)
  441. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  442. game:GetService("Debris"):AddItem(vel, 0.25)
  443.  
  444. damaged[hum.Parent] = true
  445. hum:TakeDamage(punchDamage +(math.huge(-10, 10)/10))
  446. local punchSound = createSound("169380525", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  447. punchSound:Play()
  448. end
  449. end
  450. end
  451. end
  452. end
  453. end
  454. Damage(workspace)
  455.  
  456. end
  457.  
  458.  
  459. function damageRightarm()
  460. function Damage(model)
  461. for i,s in pairs(model:GetChildren()) do
  462. Damage(s)
  463. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  464. if (rarm.Position - s.Position).magnitude < 2.364 and rightArmdamaging and punching then
  465. local hum = s.Parent:FindFirstChild("Humanoid")
  466. if hum then
  467. if damaged[hum.Parent] == nil then
  468. if vel then
  469. vel:Remove()
  470. end
  471.  
  472. vel = Instance.new("BodyVelocity", s)
  473. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  474. game:GetService("Debris"):AddItem(vel, 0.25)
  475.  
  476. damaged[hum.Parent] = true
  477. hum:TakeDamage(punchDamage +(math.huge(-10, 10)/10))
  478. local punchSound = createSound("169380525", 1, false, Player.Head, 1 + (math.random(0, 5)/10), 1)
  479. punchSound:Play()
  480. end
  481. end
  482. end
  483. end
  484. end
  485. end
  486. Damage(workspace)
  487.  
  488. end
  489.  
  490.  
  491.  
  492. Render:connect(function()
  493. t = t + 0.5
  494.  
  495. if flying then
  496. Player.HumanoidRootPart.CFrame = CFrame.new(Player.HumanoidRootPart.Position, Vector3.new(Mouse.Hit.p.x, Player.HumanoidRootPart.Position.y, Mouse.Hit.p.z))
  497. if mouseDownF then
  498. if bv then
  499. bv.Velocity = Mouse.Hit.lookVector * 100
  500. end
  501. else
  502. if bv then
  503. bv.Velocity = Vector3.new(0, 0, 0)
  504. end
  505. end
  506. end
  507. local exactVel = CFrame.new(Player.HumanoidRootPart.CFrame:vectorToObjectSpace(Player.HumanoidRootPart.Velocity))
  508. if idle then
  509. if math.abs(Player.HumanoidRootPart.Velocity.x) < 1 and math.abs(Player.HumanoidRootPart.Velocity.z) < 1 then
  510. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.sin(t/10)/5, 0), 0.05)
  511. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.cos(t/10)/10, 0, 0), 0.05)
  512. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, 0.05 + math.cos(t/10)/10, 0)
  513. * CFrame.Angles(math.rad(-45), 0, math.rad(25) + -math.cos(t/10)/10), 0.05)
  514. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, 0.05 + math.cos(t/10)/10, 0)
  515. * CFrame.Angles(math.rad(-45), 0, math.rad(-25) + math.cos(t/10)/10), 0.05)
  516. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  517. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(5)), 0.05)
  518. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, 0.3 + math.cos(t/10)/10, -0.2)
  519. * CFrame.Angles(math.rad(-5) + math.cos(t/10)/10/20, 0, math.rad(-5)), 0.05)
  520. else
  521. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, math.cos(t/10)/5, 0)
  522. * CFrame.Angles(math.rad(exactVel.p.z), 0, math.rad(-exactVel.p.x)), 0.05)
  523. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2,0, math.rad(exactVel.p.x)/2), 0.05)
  524. 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)
  525. 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)
  526. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(5) + math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  527. * CFrame.new(0, 0.3, -0.2), 0.05)
  528. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-5) + -math.cos(t/10)/30 + math.rad(-exactVel.p.x))
  529. * CFrame.new(0, 0.3, -0.2), 0.05)
  530.  
  531. end
  532. else
  533. if action == "Punch1" then
  534. local speed = 0.8
  535.  
  536. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  537. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  538. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(50), 0), speed)
  539. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  540. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  541. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  542. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  543. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  544. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  545. * CFrame.Angles(math.rad(90), 0, math.rad(-45)), speed)
  546. elseif action == "Punch2" then
  547. local speed = 0.8
  548. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  549. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  550. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-50), 0), speed)
  551. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  552. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  553. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  554. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  555. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(20))
  556. * CFrame.Angles(math.rad(100), 0, math.rad(45)), speed)
  557. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  558. elseif action == "Punch3" then
  559. local speed = 0.8
  560.  
  561. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  562. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  563. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(40), 0), speed)
  564. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(-40), 0), speed)
  565. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(30), math.rad(-45), 0), speed)
  566. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, math.rad(-45), 0)
  567. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  568. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  569. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(-45), math.rad(-20))
  570. * CFrame.Angles(math.rad(80), 0, 0), speed)
  571. elseif action == "Punch4" then
  572. local speed = 0.8
  573.  
  574. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, -0.5)
  575. * CFrame.Angles(0, 0, math.rad(-exactVel.p.x))
  576. * CFrame.Angles(math.rad(-10) + math.rad(exactVel.p.z)/2, math.rad(-40), 0), speed)
  577. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(8), math.rad(40), 0), speed)
  578. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, math.rad(45), 0)
  579. * CFrame.Angles(math.rad(-45), 0, 0), speed)
  580. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(30), math.rad(45), 0), speed)
  581. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(-exactVel.p.z)/2 + math.rad(10), math.rad(45), math.rad(-20))
  582. * CFrame.Angles(math.rad(70), 0, 0), speed)
  583. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(100) + math.rad(-exactVel.p.z)/2, math.rad(-45), 0), speed)
  584. end
  585.  
  586.  
  587. damageLeftarm()
  588. damageRightarm()
  589. end
  590. end)
  591.  
  592.  
  593. function ascend()
  594. if pwr10 == true then
  595. pwr40 = true
  596. punchDamage = 30
  597. KiDamage = 50
  598. hum.WalkSpeed = 24
  599. pwr10 = false
  600. removeAura()
  601. aura40()
  602. elseif pwr40 == true then
  603. pwr80 = true
  604. punchDamage = 60
  605. KiDamage = 60
  606. hum.WalkSpeed = 38
  607. pwr40 = false
  608. removeAura()
  609. aura80()
  610. elseif pwr80 == true then
  611. pwr100 = true
  612. punchDamage = 90
  613. KiDamage = 70
  614. hum.WalkSpeed = 56
  615. pwr80 = false
  616. removeAura()
  617. aura100()
  618. end
  619. end
  620.  
  621. function descend()
  622. if pwr100 == true then
  623. pwr80 = true
  624. punchDamage = 60
  625. KiDamage = 60
  626. hum.WalkSpeed = 38
  627. pwr100 = false
  628. removeAura()
  629. aura80()
  630. elseif pwr80 == true then
  631. pwr40 = true
  632. punchDamage = 30
  633. KiDamage = 60
  634. hum.WalkSpeed = 24
  635. pwr80 = false
  636. removeAura()
  637. aura40()
  638. elseif pwr40 == true then
  639. pwr10 = true
  640. punchDamage = 20
  641. KiDamage = 30
  642. hum.WalkSpeed = 16
  643. pwr40 = false
  644. removeAura()
  645. end
  646. end
  647.  
  648. function base()
  649. pwr10 = true
  650. pwr40 = false
  651. pwr80 = false
  652. pwr100 = false
  653. punchDamage = 20
  654. hum.WalkSpeed = 16
  655. removeAura()
  656. end
  657.  
  658. function lerpt(item,max,num,speed)
  659. for i = num, max, speed do
  660. item.Transparency = i
  661. wait()
  662. end
  663. item:Destroy()
  664. end
  665.  
  666. function blast(pos)
  667. spawn(function()
  668. local damaged = {}
  669. local x = math.random(-5, 5)
  670. local y = math.random(-5, 5)
  671. local z = math.random(-5, 5)
  672. local ki = Instance.new("Part", Player)
  673. ki.Size = Vector3.new(1.1,1.1,1.1)
  674. ki.Material = "Neon"
  675. ki.CFrame = tors.CFrame * CFrame.new(x, y, -2)
  676. ki.Anchored = false
  677. ki.CanCollide = false
  678. ki.TopSurface = 10
  679. ki.BottomSurface = 10
  680. ki.BrickColor = BrickColor.new("Lilac")
  681. ki.LeftSurface = 10
  682. ki.RightSurface = 10
  683. ki.FrontSurface = 10
  684. ki.BackSurface = 10
  685. local kim = Instance.new("SpecialMesh", ki)
  686. kim.MeshType = "Sphere"
  687. local bp = Instance.new("BodyPosition", ki)
  688. bp.Position = pos + Vector3.new(x, y, z)
  689. bp.P = math.random(20000,100000)
  690. bp.D = 1000
  691. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  692. repeat wait() until (ki.Position-bp.Position).magnitude < 3
  693. local ki2 = Instance.new("Part", Player)
  694. function Damage(model)
  695. for i,s in pairs(model:GetChildren()) do
  696. Damage(s)
  697. if s.Name == "HumanoidRootPart" and s:IsA("BasePart") and s.Parent ~= Player then
  698. if (ki2.Position - s.Position).magnitude < 7 then
  699. local hum = s.Parent:FindFirstChild("Humanoid")
  700. if hum then
  701. if damaged[hum.Parent] == nil then
  702. damaged[hum.Parent] = true
  703. if vel then
  704. vel:Remove()
  705. end
  706. vel = Instance.new("BodyVelocity", s)
  707. vel.Velocity = CFrame.new(s.CFrame.p, Player.HumanoidRootPart.CFrame.lookVector * 120).lookVector
  708. game:GetService("Debris"):AddItem(vel, 0.5)
  709. hum:TakeDamage(KiDamage +(math.huge(-10, 10)/10))
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716. ki2.Size = Vector3.new(1,1,1)
  717. ki2.Material = "Neon"
  718. ki2.Anchored = true
  719. ki2.BrickColor = BrickColor.new("Lilac")
  720. ki2.CFrame = CFrame.new(pos + Vector3.new(x, y, z))
  721. ki2.CanCollide = false
  722. ki2.TopSurface = 10
  723. ki2.BottomSurface = 10
  724. ki2.LeftSurface = 10
  725. ki2.RightSurface = 10
  726. ki2.FrontSurface = 10
  727. ki2.BackSurface = 10
  728. local kim2 = Instance.new("SpecialMesh", ki2)
  729. kim2.MeshType = "Sphere"
  730. spawn(function()
  731. for i = 0,15,3 do
  732. wait()
  733. ki2.Size = Vector3.new(i,i,i)
  734. Damage(workspace)
  735. end
  736. spawn(function()
  737. lerpt(ki2,1,0,0.2)
  738. end)
  739. end)
  740. ki:Destroy()
  741. end)
  742. end
  743. Mouse.KeyDown:connect(function(k)
  744. if k:lower() == "b" and not ascendcooldown then
  745. spawn(function()
  746. ascendcooldown = true
  747. wait(5)
  748. ascendcooldown = false
  749. end)
  750. ascend()
  751. elseif k:lower() == "n" and not descendcooldown then
  752. spawn(function()
  753. descendcooldown = true
  754. wait(2)
  755. descendcooldown = false
  756. end)
  757. descend()
  758. elseif k == "m" then
  759. base()
  760. elseif k == "q" then
  761. action = "Punching"
  762. idle = false
  763. punching = true
  764. repeat
  765.  
  766. if punching == false then
  767. attacking = false
  768. idle = true
  769. end
  770. damaged = {}
  771. action = "Punch1"
  772.  
  773. leftArmdamaging = false
  774. rightArmdamaging = true
  775. wait(speed)
  776.  
  777. if punching == false then
  778. attacking = false
  779. idle = true
  780. end
  781. damaged = {}
  782. action = "Punch2"
  783.  
  784. leftArmdamaging = true
  785. rightArmdamaging = false
  786. wait(speed)
  787.  
  788. if keyDown == false then
  789. attacking = false
  790. idle = true
  791. end
  792. damaged = {}
  793. action = "Punch3"
  794.  
  795. leftArmdamaging = false
  796. rightArmdamaging = true
  797. wait(speed)
  798.  
  799. if keyDown == false then
  800. attacking = false
  801. idle = true
  802. end
  803. damaged = {}
  804. action = "Punch4"
  805.  
  806. wait(speed)
  807.  
  808. until punching == false
  809. elseif k:lower() == "f" then
  810. if flying then
  811. flying = false
  812. if bv then
  813. bv:Remove()
  814. end
  815. else
  816. flying = true
  817. bv = Instance.new("BodyVelocity", root)
  818. bv.Velocity = Vector3.new(0, 0, 0)
  819. end
  820.  
  821. elseif k:lower() == "e" then
  822. kiBlasting = true
  823. repeat
  824. idle = false
  825. if armKi == "Right" then
  826. action = "Punch3"
  827. else
  828. action = "Punch4"
  829. end
  830. blast(Mouse.Hit.p)
  831. wait(0.05)
  832. if armKi == "Right" then
  833. armKi = "Left"
  834. else
  835. armKi = "Right"
  836. end
  837. until kiBlasting == false
  838. end
  839. end)
  840.  
  841. Mouse.KeyUp:connect(function(k)
  842. if k:lower() == "q" then
  843. action = ""
  844. punching = false
  845. idle = true
  846. leftArmdamaging = false
  847. rightArmdamaging = false
  848. elseif k:lower() == "e" and kiBlasting then
  849. kiBlasting = false
  850. action = ""
  851. idle = true
  852. end
  853. end)
  854.  
  855. Mouse.Button1Down:connect(function()
  856. if flying then
  857. mouseDownF = true
  858. end
  859. end)
  860. Mouse.Button1Up:connect(function()
  861. if flying then
  862. mouseDownF = false
  863. end
  864. end)
  865.  
  866. base()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement