Advertisement
Beeish

Untitled

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