SHARE
TWEET

Camo blocks

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