Advertisement
vallentganteng

camo block

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