Advertisement
skylershults

Beerus edit

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