Advertisement
teotv202

Untitled

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