refrop

cuby v4

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