Advertisement
Pancakess

ball

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