BINO2002

Untitled

Mar 13th, 2017
77
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=[[500
  267. LBS.]]
  268. tb.TextColor3=Color3.new(1,1,1)
  269. tb.BackgroundTransparency=1
  270. local wtw=Instance.new('Weld',torso)
  271. wtw.Name='WeightWeld'
  272. wtw.Part0=torso
  273. wtw.Part1=weit
  274. wtw.C0=CFrame.new(0,.5,-1.8)*CFrame.Angles(math.rad(-20),0,0)
  275. weit.Touched:connect(function(hit)
  276. if hit and hit.CanCollide and hit.Parent and hit.Parent~=chr and hit.Parent.Parent~=chr and otheranims then
  277. hum=hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.ClassName=='Model'
  278. if hum and not hitdb then
  279. local ex=Instance.new('Explosion',workspace)
  280. ex.DestroyJointRadiusPercent=0
  281. ex.BlastPressure=222222
  282. ex.BlastRadius=18
  283. hitdb=true
  284. ex.Position=hit.Parent.Torso.Position
  285. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(101*(hit.Parent.Humanoid.MaxHealth/100))
  286. table.insert(tempignore,hit.Parent)
  287. hut:Play()
  288. toss=false
  289. hit.Parent.Humanoid.PlatformStand=true
  290. coroutine.wrap(function()
  291. repeat wait()
  292. hit.Parent.Torso.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*100
  293. 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)
  294. until not hit.Parent.Humanoid.PlatformStand
  295. end)()
  296. wait(.2)
  297. hit.Parent.Humanoid.PlatformStand=false
  298. end
  299. end
  300. end)
  301. maus.Button1Down:connect(function()
  302. if not otheranims then
  303. chr.Humanoid.WalkSpeed=0
  304. otheranims=true
  305. anim='PreThrow'
  306. hitdb=false
  307. coroutine.resume(coroutine.create(function()
  308. for fgh,hgf in pairs(tempignore) do
  309. table.remove(tempignore,hgf)
  310. end
  311. end))
  312. wait(.3)
  313. grunt:Play()
  314. wait(.2)
  315. anim='Throw'
  316. const.Parent=nil
  317. wtw.Parent=nil
  318. wtw.Part0=nil
  319. toss=true
  320. weit.CFrame=rutprt.CFrame*CFrame.new(0,3,-3)
  321. wait()
  322. 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)
  323. wait(.25)
  324. const.Parent=chr
  325. anim='Rest'
  326. wait(1)
  327. wtw.Parent=torso
  328. wtw.Part0=torso
  329. otheranims=false
  330. chr.Humanoid.WalkSpeed=10
  331. toss=false
  332. end
  333. end)
  334.  
  335. -----------------------------------------------------------------------------
  336.  
  337. game:service'RunService'.RenderStepped:connect(function()
  338. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  339. syne=syne+.95
  340. if running and not otheranims then chr.Humanoid.WalkSpeed=18
  341. elseif not running and not otheranims then chr.Humanoid.WalkSpeed=10
  342. end
  343. if not otheranims then
  344. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  345. anim="Idling"
  346.  
  347. 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
  348. anim="Walking"
  349.  
  350. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  351. anim="Sprinting"
  352.  
  353. elseif torso.Velocity.y>1 then
  354. anim='Jumping'
  355.  
  356. elseif (torso.Velocity.y < -1) then
  357. anim='Falling'
  358. end
  359. end
  360.  
  361. if anim=="Idling" then if not armmovement then
  362. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  363. end
  364. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.7)*CFrame.Angles(math.rad(-20),0,0),.25)
  365. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  366. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(-2.5)),.05)
  367. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(2.5)),.05)
  368. 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)
  369. 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)
  370. end
  371. if anim=="Walking" then if not armmovement then
  372. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  373. end
  374. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  375. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  376. 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)
  377. 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)
  378. 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)
  379. 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)
  380. end
  381.  
  382. if anim=="Sprinting" then if not armmovement then
  383. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  384. end
  385. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  386. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  387. 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)
  388. 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)
  389. 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)
  390. 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)
  391. end
  392.  
  393. if anim=="Jumping" then if not armmovement then
  394. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15)
  395. end
  396. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15)
  397. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,1)*CFrame.Angles(0,0,math.rad(-2.5)),.05)
  398. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,1)*CFrame.Angles(0,0,math.rad(2.5)),.05)
  399. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05)
  400. 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)
  401. end
  402.  
  403. if anim=="Falling" then if not armmovement then
  404. 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)
  405. end
  406. 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)
  407. 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)
  408. 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)
  409. 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)
  410. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,0),.05)
  411. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,1)*CFrame.Angles(math.rad(125),math.rad(180),math.rad(0)),.05)
  412. end
  413.  
  414. if anim=="PreThrow" then
  415. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.5,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  416. wtw.C0=Lerp(wtw.C0,CFrame.new(0,1,-2)*CFrame.Angles(math.rad(-10),0,0),.1)
  417. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  418. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(-2.5)),.1)
  419. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(2.5)),.1)
  420. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),0,0),.1)
  421. 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)
  422. end
  423.  
  424. if anim=="Throw" then
  425. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.6,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  426. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  427. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  428. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  429. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  430. 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)
  431. end
  432.  
  433. if anim=="Rest" then
  434. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.55,-.225)*CFrame.Angles(math.rad(35),0,math.rad(-12.5)),.1)
  435. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(35),0,math.rad(12.5)),.1)
  436. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  437. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  438. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  439. 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)
  440. end
  441.  
  442. end)
Add Comment
Please, Sign In to add comment