Advertisement
memberhero

Funny Dance

Dec 12th, 2017
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.87 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. HopperBin0 = Instance.new("HopperBin")
  20. LocalScript1 = Instance.new("LocalScript")
  21. StringValue2 = Instance.new("StringValue")
  22. HopperBin0.Name = "Froppleymatingdance.exe"
  23. HopperBin0.Parent = mas
  24. LocalScript1.Parent = HopperBin0
  25. table.insert(cors,sandbox(LocalScript1,function()
  26. wait(.05)
  27. --Saz
  28.  
  29. debounce=true
  30. etime=0
  31. etimem=20
  32. down=false
  33.  
  34. vPlayer=game.Players.LocalPlayer
  35. cPlayer=nil
  36. Humanoid=nil
  37.  
  38. Welds={}
  39.  
  40. stopVictoly=function()
  41.  
  42. for _,v in pairs(Welds) do
  43. v.Parent = cPlayer.Torso
  44. end
  45.  
  46. wait(.2)
  47.  
  48. g1:Remove() g2:Remove() g3:Remove() g4:Remove() g5:Remove()
  49.  
  50. b1:Remove() b2:Remove()
  51.  
  52. p1:Remove() p2:Remove()
  53.  
  54. bpos:Remove()
  55. brot:Remove()
  56.  
  57. Head.Anchored=false
  58.  
  59. Humanoid.PlatformStand=false
  60.  
  61. end
  62. startVictoly=function()
  63.  
  64. Welds={}
  65.  
  66. cPlayer=vPlayer.Character
  67. Humanoid = nil
  68. for _,v in pairs(cPlayer:children()) do
  69. if v.className=="Humanoid" then
  70. Humanoid=v
  71. end
  72. if v.Name=="Torso" then
  73. for __,vv in pairs(v:children()) do
  74. if vv:IsA("JointInstance") then
  75. table.insert(Welds,vv)
  76. end
  77. end
  78. end
  79. end
  80.  
  81. Torso = cPlayer.Torso
  82. Head = cPlayer.Head
  83. RightArm = cPlayer["Right Arm"]
  84. LeftArm = cPlayer["Left Arm"]
  85. RightLeg = cPlayer["Right Leg"]
  86. LeftLeg = cPlayer["Left Leg"]
  87.  
  88. Head.Anchored=true
  89.  
  90. headpos = Head.CFrame.p
  91.  
  92. print("DEAD")
  93.  
  94. Humanoid.PlatformStand=true
  95.  
  96. Torso.Anchored=true
  97.  
  98. p1=Instance.new("Part",cPlayer)
  99. p1.Anchored=true
  100. p1.formFactor="Custom"
  101. p1.Size=Vector3.new(1,1,1)
  102. p1.TopSurface=0
  103. p1.BottomSurface=0
  104. p1.CanCollide=false
  105. p1.Name="AnchorR"
  106. p1.CFrame = Torso.CFrame * CFrame.new(.5,-3.5,0)
  107. p1.Transparency=1
  108.  
  109. p2=Instance.new("Part",cPlayer)
  110. p2.Anchored=true
  111. p2.formFactor="Custom"
  112. p2.Size=Vector3.new(1,1,1)
  113. p2.TopSurface=0
  114. p2.BottomSurface=0
  115. p2.CanCollide=false
  116. p2.Name="AnchorL"
  117. p2.CFrame = Torso.CFrame * CFrame.new(-.5,-3.5,0)
  118. p2.Transparency=1
  119.  
  120. g1=Instance.new("Glue",RightLeg)
  121. g1.Part0 = Torso
  122. g1.Part1 = RightLeg
  123. g1.C0 = CFrame.new(.5,-2,0)
  124. g1.C1 = CFrame.new(0,0,0)
  125. g1.F0 = Vector3.new(0,1,0)
  126. g1.F1 = Vector3.new(0,1,0)
  127. g1.F2 = Vector3.new(0,1,0)
  128. g1.F3 = Vector3.new(0,1,0)
  129.  
  130. g2=Instance.new("Glue",p1)
  131. g2.Part0 = p1
  132. g2.Part1 = RightLeg
  133. g2.C0 = CFrame.new(0,1.5,0)
  134. g2.C1 = CFrame.new(0,0,0)
  135. g2.F0 = Vector3.new(.25,-1,.25)
  136. g2.F1 = Vector3.new(.25,-1,-.25)
  137. g2.F2 = Vector3.new(-.25,-1,.25)
  138. g2.F3 = Vector3.new(-.25,-1,-.25)
  139.  
  140. g3=Instance.new("Glue",LeftLeg)
  141. g3.Part0 = Torso
  142. g3.Part1 = LeftLeg
  143. g3.C0 = CFrame.new(-.5,-2,0)
  144. g3.C1 = CFrame.new(0,0,0)
  145. g3.F0 = Vector3.new(0,1,0)
  146. g3.F1 = Vector3.new(0,1,0)
  147. g3.F2 = Vector3.new(0,1,0)
  148. g3.F3 = Vector3.new(0,1,0)
  149.  
  150. g4=Instance.new("Glue",p2)
  151. g4.Part0 = p2
  152. g4.Part1 = LeftLeg
  153. g4.C0 = CFrame.new(0,1.5,0)
  154. g4.C1 = CFrame.new(0,0,0)
  155. g4.F0 = Vector3.new(.25,-1,.25)
  156. g4.F1 = Vector3.new(.25,-1,-.25)
  157. g4.F2 = Vector3.new(-.25,-1,.25)
  158. g4.F3 = Vector3.new(-.25,-1,-.25)
  159.  
  160. g5=Instance.new("Glue",Torso)
  161. g5.Part0 = Head
  162. g5.Part1 = Torso
  163. g5.C0 = CFrame.new(0,0,0)
  164. g5.C1 = CFrame.new(0,1.5,0)
  165. g5.F0 = Vector3.new(0,0,0)
  166. g5.F1 = Vector3.new(0,0,0)
  167. g5.F2 = Vector3.new(0,0,0)
  168. g5.F3 = Vector3.new(0,0,0)
  169.  
  170. for _,v in pairs(Welds) do
  171. if v.Name~="Neck" then
  172. print(v.Name)
  173. v.Parent = nil
  174. if v.Name=="Right Shoulder" then
  175. RSC0 = v.C0
  176. RSC1 = v.C1
  177. elseif v.Name=="Left Shoulder" then
  178. LSC0 = v.C0
  179. LSC1 = v.C1
  180. end
  181. end
  182. end
  183.  
  184. b1=Instance.new("Motor6D",RightArm)
  185. b1.Part0 = Torso
  186. b1.Part1 = RightArm
  187. b1.C0 = RSC0
  188. b1.C1 = RSC1 * CFrame.new(0,.25,0)
  189.  
  190. b2=Instance.new("Motor6D",LeftArm)
  191. b2.Part0 = Torso
  192. b2.Part1 = LeftArm
  193. b2.C0 = LSC0
  194. b2.C1 = LSC1 * CFrame.new(0,.25,0)
  195.  
  196. pos=Torso.Position
  197. brot=Instance.new("BodyAngularVelocity",Torso)
  198. brot.P=2250
  199. brot.maxTorque=Vector3.new(8000000,8000000,8000000)
  200. bpos=Instance.new("BodyPosition",Torso)
  201. bpos.P=4250
  202. bpos.D=150
  203. bpos.maxForce=Vector3.new(8000000000,0,8000000000)
  204. bpos.position=Torso.Position
  205.  
  206. Torso.RotVelocity=Vector3.new()
  207. Torso.Velocity=Vector3.new()
  208.  
  209.  
  210. for i=1, 5 do
  211. for _,v in pairs(cPlayer:children()) do
  212. if v:IsA("BasePart") then
  213. v.Velocity=Vector3.new()
  214. v.RotVelocity=Vector3.new()
  215. end
  216. end
  217. wait(.05)
  218. end
  219.  
  220. Torso.Neck.Parent=nil
  221. Torso.Anchored=false
  222.  
  223. ex=0
  224. em = 0
  225. elo = 0
  226.  
  227. local mus = Instance.new("Sound",Torso)
  228. mus.Volume = 1
  229. mus.SoundId="rbxassetid://141509625"
  230. mus:Play()
  231.  
  232. ded=false
  233.  
  234. wait()
  235.  
  236. li=Instance.new("PointLight",Torso)
  237. li.Range=25
  238. li.Brightness=5
  239. li.Shadows=true
  240.  
  241. pos=Torso.CFrame
  242.  
  243. while down do
  244. game:GetService("RunService").Heartbeat:wait()
  245. em = em+1
  246. elo = elo+1
  247. if em == 11 then
  248. brot.angularvelocity=Vector3.new(math.random(-26,26),math.random(-20,20)/6,math.random(-26,26)/2)
  249. bpos.position = (pos * CFrame.new(math.random(-20,20)/10,0,math.random(-20,20)/20)).p
  250. em = math.random(0,4)
  251. li.Color=Color3.new(math.random(100,255)/255,math.random(100,255)/255,math.random(100,255)/255)
  252. end
  253.  
  254. b1.C0 = RSC0 * CFrame.new(math.cos(math.rad(elo*15))/20,.5,math.sin(math.rad(elo*15))/30) * CFrame.Angles(math.rad(ex/8)*elo - math.pi/3,math.cos(math.rad(elo*15))/100,math.sin(elo/8)*7)
  255. b2.C0 = LSC0 * CFrame.new(math.cos(math.rad(elo*15))/20,.5,math.sin(math.rad(elo*15))/30) * CFrame.Angles(math.rad(-ex/8)*elo - math.pi/3,math.sin(math.rad(elo*15))/100,-math.cos(elo/8)*7)
  256.  
  257. ex = ex + math.random(-5,5)/5
  258. if ex > 50 then
  259. ex = 50
  260. elseif ex < 10 then
  261. ex = 20
  262. end
  263.  
  264. if elo > 15 then
  265.  
  266. if g1.Parent==nil or g2.Parent==nil or g3.Parent==nil or g4.Parent==nil or g5.Parent==nil or Humanoid.Health <= 0 then
  267. ded = true
  268. break
  269. end
  270. if g1.Part0==nil or g2.Part0==nil or g3.Part0==nil or g4.Part0==nil or g5.Part0==nil then
  271. ded = true
  272. break
  273. end
  274. if RightArm.Parent == nil or LeftArm.Parent == nil or LeftLeg.Parent==nil or RightLeg.Parent==nil then
  275. ded=true
  276. break
  277. end
  278.  
  279. end
  280.  
  281. end
  282.  
  283. li:Remove()
  284.  
  285. mus:Stop()
  286.  
  287. if ded then
  288. Head.Anchored=false
  289.  
  290. for _,v in pairs(cPlayer:children()) do
  291. if v:IsA("BasePart") then
  292. v:BreakJoints()
  293. v.CFrame = CFrame.new(Torso.Position + Vector3.new(math.random(-2,2),math.random(-1,2),math.random(-2,2))) * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  294. v.Velocity=Vector3.new(0,0,0)
  295. end
  296. end
  297.  
  298. e=Instance.new("Explosion",workspace)
  299. e.BlastRadius=10
  300. e.BlastPressure=0
  301. e.Position=Torso.Position
  302. e.Hit:connect(function(hit) if hit.Parent == cPlayer and hit.Name~="AnchorR" and hit.Name~="AnchorL" then if hit:FindFirstChild("Fire") == nil then Instance.new("Fire",hit) end hit:BreakJoints() hit.Velocity = (e.Position - hit.Position).unit * 80 hit.RotVelocity = hit.Velocity end end)
  303.  
  304. s=Instance.new("Sound",Head)
  305. s.SoundId="http://www.roblox.com/asset/?id=230597277"
  306. s.Volume=1
  307. s:Play()
  308.  
  309. s=Instance.new("Sound",p1)
  310. s.SoundId="http://www.roblox.com/asset/?id=221920821"
  311. s.Volume=1
  312. s.Pitch=1.25
  313. s:Play()
  314. end
  315.  
  316. wait(.5)
  317. mus:Remove()
  318.  
  319. end
  320.  
  321. onEquip=function(mouse)
  322. mouse.Button1Down:connect(function() down=true startVictoly() end)
  323. mouse.Button1Up:connect(function() down=false stopVictoly() end)
  324. end
  325. script.Parent.Selected:connect(onEquip)
  326. end))
  327. StringValue2.Name = "Te"
  328. StringValue2.Parent = LocalScript1
  329. for i,v in pairs(mas:GetChildren()) do
  330. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  331. pcall(function() v:MakeJoints() end)
  332. end
  333. mas:Destroy()
  334. for i,v in pairs(cors) do
  335. spawn(function()
  336. pcall(v)
  337. end)
  338. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement