Robloxian_Scripter

wat

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