Advertisement
9Simplicity9

Untitled

Jun 2nd, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild('Head') and game.Players.LocalPlayer:GetMouse()
  2. local plr = game.Players.LocalPlayer
  3. local char = plr.Character
  4. local head = char.Head
  5. local mouse = plr:GetMouse()
  6. local Hum = char.Humanoid
  7. local p = game.Players.LocalPlayer
  8.  
  9. local HealthBarParts = Instance.new("Folder", char)
  10. HealthBarParts.Name = "BlockdomHealthBar"
  11.  
  12. local Effects = Instance.new("Folder", char)
  13. Effects.Name = "BlockdomEffects"
  14.  
  15. local BodyParts = Instance.new("Folder", char)
  16. BodyParts.Name = "BlockdomBodyParts"
  17.  
  18.  
  19. local BlockSpeed = 0.2 -- Lower = Slower, Higher = Faster [0.0001 - 1]
  20.  
  21.  
  22. local EM = Enum.Material
  23. local CF = CFrame
  24. local V3 = Vector3
  25. local Ins = Instance
  26. local Col = Color3
  27. local UD = UDim
  28. local UD2 = UDim2
  29. local mr = math.rad
  30. local mra = math.random
  31. local mh = math.huge
  32.  
  33.  
  34. -------------------------------------
  35. local Head = char.Head
  36. local RArm = char["Right Arm"]
  37. local LArm = char["Left Arm"]
  38. local Torso = char.Torso
  39. local LLeg = char["Left Leg"]
  40. local RLeg = char["Right Leg"]
  41. -------------------------------------
  42.  
  43.  
  44. local clerp = function(a, b, t)
  45. return a:lerp(b, t)
  46. end
  47. human = char.Humanoid
  48. hrp = char.HumanoidRootPart
  49. anim = human.Animator
  50. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  51. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  52. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  53. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  54. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  55. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  56. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  57. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  58. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  59. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  60. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  61. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  62. RS = Torso:FindFirstChild("Right Shoulder")
  63. LS = Torso:FindFirstChild("Left Shoulder")
  64. RH = Torso:FindFirstChild("Right Hip")
  65. LH = Torso:FindFirstChild("Left Hip")
  66. RJ = hrp:FindFirstChild("RootJoint")
  67. NK = Torso:FindFirstChild("Neck")
  68. local RunS = game:GetService("RunService")
  69. local Mouse = p:GetMouse()
  70. local animen = true
  71. local Player = game.Players.localPlayer
  72. local Character = Player.Character
  73. local Humanoid = Character.Humanoid
  74. local Mouse = Player:GetMouse()
  75. local LeftArm = Character["Left Arm"]
  76. local RightArm = Character["Right Arm"]
  77. local LeftLeg = Character["Left Leg"]
  78. local RightLeg = Character["Right Leg"]
  79. local Head = Character.Head
  80. local Torso = Character.Torso
  81. local Camera = game.Workspace.CurrentCamera
  82. local RootPart = Character.HumanoidRootPart
  83. local RootJoint = RootPart.RootJoint
  84. local Pause = false
  85. local attack = false
  86. local LOL = false
  87. local Anim = 'Idle'
  88. local attacktype = 1
  89. local delays = false
  90. local play = true
  91. local targetted = nil
  92. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  93. local velocity = RootPart.Velocity.y
  94. local sine = 0
  95. local change = 1
  96. local doe = 0
  97. local Create = LoadLibrary("RbxUtility").Create
  98.  
  99.  
  100.  
  101.  
  102.  
  103. local HealthBase = Instance.new("Part", HealthBarParts)
  104. HealthBase.Material = "Neon"
  105. HealthBase.Color = Color3.fromRGB(0, 0, 0)
  106. HealthBase.Size = Vector3.new(10, 2, 2)
  107. HealthBase.CanCollide = false
  108. HealthBase.Anchored = true
  109. HealthBase.Name = "HealthMain"
  110.  
  111.  
  112. local Health = Instance.new("Part", HealthBarParts)
  113. Health.Material = "Neon"
  114. Health.Color = Color3.fromRGB(3, 236, 0)
  115. Health.Size = Vector3.new(10.1, 2.1, 2.1)
  116. Health.CanCollide = false
  117. Health.Anchored = true
  118. Health.Name = "Health"
  119.  
  120.  
  121. local RS = game:GetService("RunService")
  122.  
  123.  
  124. for _, i in pairs(char:GetChildren()) do
  125. if i:IsA("Part") then
  126. i.Transparency = 1
  127. end
  128. if i.Name == "Health" then
  129. i:Destroy()
  130. end
  131. if i:IsA("Accessory") then
  132. i:Destroy()
  133. end
  134. end
  135. char.Head.face:Destroy()
  136. Hum.HipHeight = 0.4
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143. local RoarS = Instance.new("Sound", char.Head)
  144. RoarS.SoundId = "rbxassetid://889016272"
  145. RoarS.Volume = 1
  146.  
  147. local Punch = Instance.new("Sound", char.Head)
  148. Punch.SoundId = "rbxassetid://386946017"
  149. Punch.Volume = 1
  150.  
  151. local Theme = Instance.new("Sound", char.Head)
  152. Theme.SoundId = "rbxassetid://145556530"
  153. Theme.Volume = 1
  154. Theme.Looped = true
  155. Theme.MaxDistance = 90
  156. Theme:Play()
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163. local TouchSensor = Instance.new("Part", char)
  164. TouchSensor.Size = Vector3.new(0.5,0.5,0.5)
  165. TouchSensor.Material = "Neon"
  166. TouchSensor.Transparency = 1
  167. TouchSensor.CanCollide = false
  168.  
  169. local TouchSensorWeld = Instance.new("Weld", TouchSensor)
  170. TouchSensorWeld.Part0 = char.HumanoidRootPart
  171. TouchSensorWeld.Part1 = TouchSensor
  172. TouchSensorWeld.C0 = CFrame.new(0,-4,0)
  173.  
  174. local LastMaterial = "Grass"
  175. local LastColor = Color3.fromRGB(0,0,0)
  176. local LastTrans = 0
  177.  
  178. TouchSensor.Touched:Connect(function(hit)
  179. if hit.Parent:FindFirstChildOfClass("Humanoid") == nil and hit:IsA("Part") and hit.Parent ~= Effects and hit.Parent ~= BodyParts and hit.Parent ~= HealthBarParts then
  180. LastMaterial = hit.Material
  181. LastColor = hit.Color
  182. LastTrans = hit.Transparency
  183. end
  184. end)
  185.  
  186. local BlockHead = Instance.new("Part", BodyParts)
  187. BlockHead.Size = Vector3.new(2,2,2)
  188. BlockHead.Material = "Grass"
  189.  
  190. local HeadWeld = Instance.new("Weld", BlockHead)
  191. HeadWeld.Part0 = char.Head
  192. HeadWeld.Part1 = BlockHead
  193.  
  194. local BlockTorso = Instance.new("Part", BodyParts)
  195. BlockTorso.Size = Vector3.new(3,3,3)
  196. BlockTorso.Material = "Grass"
  197.  
  198. local TorsoWeld = Instance.new("Weld", BlockTorso)
  199. TorsoWeld.Part0 = char.Torso
  200. TorsoWeld.Part1 = BlockTorso
  201. TorsoWeld.C0 = CFrame.new(0, -1, 0)
  202.  
  203. local BlockLeftArm = Instance.new("Part", BodyParts)
  204. BlockLeftArm.Size = Vector3.new(1,1,1)
  205. BlockLeftArm.Material = "Grass"
  206.  
  207. local LAWeld = Instance.new("Weld", BlockLeftArm)
  208. LAWeld.Part0 = char["Left Arm"]
  209. LAWeld.Part1 = BlockLeftArm
  210. LAWeld.C0 = CFrame.new(0, -1, 0)
  211.  
  212. local BlockRightArm = Instance.new("Part", BodyParts)
  213. BlockRightArm.Size = Vector3.new(1,1,1)
  214. BlockRightArm.Material = "Grass"
  215.  
  216. local RAWeld = Instance.new("Weld", BlockRightArm)
  217. RAWeld.Part0 = char["Right Arm"]
  218. RAWeld.Part1 = BlockRightArm
  219. RAWeld.C0 = CFrame.new(0, -1, 0)
  220.  
  221.  
  222. local BlockLeftLeg = Instance.new("Part", BodyParts)
  223. BlockLeftLeg.Size = Vector3.new(1,1,1)
  224. BlockLeftLeg.Material = "Grass"
  225.  
  226. local LLWeld = Instance.new("Weld", BlockLeftLeg)
  227. LLWeld.Part0 = char["Left Leg"]
  228. LLWeld.Part1 = BlockLeftLeg
  229. LLWeld.C0 = CFrame.new(0, -1, 0)
  230.  
  231. local BlockRightLeg = Instance.new("Part", BodyParts)
  232. BlockRightLeg.Size = Vector3.new(1,1,1)
  233. BlockRightLeg.Material = "Grass"
  234.  
  235. local RLWeld = Instance.new("Weld", BlockRightLeg)
  236. RLWeld.Part0 = char["Right Leg"]
  237. RLWeld.Part1 = BlockRightLeg
  238. RLWeld.C0 = CFrame.new(0, -1, 0)
  239.  
  240.  
  241. local LEye = Instance.new("Part", BlockHead)
  242. LEye.Color = Color3.new(1,1,1)
  243. LEye.Material = "Neon"
  244. LEye.Size = Vector3.new(0.2,0.2,0.2)
  245. local LEyeMesh = Instance.new("SpecialMesh", LEye)
  246. LEyeMesh.MeshType = "Brick"
  247. LEyeMesh.Scale = Vector3.new(1,1,1)
  248. local LEyeWeld = Instance.new("Weld", LEye)
  249. LEyeWeld.Part0 = BlockHead
  250. LEyeWeld.Part1 = LEye
  251. LEyeWeld.C0 = CFrame.new(-0.5,0,-1)
  252.  
  253. local REye = Instance.new("Part", BlockHead)
  254. REye.Color = Color3.new(1,1,1)
  255. REye.Material = "Neon"
  256. REye.Size = Vector3.new(0.2,0.2,0.2)
  257. local REyeMesh = Instance.new("SpecialMesh", REye)
  258. REyeMesh.MeshType = "Brick"
  259. REyeMesh.Scale = Vector3.new(1,1,1)
  260. local REyeWeld = Instance.new("Weld", REye)
  261. REyeWeld.Part0 = BlockHead
  262. REyeWeld.Part1 = REye
  263. REyeWeld.C0 = CFrame.new(0.5,0,-1)
  264.  
  265.  
  266. -- EYE MANAGER
  267.  
  268. coroutine.resume(coroutine.create(function()
  269. while wait() do
  270. for i = 1, 50 do
  271. RS.RenderStepped:wait()
  272. LEyeMesh.Scale = LEyeMesh.Scale:lerp(Vector3.new(1,0,1), 0.1)
  273. REyeMesh.Scale = REyeMesh.Scale:lerp(Vector3.new(1,0,1), 0.1)
  274. end
  275. for i = 1, 50 do
  276. RS.RenderStepped:wait()
  277. LEyeMesh.Scale = LEyeMesh.Scale:lerp(Vector3.new(1,1,1), 0.1)
  278. REyeMesh.Scale = REyeMesh.Scale:lerp(Vector3.new(1,1,1), 0.1)
  279. end
  280. wait(2)
  281. end
  282. end))
  283.  
  284. local BarrageS = false
  285.  
  286. coroutine.resume(coroutine.create(function()
  287. while wait() do
  288. for _, o in pairs(BodyParts:GetChildren()) do
  289. if o == RArm or o == LArm then
  290. if BarrageS == false then
  291. o.Material = LastMaterial
  292. o.Color = o.Color:lerp(LastColor, 0.1)
  293. o.Transparency = LastTrans
  294. end
  295. else
  296.  
  297. o.Material = LastMaterial
  298. o.Color = o.Color:lerp(LastColor, 0.1)
  299. o.Transparency = LastTrans
  300. end
  301. end
  302. end
  303. end))
  304.  
  305. coroutine.resume(coroutine.create(function()
  306. while wait() do
  307. HealthBase.CFrame = HealthBase.CFrame:lerp(char.HumanoidRootPart.CFrame * CFrame.new(0, 9, 0), BlockSpeed)
  308. Health.CFrame = Health.CFrame:lerp(HealthBase.CFrame, BlockSpeed*5)
  309. Health.Size = Health.Size:lerp(Vector3.new(Hum.Health/Hum.MaxHealth*10.1, 2.1, 2.1), 0.1)
  310. end
  311. end))
  312.  
  313.  
  314. -- REGEN
  315. coroutine.resume(coroutine.create(function()
  316. while Hum.Health < Hum.MaxHealth do
  317. Hum.Health = Hum.Health + 1
  318. local r1 = math.random(-5, 5)
  319. local r2 = math.random(-5, 5)
  320. local r3 = math.random(-5, 5)
  321. local c = math.random(1, 5)
  322. local Parto = Instance.new("Part", Effects)
  323. Parto.Material = "Neon"
  324. Parto.Size = Vector3.new(0.2, 0.2, 0.2)
  325. Parto.Shape = "Ball"
  326. Parto.Anchored = true
  327. Parto.CanCollide = false
  328.  
  329. if c == 1 then
  330. Parto.Color = Color3.fromRGB(94, 255, 229)
  331. elseif c == 2 then
  332. Parto.Color = Color3.fromRGB(48, 255, 62)
  333. elseif c == 3 then
  334. Parto.Color = Color3.fromRGB(81, 255, 0)
  335. elseif c == 4 then
  336. Parto.Color = Color3.fromRGB(44, 252, 255)
  337. elseif c == 5 then
  338. Parto.Color = Color3.fromRGB(58, 180, 255)
  339. end
  340.  
  341. Parto.CFrame = Torso.CFrame * CFrame.new(r1, r2, r3)
  342. coroutine.resume(coroutine.create(function()
  343. for i = 1, 50 do
  344. wait()
  345. Parto.CFrame = Parto.CFrame:lerp(Torso.CFrame, 0.1)
  346. Parto.Transparency = Parto.Transparency + 0.05
  347. if Parto.Transparency >= 1 then
  348. Parto:Destroy()
  349. end
  350. end
  351. end))
  352. wait()
  353. end
  354. end))
  355.  
  356. local RoarPower = 0
  357. local RoarCharge = false
  358.  
  359.  
  360.  
  361. local ChargeKame = false
  362. local KamePower = 0
  363. local KameCool = false
  364. local beamgo = 6
  365.  
  366.  
  367. function FireKame()
  368. Base:Destroy()
  369. for i = 1,50 do
  370. RS.RenderStepped:wait()
  371. PlayAnimationFromTable({
  372. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(0)), -- Torso,
  373. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), ----- Head
  374. CFrame.new(1,0.4,-1.2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(90), mr(0), mr(-20)), --- RightArm
  375. CFrame.new(-1,0.4,-1.2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(90), mr(0), mr(20)),--LeftArm
  376. CFrame.new(0.6,-2,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-5), mr(-5), mr(5)), --RightLeg
  377. CFrame.new(-0.6,-2,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-5), mr(5), mr(-5)), --LeftLeg
  378. }, .3, false)
  379. end
  380.  
  381. local Base1 = Instance.new("Part", char)
  382. Base1.Anchored = true
  383. Base1.Material = "Neon"
  384. Base1.Size = V3.new(KamePower + 5, KamePower + 5, KamePower + 5)
  385. Base1.Shape = "Block"
  386. Base1.Color = Color3.fromRGB(255, 81, 0)
  387. Base1.CFrame = char.HumanoidRootPart.CFrame * CF.new(0, 0.5, -1.8)
  388. Base1.CanCollide = false
  389. local Mesh = Instance.new("SpecialMesh", Base1)
  390. Mesh.MeshType = "Sphere"
  391.  
  392. local Beam = Instance.new("Part", char)
  393. Beam.Anchored = true
  394. Beam.Material = "Neon"
  395. Beam.Size = V3.new(0, KamePower- 0.8, KamePower- 0.8)
  396. Beam.Shape = "Block"
  397. Beam.Color = Color3.fromRGB(255, 157, 0)
  398. Beam.CFrame = Base1.CFrame * CFrame.Angles(0,mr(180),0)
  399. Beam.CanCollide = false
  400. local Mesh = Instance.new("SpecialMesh", Beam)
  401. Mesh.MeshType = "Cylinder"
  402. coroutine.resume(coroutine.create(function()
  403. for i = 1,100 do
  404. wait()
  405. beamgo = beamgo + 10
  406. Beam.CFrame = Base1.CFrame * CFrame.Angles(0,mr(90),0) * CFrame.new(beamgo,0,0)
  407. Beam.Size = V3.new(beamgo * 2, KamePower + 0.5, KamePower + 0.5)
  408.  
  409.  
  410. end
  411. end))
  412.  
  413.  
  414. Beam.Touched:Connect(function(hit)
  415. if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  416. -- Player
  417. if hit.Parent.Name == p.Name then return end
  418. hit.Parent:BreakJoints()
  419. end
  420. end)
  421.  
  422.  
  423.  
  424. wait(5)
  425.  
  426. for i = 1,200 do
  427. RS.RenderStepped:wait()
  428. beamgo = beamgo - 1
  429. Beam.Size = Beam.Size - V3.new(0,0.01,0.01)
  430. Base1.Size = Base1.Size - V3.new(0.01,0.01,0.01)
  431. Beam.Transparency = Beam.Transparency + 0.01
  432. Base1.Transparency = Base1.Transparency + 0.01
  433. if Base1.Transparency >= 1 then
  434. Base1:Destroy()
  435. Beam:Destroy()
  436. end
  437. end
  438. Hum.WalkSpeed = 16
  439. Hum.JumpPower = 50
  440. KamePower = 0
  441. beamgo = 6
  442. Pause = false
  443. end
  444.  
  445.  
  446. function Kamehameha()
  447. if not KameCool then
  448. KameCool = true
  449. Hum.WalkSpeed = 0
  450. Hum.JumpPower = 0
  451.  
  452. for i = 1,50 do
  453. RS.RenderStepped:wait()
  454. PlayAnimationFromTable({
  455. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-5), mr(-60), mr(-5)), -- Torso,
  456. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(60), 0), ----- Head
  457. CFrame.new(1.5,0,-0.3) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(60), mr(15), mr(40)), --- RightArm
  458. CFrame.new(-0.5,0.1,-1.2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(140), mr(-35), mr(90)),--LeftArm
  459. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(-5), mr(5)), --RightLeg
  460. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(60), mr(-5)), --LeftLeg
  461. }, .3, false)
  462. end
  463. Base = Instance.new("Part", char)
  464. Base.CanCollide = false
  465. Base.Anchored = true
  466. Base.Material = "Neon"
  467. Base.Size = V3.new(0, 0, 0)
  468. Base.Shape = "Ball"
  469. Base.Color = Color3.fromRGB(255, 157, 0)
  470. Base.CFrame = char.HumanoidRootPart.CFrame * CF.new(2.3, -0.1, 0)
  471. coroutine.resume(coroutine.create(function()
  472. while wait() and ChargeKame == true do
  473. if KamePower >= 1.180 then
  474. FireKame()
  475. ChargeKame = false
  476. else
  477. KamePower = KamePower + 0.002
  478. Base.Size = V3.new(KamePower, KamePower, KamePower)
  479. end
  480. end
  481. end))
  482. wait(2)
  483. KameCool = false
  484. end
  485. end
  486.  
  487.  
  488.  
  489.  
  490.  
  491. function ChargeRoar()
  492. Hum.WalkSpeed = 0
  493. Hum.JumpPower = 0
  494. Pause = true
  495.  
  496. local Ball = Instance.new("Part", Effects)
  497. Ball.Name = "RoarCharge"
  498. Ball.Material = LastMaterial
  499. Ball.Color = LastColor
  500. Ball.Size = Vector3.new(0,0,0)
  501. Ball.Shape = "Ball"
  502. Ball.CanCollide = false
  503. Ball.Anchored = true
  504. Ball.CFrame = Head.CFrame * CFrame.new(0,2,-1)
  505.  
  506. coroutine.resume(coroutine.create(function()
  507. while wait() and RoarCharge == true do
  508.  
  509. PlayAnimationFromTable({
  510. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), -- Torso,
  511. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(70), mr(0), 0), ----- Head
  512. CFrame.new(1.5,0,0) * CFrame.new(0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0),mr(0),mr(10)), --- RightArm
  513. CFrame.new(-1.5,0,0) * CFrame.new(-0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0), mr(0), mr(-10)),--LeftArm
  514. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, mr(20), 0), --RightLeg
  515. CFrame.new(-0.5,-2,0) * CFrame.new(-0.4, 0, -0.4) * CFrame.Angles(0, mr(20), mr(-10)), --LeftLeg
  516. }, .3, false)
  517.  
  518. RoarPower = RoarPower + 1
  519. Ball.Size = Vector3.new(RoarPower, RoarPower, RoarPower)
  520. Ball.CFrame = Ball.CFrame * CFrame.new(0,0.5,0)
  521. end
  522. end))
  523. end
  524.  
  525.  
  526. function FireRoar()
  527. local Ball = Effects.RoarCharge
  528. for i = 1, 50 do
  529. RS.RenderStepped:wait()
  530. Ball.CFrame = Ball.CFrame:lerp(Head.CFrame, 1)
  531. Ball.Size = Ball.Size:lerp(Vector3.new(0,0,0), 0.1)
  532. end
  533.  
  534. for i = 1, 10 do
  535. RS.RenderStepped:wait()
  536. PlayAnimationFromTable({
  537. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), -- Torso,
  538. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), ----- Head
  539. CFrame.new(1.5,0,0) * CFrame.new(0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0),mr(0),mr(10)), --- RightArm
  540. CFrame.new(-1.5,0,0) * CFrame.new(-0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0), mr(0), mr(-10)),--LeftArm
  541. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, mr(20), 0), --RightLeg
  542. CFrame.new(-0.5,-2,0) * CFrame.new(-0.4, 0, -0.4) * CFrame.Angles(0, mr(20), mr(-10)), --LeftLeg
  543. }, .3, false)
  544. end
  545. RoarS:Play()
  546. Ball:Destroy()
  547.  
  548. for i = 1, 100 do
  549. wait(0.1)
  550. local rad1 = math.random(-1, 1)
  551. local rad2 = math.random(-1, 1)
  552. local rad3 = math.random(-1, 1)
  553.  
  554. local color = math.random(1, 2)
  555.  
  556. local Roar = Instance.new("Part", Effects)
  557. Roar.Name = "Roar"
  558. Roar.Material = "Neon"
  559. if RoarPower <= 2 then
  560. Roar.Shape = "Ball"
  561. Roar.CFrame = Head.CFrame
  562. if color == 1 then
  563. Roar.Color = Color3.fromRGB(255, 81, 0)
  564. elseif color == 2 then
  565. Roar.Color = Color3.fromRGB(255, 157, 0)
  566. end
  567.  
  568. elseif RoarPower >= 2 then
  569. Roar.Shape = "Ball"
  570. Roar.CFrame = Head.CFrame
  571. if color == 1 then
  572. Roar.Color = Color3.fromRGB(255, 0, 0)
  573. elseif color == 2 then
  574. Roar.Color = Color3.fromRGB(77, 0, 0)
  575. end
  576. end
  577. Roar.Size = Vector3.new(0,0,0)
  578. Roar.CanCollide = false
  579. Roar.Anchored = true
  580.  
  581. coroutine.resume(coroutine.create(function()
  582. for i = 1, 500 do
  583. local Touchy = false
  584.  
  585. coroutine.resume(coroutine.create(function()
  586. Roar.Touched:Connect(function(hit)
  587. if Touchy == false then
  588. Touchy = true
  589. if hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  590. hit.Parent.Humanoid:TakeDamage(0.1)
  591. end
  592. wait(0.5)
  593. Touchy = false
  594. end
  595. end)
  596. end))
  597.  
  598. RS.RenderStepped:wait()
  599. Roar.CFrame = Roar.CFrame * CFrame.new(rad1/5,rad2/5,-1)
  600. Roar.Size = Roar.Size + Vector3.new(1, 1, 1)
  601. Roar.Transparency = Roar.Transparency + 0.007
  602. if Roar.Transparency >= 1 then
  603. Roar:Destroy()
  604. end
  605. end
  606. end))
  607. end
  608. Hum.WalkSpeed = 16
  609. Hum.JumpPower = 50
  610. Pause = false
  611. RoarPower = 0
  612. end
  613.  
  614.  
  615.  
  616.  
  617. function GroundWave2(origin, color, color2)
  618. if origin ~= nil then
  619. local part = Instance.new("Part", origin)
  620. part.Anchored = true
  621. part.CanCollide = false
  622. part.Color = color
  623. part.Size = Vector3.new(1,1,1)
  624. part.Transparency = 0.4
  625. part.Material = "Neon"
  626. part.CFrame = origin.CFrame
  627. local Mesh = Instance.new("SpecialMesh", part)
  628. Mesh.MeshType = "Sphere"
  629. Mesh.Scale = Vector3.new(1,1,1)
  630.  
  631. local part2 = Instance.new("Part", origin)
  632. part2.Anchored = true
  633. part2.CanCollide = false
  634. part2.Color = color2
  635. part2.Size = Vector3.new(1,1,1)
  636. part2.Material = "Neon"
  637. part2.CFrame = origin.CFrame
  638. local Mesh2 = Instance.new("SpecialMesh", part2)
  639. Mesh2.MeshType = "Sphere"
  640. Mesh2.Scale = Vector3.new(0.8,0.8,0.8)
  641.  
  642. local Ring = Instance.new("Part", char)
  643. Ring.Anchored = true
  644. Ring.CanCollide = false
  645. Ring.CFrame = part.CFrame
  646. local RingMesh = Instance.new("SpecialMesh", Ring)
  647. RingMesh.MeshId = "rbxassetid://471124075"
  648. RingMesh.Scale = Vector3.new(0,0,0)
  649.  
  650. local Ring2 = Instance.new("Part", char)
  651. Ring2.Anchored = true
  652. Ring2.CanCollide = false
  653. Ring2.CFrame = part.CFrame * CFrame.Angles(0,0,mr(90))
  654. local RingMesh2 = Instance.new("SpecialMesh", Ring2)
  655. RingMesh2.MeshId = "rbxassetid://471124075"
  656. RingMesh2.Scale = Vector3.new(0.02,0,0.02)
  657.  
  658. coroutine.resume(coroutine.create(function()
  659. for i = 1, 120 do
  660. RS.RenderStepped:wait()
  661. Mesh.Scale = Mesh.Scale + Vector3.new(1, 0.3, 1)
  662. part.Transparency = part.Transparency + 0.01
  663.  
  664. Mesh2.Scale = Mesh2.Scale + Vector3.new(0.8, 0.1, 0.8)
  665. part2.Transparency = part2.Transparency + 0.01
  666. if part.Transparency >= 1 then
  667. part:Destroy()
  668. end
  669.  
  670. if part2.Transparency >= 1 then
  671. part2:Destroy()
  672. end
  673. RingMesh.Scale = RingMesh.Scale + Vector3.new(0.02,0,0.02)
  674. Ring.Transparency = Ring.Transparency + 0.02
  675.  
  676. RingMesh2.Scale = RingMesh2.Scale + Vector3.new(0.02,0,0.02)
  677. Ring2.Transparency = Ring2.Transparency + 0.02
  678. if Ring.Transparency >= 1 then
  679. Ring:Destroy()
  680. Ring2:Destroy()
  681. end
  682. end
  683. end))
  684.  
  685. end
  686. end
  687.  
  688.  
  689.  
  690.  
  691. local BarrCool = false
  692.  
  693. function Barrage()
  694. coroutine.resume(coroutine.create(function()
  695. while wait() and BarrageS == true do
  696.  
  697. for i = 1, 1.00000000000000001 do -- Right Punch
  698. RS.RenderStepped:wait()
  699. BlockRightArm.Material = "Neon"
  700. local color = math.random(1, 2)
  701. if color == 1 then
  702. BlockRightArm.Color = BlockRightArm.Color:lerp(Color3.fromRGB(255, 81, 0), 0.5)
  703. elseif color == 2 then
  704. BlockRightArm.Color = BlockRightArm.Color:lerp(Color3.fromRGB(255, 157, 0), 0.5)
  705. end
  706.  
  707. BlockRightArm.Touched:Connect(function(hit)
  708. if hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  709. if BarrCool == false and BarrageS == true then
  710. BarrCool = true
  711. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
  712. GroundWave2(hit, Color3.fromRGB(255, 81, 0), Color3.fromRGB(255, 157, 0))
  713. local Punchy = Punch:Clone()
  714. Punchy.Parent = hit
  715. Punchy:Play()
  716. wait()
  717. BarrCool = false
  718. end
  719. end
  720. end)
  721.  
  722. PlayAnimationFromTable({
  723. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), -- Torso,
  724. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), ----- Head
  725. CFrame.new(1.5,0,0) * CFrame.new(0.3, 0, -3) * CFrame.Angles(mr(90),mr(0),mr(-20)), --- RightArm
  726. CFrame.new(-1.5,0,0) * CFrame.new(-0.3, 0, 2) * CFrame.Angles(mr(90), mr(0), mr(20)),--LeftArm
  727. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, mr(20), 0), --RightLeg
  728. CFrame.new(-0.5,-2,0) * CFrame.new(-0.4, 0, -0.4) * CFrame.Angles(0, mr(20), mr(-10)), --LeftLeg
  729. }, .5, false)
  730. end
  731.  
  732. for i = 1, 00000000000000001 do -- Left Punch
  733. RS.RenderStepped:wait()
  734.  
  735. BlockLeftArm.Material = "Neon"
  736. local color = math.random(1, 2)
  737. if color == 1 then
  738. BlockLeftArm.Color = BlockLeftArm.Color:lerp(Color3.fromRGB(255, 81, 0), 0.5)
  739. elseif color == 2 then
  740. BlockLeftArm.Color = BlockLeftArm.Color:lerp(Color3.fromRGB(255, 157, 0), 0.5)
  741. end
  742.  
  743. BlockLeftArm.Touched:Connect(function(hit)
  744. if hit.Parent:FindFirstChildOfClass("Humanoid") and not hit:IsDescendantOf(char) then
  745. if BarrCool == false and BarrageS == true then
  746. BarrCool = true
  747. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(10)
  748. GroundWave2(hit, Color3.fromRGB(255, 81, 0), Color3.fromRGB(255, 157, 0))
  749. local Punchy = Punch:Clone()
  750. Punchy.Parent = hit
  751. Punchy:Play()
  752. wait()
  753. BarrCool = false
  754. end
  755. end
  756. end)
  757.  
  758. PlayAnimationFromTable({
  759. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), -- Torso,
  760. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), ----- Head
  761. CFrame.new(1.5,0,0) * CFrame.new(0.3, 0, 2) * CFrame.Angles(mr(90),mr(0),mr(-20)), --- RightArm
  762. CFrame.new(-1.5,0,0) * CFrame.new(-0.3, 0, -3) * CFrame.Angles(mr(90), mr(0), mr(20)),--LeftArm
  763. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, mr(20), 0), --RightLeg
  764. CFrame.new(-0.5,-2,0) * CFrame.new(-0.4, 0, -0.4) * CFrame.Angles(0, mr(20), mr(-10)), --LeftLeg
  765. }, .5, false)
  766. end
  767.  
  768. end
  769. end))
  770. end
  771.  
  772.  
  773. mouse.KeyDown:Connect(function(k)
  774. if k == "e" then
  775. RoarCharge = true
  776. ChargeRoar()
  777. end
  778. if k == "r" then
  779. Pause = true
  780. ChargeKame = true
  781. Kamehameha()
  782. end
  783. if k == "q" then
  784. Pause = true
  785. BarrageS = true
  786. Barrage()
  787. end
  788. end)
  789.  
  790. mouse.KeyUp:Connect(function(k)
  791. if k == "e" then
  792. RoarCharge = false
  793. FireRoar()
  794. end
  795. if k == "r" then
  796. ChargeKame = false
  797. FireKame()
  798. end
  799. if k == "q" then
  800. Pause = false
  801. BarrageS = false
  802. end
  803. end)
  804.  
  805.  
  806.  
  807. Humanoid.Animator.Parent = nil
  808. Character.Animate.Parent = nil
  809.  
  810. local newMotor = function(part0, part1, c0, c1)
  811. local w = Create('Motor'){
  812. Parent = part0,
  813. Part0 = part0,
  814. Part1 = part1,
  815. C0 = c0,
  816. C1 = c1,
  817. }
  818. return w
  819. end
  820. function clerp(a, b, t)
  821. return a:lerp(b, t)
  822. end
  823.  
  824. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  825. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  826.  
  827. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  828. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  829. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  830. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  831. RootJoint.C1 = CFrame.new(0, 0, 0)
  832. RootJoint.C0 = CFrame.new(0, 0, 0)
  833. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  834. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  835.  
  836. local rarmc1 = RW.C1
  837. local larmc1 = LW.C1
  838. local rlegc1 = RH.C1
  839. local llegc1 = LH.C1
  840.  
  841. local resetc1 = false
  842.  
  843. function PlayAnimationFromTable(table, speed, bool)
  844. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  845. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  846. RW.C0 = clerp(RW.C0, table[3], speed)
  847. LW.C0 = clerp(LW.C0, table[4], speed)
  848. RH.C0 = clerp(RH.C0, table[5], speed)
  849. LH.C0 = clerp(LH.C0, table[6], speed)
  850. if bool == true then
  851. if resetc1 == false then
  852. resetc1 = true
  853. RootJoint.C1 = RootJoint.C1
  854. Torso.Neck.C1 = Torso.Neck.C1
  855. RW.C1 = rarmc1
  856. LW.C1 = larmc1
  857. RH.C1 = rlegc1
  858. LH.C1 = llegc1
  859. end
  860. end
  861. end
  862.  
  863. ArtificialHB = Create("BindableEvent", script){
  864. Parent = script,
  865. Name = "Heartbeat",
  866. }
  867.  
  868. script:WaitForChild("Heartbeat")
  869.  
  870. frame = 1 / 30
  871. tf = 0
  872. allowframeloss = false
  873. tossremainder = false
  874. lastframe = tick()
  875. script.Heartbeat:Fire()
  876.  
  877. game:GetService("RunService").Heartbeat:connect(function(s, p)
  878. tf = tf + s
  879. if tf >= frame then
  880. if allowframeloss then
  881. script.Heartbeat:Fire()
  882. lastframe = tick()
  883. else
  884. for i = 1, math.floor(tf / frame) do
  885. script.Heartbeat:Fire()
  886. end
  887. lastframe = tick()
  888. end
  889. if tossremainder then
  890. tf = 0
  891. else
  892. tf = tf - frame * math.floor(tf / frame)
  893. end
  894. end
  895. end)
  896.  
  897. function swait(num)
  898. if num == 0 or num == nil then
  899. ArtificialHB.Event:wait()
  900. else
  901. for i = 0, num do
  902. ArtificialHB.Event:wait()
  903. end
  904. end
  905. end
  906.  
  907.  
  908.  
  909.  
  910.  
  911. New = function(Object, Parent, Name, Data)
  912. local Object = Instance.new(Object)
  913. for Index, Value in pairs(Data or {}) do
  914. Object[Index] = Value
  915. end
  916. Object.Parent = Parent
  917. Object.Name = Name
  918. return Object
  919. end
  920. function rayCast(Position, Direction, Range, Ignore)
  921. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  922. end
  923.  
  924.  
  925.  
  926.  
  927. coroutine.wrap(function()
  928. while 1 do
  929. swait()
  930. if doe <= 360 then
  931. doe = doe + 2
  932. else
  933. doe = 0
  934. end
  935. end
  936. end)()
  937. while true and (animen == true) do
  938. swait()
  939.  
  940. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  941. velocity = RootPart.Velocity.y
  942. sine = sine + change
  943. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  944. if RootPart.Velocity.y > 1 and hit == nil then
  945. Anim = "Jump"
  946. if Pause == false then
  947. PlayAnimationFromTable({
  948. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  949. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head
  950. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50),0,mr(10)), --- RightArm
  951. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), 0, mr(-10)),--LeftArm
  952. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), 0, mr(-15)), --RightLeg
  953. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), 0, mr(15)), --LeftLeg
  954. }, .3, false)
  955. end
  956. elseif RootPart.Velocity.y < -1 and hit == nil then
  957. Anim = "Fall"
  958. if Pause == false then
  959. PlayAnimationFromTable({
  960. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso,
  961. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), ----- Head
  962. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,mr(50)), --- RightArm
  963. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(0), 0, mr(-50)),--LeftArm
  964. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, mr(-15)), --RightLeg
  965. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(10), 0, mr(15)), --LeftLeg
  966. }, .3, false)
  967. end
  968. elseif Torsovelocity < 1 and hit ~= nil then
  969. Anim = "Idle"
  970. if Pause == false then
  971. change = 1
  972. PlayAnimationFromTable({
  973. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), -- Torso,
  974. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), 0), ----- Head
  975. CFrame.new(1.5,0,0) * CFrame.new(0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0),mr(0),mr(10)), --- RightArm
  976. CFrame.new(-1.5,0,0) * CFrame.new(-0.3, 0-.1*math.sin(tick()*1), 0) * CFrame.Angles(mr(0), mr(0), mr(-10)),--LeftArm
  977. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, mr(20), 0), --RightLeg
  978. CFrame.new(-0.5,-2,0) * CFrame.new(-0.4, 0, -0.4) * CFrame.Angles(0, mr(20), mr(-10)), --LeftLeg
  979. }, .3, false)
  980. end
  981.  
  982. elseif Torsovelocity > 2 and hit ~= nil then
  983. Anim = "Walk"
  984. if Pause == false then
  985. PlayAnimationFromTable({
  986. CFrame.new(0,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*19), 0) * CFrame.Angles(-0.3, 0, 0+RootPart.RotVelocity.Y/30), -- Torso
  987. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head
  988. CFrame.new(1.3,0.4,0) * CFrame.new(0, 0.2-.1*math.sin(tick()*17), 0.5) * CFrame.Angles(mr(-70),mr(-5),mr(10)), --- RightArm
  989. CFrame.new(-1.3,0.4, 0) * CFrame.new(0, 0.2-.1*math.sin(tick()*17), 0.5) * CFrame.Angles(mr(-70), mr(5), mr(-10)),--LeftArm
  990. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 - 80 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33),
  991. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 + 80 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33),
  992. }, .3, false)
  993. end
  994. end
  995. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement