Dark_EccentricYT

Untitled

Jul 8th, 2018
2,782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.80 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local chr = plr.Character
  3. local maus = plr:GetMouse()
  4. local PGui=plr.PlayerGui
  5. local lleg = chr["Left Leg"]
  6. local rleg = chr["Right Leg"]
  7. local larm = chr["Left Arm"]
  8. local rarm = chr["Right Arm"]
  9. local hed = chr.Head
  10. local rutprt = chr.HumanoidRootPart
  11. local torso = chr.Torso
  12. local otheranims=false
  13. local armmovement=false
  14. local hitdb=false
  15. local toss=false
  16. local jamp=false
  17. chr.Animate.Disabled=true
  18. chr.Humanoid.WalkSpeed=10
  19. local running=false
  20. local tempignore={}
  21.  
  22. local weit=Instance.new('Part',hed)
  23. weit.Shape='Ball'
  24. weit.BrickColor=BrickColor.new('Black')
  25. weit.Material='Neon'
  26. weit.Size=Vector3.new(3,3,3)
  27. weit.CanCollide=true
  28. weit.Name='Weight'
  29. weit.Friction=1
  30. weit.Elasticity=0
  31.  
  32.  
  33.  
  34. local at1=Instance.new("Attachment",torso)
  35. local at2=Instance.new("Attachment",weit)
  36. local const=Instance.new("RopeConstraint",chr)
  37. const.Attachment0=at2
  38. const.Attachment1=at1
  39. const.Visible=true
  40. const.Restitution=0
  41. const.Length=100
  42.  
  43. local pseudohead=hed:Clone()
  44. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  45. pseudohead.Name='PseudoHead'
  46. pseudohead.Parent=chr.Head
  47. local pseudoweld=Instance.new('Weld',torso)
  48. pseudoweld.Part0=hed
  49. pseudoweld.Name='PseudoHedWld'
  50. pseudoweld.Part1=pseudohead
  51. hed.Transparency=1
  52.  
  53. --[[coroutine.resume(coroutine.create(function()
  54. local rate=.05
  55. local Hats={}
  56. for i,x in pairs(chr:GetChildren()) do if x:IsA("Hat") then table.insert(Hats,x) x.Handle.Mesh.TextureId="http://www.roblox.com/asset?id=25701026"
  57. end
  58. end
  59. local lam=Instance.new("SpecialMesh",larm)
  60. lam.MeshId="http://www.roblox.com/asset?id=12221505"
  61. lam.TextureId="http://www.roblox.com/asset?id=25701026"
  62. local ram=Instance.new("SpecialMesh",rarm)
  63. ram.MeshId="http://www.roblox.com/asset?id=12221505"
  64. ram.TextureId="http://www.roblox.com/asset?id=25701026"
  65. local rlm=Instance.new("SpecialMesh",rleg)
  66. rlm.MeshId="http://www.roblox.com/asset?id=12221626"
  67. rlm.TextureId="http://www.roblox.com/asset?id=25701026"
  68. local llm=Instance.new("SpecialMesh",lleg)
  69. llm.MeshId="http://www.roblox.com/asset?id=12221626"
  70. llm.TextureId="http://www.roblox.com/asset?id=25701026"
  71. local trm=Instance.new("SpecialMesh",torso)
  72. trm.MeshId="http://www.roblox.com/asset?id=12221758"
  73. trm.TextureId="http://www.roblox.com/asset?id=25701026"
  74. local hem=Instance.new("SpecialMesh",hed)
  75. hem.MeshId="rbxasset://fonts/head.mesh"
  76. hem.TextureId="http://www.roblox.com/asset?id=25701026"
  77. local hem2=Instance.new("SpecialMesh",pseudohead)
  78. hem2.MeshId="rbxasset://fonts/head.mesh"
  79. hem2.TextureId="http://www.roblox.com/asset?id=25701026"
  80. local weitmesh=Instance.new("SpecialMesh",weit)
  81. weitmesh.MeshId="http://www.roblox.com/asset/?id=1527559"
  82. weitmesh.TextureId="http://www.roblox.com/asset?id=25701026"
  83. local asd=Instance.new('PointLight',torso)
  84. asd.Brightness=123
  85. asd.Range=12
  86. asd.Shadows=true
  87.  
  88. while wait'0' do
  89. for a=0,1,rate do
  90. lam.VertexColor=Vector3.new(a,0,-a+1)
  91. ram.VertexColor=Vector3.new(a,0,-a+1)
  92. rlm.VertexColor=Vector3.new(a,0,-a+1)
  93. llm.VertexColor=Vector3.new(a,0,-a+1)
  94. trm.VertexColor=Vector3.new(a,0,-a+1)
  95. hem.VertexColor=Vector3.new(a,0,-a+1)
  96. hem2.VertexColor=Vector3.new(a,0,-a+1)
  97. weitmesh.VertexColor=Vector3.new(a,0,-a+1)
  98. asd.Color=Color3.new(a,0,-a+1)
  99. coroutine.wrap(function()
  100. for x=1,#Hats do
  101. Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
  102. end
  103. end)()
  104. wait''
  105. end
  106. for a=0,1,rate do
  107. lam.VertexColor=Vector3.new(-a+1,a,0)
  108. ram.VertexColor=Vector3.new(-a+1,a,0)
  109. rlm.VertexColor=Vector3.new(-a+1,a,0)
  110. llm.VertexColor=Vector3.new(-a+1,a,0)
  111. trm.VertexColor=Vector3.new(-a+1,a,0)
  112. hem.VertexColor=Vector3.new(-a+1,a,0)
  113. hem2.VertexColor=Vector3.new(-a+1,a,0)
  114. weitmesh.VertexColor=Vector3.new(-a+1,a,0)
  115. asd.Color=Color3.new(-a+1,a,0)
  116. coroutine.wrap(function()
  117. for x=1,#Hats do
  118. Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
  119. end
  120. end)()
  121. wait''
  122. end
  123. for a=0,1,rate do
  124. lam.VertexColor=Vector3.new(0,-a+1,a)
  125. ram.VertexColor=Vector3.new(0,-a+1,a)
  126. rlm.VertexColor=Vector3.new(0,-a+1,a)
  127. llm.VertexColor=Vector3.new(0,-a+1,a)
  128. trm.VertexColor=Vector3.new(0,-a+1,a)
  129. hem.VertexColor=Vector3.new(0,-a+1,a)
  130. hem2.VertexColor=Vector3.new(0,-a+1,a)
  131. weitmesh.VertexColor=Vector3.new(0,-a+1,a)
  132. asd.Color=Color3.new(0,-a+1,a)
  133. coroutine.wrap(function()
  134. for x=1,#Hats do
  135. Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
  136. end
  137. end)()
  138. wait''
  139. end
  140. end
  141. end))]]
  142.  
  143.  
  144. function Lerp(a, b, i)
  145. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  146. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  147. local calx = com1[1] + (com2[1] - com1[1]) * i
  148. local caly = com1[2] + (com2[2] - com1[2]) * i
  149. local calz = com1[3] + (com2[3] - com1[3]) * i
  150. local cala = com1[4] + (com2[4] - com1[4]) * i
  151. local calb = com1[5] + (com2[5] - com1[5]) * i
  152. local calc = com1[6] + (com2[6] - com1[6]) * i
  153. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  154. end
  155.  
  156. function TwnSingleNumber(s,f,m)
  157. local wot=s+(f-s)*m
  158. return wot
  159. end
  160.  
  161. function TwnVector3(q,w,e)
  162. local begin={q.x,q.y,q.z}
  163. local ending={w.x,w.y,w.z}
  164. local bgx=begin[1]+(ending[1]-begin[1])*e
  165. local bgy=begin[2]+(ending[2]-begin[2])*e
  166. local bgz=begin[3]+(ending[3]-begin[3])*e
  167. return Vector3.new(bgx,bgy,bgz)
  168. end
  169.  
  170. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  171. wld = Instance.new("Weld", wp1)
  172. wld.Part0 = wp0
  173. wld.Part1 = wp1
  174. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  175. end
  176.  
  177. newWeld(law, torso, larm, -1.5, 0.5, 0)
  178. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  179. newWeld(llw, torso, lleg, -.5, -2, 0)
  180. newWeld(rlw, torso, rleg, .5, -2, 0)
  181. newWeld(hw, torso, hed, 0, 1.5, 0)
  182. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  183. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  184. rleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
  185. lleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
  186.  
  187. local anim = "Idling"
  188. local lastanim = "Idling"
  189. local val = 0
  190. local syne = 0
  191. local num = 0
  192. local runtime = 0
  193.  
  194.  
  195. maus.KeyUp:connect(function(kei)
  196. if string.byte(kei)==48 and not otheranims then
  197. running=false
  198. chr.Humanoid.WalkSpeed=10
  199. end
  200. end)
  201.  
  202. maus.KeyDown:connect(function(kei)
  203. if string.byte(kei)==48 and not otheranims then
  204. running=true
  205. chr.Humanoid.WalkSpeed=18
  206. end
  207.  
  208. chr.Humanoid.Changed:connect(function(ch)
  209. if ch=='Jump' and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand then
  210. local rei=Ray.new(torso.CFrame.p,((torso.CFrame*CFrame.new(0,-1,0)).p-torso.CFrame.p).unit*10)
  211. local t,p=Workspace:FindPartOnRay(rei,chr)
  212. if t then
  213. chr.Humanoid.Jump=false
  214. end
  215. end
  216. end)
  217.  
  218. if kei==' ' and not chr.Humanoid.Jump and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand and not jamp then
  219. local rei=Ray.new(torso.CFrame.p,((rutprt.CFrame*CFrame.new(0,-1,0)).p-rutprt.CFrame.p).unit*3)
  220. local t,p=Workspace:FindPartOnRay(rei,chr)
  221. if t then
  222. chr.Humanoid.PlatformStand=true
  223. jamp=true
  224. coroutine.wrap(function()
  225. repeat wait()
  226. chr.Torso.Velocity=Vector3.new(0,35,0)
  227. until not chr.Humanoid.PlatformStand
  228. end)()
  229. wait(.1)
  230. chr.Humanoid.PlatformStand=false
  231. jamp=false
  232. end
  233. end
  234. end)
  235.  
  236.  
  237.  
  238. local grunt=Instance.new('Sound',hed)
  239. grunt.Name='Grunt'
  240. grunt.Volume=1
  241. grunt.Pitch=.9
  242. grunt.Looped=false
  243. grunt.SoundId="http://www.roblox.com/asset?id=143384769"
  244.  
  245.  
  246.  
  247. local hut=Instance.new('Sound',weit)
  248. hut.Name='Hit'
  249. hut.Volume=1
  250. hut.Looped=false
  251. hut.Pitch=1
  252. hut.SoundId="http://www.roblox.com/asset?id=146163534"
  253. local wtl=Instance.new('PointLight',weit)
  254. wtl.Shadows=true
  255. wtl.Brightness=123
  256. wtl.Range=12
  257. wtl.Color=weit.BrickColor.Color
  258. wtl.Name='WeightLight'
  259. local wgui=Instance.new('SurfaceGui',weit)
  260. wgui.Face='Front'
  261. wgui.Adornee=weit
  262. wgui.CanvasSize=Vector2.new(100,100)
  263. wgui.Name='WeightGui'
  264. local tb=Instance.new('TextLabel',wgui)
  265. tb.Size=UDim2.new(1,0,1,0)
  266. tb.Text=[[LAWL'D]]
  267. tb.TextColor3=Color3.new(1,1,1)
  268. tb.BackgroundTransparency=1
  269. local wtw=Instance.new('Weld',torso)
  270. wtw.Name='WeightWeld'
  271. wtw.Part0=torso
  272. wtw.Part1=weit
  273. wtw.C0=CFrame.new(0,.5,-1.8)*CFrame.Angles(math.rad(-20),0,0)
  274. weit.Touched:connect(function(hit)
  275. if hit and hit.CanCollide and hit.Parent and hit.Parent~=chr and hit.Parent.Parent~=chr and otheranims then
  276. hum=hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.ClassName=='Model'
  277. if hum and not hitdb then
  278. local ex=Instance.new('Explosion',workspace)
  279. ex.DestroyJointRadiusPercent=0
  280. ex.BlastPressure=222222
  281. ex.BlastRadius=18
  282. hitdb=true
  283. ex.Position=hit.Parent.Torso.Position
  284. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(101*(hit.Parent.Humanoid.MaxHealth/100))
  285. table.insert(tempignore,hit.Parent)
  286. hut:Play()
  287. toss=false
  288. hit.Parent.Humanoid.PlatformStand=true
  289. coroutine.wrap(function()
  290. repeat wait()
  291. hit.Parent.Torso.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*100
  292. weit.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*-10+Vector3.new(0,20,0)
  293. until not hit.Parent.Humanoid.PlatformStand
  294. end)()
  295. wait(.2)
  296. hit.Parent.Humanoid.PlatformStand=false
  297. end
  298. end
  299. end)
  300. maus.Button1Down:connect(function()
  301. if not otheranims then
  302. chr.Humanoid.WalkSpeed=0
  303. otheranims=true
  304. anim='PreThrow'
  305. hitdb=false
  306. coroutine.resume(coroutine.create(function()
  307. for fgh,hgf in pairs(tempignore) do
  308. table.remove(tempignore,hgf)
  309. end
  310. end))
  311. wait(.3)
  312. grunt:Play()
  313. wait(.2)
  314. anim='Throw'
  315. const.Parent=nil
  316. wtw.Parent=nil
  317. wtw.Part0=nil
  318. toss=true
  319. weit.CFrame=rutprt.CFrame*CFrame.new(0,3,-3)
  320. wait()
  321. weit.Velocity=((rutprt.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*-200+Vector3.new(0,12,0)
  322. wait(.25)
  323. const.Parent=chr
  324. anim='Rest'
  325. wait(1)
  326. wtw.Parent=torso
  327. wtw.Part0=torso
  328. otheranims=false
  329. chr.Humanoid.WalkSpeed=10
  330. toss=false
  331. end
  332. end)
  333.  
  334. -----------------------------------------------------------------------------
  335.  
  336. game:service'RunService'.RenderStepped:connect(function()
  337. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  338. syne=syne+.95
  339. if running and not otheranims then chr.Humanoid.WalkSpeed=18
  340. elseif not running and not otheranims then chr.Humanoid.WalkSpeed=10
  341. end
  342. if not otheranims then
  343. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  344. anim="Idling"
  345.  
  346. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  347. anim="Walking"
  348.  
  349. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  350. anim="Sprinting"
  351.  
  352. elseif torso.Velocity.y>1 then
  353. anim='Jumping'
  354.  
  355. elseif (torso.Velocity.y < -1) then
  356. anim='Falling'
  357. end
  358. end
  359.  
  360. if anim=="Idling" then if not armmovement then
  361. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  362. end
  363. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.7)*CFrame.Angles(math.rad(-20),0,0),.25)
  364. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  365. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(-2.5)),.05)
  366. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(2.5)),.05)
  367. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,math.cos(syne/30)/25),.05)
  368. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(125),math.rad(180),0),.05)
  369. end
  370. if anim=="Walking" then if not armmovement then
  371. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  372. end
  373. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  374. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  375. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,(math.cos(syne/10))-1.3,(math.cos(syne/10))+.475)*CFrame.Angles((math.cos(syne/10))*-1,0,math.rad(-2.5)),.05)
  376. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,(math.cos(syne/10))*-1-1.3,(math.cos(syne/10))*-1+.475)*CFrame.Angles((math.cos(syne/10)),0,math.rad(2.5)),.05)
  377. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.cos(syne/10)/10*-1,math.cos(syne/10)/20),.05)
  378. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/6)/4-.5,0)*CFrame.Angles(math.rad(125),math.cos(syne/10)/10+math.rad(180),0),.05)
  379. end
  380.  
  381. if anim=="Sprinting" then if not armmovement then
  382. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  383. end
  384. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  385. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  386. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,(math.cos(syne/7))-1.3,(math.cos(syne/7))+.475)*CFrame.Angles((math.cos(syne/7))*-1,0,math.rad(-2.5)),.05)
  387. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,(math.cos(syne/7))*-1-1.3,(math.cos(syne/7))*-1+.475)*CFrame.Angles((math.cos(syne/7)),0,math.rad(2.5)),.05)
  388. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.cos(syne/7)/7*-1,math.cos(syne/7)/20),.05)
  389. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/6)/4-.5,0)*CFrame.Angles(math.rad(125),math.cos(syne/7)/7+math.rad(180),0),.05)
  390. end
  391.  
  392. if anim=="Jumping" then if not armmovement then
  393. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15)
  394. end
  395. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15)
  396. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,1)*CFrame.Angles(0,0,math.rad(-2.5)),.05)
  397. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,1)*CFrame.Angles(0,0,math.rad(2.5)),.05)
  398. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05)
  399. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/50)/20,.5)*CFrame.Angles(math.rad(75),math.rad(180),math.rad(0)),.05)
  400. end
  401.  
  402. if anim=="Falling" then if not armmovement then
  403. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.425,.525,0)*CFrame.Angles(math.cos(syne/10)/5+math.rad(120),0,math.rad(22.5)),.15)
  404. end
  405. wtw.C0=Lerp(wtw.C0,CFrame.new(0,1.25,-2.25)*CFrame.Angles(math.cos(syne/20)/20,math.cos(syne/10)/30,0),.25)
  406. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.425,.525,0)*CFrame.Angles((math.cos(syne/10)/5)*-1+math.rad(120),0,math.rad(-22.5)),.15)
  407. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.725,-1.5,-.3)*CFrame.Angles(math.cos(syne/10)/5+math.rad(33),0,math.rad(-15)),.05)
  408. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.725,-1.5,-.3)*CFrame.Angles(math.cos(syne/10)/5*-1+math.rad(33),0,math.rad(15)),.05)
  409. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,0),.05)
  410. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,1)*CFrame.Angles(math.rad(125),math.rad(180),math.rad(0)),.05)
  411. end
  412.  
  413. if anim=="PreThrow" then
  414. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.5,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  415. wtw.C0=Lerp(wtw.C0,CFrame.new(0,1,-2)*CFrame.Angles(math.rad(-10),0,0),.1)
  416. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  417. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(-2.5)),.1)
  418. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(2.5)),.1)
  419. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),0,0),.1)
  420. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(132.5),math.rad(180),0),.1)
  421. end
  422.  
  423. if anim=="Throw" then
  424. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.6,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  425. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  426. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  427. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  428. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  429. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-.5,0)*CFrame.Angles(math.rad(75),math.rad(180),0),.1)
  430. end
  431.  
  432. if anim=="Rest" then
  433. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.55,-.225)*CFrame.Angles(math.rad(35),0,math.rad(-12.5)),.1)
  434. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(35),0,math.rad(12.5)),.1)
  435. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  436. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  437. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  438. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,math.cos(syne/40)/15-1,0)*CFrame.Angles(math.rad(75),math.rad(180),0),.1)
  439. end
  440.  
  441. end)
Add Comment
Please, Sign In to add comment