Guest User

Untitled

a guest
Sep 24th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. lp = game.Players.LocalPlayer
  2. [/color]
  3. person = lp.Name
  4. char = lp.Character
  5. torso = char:findFirstChild("Torso")
  6. ra = char:findFirstChild("Right Arm")
  7. la = char:findFirstChild("Left Arm")
  8. rl = char:findFirstChild("Right Leg")
  9. ll = char:findFirstChild("Left Leg")
  10. rs = torso:findFirstChild("Right Shoulder")
  11. ls = torso:findFirstChild("Left Shoulder")
  12. rh = torso:findFirstChild("Right Hip")
  13. lh = torso:findFirstChild("Left Hip")
  14. neck = torso:findFirstChild("Neck")
  15. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  16. anim = char:findFirstChild("Animate")
  17. rootpart = char:findFirstChild("HumanoidRootPart")
  18. camera = workspace.CurrentCamera
  19. if anim then
  20. anim:Destroy()
  21. end
  22. local rm = Instance.new("Motor", torso)
  23. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  24. rm.C1 = CFrame.new(0, 0.5, 0)
  25. rm.Part0 = torso
  26. rm.Part1 = ra
  27. local lm = Instance.new("Motor", torso)
  28. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  29. lm.C1 = CFrame.new(0, 0.5, 0)
  30. lm.Part0 = torso
  31. lm.Part1 = la
  32. local rlegm = Instance.new("Motor", torso)
  33. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  34. rlegm.C1 = CFrame.new(0, 1, 0)
  35. rlegm.Part0 = torso
  36. rlegm.Part1 = rl
  37. local llegm = Instance.new("Motor", torso)
  38. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  39. llegm.C1 = CFrame.new(0, 1, 0)
  40. llegm.Part0 = torso
  41. llegm.Part1 = ll
  42. rsc0 = rm.C0
  43. lsc0 = lm.C0
  44. llc0 = llegm.C0
  45. rlc0 = rlegm.C0
  46. neckc0 = neck.C0
  47. rootc0 = rj.C0
  48. key = nil
  49. local count = 0
  50. local countspeed = 0.70
  51. color = "Pastel brown"
  52. pcall(function() game.Players[person].Character["Nice thing"]:Remove() end)
  53. D = Instance.new("Model",workspace[person])
  54. D.Name = "Nice thing"
  55. bg = Instance.new("BodyGyro",workspace[person].Torso)
  56. d = Instance.new("Part")
  57. d.TopSurface = 0
  58. d.BottomSurface = 0
  59. d.Name = "Main"
  60. d.Parent = workspace[person]["Nice thing"]
  61. d.formFactor = 3
  62. d.Size = Vector3.new(0.6,2.5,0.6)
  63. d.BrickColor = BrickColor.new(color)
  64. d.Position = workspace[person].Head.Position
  65. d.CanCollide = false
  66. local cy = Instance.new("CylinderMesh")
  67. cy.Parent = d
  68. w = Instance.new("Weld")
  69. w.Parent = workspace[person].Head
  70. w.Part0 = d
  71. w.Part1 = workspace[person].Head
  72. w.C0 = CFrame.new(0,0.25,2.1)*CFrame.Angles(math.rad(45),0,0)
  73. local c = Instance.new("Part")
  74. c.Name = "Mush"
  75. c.BottomSurface = 0
  76. c.TopSurface = 0
  77. c.FormFactor = 3
  78. c.Size = Vector3.new(0.6,0.6,0.6)
  79. c.CFrame = CFrame.new(d.Position)
  80. c.BrickColor = BrickColor.new("Pink")
  81. c.CanCollide = false
  82. c.Parent = workspace[person]["Nice thing"]
  83. local msm = Instance.new("SpecialMesh")
  84. msm.Parent = c
  85. msm.MeshType = "Sphere"
  86. local cw = Instance.new("Weld")
  87. cw.Parent = c
  88. cw.Part0 = d
  89. cw.Part1 = c
  90. cw.C0 = CFrame.new(0,1.3,0)
  91. local ball1 = Instance.new("Part")
  92. ball1.Parent = workspace[person]["Nice thing"]
  93. ball1.Name = "Left Ball"
  94. ball1.BottomSurface = 0
  95. ball1.TopSurface = 0
  96. ball1.CanCollide = false
  97. ball1.formFactor = 3
  98. ball1.Size = Vector3.new(1,1,1)
  99. ball1.CFrame = CFrame.new(workspace[person]["Left Leg"].Position)
  100. ball1.BrickColor = BrickColor.new(color)
  101. local bsm = Instance.new("SpecialMesh")
  102. bsm.Parent = ball1
  103. bsm.MeshType = "Sphere"
  104. local b1w = Instance.new("Weld")
  105. b1w.Parent = ball1
  106. b1w.Part0 = workspace[person]["Left Leg"]
  107. b1w.Part1 = ball1
  108. b1w.C0 = CFrame.new(0,0.5,-.5)
  109. local ball2 = Instance.new("Part")
  110. ball2.Parent = workspace[person]["Nice thing"]
  111. ball2.Name = "Right Ball"
  112. ball2.BottomSurface = 0
  113. ball2.CanCollide = false
  114. ball2.TopSurface = 0
  115. ball2.formFactor = 3
  116. ball2.Size = Vector3.new(1,1,1)
  117. ball2.CFrame = CFrame.new(workspace[person]["Right Leg"].Position)
  118. ball2.BrickColor = BrickColor.new(color)
  119. local b2sm = Instance.new("SpecialMesh")
  120. b2sm.Parent = ball2
  121. b2sm.MeshType = "Sphere"
  122. local b2w = Instance.new("Weld")
  123. b2w.Parent = ball2
  124. b2w.Part0 = workspace[person]["Right Leg"]
  125. b2w.Part1 = ball2
  126. b2w.C0 = CFrame.new(0,0.5,-.5)
  127. lp:GetMouse().KeyDown:connect(function(kai)
  128. if kai == "f" then
  129. key = "f"
  130. end
  131. end)
  132. lp:GetMouse().KeyUp:connect(function(kai)
  133. if kai == "f" then
  134. key = nil
  135. end
  136. end)
  137. while wait(1/60) do
  138. count = (count % 100) + countspeed
  139. angle = math.pi * math.sin(math.pi*2/100*count)
  140. if key == "f" then
  141. countspeed = 15 --this is the speed xD
  142. lm.C0 = lsc0 * CFrame.new(.6,-.4,0) * CFrame.Angles((-angle*0.100)+0.1, math.rad(45), math.rad(45))
  143. end
  144. end
  145. [color=#333333]print("Thanks to aleksa12432 for making this")
Add Comment
Please, Sign In to add comment