Advertisement
Beasrt

Untitled

Mar 29th, 2015
293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 KB | None | 0 0
  1. c = "iop"
  2. h = "frd"
  3.  
  4.  
  5. debounce = true
  6. scale = 2
  7.  
  8. local Me = script.Parent.Parent.Parent.Parent.Parent.Parent.Character -- finds you
  9.  
  10. function Click(mouse)
  11.  
  12. if not debounce then
  13. return
  14. end
  15. debounce = false
  16. t = "fYf"
  17. o = "dl"
  18. u = "sks"
  19. if Me:findFirstChild("Humanoid") then
  20. if Me:findFirstChild("Left Leg") and Me:findFirstChild("Right Leg") and Me:findFirstChild("Right Arm") and Me:findFirstChild("Left Arm") and Me:findFirstChild("Head") and Me:findFirstChild("Torso") then
  21. bin = Me
  22.  
  23. la = bin["Left Arm"]
  24. ra = bin["Right Arm"]
  25. ll = bin["Left Leg"]
  26. rl = bin["Right Leg"]
  27. h = bin.Head
  28. t = bin.Torso
  29.  
  30. sizeup = {t,h,ll,rl,ra,la}
  31. for i = 1, #sizeup do
  32. sizeup[i].Size = Vector3.new(sizeup[i].Size.x * scale,sizeup[i].Size.y * scale,sizeup[i].Size.z * scale)
  33. sizeup[i].TopSurface = 0
  34. sizeup[i].BottomSurface = 0
  35. sizeup[i].RightSurface = 0
  36. sizeup[i].LeftSurface = 0
  37. sizeup[i].FrontSurface = 0
  38. sizeup[i].BackSurface = 0
  39.  
  40. end
  41.  
  42.  
  43. sizex = t.Size.x/2
  44. sizey = t.Size.x/2
  45. sizez = t.Size.x/2
  46.  
  47. ls = Instance.new("Motor")
  48. ls.Parent = t
  49. ls.Name = "Left Shoulder"
  50. ls.Part0 = t
  51. ls.Part1 = la
  52. ls.MaxVelocity = 0.1
  53. ls.C0 = CFrame.new(-sizex - la.Size.x/2,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  54. ls.C1 = CFrame.new(0,la.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  55.  
  56. rs = Instance.new("Motor")
  57. rs.Parent = t
  58. rs.Name = "Right Shoulder"
  59. rs.Part0 = t
  60. rs.Part1 = ra
  61. rs.MaxVelocity = 0.1
  62. rs.C0 = CFrame.new(sizex + ra.Size.x/2,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  63. rs.C1 = CFrame.new(0,ra.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  64.  
  65. lh = Instance.new("Motor")
  66. lh.Parent = t
  67. lh.Name = "Left Hip"
  68. lh.Part0 = t
  69. lh.Part1 = ll
  70. lh.MaxVelocity = 0.1
  71. lh.C0 = CFrame.new(sizex - ll.Size.x*1.5,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,-3.14/2,0)
  72. lh.C1 = CFrame.new(0,ll.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  73.  
  74. rh = Instance.new("Motor")
  75. rh.Parent = t
  76. rh.Name = "Right Hip"
  77. rh.Part0 = t
  78. rh.Part1 = rl
  79. rh.MaxVelocity = 0.1
  80. rh.C0 = CFrame.new(sizex - rl.Size.x/2,-(ll.Size.y/4)*3,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  81. rh.C1 = CFrame.new(0,rl.Size.y/4,0) * CFrame.fromEulerAnglesXYZ(0,3.14/2,0)
  82.  
  83.  
  84. n = Instance.new("Snap")
  85. n.Parent = t
  86. n.Name = "Neck"
  87. n.Part0 = t
  88. n.Part1 = h
  89. n.C0 = CFrame.new(0,sizey + h.Size.y/2,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  90.  
  91. if bin:findFirstChild("Animate") then
  92. o = bin.Animate:clone()
  93. bin.Animate:remove()
  94. o.Parent = bin
  95. end
  96. bin.Humanoid.WalkSpeed = bin.Humanoid.WalkSpeed * scale
  97. onTouched2(bin.Head)
  98. onTouched3(bin.Head)
  99. onTouched4(bin.Head)
  100. end
  101. end
  102. wait(3)
  103. debounce = true
  104.  
  105. end
  106.  
  107. script.Parent.MouseButton1Down:connect(Click)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement