SHARE
TWEET

Untitled

a guest Aug 12th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Player,RunService,UserInput = game:GetService("Players").LocalPlayer,game:GetService("RunService"),game:GetService("UserInputService")
  2. local Character = Player.Character
  3. local Head,Torso,HumanoidRootPart = Character.Head,Character.Torso,Character.HumanoidRootPart
  4. local StaffModel = Instance.new("Model",script)
  5. local StaffHandle,StaffTop,StaffOrb,StaffHandle2,equiped = Instance.new("Part",StaffModel),Instance.new("Part",StaffModel),Instance.new("Part",StaffModel),Instance.new("Part",StaffModel),true
  6. local RS,LS,RH,LH,TW,HW = Instance.new("Weld",Torso),Instance.new("Weld",Torso),Instance.new("Weld",Torso),Instance.new("Weld",Torso),Instance.new("Weld",Torso),Instance.new("Weld",Torso),Instance.new("Weld",Torso)
  7. local SHW,STW,SOW,SH2W = Instance.new("Weld",StaffHandle),Instance.new("Weld",StaffHandle),Instance.new("Weld",StaffHandle),Instance.new("Weld",StaffHandle)
  8. local rad,sin,cos,random = math.rad,math.sin,math.cos,math.random,tick()
  9. for i,v in pairs(StaffModel:GetChildren()) do if v.ClassName == "Part" then v.TopSurface = "SmoothNoOutlines" v.BottomSurface = "SmoothNoOutlines" v.LeftSurface = "SmoothNoOutlines" v.RightSurface = "SmoothNoOutlines" end end
  10. StaffHandle.CFrame,StaffTop.CFrame,StaffOrb.CFrame,StaffHandle2.CFrame = CFrame.new(500,550,500),CFrame.new(500,600,500),CFrame.new(500,650,500),CFrame.new(500,700,500)
  11. StaffHandle.Size,StaffTop.Size,StaffOrb.Size,StaffHandle2.Size = Vector3.new(0.25 ,6,0.25),Vector3.new(0.55,0.25,0.55),Vector3.new(0.75,0.75,0.75),Vector3.new(0.3,0.3,0.3)
  12. StaffHandle.CanCollide,StaffTop.CanCollide,StaffOrb.CanCollide,StaffHandle2.CanCollide = false,false,false,false,false
  13. StaffHandle.Material,StaffTop.Material,StaffOrb.Material,StaffHandle2.Material = "Wood","Wood","Neon","Wood"
  14. StaffHandle.BrickColor,StaffTop.BrickColor,StaffOrb.BrickColor,StaffHandle2.BrickColor = BrickColor.new("Dirt brown"),BrickColor.new("Dirt brown"),Torso.BrickColor,BrickColor.new("Dirt brown")
  15. RS.Part0,LS.Part0,RH.Part0,LH.Part0,TW.Part0,HW.Part0 = Torso,Torso,Torso,Torso,HumanoidRootPart,Torso
  16. SHW.Part0,STW.Part0,SOW.Part0,SH2W.Part0 = Character["Right Arm"],StaffHandle,StaffHandle,StaffHandle
  17. RS.Part1,LS.Part1,RH.Part1,LH.Part1,TW.Part1,HW.Part1 = Character["Right Arm"],Character["Left Arm"],Character["Right Leg"],Character["Left Leg"],Torso,Head
  18. SHW.Part1,STW.Part1,SOW.Part1,SH2W.Part1 = StaffHandle,StaffTop,StaffOrb,StaffHandle2
  19. RS.C0,LS.C0,RH.C0,LH.C0,TW.C0,HW.C0 = CFrame.new(0.5,0.5,0),CFrame.new(-0.5,0.5,0),CFrame.new(0.5,-1,0),CFrame.new(-0.5,-1,0),CFrame.new(0,0,0),CFrame.new(0,1,0)
  20. SHW.C0,STW.C0,SOW.C0,SH2W.C0 = CFrame.new(0,-1,0.5),CFrame.new(0,3,0),CFrame.new(0,4,0),CFrame.new(0,-3,0)
  21. RS.C1,LS.C1,RH.C1,LH.C1,HW.C1 = CFrame.new(-1,0.5,0),CFrame.new(1,0.5,0),CFrame.new(0,1,0),CFrame.new(0,1,0),CFrame.new(0,-0.5,0)
  22. SHW.C1,STW.C1,SOW.C1,SH2W.C1 = CFrame.new(0,0,0) * CFrame.Angles(math.rad(90),0,0),CFrame.new(0,0,0),CFrame.new(0,0,0),CFrame.new(0,0,0)
  23. Spawn(function() while StaffModel and RunService.RenderStepped:Wait() do local speed,tick = (HumanoidRootPart.Velocity * Vector3.new(1,0,1)).magnitude,tick() if equiped then if speed < 1 then RS.C1,LS.C1,RH.C1,LH.C1,HW.C1,TW.C1,SHW.C1,SOW.C1 = RS.C1:Lerp(CFrame.new(-1,0.5,0) * CFrame.Angles(-rad(90) + cos(tick*4)/15,-rad(50),0),0.15),LS.C1:Lerp(CFrame.new(1,0.5,0) * CFrame.Angles(-rad(90) + cos(tick*4)/15,rad(50),0),0.15),RH.C1:Lerp(CFrame.new(0,1 + -cos(tick*4)/15,0) * CFrame.Angles(rad(0),rad(0),rad(0)),0.15),LH.C1:Lerp(CFrame.new(0,1 + -cos(tick*4)/15,0) * CFrame.Angles(rad(0),rad(0),rad(0)),0.15),HW.C1:Lerp(CFrame.new(0,-0.5,0) * CFrame.Angles(rad(25),rad(0),0),0.15),TW.C1:Lerp(CFrame.new(0,0 + cos(tick*4)/15,0) * CFrame.Angles(rad(0),-rad(0),rad(0)),0.15),SHW.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(90) + -cos(tick*4)/15 ,0,0),0.15),SOW.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles(sin(tick/2)*5,-sin(tick/2)*5,-cos(tick)*5),0.15) elseif speed > 1 then RS.C1,LS.C1,RH.C1,LH.C1,HW.C1,TW.C1,SHW.C1,SOW.C1 = RS.C1:Lerp(CFrame.new(-1,0.5,0) * CFrame.Angles(-rad(50) + sin(tick*8),0,0),0.15),LS.C1:Lerp(CFrame.new(1,0.5,0) * CFrame.Angles(-sin(tick*8),0,0),0.15),RH.C1:Lerp(CFrame.new(0,1,0) * CFrame.Angles(-sin(tick*8)/1.25,-sin(tick*7)/4.5,Torso.RotVelocity.Y / 73),0.15),LH.C1:Lerp(CFrame.new(0,1,0) * CFrame.Angles(sin(tick*8)/1.25,-sin(tick*7)/4.5,Torso.RotVelocity.Y / 73),0.15),HW.C1:Lerp(CFrame.new(0,-0.5,0) * CFrame.Angles(-rad(20),-sin(tick*8)/4.5,-Torso.RotVelocity.Y / 76),0.15),TW.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(20),sin(tick*8)/4.5 ,-Torso.RotVelocity.Y / 73),0.15),SHW.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(90),0,0),0.15),SOW.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles(sin(tick/2)*5,-sin(tick/2)*5,-cos(tick)*5),0.15) end else  end end end)
RAW Paste Data
Top