Advertisement
DenisPitu06_YT

U GOT THAT

Sep 10th, 2019
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.77 KB | None | 0 0
  1. local player=game.Players.LocalPlayer
  2. local char=player.Character
  3. repeat wait() until player and char
  4. local torso=char.Torso
  5. local head=char.Head
  6. local human=char.Humanoid
  7. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  8. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  9. local c=function(f) coroutine.resume(coroutine.create(f)) end
  10. local p=function(f) pcall(f) end
  11. local add={
  12. Part=function(par, a, c, col, t, s, cf)
  13. local p=Instance.new("Part", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  14. return p
  15. end,
  16. Wedge=function(par, a, c, col, t, s, cf)
  17. local p=Instance.new("WedgePart", par) pcall(function() p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new() end)
  18. return p
  19. end,
  20. Gui=function(ins, par, bc, bg, tc, fs, text, t, s, pos)
  21. local g=Instance.new(ins, par) pcall(function() g.BorderColor=BrickColor.new(bc) g.BackgroundColor=BrickColor.new(bg) g.TextColor=BrickColor.new(tc) g.FontSize=fs g.Font="ArialBold" g.Text=text g.Transparency=t g.Size=s g.Position=pos end)
  22. return g
  23. end,
  24. Weld=function(par, p1, cf)
  25. local w=Instance.new("Weld", par) pcall(function() w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new() end)
  26. return w
  27. end,
  28. Mesh=function(ins, par, s, of, t)
  29. local m=Instance.new(ins, par) pcall(function() m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() m.MeshType=t end)
  30. return m
  31. end
  32. }
  33. local scriptname="GANGNAM STYLE" --Name here
  34. pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char["Objects"]:remove() player.PlayerGui[scriptname]:remove() end)
  35. local model=Instance.new("Model", char) model.Name="Objects"
  36. local modelB=Instance.new("Model", char) modelB.Name=scriptname
  37. local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  38. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=scriptname
  39. local skincolor="Really black"
  40. local body={}
  41. local animate={}
  42. local obj={}
  43. function createParts()
  44. --==PARTS==--
  45. body.Head=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  46. body.Torso=add.Part(model, false, false, skincolor, 1, Vector3.new(2, 2, 1), nil)
  47. body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  48. body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 1, Vector3.new(1, 1, 1), nil)
  49. --==WELDS==--
  50. body.HeadW=add.Weld(body.Head, torso, CFrame.new(0, 1.5, 0))
  51. body.TorsoW=add.Weld(body.Torso, torso, nil)
  52. body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  53. body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
  54. --==WELDS==--
  55. add.Weld(body.Head, head, nil)
  56. add.Weld(arm.Left, body.ArmLeft, CFrame.new(0, -.5, 0))
  57. add.Weld(arm.Right, body.ArmRight, CFrame.new(0, -.5, 0))
  58. add.Weld(leg.Left, body.LegLeft, CFrame.new(0, -.5, 0))
  59. add.Weld(leg.Right, body.LegRight, CFrame.new(0, -.5, 0))
  60. ---------------------------------------------------------------------------------------
  61. animate={
  62. ["Head"]=function(cf)
  63. body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  64. end;
  65. ["Torso"]=function(cf) body.Torso.Transparency=0 torso.Transparency=1
  66. body.TorsoW.C1=cf
  67. end;
  68. ["ArmLeft"]=function(cf)
  69. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  70. end;
  71. ["ArmRight"]=function(cf)
  72. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  73. end;
  74. ["LegLeft"]=function(cf)
  75. body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  76. end;
  77. ["LegRight"]=function(cf)
  78. body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  79. end;
  80. }
  81. --==Objects==--
  82. end
  83. function removeParts()
  84. p(function()
  85. for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end
  86. end)
  87. end
  88. function play(id, pitch)
  89. c(function()
  90. local sound=Instance.new("Sound", torso)
  91. sound.Pitch=pitch
  92. sound.SoundId=id
  93. sound:play()
  94. wait(1)
  95. sound:remove()
  96. end)
  97. end
  98. local lyrics=0
  99. local dance=0
  100. local dancing=false
  101. local onDancing=false
  102. local startpos=false
  103. bin.Selected:connect(function(mouse) createParts() onDancing=true
  104. for i=0, 1, .1 do wait()
  105. animate.Head(CFrame.Angles(math.rad(45), 0, 0))
  106. animate.ArmLeft(CFrame.new(1*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
  107. animate.ArmRight(CFrame.new(-1*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, -math.rad(45)*i))
  108. animate.LegLeft(CFrame.Angles(0, 0, -math.rad(15)*i))
  109. animate.LegRight(CFrame.Angles(0, 0, math.rad(15)*i))
  110. end
  111. while onDancing do wait() lyrics=lyrics+1 dance=dance+1
  112. if lyrics==1 then game:GetService("Chat"):Chat(head, "Op", "Blue") end
  113. if lyrics==2 then game:GetService("Chat"):Chat(head, "Op", "Blue") end
  114. if lyrics==4 then game:GetService("Chat"):Chat(head, "Oppa GANGNAM STYLE!", "Blue") end
  115. if dance<=2 and dancing==false then print(dance)
  116. dancing=true
  117. startpos=false
  118. for i=0, 1, .1 do wait()
  119. animate.Head(CFrame.Angles(math.rad(45*i), 0, 0))
  120. animate.Torso(CFrame.Angles(0, 0, math.rad(-5+10*i)))
  121. animate.ArmLeft(CFrame.new(1, .5*i, -.5)*CFrame.Angles(math.rad(90+45*i), 0, math.rad(45)))
  122. animate.ArmRight(CFrame.new(-1, .5*i, -.5)*CFrame.Angles(math.rad(90+45*i), 0, -math.rad(45)))
  123. animate.LegLeft(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, -math.rad(15)))
  124. animate.LegRight(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, math.rad(15)))
  125. end
  126. for i=0, 1, .1 do wait()
  127. animate.Head(CFrame.Angles(math.rad(45-45*i), 0, 0))
  128. animate.Torso(CFrame.Angles(0, 0, math.rad(5-10*i)))
  129. animate.ArmLeft(CFrame.new(1, .5-.5*i, -.5)*CFrame.Angles(math.rad(135-45*i), 0, math.rad(45)))
  130. animate.ArmRight(CFrame.new(-1, .5-.5*i, -.5)*CFrame.Angles(math.rad(135-45*i), 0, -math.rad(45)))
  131. animate.LegLeft(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, -math.rad(15)))
  132. animate.LegRight(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, math.rad(15)))
  133. end
  134. dancing=false
  135. elseif dance>=2 and dance<5 and dancing==false then print(dance)
  136. dancing=true
  137. startpos=false
  138. for i=0, 1, .1 do wait()
  139. animate.Head(CFrame.Angles(math.rad(45*i), 0, 0))
  140. animate.Torso(CFrame.Angles(0, 0, math.rad(-5+10*i)))
  141. animate.ArmLeft(CFrame.new(1, .5*i, -.5)*CFrame.Angles(math.rad(90+45*i), 0, math.rad(45)))
  142. animate.ArmRight(CFrame.Angles(math.rad(180+math.random(-45, 45)*i), 0, -math.rad(math.random(-45, 45)*i)))
  143. animate.LegLeft(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, -math.rad(15)))
  144. animate.LegRight(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, math.rad(15)))
  145. end
  146. for i=0, 1, .1 do wait()
  147. animate.Head(CFrame.Angles(math.rad(45-45*i), 0, 0))
  148. animate.Torso(CFrame.Angles(0, 0, math.rad(5-10*i)))
  149. animate.ArmLeft(CFrame.new(1, .5-.5*i, -.5)*CFrame.Angles(math.rad(135-45*i), 0, math.rad(45)))
  150. animate.ArmRight(CFrame.Angles(math.rad(180+math.random(-45, 45)*i), 0, -math.rad(math.random(-45, 45)*i)))
  151. animate.LegLeft(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, -math.rad(15)))
  152. animate.LegRight(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, math.rad(15)))
  153. end
  154. dancing=false
  155. elseif dance>=5 and dance<10 and dancing==false then print(dance)
  156. dancing=true
  157. if startpos==false then
  158. startpos=true
  159. game:GetService("Chat"):Chat(head, "EH SEXY LADY!", "Blue")
  160. for i=0, 1, .1 do wait()
  161. animate.Head(CFrame.Angles(math.rad(15), 0, 0))
  162. animate.Torso(CFrame.Angles(0, math.rad(90)*i, 0))
  163. animate.ArmLeft(CFrame.new(.2*i, 0, 0)*CFrame.Angles(0, 0, math.rad(15)*i))
  164. animate.ArmRight(CFrame.new(-.2*i, 0, 0)*CFrame.Angles(0, 0, -math.rad(15)*i))
  165. end
  166. end
  167. for i=0, 1, .2 do wait()
  168. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*.2
  169. animate.Head(CFrame.Angles(math.rad(15), 0, 0))
  170. animate.Torso(CFrame.Angles(0, -math.rad(90), math.rad(-5+10*i)))
  171. animate.LegLeft(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, -math.rad(15)))
  172. animate.LegRight(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, math.rad(15)))
  173. end
  174. for i=0, 1, .2 do wait()
  175. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*.2
  176. animate.Head(CFrame.Angles(math.rad(15), 0, 0))
  177. animate.Torso(CFrame.Angles(0, -math.rad(90), math.rad(5-10*i)))
  178. animate.LegLeft(CFrame.new(0, .5*i, 0)*CFrame.Angles(0, 0, -math.rad(15)))
  179. animate.LegRight(CFrame.new(0, .5-(.5*i), 0)*CFrame.Angles(0, 0, math.rad(15)))
  180. end
  181. dancing=false
  182. elseif dance<=10 then
  183. dance=0
  184. lyrics=0
  185. end
  186. end
  187. end)
  188. bin.Deselected:connect(function() onDancing=false body.Torso.Transparency=1 removeParts() torso.Transparency=0 end)
  189.  
  190. local sound = Instance.new("Sound", player.Character.Torso)
  191. sound.SoundId = "rbxassetid://2820877204"
  192. sound:Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement