Advertisement
AnimeHackz21

Next3145 Stand

May 29th, 2017
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. --[[LOL]]--
  2. --[Zura]--
  3. wait(1 / 60)
  4. local Player = game.Players.LocalPlayer
  5. local Character = Player.Character
  6. Character.Archivable = true
  7. Zura = Character:Clone()
  8. Zura.Parent = Character
  9. Torso = Zura.Torso
  10. Head = Zura.Head
  11. RightLeg = Zura["Right Leg"]
  12. RightArm = Zura["Right Arm"]
  13. LeftLeg = Zura["Left Leg"]
  14. LeftArm = Zura["Left Arm"]
  15. RootPart = Zura.HumanoidRootPart
  16. local NoIdle = false
  17.  
  18. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  19. wld = Instance.new("Weld", wp1)
  20. wld.Part0 = wp0
  21. wld.Part1 = wp1
  22. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  23. return wld
  24. end
  25.  
  26. newWeld(Torso, LeftArm, -1.5, 0.5, 0)
  27. LeftArm.Weld.C1 = CFrame.new(0, 0.5, 0)
  28. newWeld(Torso, RightArm, 1.5, 0.5, 0)
  29. RightArm.Weld.C1 = CFrame.new(0, 0.5, 0)
  30. newWeld(Torso, Head, 0, 1.5, 0)
  31. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  32. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  33. newWeld(Torso, RightLeg, 0.5, -1, 0)
  34. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  35. newWeld(RootPart, Torso, 0, -1, 0)
  36. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  37.  
  38.  
  39. function Lerp(a,b,t)
  40. a:lerp(b,t)
  41. end
  42.  
  43. function rayCast(Position, Direction, Range, Ignore)
  44. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,
  45. Direction.unit * (Range or 999.999)), Ignore)
  46. end
  47. attack = false
  48. local sine = 0
  49. local change = 1
  50. game.GetService("RunService").Stepped:connect(function()
  51. wait()
  52. sine = sine + change
  53. local trovel = (RootPart.velocity*Vector3.new(1,0,1)).magnitude
  54. hitfloor,posfloor = rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  55. if NotIdle == false then
  56. if attack == false then
  57. if trovel and hitfloor ~=nil then
  58. Anim = "Idle"
  59. change = 1
  60. Torso.Weld.C0 = lerp(Torso.Weld.C0, CFrame.new(0, -1 + 0.1 * math.cos(sine/30),0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)),0.15)
  61. Head.Weld.C0 = lerp(Head.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-15), - math.sine(sine/30)/15, math.rad(0), math.rad(0)),0.15)
  62. RightArm.BrickColor = BrickColor.new("Really black")
  63. RightLeg.BrickColor = BrickColor.new("Really black")
  64. LeftArm.BrickColor = BrickColor.new("Really black")
  65. LeftLeg.BrickColor = BrickColor.new("Really black")
  66. Torso.BrickColor = BrickColor.new("Really black")
  67. Head.BrickColor = BrickColor.new("Really black")
  68. end
  69. end
  70. end
  71. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement