Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("say h/ not hl/")end;print("LOADING... 99%");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("100%!")
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local maus = plr:GetMouse()
- local PGui=plr.PlayerGui
- local lleg = chr["Left Leg"]
- local rleg = chr["Right Leg"]
- local larm = chr["Left Arm"]
- local rarm = chr["Right Arm"]
- local hed = chr.Head
- local rutprt = chr.HumanoidRootPart
- local torso = chr.Torso
- local otheranims=false
- local armmovement=false
- local hitdb=false
- local toss=false
- local jamp=false
- chr.Animate.Disabled=true
- chr.Humanoid.WalkSpeed=16
- local running=false
- local tempignore={}
- local weit=Instance.new('Part',hed)
- weit.Shape='Ball'
- weit.Material='Plastic'
- weit.Color = Color3.new("0,0,0")
- weit.Transparency = 0
- weit.Size=Vector3.new(4.1,4.1,4.1)
- weit.CanCollide=true
- weit.Name='Weight'
- weit.Friction=5
- weit.Elasticity=0
- local at1=Instance.new("Attachment",torso)
- local at2=Instance.new("Attachment",weit)
- local const=Instance.new("RopeConstraint",chr)
- const.Attachment0=at2
- const.Attachment1=at1
- const.Visible=true
- const.Restitution=0
- const.Length=200
- local pseudohead=hed:Clone()
- for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
- pseudohead.Name='PseudoHead'
- pseudohead.Parent=chr.Head
- local pseudoweld=Instance.new('Weld',torso)
- pseudoweld.Part0=hed
- pseudoweld.Name='PseudoHedWld'
- pseudoweld.Part1=pseudohead
- hed.Transparency=1
- --[[coroutine.resume(coroutine.create(function()
- local rate=.05
- local Hats={}
- 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"
- end
- end
- local lam=Instance.new("SpecialMesh",larm)
- lam.MeshId="http://www.roblox.com/asset?id=12221505"
- lam.TextureId="http://www.roblox.com/asset?id=25701026"
- local ram=Instance.new("SpecialMesh",rarm)
- ram.MeshId="http://www.roblox.com/asset?id=12221505"
- ram.TextureId="http://www.roblox.com/asset?id=25701026"
- local rlm=Instance.new("SpecialMesh",rleg)
- rlm.MeshId="http://www.roblox.com/asset?id=12221626"
- rlm.TextureId="http://www.roblox.com/asset?id=25701026"
- local llm=Instance.new("SpecialMesh",lleg)
- llm.MeshId="http://www.roblox.com/asset?id=12221626"
- llm.TextureId="http://www.roblox.com/asset?id=25701026"
- local trm=Instance.new("SpecialMesh",torso)
- trm.MeshId="http://www.roblox.com/asset?id=12221758"
- trm.TextureId="http://www.roblox.com/asset?id=25701026"
- local hem=Instance.new("SpecialMesh",hed)
- hem.MeshId="rbxasset://fonts/head.mesh"
- hem.TextureId="http://www.roblox.com/asset?id=25701026"
- local hem2=Instance.new("SpecialMesh",pseudohead)
- hem2.MeshId="rbxasset://fonts/head.mesh"
- hem2.TextureId="http://www.roblox.com/asset?id=25701026"
- local weitmesh=Instance.new("SpecialMesh",weit)
- weitmesh.MeshId="http://www.roblox.com/asset/?id=1527559"
- weitmesh.TextureId="http://www.roblox.com/asset?id=25701026"
- local asd=Instance.new('PointLight',torso)
- asd.Brightness=123
- asd.Range=12
- asd.Shadows=true
- while wait'0' do
- for a=0,1,rate do
- lam.VertexColor=Vector3.new(a,0,-a+1)
- ram.VertexColor=Vector3.new(a,0,-a+1)
- rlm.VertexColor=Vector3.new(a,0,-a+1)
- llm.VertexColor=Vector3.new(a,0,-a+1)
- trm.VertexColor=Vector3.new(a,0,-a+1)
- hem.VertexColor=Vector3.new(a,0,-a+1)
- hem2.VertexColor=Vector3.new(a,0,-a+1)
- weitmesh.VertexColor=Vector3.new(a,0,-a+1)
- asd.Color=Color3.new(a,0,-a+1)
- coroutine.wrap(function()
- for x=1,#Hats do
- Hats[x].Handle.Mesh.VertexColor=Vector3.new(a,0,-a+1)
- end
- end)()
- wait''
- end
- for a=0,1,rate do
- lam.VertexColor=Vector3.new(-a+1,a,0)
- ram.VertexColor=Vector3.new(-a+1,a,0)
- rlm.VertexColor=Vector3.new(-a+1,a,0)
- llm.VertexColor=Vector3.new(-a+1,a,0)
- trm.VertexColor=Vector3.new(-a+1,a,0)
- hem.VertexColor=Vector3.new(-a+1,a,0)
- hem2.VertexColor=Vector3.new(-a+1,a,0)
- weitmesh.VertexColor=Vector3.new(-a+1,a,0)
- asd.Color=Color3.new(-a+1,a,0)
- coroutine.wrap(function()
- for x=1,#Hats do
- Hats[x].Handle.Mesh.VertexColor=Vector3.new(-a+1,a,0)
- end
- end)()
- wait''
- end
- for a=0,1,rate do
- lam.VertexColor=Vector3.new(0,-a+1,a)
- ram.VertexColor=Vector3.new(0,-a+1,a)
- rlm.VertexColor=Vector3.new(0,-a+1,a)
- llm.VertexColor=Vector3.new(0,-a+1,a)
- trm.VertexColor=Vector3.new(0,-a+1,a)
- hem.VertexColor=Vector3.new(0,-a+1,a)
- hem2.VertexColor=Vector3.new(0,-a+1,a)
- weitmesh.VertexColor=Vector3.new(0,-a+1,a)
- asd.Color=Color3.new(0,-a+1,a)
- coroutine.wrap(function()
- for x=1,#Hats do
- Hats[x].Handle.Mesh.VertexColor=Vector3.new(0,-a+1,a)
- end
- end)()
- wait''
- end
- end
- end))]]
- function Lerp(a, b, i)
- local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
- local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
- local calx = com1[1] + (com2[1] - com1[1]) * i
- local caly = com1[2] + (com2[2] - com1[2]) * i
- local calz = com1[3] + (com2[3] - com1[3]) * i
- local cala = com1[4] + (com2[4] - com1[4]) * i
- local calb = com1[5] + (com2[5] - com1[5]) * i
- local calc = com1[6] + (com2[6] - com1[6]) * i
- return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
- end
- function TwnSingleNumber(s,f,m)
- local wot=s+(f-s)*m
- return wot
- end
- function TwnVector3(q,w,e)
- local begin={q.x,q.y,q.z}
- local ending={w.x,w.y,w.z}
- local bgx=begin[1]+(ending[1]-begin[1])*e
- local bgy=begin[2]+(ending[2]-begin[2])*e
- local bgz=begin[3]+(ending[3]-begin[3])*e
- return Vector3.new(bgx,bgy,bgz)
- end
- newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
- wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- newWeld(law, torso, larm, -1.5, 0.5, 0)
- newWeld(raw, torso, rarm, 1.5, 0.5, 0)
- newWeld(llw, torso, lleg, -.5, -2, 0)
- newWeld(rlw, torso, rleg, .5, -2, 0)
- newWeld(hw, torso, hed, 0, 1.5, 0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
- rleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
- lleg.Weld.C1=CFrame.new(0,.25,.05)*CFrame.Angles(math.rad(30),0,0)
- local anim = "Idling"
- local lastanim = "Idling"
- local val = 0
- local syne = 0
- local num = 0
- local runtime = 0
- maus.KeyUp:connect(function(kei)
- if string.byte(kei)==48 and not otheranims then
- running=false
- chr.Humanoid.WalkSpeed=10
- end
- end)
- maus.KeyDown:connect(function(kei)
- if string.byte(kei)==48 and not otheranims then
- running=true
- chr.Humanoid.WalkSpeed=18
- end
- chr.Humanoid.Changed:connect(function(ch)
- if ch=='Jump' and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand then
- local rei=Ray.new(torso.CFrame.p,((torso.CFrame*CFrame.new(0,-1,0)).p-torso.CFrame.p).unit*10)
- local t,p=Workspace:FindPartOnRay(rei,chr)
- if t then
- chr.Humanoid.Jump=false
- end
- end
- end)
- if kei==' ' and not chr.Humanoid.Jump and not chr.Humanoid.Sit and not chr.Humanoid.PlatformStand and not jamp then
- local rei=Ray.new(torso.CFrame.p,((rutprt.CFrame*CFrame.new(0,-1,0)).p-rutprt.CFrame.p).unit*3)
- local t,p=Workspace:FindPartOnRay(rei,chr)
- if t then
- chr.Humanoid.PlatformStand=true
- jamp=true
- coroutine.wrap(function()
- repeat wait()
- chr.Torso.Velocity=Vector3.new(0,35,0)
- until not chr.Humanoid.PlatformStand
- end)()
- wait(.1)
- chr.Humanoid.PlatformStand=false
- jamp=false
- end
- end
- end)
- local grunt=Instance.new('Sound',hed)
- grunt.Name='Grunt'
- grunt.Volume=1
- grunt.Pitch=.9
- grunt.Looped=false
- grunt.SoundId="http://www.roblox.com/asset?id=143384769"
- local hut=Instance.new('Sound',weit)
- hut.Name='Hit'
- hut.Volume=1
- hut.Looped=false
- hut.Pitch=1
- hut.SoundId="http://www.roblox.com/asset?id=146163534"
- local wtl=Instance.new('PointLight',weit)
- wtl.Shadows=true
- wtl.Brightness=123
- wtl.Range=12
- wtl.Color=weit.BrickColor.Color
- wtl.Name='WeightLight'
- local wgui=Instance.new('SurfaceGui',weit)
- wgui.Face='Front'
- wgui.Adornee=weit
- wgui.CanvasSize=Vector2.new(100,100)
- wgui.Name='WeightGui'
- local tb=Instance.new('TextLabel',wgui)
- tb.Size=UDim2.new(1,0,1,0)
- tb.Text=[[Billion Tons]]
- tb.TextColor3=Color3.new(1,1,1)
- tb.BackgroundTransparency=1
- local wtw=Instance.new('Weld',torso)
- wtw.Name='WeightWeld'
- wtw.Part0=torso
- wtw.Part1=weit
- wtw.C0=CFrame.new(0,.5,-1.8)*CFrame.Angles(math.rad(-20),0,0)
- weit.Touched:connect(function(hit)
- if hit and hit.CanCollide and hit.Parent and hit.Parent~=chr and hit.Parent.Parent~=chr and otheranims then
- hum=hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.ClassName=='Model'
- if hum and not hitdb then
- local ex=Instance.new('Explosion',workspace)
- ex.DestroyJointRadiusPercent=0
- ex.BlastPressure=222222
- ex.BlastRadius=30
- hitdb=true
- ex.Position=hit.Parent.Torso.Position
- hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(101*(hit.Parent.Humanoid.MaxHealth/100))
- table.insert(tempignore,hit.Parent)
- hut:Play()
- toss=false
- hit.Parent.Humanoid.PlatformStand=true
- coroutine.wrap(function()
- repeat wait()
- hit.Parent.Torso.Velocity=((hit.Parent.Torso.CFrame.p*Vector3.new(1,0,1))-(weit.CFrame.p*Vector3.new(1,0,1))).unit*100
- 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)
- until not hit.Parent.Humanoid.PlatformStand
- end)()
- wait(.2)
- hit.Parent.Humanoid.PlatformStand=false
- end
- end
- end)
- maus.Button1Down:connect(function()
- if not otheranims then
- chr.Humanoid.WalkSpeed=0
- otheranims=true
- anim='PreThrow'
- hitdb=false
- coroutine.resume(coroutine.create(function()
- for fgh,hgf in pairs(tempignore) do
- table.remove(tempignore,hgf)
- end
- end))
- wait(.3)
- grunt:Play()
- wait(.2)
- anim='Throw'
- const.Parent=nil
- wtw.Parent=nil
- wtw.Part0=nil
- toss=true
- weit.CFrame=rutprt.CFrame*CFrame.new(0,3,-3)
- wait()
- 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)
- wait(5)
- const.Parent=chr
- anim='Rest'
- wait(1)
- wtw.Parent=torso
- wtw.Part0=torso
- otheranims=false
- chr.Humanoid.WalkSpeed=10
- toss=false
- end
- end)
- -----------------------------------------------------------------------------
- game:service'RunService'.RenderStepped:connect(function()
- chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
- syne=syne+.95
- if running and not otheranims then chr.Humanoid.WalkSpeed=18
- elseif not running and not otheranims then chr.Humanoid.WalkSpeed=10
- end
- if not otheranims then
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
- anim="Idling"
- 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
- anim="Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 12 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
- anim="Sprinting"
- elseif torso.Velocity.y>1 then
- anim='Jumping'
- elseif (torso.Velocity.y < -1) then
- anim='Falling'
- end
- end
- if anim=="Idling" then if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
- end
- wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.7)*CFrame.Angles(math.rad(-20),0,0),.25)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(-2.5)),.05)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.35)*CFrame.Angles(math.rad(-7),0,math.rad(2.5)),.05)
- 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)
- 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)
- end
- if anim=="Walking" then if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
- end
- wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
- 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)
- 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)
- 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)
- 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)
- end
- if anim=="Sprinting" then if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(-12.5)),.05)
- end
- wtw.C0=Lerp(wtw.C0,CFrame.new(0,.375,-1.8)*CFrame.Angles(math.rad(-20),0,0),.25)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(67),0,math.rad(12.5)),.05)
- 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)
- 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)
- 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)
- 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)
- end
- if anim=="Jumping" then if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(30)),.15)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(30),0,math.rad(-30)),.15)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.85,1)*CFrame.Angles(0,0,math.rad(-2.5)),.05)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.85,1)*CFrame.Angles(0,0,math.rad(2.5)),.05)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),.05)
- 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)
- end
- if anim=="Falling" then if not armmovement then
- 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)
- end
- 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)
- 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)
- 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)
- 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)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),0,0),.05)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,1)*CFrame.Angles(math.rad(125),math.rad(180),math.rad(0)),.05)
- end
- if anim=="PreThrow" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.5,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
- wtw.C0=Lerp(wtw.C0,CFrame.new(0,1,-2)*CFrame.Angles(math.rad(-10),0,0),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,.3)*CFrame.Angles(math.rad(-10),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(40),0,0),.1)
- 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)
- end
- if anim=="Throw" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.6,-.225)*CFrame.Angles(math.rad(105),0,math.rad(-12.5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(105),0,math.rad(12.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-1.3,0)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
- 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)
- end
- if anim=="Rest" then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.35,.55,-.225)*CFrame.Angles(math.rad(35),0,math.rad(-12.5)),.1)
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.35,.425,-.225)*CFrame.Angles(math.rad(35),0,math.rad(12.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.525,-.85,-.25)*CFrame.Angles(math.rad(40),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-5),0,0),.1)
- 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)
- end
- end)
Add Comment
Please, Sign In to add comment