Advertisement
Zach_rookie_editor3

500 Pounds ball

Oct 28th, 2019
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Use h/ Buster ") end
  2. warn(" credits goes to the real creator ")
  3. warn(" Dont abuse pls ")
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. local rp = RealPlayer
  9. script.Parent = rp.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent then
  35. for _,f in pairs(t.Functions) do
  36. f(...)
  37. end
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=rp then return end
  45. m.Target = io.Target
  46. m.Hit = io.Hit
  47. if not io.isMouse then
  48. local b = io.UserInputState == Enum.UserInputState.Begin
  49. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  51. end
  52. for _,t in pairs(CAS.Actions) do
  53. for _,k in pairs(t.Keys) do
  54. if k==io.KeyCode then
  55. t.Function(t.Name,io.UserInputState,io)
  56. end
  57. end
  58. end
  59. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  60. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  61. end
  62. end)
  63. Event.Parent = NLS([==[
  64. local Player = game:GetService("Players").LocalPlayer
  65. local Event = script:WaitForChild("UserInput_Event")
  66.  
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76.  
  77. local h,t
  78. --Give the server mouse data 30 times every second, but only if the values changed
  79. --If player is not moving their mouse, client won't fire events
  80. while wait(1/30) do
  81. if h~=Mouse.Hit or t~=Mouse.Target then
  82. h,t=Mouse.Hit,Mouse.Target
  83. Event:FireServer({isMouse=true,Target=t,Hit=h})
  84. end
  85. end]==],Player.Character)
  86.  
  87. ----Sandboxed game object that allows the usage of client-side methods and services
  88. --Real game object
  89. local _rg = game
  90.  
  91. --Metatable for fake service
  92. local fsmt = {
  93. __index = function(self,k)
  94. local s = rawget(self,"_RealService")
  95. if s then return s[k] end
  96. end,
  97. __newindex = function(self,k,v)
  98. local s = rawget(self,"_RealService")
  99. if s then s[k]=v end
  100. end,
  101. __call = function(self,...)
  102. local s = rawget(self,"_RealService")
  103. if s then return s(...) end
  104. end
  105. }
  106. local function FakeService(t,RealService)
  107. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  108. return setmetatable(t,fsmt)
  109. end
  110.  
  111. --Fake game object
  112. local g = {
  113. GetService = function(self,s)
  114. return self[s]
  115. end,
  116. Players = FakeService({
  117. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  118. },"Players"),
  119. UserInputService = FakeService(UIS,"UserInputService"),
  120. ContextActionService = FakeService(CAS,"ContextActionService"),
  121. }
  122. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  123. g.service = g.GetService
  124.  
  125. g.RunService = FakeService({
  126. RenderStepped = _rg:GetService("RunService").Heartbeat,
  127. BindToRenderStep = function(self,name,_,fun)
  128.  
  129. end,
  130. UnbindFromRenderStep = function(self,name)
  131. self._btrs[name]:Disconnect()
  132. end,
  133. },"RunService")
  134.  
  135. setmetatable(g,{
  136. __index=function(self,s)
  137. return _rg:GetService(s) or typeof(_rg[s])=="function"
  138. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  139. end,
  140. __newindex = fsmt.__newindex,
  141. __call = fsmt.__call
  142. })
  143. --Changing owner to fake player object to support owner:GetMouse()
  144. game,owner = g,g.Players.LocalPlayer
  145. end
  146.  
  147. local plr = game.Players.LocalPlayer
  148. local chr = plr.Character
  149. local maus = plr:GetMouse()
  150. local PGui=plr.PlayerGui
  151. local lleg = chr["Left Leg"]
  152. local rleg = chr["Right Leg"]
  153. local larm = chr["Left Arm"]
  154. local rarm = chr["Right Arm"]
  155. local hed = chr.Head
  156. local rutprt = chr.HumanoidRootPart
  157. local torso = chr.Torso
  158. local otheranims=false
  159. local armmovement=false
  160. local hitdb=false
  161. local toss=false
  162. local jamp=false
  163. chr.Animate.Disabled=true
  164. chr.Humanoid.WalkSpeed=10
  165. local running=false
  166. local tempignore={}
  167.  
  168. local weit=Instance.new('Part',hed)
  169. weit.Shape='Ball'
  170. weit.BrickColor=BrickColor.new('Black')
  171. weit.Material='Metal'
  172. weit.Size=Vector3.new(3,3,3)
  173. weit.CanCollide=true
  174. weit.Name='Weight'
  175. weit.Friction=1
  176. weit.Elasticity=0
  177.  
  178.  
  179.  
  180. local at1=Instance.new("Attachment",torso)
  181. local at2=Instance.new("Attachment",weit)
  182. local const=Instance.new("RopeConstraint",chr)
  183. const.Attachment0=at2
  184. const.Attachment1=at1
  185. const.Visible=true
  186. const.Restitution=0
  187. const.Length=100
  188.  
  189. local pseudohead=hed:Clone()
  190. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  191. pseudohead.Name='PseudoHead'
  192. pseudohead.Parent=chr.Head
  193. local pseudoweld=Instance.new('Weld',torso)
  194. pseudoweld.Part0=hed
  195. pseudoweld.Name='PseudoHedWld'
  196. pseudoweld.Part1=pseudohead
  197. hed.Transparency=1
  198.  
  199. --[[coroutine.resume(coroutine.create(function()
  200. local rate=.05
  201. local Hats={}
  202. 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"
  203. end
  204. end
  205. local lam=Instance.new("SpecialMesh",larm)
  206. lam.MeshId="http://www.roblox.com/asset?id=12221505"
  207. lam.TextureId="http://www.roblox.com/asset?id=25701026"
  208. local ram=Instance.new("SpecialMesh",rarm)
  209. ram.MeshId="http://www.roblox.com/asset?id=12221505"
  210. ram.TextureId="http://www.roblox.com/asset?id=25701026"
  211. local rlm=Instance.new("SpecialMesh",rleg)
  212. rlm.MeshId="http://www.roblox.com/asset?id=12221626"
  213. rlm.TextureId="http://www.roblox.com/asset?id=25701026"
  214. local llm=Instance.new("SpecialMesh",lleg)
  215. llm.MeshId="http://www.roblox.com/asset?id=12221626"
  216. llm.TextureId="http://www.roblox.com/asset?id=25701026"
  217. local trm=Instance.new("SpecialMesh",torso)
  218. trm.MeshId="http://www.roblox.com/asset?id=12221758"
  219. trm.TextureId="http://www.roblox.com/asset?id=25701026"
  220. local hem=Instance.new("SpecialMesh",hed)
  221. hem.MeshId="rbxasset://fonts/head.mesh"
  222. hem.TextureId="http://www.roblox.com/asset?id=25701026"
  223. local hem2=Instance.new("SpecialMesh",pseudohead)
  224. hem2.MeshId="rbxasset://fonts/head.mesh"
  225. hem2.TextureId="http://www.roblox.com/asset?id=25701026"
  226. local weitmesh=Instance.new("SpecialMesh",weit)
  227. weitmesh.MeshId="http://www.roblox.com/asset/?id=1527559"
  228. weitmesh.TextureId="http://www.roblox.com/asset?id=25701026"
  229. local asd=Instance.new('PointLight',torso)
  230. asd.Brightness=123
  231. asd.Range=12
  232. asd.Shadows=true
  233.  
  234. while wait'0' do
  235. for a=0,1,rate do
  236. lam.VertexColor=Vector3.new(a,0,-a+1)
  237. ram.VertexColor=Vector3.new(a,0,-a+1)
  238. rlm.VertexColor=Vector3.new(a,0,-a+1)
  239. llm.VertexColor=Vector3.new(a,0,-a+1)
  240. trm.VertexColor=Vector3.new(a,0,-a+1)
  241. hem.VertexColor=Vector3.new(a,0,-a+1)
  242. hem2.VertexColor=Vector3.new(a,0,-a+1)
  243. weitmesh.VertexColor=Vector3.new(a,0,-a+1)
  244. asd.Color=Color3.new(a,0,-a+1)
  245. coroutine.wrap(function()
  246. for x=1,#Hats do
  247. Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
  248. end
  249. end)()
  250. wait''
  251. end
  252. for a=0,1,rate do
  253. lam.VertexColor=Vector3.new(-a+1,a,0)
  254. ram.VertexColor=Vector3.new(-a+1,a,0)
  255. rlm.VertexColor=Vector3.new(-a+1,a,0)
  256. llm.VertexColor=Vector3.new(-a+1,a,0)
  257. trm.VertexColor=Vector3.new(-a+1,a,0)
  258. hem.VertexColor=Vector3.new(-a+1,a,0)
  259. hem2.VertexColor=Vector3.new(-a+1,a,0)
  260. weitmesh.VertexColor=Vector3.new(-a+1,a,0)
  261. asd.Color=Color3.new(-a+1,a,0)
  262. coroutine.wrap(function()
  263. for x=1,#Hats do
  264. Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
  265. end
  266. end)()
  267. wait''
  268. end
  269. for a=0,1,rate do
  270. lam.VertexColor=Vector3.new(0,-a+1,a)
  271. ram.VertexColor=Vector3.new(0,-a+1,a)
  272. rlm.VertexColor=Vector3.new(0,-a+1,a)
  273. llm.VertexColor=Vector3.new(0,-a+1,a)
  274. trm.VertexColor=Vector3.new(0,-a+1,a)
  275. hem.VertexColor=Vector3.new(0,-a+1,a)
  276. hem2.VertexColor=Vector3.new(0,-a+1,a)
  277. weitmesh.VertexColor=Vector3.new(0,-a+1,a)
  278. asd.Color=Color3.new(0,-a+1,a)
  279. coroutine.wrap(function()
  280. for x=1,#Hats do
  281. Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
  282. end
  283. end)()
  284. wait''
  285. end
  286. end
  287. end))]]
  288.  
  289.  
  290. function Lerp(a, b, i)
  291. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  292. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  293. local calx = com1[1] + (com2[1] - com1[1]) * i
  294. local caly = com1[2] + (com2[2] - com1[2]) * i
  295. local calz = com1[3] + (com2[3] - com1[3]) * i
  296. local cala = com1[4] + (com2[4] - com1[4]) * i
  297. local calb = com1[5] + (com2[5] - com1[5]) * i
  298. local calc = com1[6] + (com2[6] - com1[6]) * i
  299. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  300. end
  301.  
  302. function TwnSingleNumber(s,f,m)
  303. local wot=s+(f-s)*m
  304. return wot
  305. end
  306.  
  307. function TwnVector3(q,w,e)
  308. local begin={q.x,q.y,q.z}
  309. local ending={w.x,w.y,w.z}
  310. local bgx=begin[1]+(ending[1]-begin[1])*e
  311. local bgy=begin[2]+(ending[2]-begin[2])*e
  312. local bgz=begin[3]+(ending[3]-begin[3])*e
  313. return Vector3.new(bgx,bgy,bgz)
  314. end
  315.  
  316. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  317. wld = Instance.new("Weld", wp1)
  318. wld.Part0 = wp0
  319. wld.Part1 = wp1
  320. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  321. end
  322.  
  323. newWeld(law, torso, larm, -1.5, 0.5, 0)
  324. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  325. newWeld(llw, torso, lleg, -.5, -2, 0)
  326. newWeld(rlw, torso, rleg, .5, -2, 0)
  327. newWeld(hw, torso, hed, 0, 1.5, 0)
  328. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  329. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  330. rleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
  331. lleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
  332.  
  333. local anim = "Idling"
  334. local lastanim = "Idling"
  335. local val = 0
  336. local syne = 0
  337. local num = 0
  338. local runtime = 0
  339.  
  340.  
  341. maus.KeyUp:connect(function(kei)
  342. if string.byte(kei)==48 and not otheranims then
  343. running=false
  344. chr.Humanoid.WalkSpeed=10
  345. end
  346. end)
  347.  
  348. maus.KeyDown:connect(function(kei)
  349. if string.byte(kei)==48 and not otheranims then
  350. running=true
  351. chr.Humanoid.WalkSpeed=18
  352. end
  353.  
  354. chr.Humanoid.Changed:connect(function(ch)
  355. if ch=='Jump' and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand then
  356. local rei=Ray.new(torso.CFrame.p,((torso.CFrame*CFrame.new(0,-1,0)).p-torso.CFrame.p).unit*10)
  357. local t,p=Workspace:FindPartOnRay(rei,chr)
  358. if t then
  359. chr.Humanoid.Jump=false
  360. end
  361. end
  362. end)
  363.  
  364. if kei==' ' and not chr.Humanoid.Jump and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand and not jamp then
  365. local rei=Ray.new(torso.CFrame.p,((rutprt.CFrame*CFrame.new(0,-1,0)).p-rutprt.CFrame.p).unit*3)
  366. local t,p=Workspace:FindPartOnRay(rei,chr)
  367. if t then
  368. chr.Humanoid.PlatformStand=true
  369. jamp=true
  370. coroutine.wrap(function()
  371. repeat wait()
  372. chr.Torso.Velocity=Vector3.new(0,35,0)
  373. until not chr.Humanoid.PlatformStand
  374. end)()
  375. wait(.1)
  376. chr.Humanoid.PlatformStand=false
  377. jamp=false
  378. end
  379. end
  380. end)
  381.  
  382.  
  383.  
  384. local grunt=Instance.new('Sound',hed)
  385. grunt.Name='Grunt'
  386. grunt.Volume=30
  387. grunt.Pitch=1
  388. grunt.Looped=false
  389. grunt.SoundId="http://www.roblox.com/asset?id=2816697929"
  390.  
  391.  
  392.  
  393. local hut=Instance.new('Sound',weit)
  394. hut.Name='Hit'
  395. hut.Volume=10
  396. hut.Looped=false
  397. hut.Pitch=1
  398. hut.SoundId="http://www.roblox.com/asset?id=3417831369"
  399. local wtl=Instance.new('PointLight',weit)
  400. wtl.Shadows=true
  401. wtl.Brightness=123
  402. wtl.Range=12
  403. wtl.Color=weit.BrickColor.Color
  404. wtl.Name='WeightLight'
  405. local wgui=Instance.new('SurfaceGui',weit)
  406. wgui.Face='Front'
  407. wgui.Adornee=weit
  408. wgui.CanvasSize=Vector2.new(100,100)
  409. wgui.Name='WeightGui'
  410. local tb=Instance.new('TextLabel',wgui)
  411. tb.Size=UDim2.new(1,0,1,0)
  412. tb.Text=[[wryyy >:D]]
  413. tb.TextColor3=Color3.new(1,1,1)
  414. tb.BackgroundTransparency=1
  415. local wtw=Instance.new('Weld',torso)
  416. wtw.Name='WeightWeld'
  417. wtw.Part0=torso
  418. wtw.Part1=weit
  419. wtw.C0=CFrame.new(0,.5,-1.8)*CFrame.Angles(math.rad(-20),0,0)
  420. weit.Touched:connect(function(hit)
  421. if hit and hit.CanCollide and hit.Parent and hit.Parent~=chr and hit.Parent.Parent~=chr and otheranims then
  422. hum=hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.ClassName=='Model'
  423. if hum and not hitdb then
  424. local ex=Instance.new('Explosion',workspace)
  425. ex.DestroyJointRadiusPercent=0
  426. ex.BlastPressure=222222
  427. ex.BlastRadius=18
  428. hitdb=true
  429. ex.Position=hit.Parent.Torso.Position
  430. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(101*(hit.Parent.Humanoid.MaxHealth/100))
  431. table.insert(tempignore,hit.Parent)
  432. hut:Play()
  433. toss=false
  434. hit.Parent.Humanoid.PlatformStand=true
  435. coroutine.wrap(function()
  436. repeat wait()
  437. hit.Parent.Torso.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*100
  438. 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)
  439. until not hit.Parent.Humanoid.PlatformStand
  440. end)()
  441. wait(.2)
  442. hit.Parent.Humanoid.PlatformStand=false
  443. end
  444. end
  445. end)
  446. maus.Button1Down:connect(function()
  447. if not otheranims then
  448. chr.Humanoid.WalkSpeed=0
  449. otheranims=true
  450. anim='PreThrow'
  451. hitdb=false
  452. coroutine.resume(coroutine.create(function()
  453. for fgh,hgf in pairs(tempignore) do
  454. table.remove(tempignore,hgf)
  455. end
  456. end))
  457. wait(.3)
  458. grunt:Play()
  459. wait(.2)
  460. anim='Throw'
  461. const.Parent=nil
  462. wtw.Parent=nil
  463. wtw.Part0=nil
  464. toss=true
  465. weit.CFrame=rutprt.CFrame*CFrame.new(0,3,-3)
  466. wait()
  467. 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)
  468. wait(.25)
  469. const.Parent=chr
  470. anim='Rest'
  471. wait(1)
  472. wtw.Parent=torso
  473. wtw.Part0=torso
  474. otheranims=false
  475. chr.Humanoid.WalkSpeed=10
  476. toss=false
  477. end
  478. end)
  479.  
  480. -----------------------------------------------------------------------------
  481.  
  482. game:service'RunService'.RenderStepped:connect(function()
  483. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  484. syne=syne+.95
  485. if running and not otheranims then chr.Humanoid.WalkSpeed=18
  486. elseif not running and not otheranims then chr.Humanoid.WalkSpeed=10
  487. end
  488. if not otheranims then
  489. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  490. anim="Idling"
  491.  
  492. 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
  493. anim="Walking"
  494.  
  495. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  496. anim="Sprinting"
  497.  
  498. elseif torso.Velocity.y>1 then
  499. anim='Jumping'
  500.  
  501. elseif (torso.Velocity.y < -1) then
  502. anim='Falling'
  503. end
  504. end
  505.  
  506. if anim=="Idling" then if not armmovement then
  507. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  508. end
  509. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.7)*CFrame.Angles(math.rad(-20),0,0),.25)
  510. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  511. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(-2.5)),.05)
  512. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(2.5)),.05)
  513. 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)
  514. 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)
  515. end
  516. if anim=="Walking" then if not armmovement then
  517. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  518. end
  519. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  520. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  521. 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)
  522. 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)
  523. 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)
  524. 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)
  525. end
  526.  
  527. if anim=="Sprinting" then if not armmovement then
  528. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
  529. end
  530. wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
  531. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
  532. 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)
  533. 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)
  534. 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)
  535. 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)
  536. end
  537.  
  538. if anim=="Jumping" then if not armmovement then
  539. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15)
  540. end
  541. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15)
  542. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,1)*CFrame.Angles(0,0,math.rad(-2.5)),.05)
  543. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,1)*CFrame.Angles(0,0,math.rad(2.5)),.05)
  544. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05)
  545. 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)
  546. end
  547.  
  548. if anim=="Falling" then if not armmovement then
  549. 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)
  550. end
  551. 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)
  552. 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)
  553. 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)
  554. 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)
  555. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,0),.05)
  556. rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,1)*CFrame.Angles(math.rad(125),math.rad(180),math.rad(0)),.05)
  557. end
  558.  
  559. if anim=="PreThrow" then
  560. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.5,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  561. wtw.C0=Lerp(wtw.C0,CFrame.new(0,1,-2)*CFrame.Angles(math.rad(-10),0,0),.1)
  562. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  563. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(-2.5)),.1)
  564. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(2.5)),.1)
  565. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),0,0),.1)
  566. 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)
  567. end
  568.  
  569. if anim=="Throw" then
  570. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.6,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
  571. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
  572. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  573. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  574. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  575. 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)
  576. end
  577.  
  578. if anim=="Rest" then
  579. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.55,-.225)*CFrame.Angles(math.rad(35),0,math.rad(-12.5)),.1)
  580. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(35),0,math.rad(12.5)),.1)
  581. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
  582. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
  583. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
  584. 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)
  585. end
  586.  
  587. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement