Advertisement
lafur

Untitled

Nov 9th, 2018
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end local Player, Character, Mouse = game:service("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character, game:GetService("Players").LocalPlayer:GetMouse();
  6. local Torso = Character:FindFirstChild("Torso")
  7. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  8. local Humanoid = Character:FindFirstChild("Humanoid")
  9. local Head = Character:FindFirstChild("Head")
  10. local Right_Arm = Character:FindFirstChild("Right Arm")
  11. local Left_Arm = Character:FindFirstChild("Left Arm")
  12. local Right_Leg = Character:FindFirstChild("Right Leg")
  13. local Left_Leg = Character:FindFirstChild("Left Leg")
  14. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  15. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  16. local Right_Hip = Torso:FindFirstChild("Right Hip")
  17. local Left_Hip = Torso:FindFirstChild("Left Hip")
  18. local Neck = Torso:FindFirstChild("Neck")
  19. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  20. local rootJoint = rootPart:FindFirstChild("RootJoint")
  21. local CurrentIdle = "Idling1"
  22. local Degree = 0.0175438596491228
  23. local Camera = workspace.CurrentCamera
  24. local canremove = false
  25. local debounce = false
  26. local Size = 1
  27. dabbing = false
  28. _G.SongName = math.random(1,9025232)
  29. sin = math.sin
  30. Right_Leg.FormFactor = "Custom";
  31. Left_Leg.FormFactor = "Custom";
  32. rootPart.Archivable = true;
  33. rootJoint.Archivable = true;
  34. c_new = CFrame.new;
  35. c_angles = CFrame.Angles;
  36. i_new = Instance.new
  37. Humanoid:ClearAllChildren();
  38. local isAttacking = false
  39. local isSprinting = false
  40. local Animations = false
  41. local Angle = 0
  42. local Axis = 0
  43. local angleSpeed = 1
  44. local axisSpeed = angleSpeed
  45. local currentAnim
  46. local levetatingheight = 3
  47. local WalkType = "Ground"
  48. local holding = false
  49. isFalling = false
  50. local val2 = 1
  51. local val3 = 1
  52. local Sitting = false
  53. Jp = Humanoid.JumpPower*Size
  54. ws = 16*Size/2
  55. val = 1
  56. local deb = false
  57. drink = false
  58. local deb2 = false
  59. local deb3 = false
  60. local deb5 = false
  61. local deb6 = false
  62. local Punch2 = false
  63. local Raising = false
  64. local Stomping = false
  65. local Grabbing = false
  66. crawl = false
  67. local valz = false
  68. Character.Health:Destroy()
  69. local Shielding = false
  70. local Clap = false
  71. local Punch1 = false
  72. local combo = 1
  73. local Charge2 = false
  74. local Punch2 = false
  75. Spin1 = false
  76. local Charge3 = false
  77. local Lunge1 = false
  78. local Charge4 = false
  79. local Uppercut1 = false
  80. local Terra = false
  81. local rage = false
  82. local raged = 10
  83. Mouse.KeyDown:connect(function(key)
  84. if key:byte() == 48 then
  85. isSprinting = true
  86. end
  87.  
  88. Mouse.KeyUp:connect(function(key2)
  89. if key:byte() == 48 then
  90. isSprinting = false
  91. end
  92. end)
  93. end)
  94.  
  95. twist = 0
  96.  
  97. local deb = false
  98. local activez = false
  99.  
  100. Mouse.KeyDown:connect(function(key)
  101. if key == "z" and Humanoid.Health < Humanoid.MaxHealth/2 and Animations == false then
  102. rage = true
  103. Humanoid.WalkSpeed = 0
  104. Humanoid.MaxHealth = Humanoid.MaxHealth*100000000000
  105. Humanoid.Health = Humanoid.Health*100000000000
  106. spawn(function()
  107. for i = 0,1,0.03 do
  108. local x,y,z = Torso.CFrame:toEulerAnglesXYZ()
  109. local ring = Instance.new("Part", Character)
  110. ring.Anchored = true
  111. ring.CFrame = rootPart.CFrame * CFrame.new(0,-2.5*Size,0)*CFrame.Angles(math.rad(-90),0,0)
  112. ring.BrickColor = BrickColor.new("Really red")
  113. ring.CanCollide = false
  114. local ringmesh = Instance.new("SpecialMesh", ring)
  115. ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  116. local ring2 = Instance.new("Part", Character)
  117. ring2.Anchored = true
  118. ring2.Shape = "Cylinder"
  119. ring2.CanCollide = false
  120. ring2.CFrame = rootPart.CFrame*CFrame.Angles(0,0,math.rad(90))
  121. ring2.BrickColor = BrickColor.new("Really red")
  122. ring2.TopSurface = 0
  123. ring2.BottomSurface = 0
  124. game.Debris:AddItem(ring2, 0.8)
  125. game.Debris:AddItem(ring, 0.8)
  126. spawn(function()
  127. for i = 0,1,0.01 do
  128. ring2.Size = ring2.Size+Vector3.new(5 ,1.5,5)
  129. ring2.Transparency = i*8
  130. wait()
  131. end
  132. end)
  133. spawn(function()
  134. for i = 0,1,0.01 do
  135. ringmesh.Scale = ringmesh.Scale+Vector3.new(19,19,10)
  136. ring.Transparency = i*8
  137. wait()
  138. end
  139. end)
  140. wait(0.17)
  141. end
  142. end)
  143. wait(2)
  144. Humanoid.WalkSpeed = 16
  145. rage = false
  146. Humanoid.MaxHealth = 1500*raged
  147. Humanoid.Health = Humanoid.MaxHealth/2
  148. end
  149. end)
  150.  
  151. Mouse.KeyDown:connect(function(key)
  152. if key == "e" and Animations == false then
  153. Animations = true
  154. Terra = true
  155. activez = true
  156. wait(0.1)
  157. local b = Instance.new("Part", Character)
  158. b.TopSurface = 0
  159. b.BottomSurface = 0
  160. b.Shape = "Ball"
  161. b.CanCollide = false
  162. b.BrickColor = BrickColor.new("Bright violet")
  163. b.CFrame = rootPart.CFrame*CFrame.new(0,0,1)
  164. b.Size = Vector3.new(60,60,60)
  165. b.Transparency = 0.4
  166. b.Material = "Neon"
  167. local bodyv = Instance.new("BodyVelocity", b)
  168. bodyv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  169. bodyv.Velocity = rootPart.CFrame.lookVector*60
  170.  
  171. spawn(function()
  172. while activez == true do
  173. local ring = Instance.new("Part", Character)
  174. ring.Anchored = true
  175. ring.BrickColor = BrickColor.new("Bright violet")
  176. ring.CanCollide = false
  177. game.Debris:AddItem(ring, 2)
  178. local ringmesh = Instance.new("SpecialMesh", ring)
  179. ringmesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  180. spawn(function()
  181. for i = 0,1,0.01 do
  182. ringmesh.Scale = ringmesh.Scale+Vector3.new(6,6,6)
  183. ring.Transparency = i*8
  184. wait()
  185. end
  186. end)
  187. ring.CFrame = b.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  188. wait(0)
  189. end
  190. end)
  191.  
  192.  
  193. function onDamage(Part)
  194. if Part.Parent:FindFirstChild("Torso") ~= nil and Part.Parent.Name ~= Character.Name and deb3 == false then
  195. deb3 = true
  196. Part.Parent.Humanoid:TakeDamage((10*Size)*raged)
  197. activez = false
  198. spawn(function()
  199. for i = 1,10 do
  200. local p = Instance.new("Part", Character)
  201. p.TopSurface = 0
  202. p.BottomSurface = 0
  203. p.Size = Vector3.new(2,2,2)
  204. p.CanCollide = false
  205. p.Anchored = true
  206. p.BrickColor = BrickColor.new("Bright violet")
  207. game.Debris:AddItem(p, 2)
  208. p.CFrame = b.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  209. spawn(function()
  210. for i = 0,1,0.01 do
  211. p.Size = p.Size+Vector3.new(12,12,12)
  212. p.Transparency = i*8
  213. wait()
  214. end
  215. end)
  216. end
  217. end)
  218. b:Destroy()
  219. end
  220. wait(0.13)
  221. deb3 = false
  222. end
  223.  
  224. b.Touched:connect(onDamage)
  225.  
  226.  
  227.  
  228. --[[
  229. spawn(function()
  230. wait(3)
  231. if touched == false then
  232. --asd
  233. end
  234. end)
  235. --]]
  236.  
  237. Terra = false
  238. Animations = false
  239. end
  240. end)
  241.  
  242. Mouse.Button1Down:connect(function()
  243. if combo == 1 and Animations == false then
  244. Charge = true
  245. Animations = true
  246. wait(0.13)
  247. Charge = false
  248. Punch1 = true
  249.  
  250.  
  251. dmg = math.random(7,15)
  252. for i,v in pairs(game.Workspace:GetChildren()) do
  253. torso = v:FindFirstChild("Torso")
  254. if torso and (torso.Position - Right_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
  255. torso.Parent.Humanoid:TakeDamage(dmg*raged)
  256. --[[local p = Instance.new("Part", torso.Parent)
  257. p.CanCollide = false
  258. p.Anchored = true
  259. p.CFrame = torso.CFrame*CFrame.new(math.random(-2,2),2,math.random(-2,2))
  260. p.Transparency = 1
  261. local billb = Instance.new("BillboardGui", p)
  262. billb.Adornee = p
  263. billb.AlwaysOnTop = true
  264. billb.Enabled = true
  265. local textl = Instance.new("TextLabel", billb)
  266. textl.Text = tostring(dmg)--]]
  267. else
  268. --hi just some useless code here
  269. end
  270. end
  271.  
  272.  
  273.  
  274. wait(0.13)
  275. deb = false
  276. Punch1 = false
  277. Animations = false
  278. combo = combo+1
  279.  
  280. elseif combo == 2 and Animations == false then
  281. Charge2 = true
  282. Animations = true
  283. wait(0.13)
  284. Charge2 = false
  285. Punch2 = true
  286.  
  287. for i,v in pairs(game.Workspace:GetChildren()) do
  288. torso = v:FindFirstChild("Torso")
  289. if torso and (torso.Position - Left_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
  290. torso.Parent.Humanoid:TakeDamage(math.random(7,15)*raged)
  291. else
  292. --hi just some useless code here
  293. end
  294. end
  295.  
  296.  
  297. wait(0.16)
  298. deb2 = false
  299. Punch2 = false
  300. Animations = false
  301. combo = combo+1
  302. elseif combo == 4 and Animations == false then
  303.  
  304. Charge3 = true
  305. Animations = true
  306. wait(0.13)
  307.  
  308.  
  309. Charge3 = false
  310. Lunge1 = true
  311. local phitboxz3 = Instance.new("Part", Character)
  312. phitboxz3.CanCollide = false
  313. phitboxz3.Transparency = 1
  314. phitboxz3.Size = Vector3.new(4,4,4)
  315. local pweldz3 = Instance.new("Weld", Character)
  316. pweldz3.Part0 = phitboxz3
  317. pweldz3.Part1 = Torso
  318. pweldz3.C0 = CFrame.new(0,-1,3)
  319.  
  320. function onDamage(Part)
  321. if Part.Parent:FindFirstChild("Torso") ~= nil and Part.Parent.Name ~= Character.Name and deb3 == false then
  322. deb3 = true
  323. Part.Parent.Humanoid:TakeDamage(10*Size*raged)
  324. end
  325. wait(0.13)
  326. deb3 = false
  327. end
  328.  
  329. phitboxz3.Touched:connect(onDamage)
  330.  
  331. wait(0.13)
  332. phitboxz3:Destroy()
  333. deb3 = false
  334. Lunge1 = false
  335. Animations = false
  336. combo = combo+1
  337.  
  338. elseif combo == 3 and Animations == false then
  339. Charge4 = true
  340. Animations = true
  341. wait(0.13)
  342. Charge4 = false
  343. Uppercut1 = true
  344.  
  345. for i,v in pairs(game.Workspace:GetChildren()) do
  346. torso = v:FindFirstChild("Torso")
  347. if torso and (torso.Position - Right_Arm.Position).magnitude <= 3*Size and torso.Parent.Name ~= Character.Name then
  348. torso.Parent.Humanoid:TakeDamage(math.random(7,15)*raged)
  349. else
  350. --hi just some useless code here
  351. end
  352. end
  353.  
  354.  
  355. wait(0.13)
  356. Uppercut1 = false
  357. Charge4 = false
  358. Animations = false
  359.  
  360. combo = combo+1
  361. elseif combo == 5 and Animations == false then
  362. Spin1 = true
  363. Animations = true
  364.  
  365. spawn(function()
  366. while Spin1 == true do
  367. for i,v in pairs(game.Workspace:GetChildren()) do
  368. torso = v:FindFirstChild("Torso")
  369. if torso and (torso.Position - Torso.Position).magnitude <= 7*Size and torso.Parent.Name ~= Character.Name then
  370. torso.Parent.Humanoid:TakeDamage(math.random(10,18)*raged)
  371. else
  372. --hi just some useless code here
  373. end
  374. end
  375. wait(0.5)
  376. end
  377. end)
  378.  
  379. wait(2)
  380. Spin1 = false
  381. Animations = false
  382. combo = 1
  383. end
  384. end)
  385.  
  386. spawn(function()
  387. while game:service'RunService'.RenderStepped:wait() do
  388. if twist < 360 then
  389. for i = 0,360,40 do
  390. twist = i
  391. game:service'RunService'.RenderStepped:wait()
  392. end
  393. elseif twist == 360 then
  394. twist = 0
  395. end
  396. end
  397. end)
  398.  
  399. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  400. wld = Instance.new("Weld", wp1)
  401. wld.Part0 = wp0
  402. wld.Part1 = wp1
  403. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  404. return wld
  405. end
  406.  
  407. function noOutline(part)
  408. Part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  409. end
  410.  
  411. local function Part(Color, Material, Transparency,Shape, Size, CFrame,CanCollide,Anchored,parent)
  412. local partie = i_new("Part",parent)
  413. partie.BrickColor = BrickColor.new(Color)
  414. partie.Material = Material
  415. partie.Shape = Shape
  416. partie.Transparency = Transparency
  417. partie.Size = Size
  418. partie.CFrame = CFrame
  419. partie.CanCollide = CanCollide
  420. partie.Anchored = Anchored
  421. return partie
  422. end
  423.  
  424.  
  425.  
  426. function swait(num)
  427. if num == 0 or num == nil then
  428. game:GetService("RunService").RenderStepped:wait()
  429. else
  430. for i = 0, num do
  431. game:GetService("RunService").RenderStepped:wait()
  432. end
  433. end
  434. end
  435.  
  436. Humanoid.FreeFalling:connect(function(falling)
  437. if falling then
  438. isFalling = true
  439. elseif not falling then
  440. isFalling = false
  441. end
  442. end)
  443.  
  444. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  445. local mesh = i_new(Mesh)
  446. mesh.Parent = part
  447. if Mesh == "SpecialMesh" then
  448. mesh.MeshType = meshtype
  449. mesh.MeshId = meshid
  450. end
  451. mesh.Offset = offset
  452. mesh.Scale = scale
  453. return mesh
  454. end
  455.  
  456.  
  457. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position, Direction, MaxDistance, IgnoreDescendants
  458. return game:GetService("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  459. end
  460.  
  461. function QuaternionFromCFrame(cf)
  462. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  463. local trace = m00 + m11 + m22
  464. if trace > 0 then
  465. local s = math.sqrt(1 + trace)
  466. local recip = 0.5/s
  467. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  468. else
  469. local i = 0
  470. if m11 > m00 then
  471. i = 1
  472. end
  473. if m22 > (i == 0 and m00 or m11) then
  474. i = 2
  475. end
  476. if i == 0 then
  477. local s = math.sqrt(m00-m11-m22+1)
  478. local recip = 0.5/s
  479. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  480. elseif i == 1 then
  481. local s = math.sqrt(m11-m22-m00+1)
  482. local recip = 0.5/s
  483. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  484. elseif i == 2 then
  485. local s = math.sqrt(m22-m00-m11+1)
  486. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  487. end
  488. end
  489. end
  490.  
  491. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  492. local xs, ys, zs = x + x, y + y, z + z
  493. local wx, wy, wz = w*xs, w*ys, w*zs
  494. local xx = x*xs
  495. local xy = x*ys
  496. local xz = x*zs
  497. local yy = y*ys
  498. local yz = y*zs
  499. local zz = z*zs
  500. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  501. end
  502.  
  503. function QuaternionSlerp(a, b, t)
  504. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  505. local startInterp, finishInterp;
  506. if cosTheta >= 0.0001 then
  507. if (1 - cosTheta) > 0.0001 then
  508. local theta = math.acos(cosTheta)
  509. local invSinTheta = 1/math.sin(theta)
  510. startInterp = math.sin((1-t)*theta)*invSinTheta
  511. finishInterp = math.sin(t*theta)*invSinTheta
  512. else
  513. startInterp = 1-t
  514. finishInterp = t
  515. end
  516. else
  517. if (1+cosTheta) > 0.0001 then
  518. local theta = math.acos(-cosTheta)
  519. local invSinTheta = 1/math.sin(theta)
  520. startInterp = math.sin((t-1)*theta)*invSinTheta
  521. finishInterp = math.sin(t*theta)*invSinTheta
  522. else
  523. startInterp = t-1
  524. finishInterp = t
  525. end
  526. end
  527. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  528. end
  529.  
  530. function clerp(a, b, t)
  531. local qa = {QuaternionFromCFrame(a)}
  532. local qb = {QuaternionFromCFrame(b)}
  533. local ax, ay, az = a.x, a.y, a.z
  534. local bx, by, bz = b.x, b.y, b.z
  535. local _t = 1-t
  536. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  537. end
  538.  
  539.  
  540. wait()
  541. function bigger (char, S)
  542. tor = char.Torso
  543. larm = char["Left Arm"]
  544. rarm = char["Right Arm"]
  545. lleg = char["Left Leg"]
  546. rleg = char["Right Leg"]
  547. head = char.Head
  548. root = char.HumanoidRootPart
  549. hum = char.Humanoid
  550.  
  551. tor.Size = tor.Size*S
  552. larm.Size = larm.Size*S
  553. rarm.Size = rarm.Size*S
  554. lleg.Size = lleg.Size*S
  555. rleg.Size = rleg.Size*S
  556. root.Size = root.Size*S
  557. hum.HipHeight = hum.HipHeight*S
  558. hum.JumpPower = hum.JumpPower*S/1.1
  559. head.Mesh.Scale = head.Mesh.Scale*S
  560. hum.MaxHealth = 500*S
  561. print(hum.MaxHealth)
  562. for i,v in pairs (char:children()) do
  563. if v:IsA("Hat") then
  564. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale*S
  565.  
  566. local yInc = (S-1)*.5
  567. v.AttachmentPos = (v.AttachmentPos * S) - (v.AttachmentUp * Vector3.new(yInc,yInc,yInc))
  568.  
  569. end
  570. end
  571. LA_Weld = newWeld(Torso, Left_Arm, -1.5*S, 0.5*S, 0)
  572. Left_Arm.Weld.C1 = CFrame.new(0, 0.5*S, 0)
  573. RA_Weld = newWeld(Torso, Right_Arm, 1.5*S, 0.5*S, 0)
  574. Right_Arm.Weld.C1 = CFrame.new(0, 0.5*S, 0)
  575. LL_Weld = newWeld(Torso, Left_Leg, -0.5*S, -1*S, 0)
  576. Left_Leg.Weld.C1 = CFrame.new(0, 1*S, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  577. RL_Weld = newWeld(Torso, Right_Leg, 0.5*S, -1*S, 0)
  578. Right_Leg.Weld.C1 = CFrame.new(0, 1*S, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  579. Torso_Weld = newWeld(rootPart, Torso, 0, -1*S, 0)
  580. Torso.Weld.C1 = CFrame.new(0, -1*S, 0)
  581. Head_Weld = newWeld(Torso, Head, 0, 1.5*S, 0)
  582. end
  583.  
  584. bigger(Character, Size)
  585.  
  586. sine = 0
  587. change = 1
  588.  
  589. spawn(function()
  590.  
  591. while wait(.7) do
  592. spawn(function()
  593. while wait(5) do
  594. _G.currentHealth = Humanoid.Health
  595. end
  596. end)
  597. if Humanoid.Health >= _G.currentHealth then
  598. Humanoid.Health = Humanoid.Health+Humanoid.MaxHealth/20
  599. end
  600. end
  601. end)
  602.  
  603. function stuff(limb)
  604. local mainpart = Instance.new("Part", Character)
  605. mainpart.CanCollide = false
  606. local mesh = Instance.new("SpecialMesh", mainpart)
  607. mainpart.BrickColor = BrickColor.new("Bright yellow")
  608. mesh.MeshId = "http://www.roblox.com/Asset/?id=9944765"
  609. mesh.Scale = Vector3.new(2,2,7)
  610. local w1 = Instance.new("Weld", limb)
  611. w1.Part0 = mainpart
  612. w1.Part1 = limb
  613. w1.C0 = CFrame.Angles(math.rad(90),math.rad(180),math.rad(180)) * CFrame.new(0,1.5,0)
  614. local cap = Instance.new("Part", Character)
  615. cap.CanCollide = false
  616. cap.BrickColor = BrickColor.new("Bright yellow")
  617. local mesh2 = Instance.new("SpecialMesh", cap)
  618. mesh2.MeshId = "http://www.roblox.com/Asset/?id=9944765"
  619. mesh2.Scale = Vector3.new(2,2,1)
  620. local w2 = Instance.new("Weld", mainpart)
  621. w2.Part0 = cap
  622. w2.Part1 = mainpart
  623. w2.C0 = CFrame.new(0,0,-0.01) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(180))
  624. local claw1 = Instance.new("Part", Character)
  625. claw1.CanCollide = false
  626. local mesh3 = Instance.new("SpecialMesh", claw1)
  627. mesh3.MeshId = "http://www.roblox.com/Asset/?id=9944765"
  628. mesh3.Scale = Vector3.new(0.5,1,3)
  629. local w3 = Instance.new("Weld", mainpart)
  630. w3.Part0 = claw1
  631. w3.Part1 = cap
  632. w3.C0 = CFrame.new(0,-0.25,0.2)
  633.  
  634. local claw2 = Instance.new("Part", Character)
  635. claw2.CanCollide = false
  636. local mesh4 = Instance.new("SpecialMesh", claw2)
  637. mesh4.MeshId = "http://www.roblox.com/Asset/?id=9944765"
  638. mesh4.Scale = Vector3.new(0.5,1,3)
  639. local w4 = Instance.new("Weld", mainpart)
  640. w4.Part0 = claw2
  641. w4.Part1 = cap
  642. w4.C0 = CFrame.new(0.5,-0.25,0.2)
  643.  
  644. local claw3 = Instance.new("Part", Character)
  645. claw3.CanCollide = false
  646. local mesh5 = Instance.new("SpecialMesh", claw3)
  647. mesh5.MeshId = "http://www.roblox.com/Asset/?id=9944765"
  648. mesh5.Scale = Vector3.new(0.5,1,3)
  649. local w5 = Instance.new("Weld", mainpart)
  650. w5.Part0 = claw3
  651. w5.Part1 = cap
  652. w5.C0 = CFrame.new(-0.5,-0.25,0.2)
  653.  
  654. local clawc = Instance.new("Part", Character)
  655. clawc.TopSurface = 0
  656. clawc.BottomSurface = 0
  657. clawc.Size = Vector3.new(1.1,0.8,1.1)
  658. clawc.CanCollide = false
  659. clawc.BrickColor = BrickColor.new("Bright yellow")
  660. local w6 = Instance.new("Weld", mainpart)
  661. w6.Part0 = clawc
  662. w6.Part1 = limb
  663.  
  664.  
  665. local clawc1 = Instance.new("Part", Character)
  666. clawc1.TopSurface = 0
  667. clawc1.BottomSurface = 0
  668. clawc1.Size = Vector3.new(0.65,0.8,0.4)
  669. clawc1.Shape = "Ball"
  670. clawc1.CanCollide = false
  671. clawc1.BrickColor = BrickColor.new("Bright yellow")
  672. local w7 = Instance.new("Weld", mainpart)
  673. w7.Part0 = clawc1
  674. w7.Part1 = claw1
  675. w7.C1 = CFrame.new(0,0.2,-0.1)
  676.  
  677. local clawc2 = Instance.new("Part", Character)
  678. clawc2.TopSurface = 0
  679. clawc2.BottomSurface = 0
  680. clawc2.Size = Vector3.new(0.65,0.8,0.4)
  681. clawc2.Shape = "Ball"
  682. clawc2.CanCollide = false
  683. clawc2.BrickColor = BrickColor.new("Bright yellow")
  684. local w9 = Instance.new("Weld", mainpart)
  685. w9.Part0 = clawc2
  686. w9.Part1 = claw2
  687. w9.C1 = CFrame.new(0,0.2,-0.1)
  688.  
  689. local clawc3 = Instance.new("Part", Character)
  690. clawc3.TopSurface = 0
  691. clawc3.BottomSurface = 0
  692. clawc3.Size = Vector3.new(0.65,0.8,0.4)
  693. clawc3.Shape = "Ball"
  694. clawc3.CanCollide = false
  695. clawc3.BrickColor = BrickColor.new("Bright yellow")
  696. local w10 = Instance.new("Weld", mainpart)
  697. w10.Part0 = clawc3
  698. w10.Part1 = claw3
  699. w10.C1 = CFrame.new(0,0.2,-0.1)
  700.  
  701. end
  702.  
  703. stuff(Right_Arm)
  704. stuff(Left_Arm)
  705.  
  706. game.Lighting.Outlines = false
  707.  
  708.  
  709. game:GetService("RunService").Stepped:connect(function()
  710. --Camera.CameraSubject = Torso
  711. Angle = (Angle % 100) + angleSpeed/10
  712. Axis = (Axis % 100) + axisSpeed/10
  713. walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  714. jumpVel = Torso.Velocity.Y
  715. sine = change + sine
  716.  
  717. if (Humanoid.Jump) and jumpVel > 1 then
  718. currentAnim = "Jumping"
  719. elseif walkingMagnitude < 2 then
  720. currentAnim = "Idling"
  721. elseif isSprinting == true then
  722. currentAnim = "Sprinting"
  723. elseif walkingMagnitude > 2 then
  724. isSprinting = false
  725. currentAnim = "Walking"
  726. elseif isAttacking == true then
  727. currentAnim = "Attacking"
  728. end
  729.  
  730.  
  731. if currentAnim == "Jumping" and Animations == false then
  732. angleSpeed = 2
  733. axisSpeed = 2
  734. change = 0.5
  735. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.15)
  736. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.15)
  737. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-5)), 0.15)
  738. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(5)), 0.15)
  739. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  740. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(9), math.rad(0), math.rad(0)), 0.15)
  741.  
  742.  
  743. elseif isFalling == true and Animations == false then
  744. angleSpeed = 2
  745. axisSpeed = 2
  746. change = 0.5
  747. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(50)), 0.15)
  748. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(-50)), 0.15)
  749. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, -0.5*Size) * c_angles(math.rad(-20), math.rad(0), math.rad(-0)), 0.15)
  750. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, -0.5*Size) * c_angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  751. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  752. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(-15), math.rad(0), math.rad(0)), 0.15)
  753.  
  754. elseif currentAnim == "Idling" and Animations == false then
  755. angleSpeed = 1
  756. axisSpeed = 1
  757. change = 0.5
  758.  
  759. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size+-0.02*math.sin(tick()),0) * c_angles(math.rad(20)+math.rad(5*math.sin(tick()*1.5)), math.rad(20), math.rad(20)), 0.15)
  760. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size+-0.05*math.sin(tick()/1.5),0) * c_angles(math.rad(20)+math.rad(-5*math.sin(tick()*1.5)), math.rad(-20), math.rad(-20)), 0.15)
  761. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -0.9*Size-0.1*math.sin(tick()*4), 0) * c_angles(math.rad(0),math.rad(15),math.rad(-5)), 0.15)
  762. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -0.9*Size-0.1*math.sin(tick()*4), 0)* c_angles(math.rad(0),math.rad(-15),math.rad(5)), 0.15)
  763. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0*Size, -1.2*Size+0.1*math.sin(tick()*4), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  764. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(0), math.rad(-10), math.rad(0)), 0.15)
  765.  
  766.  
  767.  
  768. elseif currentAnim == "Sprinting" and Animations == false then
  769. angleSpeed = 1
  770. axisSpeed = 1
  771. Humanoid.WalkSpeed = 72*Size
  772.  
  773. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size,0) * c_angles(math.rad(-20), math.rad(0), math.rad(10)), 0.15)
  774. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size,0) * c_angles(math.rad(-20), math.rad(0), math.rad(-15)), 0.15)
  775. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0) * c_angles(math.rad(-10),math.rad(0),math.rad(0)), 0.15)
  776. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -.1*Size, -0.3*Size)* c_angles(math.rad(5),math.rad(0),math.rad(0)), 0.15)
  777. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0*Size, -1*Size, 0*Size) * c_angles(math.rad(-80), math.sin(rootPart.RotVelocity.y/10)/2, 0), 0.15)
  778. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.4*Size, 0.4*Size) * c_angles(math.rad(80), math.rad(0), math.rad(0)), 0.15)
  779.  
  780. elseif Charge == true then
  781.  
  782. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-30), math.rad(35), math.rad(40)), 0.5)
  783.  
  784. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.5)
  785.  
  786. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  787. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.5)
  788. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  789. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.35)
  790.  
  791. elseif Charge4 == true then
  792.  
  793. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-40), math.rad(35), math.rad(40)), 0.5)
  794.  
  795. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(30), math.rad(0), math.rad(20)), 0.5)
  796.  
  797. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.5)
  798. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.5)
  799. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(20), math.rad(0)), 0.5)
  800. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.35)
  801.  
  802. elseif Uppercut1 == true then
  803.  
  804. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(150), math.rad(0), math.rad(0)), 0.65)
  805.  
  806. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(60), math.rad(0), math.rad(-50)), 0.65)
  807.  
  808. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
  809. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
  810. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(90), math.rad(0)), 0.65)
  811. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-90), math.rad(0)), 0.55)
  812.  
  813. elseif Punch1 == true then
  814.  
  815.  
  816.  
  817. -- First Punch (All C1, Lasts 3 Frames)
  818. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-60), math.rad(45), math.rad(170)), 0.65)
  819.  
  820. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(50)), 0.65)
  821.  
  822. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
  823. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.1*math.sin(tick()*2), 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
  824. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(90), math.rad(0)), 0.65)
  825. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-90), math.rad(0)), 0.55)
  826.  
  827. elseif Punch2 == true then
  828.  
  829. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.2*Size, .3*Size, -.6*Size) * c_angles(math.rad(90), math.rad(0), math.rad(-50)), 0.65)
  830.  
  831. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(0), math.rad(-5), math.rad(-110)), 0.65)
  832.  
  833. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-10)), 0.65)
  834. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(10)), 0.65)
  835. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(-90), math.rad(0)), 0.65)
  836. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(90), math.rad(0)), 0.55)
  837.  
  838. elseif Terra == true then
  839.  
  840.  
  841. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0*Size) * c_angles(math.rad(90), math.rad(90), math.rad(20)), 0.65)
  842.  
  843. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0*Size) * c_angles(math.rad(90), math.rad(-90), math.rad(-20)), 0.65)
  844.  
  845. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
  846. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
  847. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.65)
  848. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.55)
  849.  
  850. elseif Charge3 == true then
  851.  
  852. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
  853.  
  854. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
  855.  
  856. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-40), math.rad(0), math.rad(-10)), 0.65)
  857. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-40), math.rad(0), math.rad(10)), 0.65)
  858. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(40), math.rad(0), math.rad(0)), 0.65)
  859. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(-20), math.rad(0)), 0.55)
  860.  
  861. elseif Lunge1 == true then
  862.  
  863. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, -0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
  864.  
  865. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, -0.5*Size) * c_angles(math.rad(90), math.rad(180), math.rad(0)), 0.65)
  866.  
  867. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(40), math.rad(0), math.rad(-15)), 0.65)
  868. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(40), math.rad(0), math.rad(15)), 0.65)
  869. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-40), math.rad(0), math.rad(0)), 0.65)
  870. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-25), math.rad(0), math.rad(0)), 0.55)
  871.  
  872. elseif Spin1 == true then
  873.  
  874. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(90)), 0.15)
  875.  
  876. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, .5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(-90)), 0.15)
  877.  
  878. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  879. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  880. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-15), math.rad(twist), math.rad(0)), 0.65)
  881. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0*Size) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  882.  
  883.  
  884. elseif Charge2 == true then
  885.  
  886. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.7*Size, -0.25*Size) * c_angles(math.rad(-30), math.rad(35), math.rad(40)), 0.65)
  887.  
  888. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.2*Size, .3*Size, 0.5*Size) * c_angles(math.rad(90), math.rad(0), math.rad(20)), 0.65)
  889.  
  890. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.65)
  891. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size, 0*Size) * c_angles(math.rad(10), math.rad(0), math.rad(10)), 0.65)
  892. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0, -1*Size, 0) * c_angles(math.rad(-5), math.rad(-20), math.rad(0)), 0.65)
  893. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, -0.2*Size) * c_angles(math.rad(-20), math.rad(20), math.rad(0)), 0.55)
  894.  
  895.  
  896. elseif currentAnim == "Walking" and Animations == false then
  897. angleSpeed = 1
  898. axisSpeed = 1
  899. Humanoid.WalkSpeed = 19*Size
  900.  
  901. RA_Weld.C0 = clerp(RA_Weld.C0, c_new(1.5*Size, 0.5*Size+-0.02*math.sin(tick()), 0) * c_angles(math.rad(25), math.rad(0), math.rad(25)), 0.15)
  902. LA_Weld.C0 = clerp(LA_Weld.C0, c_new(-1.5*Size, 0.5*Size+-0.05*math.sin(tick()/1.5), 0) * c_angles(math.rad(5), math.rad(0), math.rad(-25)), 0.15)
  903. LL_Weld.C0 = clerp(LL_Weld.C0, c_new(-0.5*Size, -1*Size+0.2*math.sin(sine/3)*1.2, math.sin(sine/5)/9) * c_angles(math.rad(60*math.sin(tick()*8))*1.5,math.rad(0),math.rad(-1)), 0.15)
  904. RL_Weld.C0 = clerp(RL_Weld.C0, c_new(0.5*Size, -1*Size+0.2*math.sin(sine/3)*1.2, math.sin(sine/5)/9)* c_angles(math.rad(-60*math.sin(tick()*8)),math.rad(0),math.rad(1)), 0.15)
  905. Torso_Weld.C0 = clerp(Torso_Weld.C0, c_new(0*Size, -1*Size, 0*Size) * c_angles(math.rad(-5), math.rad(0), math.sin(rootPart.RotVelocity.y/20)/7), 0.15)
  906. Head_Weld.C0 = clerp(Head_Weld.C0, c_new(0, 1.5*Size, 0) * c_angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  907.  
  908. end
  909. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement