Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 fireclrs={'Cyan','Deep blue'}
- local holding=true
- local flying=false
- local jumpdb=false
- local lalalclrs={Color3.new(0,0,1),Color3.new(0,.4,1)}
- ranclrs={'Cyan','Deep blue'}
- rangclr=ranclrs[1]
- if chr:findFirstChild('Animate') then
- chr.Animate:Destroy()
- end
- local rm = Instance.new('Part',rarm)
- rm.Transparency = 1
- rm.Name = "rm"
- rm.CanCollide = false
- rm.Anchored = true
- rm.Size = Vector3.new(1.1, .1, 1.1)
- rm.BrickColor=BrickColor.new("Neon orange")
- local rmm = Instance.new("SpecialMesh",rm)
- rmm.MeshId = "rbxasset://fonts/rightarm.mesh"
- rmm.Scale = Vector3.new(1.1, .1, 1.1)
- game:GetService'RunService'.RenderStepped:connect(function()
- rm.CFrame = rarm.CFrame * CFrame.new(0,-.8,0)
- 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 TwnPartSize(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)
- local rutwald=Instance.new('Weld',rutprt)
- rutwald.Part0=rutprt
- rutwald.Part1=torso
- rutwald.Name="RootJoint"
- rutprt.RootJoint.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),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,0,0)*CFrame.Angles(math.rad(0),0,0)
- lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- local anim = "Idling"
- local lastanim = "Idling"
- local val = 0
- local syne = 0
- local num = 0
- local runtime = 0
- ----------------------------------------------------------------------------
- ----------------------------------------------------------------------------
- maus.KeyDown:connect(function(kei)
- if string.byte(kei)==48 then
- chr.Humanoid.WalkSpeed=40
- end
- if kei=='u' and not armmovement then
- if holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=false
- end
- end
- if kei=='p' and not jumpdb and not otheranims then
- jumpdb=true
- otheranims=true
- anim='SuperCrouch'
- coroutine.resume(coroutine.create(function()
- for lal=1,20 do wait()
- local jm=Instance.new('Part',chr)
- jm.formFactor='Custom'
- jm.BrickColor=BrickColor.new(fireclrs[math.random(1,3)])
- jm.Size=Vector3.new(3,3,3)
- jm.Name='soprjmp'
- jm.TopSurface=10
- jm.BottomSurface=10
- jm.FrontSurface=10
- jm.Locked=true
- jm.LeftSurface=10
- jm.RightSurface=10
- jm.BackSurface=10
- jm.CanCollide=false
- jm.Anchored=true
- jm.CFrame=rleg.CFrame*CFrame.new(-.5,-1,0)*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3))
- local jmp=Instance.new('BlockMesh',jm)
- game:service'Debris':AddItem(jm,1.5)
- coroutine.wrap(function()
- for qq=1,20 do wait()
- jmp.Scale=jmp.Scale+Vector3.new(.1,.1,.1)
- jm.Transparency=jm.Transparency+.1
- jm.CFrame=jm.CFrame*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3))
- end
- end)()
- end
- end))
- wait(.6)
- coroutine.resume(coroutine.create(function()
- for t=1,5 do wait()
- rangclr=ranclrs[t]
- local rang=Instance.new('Part',chr)
- rang.formFactor='Custom'
- rang.BrickColor=BrickColor.new(rangclr)
- rang.Size=Vector3.new(2,2,2)
- rang.Name='rang'
- rang.TopSurface=10
- rang.BottomSurface=10
- rang.Locked=true
- rang.FrontSurface=10
- rang.LeftSurface=10
- rang.RightSurface=10
- rang.BackSurface=10
- rang.CanCollide=false
- rang.Anchored=true
- rang.CFrame=rleg.CFrame*CFrame.new(-.5,-.75,0)*CFrame.Angles(math.rad(90),0,0)
- local rmsh=Instance.new('SpecialMesh',rang)
- rmsh.MeshId="http://www.roblox.com/asset/?id=3270017"
- rmsh.Scale=Vector3.new(3,3,1.5)
- game:service'Debris':AddItem(rang,5)
- coroutine.wrap(function()
- for lalal=1,50 do wait()
- rmsh.Scale=rmsh.Scale+Vector3.new(1,1,.25)
- rang.Transparency=rang.Transparency+1/33
- end
- end)()
- end
- end))
- anim='SuperJump'
- local vl=Instance.new("BodyVelocity",torso)
- vl.maxForce=Vector3.new(0,1/0,0)
- vl.velocity=Vector3.new(0,100,0)
- game:service'Debris':AddItem(vl,1)
- chr.Humanoid.Jump=true
- wait(.5)
- otheranims=false
- anim='Jumping'
- wait(3.5)
- jumpdb=false
- end
- end)
- plr.Chatted:connect(function(ms)
- if ms:lower()=='u' and not armmovement then
- if holding then armmovement=true armpose='ReplacingStick' wait(.5) armmovement=false holding=false
- end
- end
- if ms:lower()=='p' and not jumpdb and not otheranims then
- jumpdb=true
- otheranims=true
- anim='SuperCrouch'
- coroutine.resume(coroutine.create(function()
- for lal=1,20 do wait()
- local jm=Instance.new('Part',chr)
- jm.formFactor='Custom'
- jm.BrickColor=BrickColor.new(fireclrs[math.random(1,3)])
- jm.Size=Vector3.new(3,3,3)
- jm.Name='soprjmp'
- jm.TopSurface=10
- jm.BottomSurface=10
- jm.FrontSurface=10
- jm.Locked=true
- jm.LeftSurface=10
- jm.RightSurface=10
- jm.BackSurface=10
- jm.CanCollide=false
- jm.Anchored=true
- jm.CFrame=rleg.CFrame*CFrame.new(-.5,-1,0)*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3))
- local jmp=Instance.new('BlockMesh',jm)
- game:service'Debris':AddItem(jm,1.5)
- coroutine.wrap(function()
- for qq=1,20 do wait()
- jmp.Scale=jmp.Scale+Vector3.new(.1,.1,.1)
- jm.Transparency=jm.Transparency+.1
- jm.CFrame=jm.CFrame*CFrame.Angles(math.random(1,3),math.random(1,3),math.random(1,3))
- end
- end)()
- end
- end))
- wait(.6)
- coroutine.resume(coroutine.create(function()
- for t=1,5 do wait()
- rangclr=ranclrs[t]
- local rang=Instance.new('Part',chr)
- rang.formFactor='Custom'
- rang.BrickColor=BrickColor.new(rangclr)
- rang.Size=Vector3.new(2,2,2)
- rang.Name='rang'
- rang.TopSurface=10
- rang.BottomSurface=10
- rang.Locked=true
- rang.FrontSurface=10
- rang.LeftSurface=10
- rang.RightSurface=10
- rang.BackSurface=10
- rang.CanCollide=false
- rang.Anchored=true
- rang.CFrame=rleg.CFrame*CFrame.new(-.5,-.75,0)*CFrame.Angles(math.rad(90),0,0)
- local rmsh=Instance.new('SpecialMesh',rang)
- rmsh.MeshId="http://www.roblox.com/asset/?id=3270017"
- rmsh.Scale=Vector3.new(3,3,1.5)
- game:service'Debris':AddItem(rang,5)
- coroutine.wrap(function()
- for lalal=1,50 do wait()
- rmsh.Scale=rmsh.Scale+Vector3.new(1,1,.25)
- rang.Transparency=rang.Transparency+1/33
- end
- end)()
- end
- end))
- anim='SuperJump'
- local tv=Instance.new("BodyVelocity",rutprt)
- tv.maxForce=Vector3.new(0,math.huge,0)
- tv.velocity=Vector3.new(0,200,0)
- coroutine.resume(coroutince.create(function()
- wait(.5)
- tv:Destroy''
- end))
- chr.Humanoid.Jump=true
- wait(.5)
- otheranims=false
- anim='Jumping'
- wait(3.5)
- jumpdb=false
- end
- end)
- maus.KeyUp:connect(function(kei)
- if string.byte(kei)==48 then
- chr.Humanoid.WalkSpeed=16
- end
- end)
- maus.Button1Down:connect(function()
- if not armmovement and not otheranims and not flying then
- flying=true
- armmovement=true
- armpose='PreSwing'
- wait(.4)
- armpose='Swing'
- wait(.3)
- local proj=Instance.new('Part',Workspace)
- proj.Shape='Ball'
- proj.Anchored=false
- proj.Name='Fireball'
- proj.Locked=true
- proj.Size=Vector3.new(1,1,1)
- proj.BrickColor=BrickColor.new('Cyan')
- proj.Transparency=0
- proj.CFrame=torso.CFrame*CFrame.new(3,3,-2)
- local prj=Instance.new('BodyVelocity',proj)
- prj.velocity=((torso.CFrame*CFrame.new(3,3,-2)).p-maus.Hit.p).unit*-75
- proj.Touched:connect(function(hit)
- if hit and hit.CanCollide then
- proj:Destroy()
- local hum=hit.Parent and hit.Parent:findFirstChild('Torso') and hit.Parent:findFirstChild('Humanoid') and hit.Parent ~= chr and hit.Parent.ClassName=='Model'
- if hum then hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(35*(hit.Parent.Humanoid.MaxHealth/100)) end end
- end)
- armmovement=false
- coroutine.resume(coroutine.create(function()
- for kthen=1,125 do wait()
- local ex=math.random(0,300)*.01
- local wy=math.random(0,300)*.01
- local ze=math.random(0,300)*.01
- local dy=math.random(5,30)*.01
- local fir=Instance.new('Part',proj)
- fir.formFactor='Custom'
- fir.Anchored=true
- fir.CanCollide=false
- fir.Size=Vector3.new(.8,.8,.8)
- fir.TopSurface=10
- fir.BottomSurface=10
- fir.LeftSurface=10
- fir.RightSurface=10
- fir.FrontSurface=10
- fir.Locked=true
- fir.BackSurface=10
- fir.BrickColor=BrickColor.new(fireclrs[math.random(1,#fireclrs)])
- fir.CFrame=proj.CFrame*CFrame.Angles(ex,wy,ze)
- local lt=Instance.new('PointLight',fir)
- lt.Brightness=123123
- lt.Range=6
- lt.Color=lalalclrs[math.random(1,#lalalclrs)]
- game:service'Debris':AddItem(fir,.5)
- local frms=Instance.new('BlockMesh',fir)
- frms.Scale=Vector3.new(1,1,1)
- coroutine.wrap(function()
- for lal=1,10 do
- frms.Scale=frms.Scale-Vector3.new(.1,.1,.1)
- fir.CFrame=fir.CFrame*CFrame.new(0,dy,0)
- wait()
- end
- end)() end end))
- wait(.375)
- flying=false
- end
- end)
- ------------------
- coroutine.resume(coroutine.create(function()
- while wait() do
- local ex=math.random(0,300)*.01
- local wy=math.random(0,300)*.01
- local ze=math.random(0,300)*.01
- local dy=math.random(5,30)*.01
- local fir=Instance.new('Part',rm)
- fir.formFactor='Custom'
- fir.Anchored=true
- fir.CanCollide=false
- fir.Size=Vector3.new(.65,.65,.65)
- fir.TopSurface=10
- fir.BottomSurface=10
- fir.LeftSurface=10
- fir.RightSurface=10
- fir.FrontSurface=10
- fir.Locked=true
- fir.BackSurface=10
- fir.BrickColor=BrickColor.new(fireclrs[math.random(1,#fireclrs)])
- fir.CFrame=rm.CFrame*CFrame.Angles(ex,wy,ze)
- local lt=Instance.new('PointLight',fir)
- lt.Brightness=123123
- lt.Range=6
- lt.Color=lalalclrs[math.random(1,#lalalclrs)]
- game:service'Debris':AddItem(fir,.5)
- local frms=Instance.new('BlockMesh',fir)
- coroutine.wrap(function()
- for lal=1,10 do
- frms.Scale=frms.Scale-Vector3.new(.1,.1,.1)
- fir.CFrame=fir.CFrame*CFrame.new(0,dy,0)
- wait()
- end
- end)() end end))
- ----------------------------------------------------------------------------
- game:service'RunService'.RenderStepped:connect(function()
- syne=syne+1
- 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 < 30 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
- anim="Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 30 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
- idlesineinc=40
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Walking" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
- end
- if anim=="Sprinting" then
- if not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)),.1)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,0),.1)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
- 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,-.3,0)*CFrame.Angles(math.rad(-20),0,math.sin(rutprt.RotVelocity.y/2)/4),.1)
- 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.rad(65),0,math.rad(45)),.15)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.425,.525,0)*CFrame.Angles(math.rad(65),0,math.rad(-45)),.15)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.75,-1.3,-.8)*CFrame.Angles(math.rad(55),0,math.rad(-15)),.05)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.75,-1.3,-.8)*CFrame.Angles(math.rad(55),0,math.rad(15)),.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,-.3,0)*CFrame.Angles(math.rad(-40),0,math.sin(rutprt.RotVelocity.y/2)/4),.1)
- end
- if armpose=='ReplacingStick' and armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-140),0,math.rad(-20)),.075)
- end
- if armpose=='PreSwing' and armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(179),0,math.rad(10)),.15)
- end
- if armpose=='Swing' and armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(10)),.2)
- end
- if otheranims then
- if anim=='SuperCrouch' then
- if not equipped and not armmovement then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.05)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.8,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,-1.4,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05)
- end
- if anim=="SuperJump" then
- if not armmovement and not equipped then
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
- end
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
- lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
- rutprt.RootJoint.C0=Lerp(rutprt.RootJoint.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
- end
- end
- chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement