TheProNoob2004

Dj Script [Ultimate Music List]

Jun 25th, 2016
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.20 KB | None | 0 0
  1. -------------THIS SCRIPT UPGARDED BY: TheProNoob2004------------------------------Ultimate Song List------------------------
  2. function clerp(c1,c2,al)
  3. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  4. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  5. for i,v in pairs(com1) do
  6. com1[i] = v+(com2[i]-v)*al
  7. end
  8. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  9. end
  10.  
  11.  
  12. local plr = game:service'Players'.LocalPlayer
  13. plrgui = plr.PlayerGui
  14. char = plr.Character
  15. mouse = plr:GetMouse()
  16. humanoid = char:findFirstChild("Humanoid")
  17. torso = char:findFirstChild("Torso")
  18. head = char.Head
  19. ra = char:findFirstChild("Right Arm")
  20. la = char:findFirstChild("Left Arm")
  21. rl = char:findFirstChild("Right Leg")
  22. ll = char:findFirstChild("Left Leg")
  23. rs = torso:findFirstChild("Right Shoulder")
  24. ls = torso:findFirstChild("Left Shoulder")
  25. rh = torso:findFirstChild("Right Hip")
  26. lh = torso:findFirstChild("Left Hip")
  27. neck = torso:findFirstChild("Neck")
  28. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  29. rootpart = char:findFirstChild("HumanoidRootPart")
  30. camera = workspace.CurrentCamera
  31. anim = char:findFirstChild("Animate")
  32. local sound = Instance.new("Sound", char)
  33. sound.Volume = 1
  34. sound.Looped = true
  35. sound.Name = "Sound"
  36.  
  37. SoundsList = {}
  38.  
  39. function newSound(name, id, pitch, puush)
  40. if not puush == true then puush = false end
  41. if puush then
  42. table.insert(SoundsList, {["Name"]=name, ["ID"]="puush("..id..")", ["Pitch"]=pitch or 1})
  43. else
  44. table.insert(SoundsList, {["Name"]=name, ["ID"]=id, ["Pitch"]=pitch or 1})
  45. end
  46. end
  47.  
  48. newSound("Saints Row IV Theme (puush asset)", "9jVEX", 1, true)
  49. newSound("Lemon Tree - Fool's Garden (puush asset)", "9jVD9", 1, true)
  50. newSound("What is Love", "142544487")
  51. newSound("Martin Garrix - Animals", "142370129")
  52. newSound("The Proclaimers - 500 Miles", "151371405")
  53. newSound("Avicii - Wake me up", "142603004")
  54. newSound("Hip Hop - Jeff Syndicate", "27697735", 3)
  55. newSound("Alice Deejay - Better Off Alone", "142397452")
  56. newSound("BBBFF - My Little Pony", "142605535")
  57. newSound("Intro - My Little Pony", "142626518")
  58. newSound("Bangarang - Skrillex", "142319852")
  59. newSound("Surfin' Bird ", "145567707")
  60. newSound("You've been trolled", "142633540")
  61. newSound('Disco Star - Spongebob video game', '144906669')
  62. newSound("Europe - The Final Countdown", "142859512")
  63. newSound("LMFAO - Party Rock Anthem", "145262991")
  64. newSound('Skrillex - Fire', '150137157')
  65. newSound('Spongebob - Goofy Goober Rock', '142396943')
  66. newSound('The Slenderman song (Comedy)', '142776228')
  67. newSound('Avicii - Levels', "148424799")
  68. newSound('Erectin\' a river', '145849454')
  69. newSound('TTC - Fat cat Adventures [Glitch Hop]', '142808748')
  70. newSound('Thrift Shop - Macklemore', '155119191')
  71. newSound('Five Nights At Freddys 2 Song', '192043328')
  72. newSound('Sia - Cheap Thrills','400057143')
  73. newSound('Zara Larsson - Lush Life','305456057')
  74. newSound('IDK - Royals','130825893')
  75. newSound('Imagine Dragons - Demons','131261480')
  76. newSound('ThePros - FUS RO DAH','130776150')
  77. newSound('Skrillex - Cinema','130777688')
  78. newSound('TheFatRat - Monody','329044384')
  79. newSound('TheFatRat - Time Lapse','296407498')
  80. newSound('TheFaRat - Xenongenesis','216318362')
  81. newSound('TheFatRat - Windfall','264098929')
  82. newSound('TheFatRat - Unity','257341751')
  83. newSound('OMFG - Hello','214902446')
  84. newSound('OMFG - Yeah','248543325')
  85. newSound('OMFG - Ok','250755837')
  86. newSound('OMFG - I Love You','225000651')
  87. newSound('OMFG - Mashed Patatoes','314301167')
  88. newSound('THE DOWNTOWN FICTION - I Just Wanna Run','228928869')
  89. newSound('Skeletons - Spooky Scary Skeletons [BEST REMIX]','168983825')
  90. newSound('Cash Cash - Kiss the sky','159454654')
  91. newSound('Cash Cash - OverTime','142276301')
  92. newSound('Tristam - Till it's over','186430325')
  93. newSound('Tristam - Once Again','180115728')
  94.  
  95. local function HSV(H,S,V)
  96. H = H % 360
  97. local C = V * S
  98. local H2 = H/60
  99. local X = C * (1 - math.abs((H2 %2) -1))
  100. local color = Color3.new(0,0,0)
  101. if H2 <= 0 then
  102. color = Color3.new(C,0,0)
  103. elseif 0 <= H2 and H2 <= 1 then
  104. color = Color3.new(C,X,0)
  105. elseif 1 <= H2 and H2 <= 2 then
  106. color = Color3.new(X,C,0)
  107. elseif 2 <= H2 and H2 <= 3 then
  108. color = Color3.new(0,C,X)
  109. elseif 3 <= H2 and H2 <= 4 then
  110. color = Color3.new(0,X,C)
  111. elseif 4 <= H2 and H2 <= 5 then
  112. color = Color3.new(X,0,C)
  113. elseif 5 <= H2 and H2 <= 6 then
  114. color = Color3.new(C,0,X)
  115. end
  116. local m = V - C
  117. return Color3.new(color.r + m, color.g + m, color.b + m)
  118. end
  119.  
  120. function RemoveDisco()
  121. char:findFirstChild'DiscoBox':remove()
  122. gui:remove()
  123. sound:stop()
  124. end
  125.  
  126. function BeginPlacingDisco()
  127. -- 1 - DiscoBox
  128. local obj1 = Instance.new("Model")
  129. obj1.Name = "DiscoBox"
  130. obj1.Parent = char
  131.  
  132. -- 2 - DiscTop
  133. obj2 = Instance.new("Part")
  134. obj2.CFrame = CFrame.new(Vector3.new(-34.5000038, 3.09000182, -48.5)) * CFrame.Angles(-0, 0, -0)
  135. obj2.FormFactor = Enum.FormFactor.Custom
  136. obj2.TopSurface = Enum.SurfaceType.Smooth
  137. obj2.BottomSurface = Enum.SurfaceType.Smooth
  138. obj2.Material = Enum.Material.SmoothPlastic
  139. obj2.Size = Vector3.new(3, 0.200000003, 3)
  140. obj2.BrickColor = BrickColor.new("Dark stone grey")
  141. obj2.Friction = 0.30000001192093
  142. obj2.Shape = Enum.PartType.Block
  143. obj2.Name = "DiscTop"
  144. obj2.Parent = obj1
  145.  
  146. -- 3 - Mesh
  147. obj3 = Instance.new("CylinderMesh")
  148. obj3.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  149. obj3.Parent = obj2
  150.  
  151. -- 4 - Part-to-Part Strong Joint
  152. obj4 = Instance.new("ManualWeld")
  153. obj4.Part0 = DiscTop
  154. obj4.Part1 = Part
  155. obj4.Name = "Part-to-Part Strong Joint"
  156. obj4.Parent = obj2
  157.  
  158. -- 5 - Disc
  159. obj5 = Instance.new("Part")
  160. obj5.CFrame = CFrame.new(Vector3.new(-34.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
  161. obj5.FormFactor = Enum.FormFactor.Custom
  162. obj5.TopSurface = Enum.SurfaceType.Smooth
  163. obj5.BottomSurface = Enum.SurfaceType.Smooth
  164. obj5.Material = Enum.Material.Sand
  165. obj5.Size = Vector3.new(3, 0.200000003, 3)
  166. obj5.BrickColor = BrickColor.new("Black")
  167. obj5.Friction = 0.30000001192093
  168. obj5.Shape = Enum.PartType.Block
  169. obj5.Name = "Disc"
  170. obj5.Parent = obj1
  171.  
  172. -- 6 - Mesh
  173. obj6 = Instance.new("CylinderMesh")
  174. obj6.Scale = Vector3.new(0.899999976, 1, 0.899999976)
  175. obj6.Parent = obj5
  176.  
  177. -- 7 - Part-to-Part Strong Joint
  178. obj7 = Instance.new("ManualWeld")
  179. obj7.Part0 = Disc
  180. obj7.Part1 = Part
  181. obj7.Name = "Part-to-Part Strong Joint"
  182. obj7.Parent = obj5
  183.  
  184. -- 8 - Part
  185. obj8 = Instance.new("Part")
  186. obj8.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
  187. obj8.FormFactor = Enum.FormFactor.Custom
  188. obj8.TopSurface = Enum.SurfaceType.Smooth
  189. obj8.BottomSurface = Enum.SurfaceType.Smooth
  190. obj8.Material = Enum.Material.SmoothPlastic
  191. obj8.Size = Vector3.new(1, 0.200000003, 1)
  192. obj8.BrickColor = BrickColor.new("Mid gray")
  193. obj8.Friction = 0.30000001192093
  194. obj8.Shape = Enum.PartType.Block
  195. obj8.Parent = obj1
  196.  
  197. -- 9 - Mesh
  198. obj9 = Instance.new("CylinderMesh")
  199. obj9.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  200. obj9.Parent = obj8
  201.  
  202. -- 10 - Part-to-Part Strong Joint
  203. obj10 = Instance.new("ManualWeld")
  204. obj10.Part0 = Part
  205. obj10.Part1 = Part
  206. obj10.Name = "Part-to-Part Strong Joint"
  207. obj10.Parent = obj8
  208.  
  209. -- 11 - Part
  210. obj11 = Instance.new("Part")
  211. obj11.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
  212. obj11.FormFactor = Enum.FormFactor.Custom
  213. obj11.TopSurface = Enum.SurfaceType.Smooth
  214. obj11.BottomSurface = Enum.SurfaceType.Smooth
  215. obj11.Material = Enum.Material.SmoothPlastic
  216. obj11.Size = Vector3.new(1, 0.200000003, 1)
  217. obj11.BrickColor = BrickColor.new("Mid gray")
  218. obj11.Friction = 0.30000001192093
  219. obj11.Shape = Enum.PartType.Block
  220. obj11.Parent = obj1
  221.  
  222. -- 12 - Mesh
  223. obj12 = Instance.new("CylinderMesh")
  224. obj12.Scale = Vector3.new(0.400000006, 1.04999995, 0.400000006)
  225. obj12.Parent = obj11
  226.  
  227. -- 13 - Bar
  228. obj13 = Instance.new("Part")
  229. obj13.CFrame = CFrame.new(Vector3.new(-37.0000114, 3.09000063, -50.5)) * CFrame.Angles(-0, 0, -0)
  230. obj13.FormFactor = Enum.FormFactor.Custom
  231. obj13.TopSurface = Enum.SurfaceType.Smooth
  232. obj13.BottomSurface = Enum.SurfaceType.Smooth
  233. obj13.Material = Enum.Material.SmoothPlastic
  234. obj13.Size = Vector3.new(7.99999905, 0.200000003, 1)
  235. obj13.BrickColor = BrickColor.new("Really black")
  236. obj13.Friction = 0.30000001192093
  237. obj13.Shape = Enum.PartType.Block
  238. obj13.Parent = obj1
  239.  
  240. -- 14 - Part-to-Part Strong Joint
  241. obj14 = Instance.new("ManualWeld")
  242. obj14.Part0 = Part
  243. obj14.Part1 = nil
  244. obj14.Name = "Part-to-Part Strong Joint"
  245. obj14.Parent = obj13
  246.  
  247. -- 15 - Part-to-Part Strong Joint
  248. obj15 = Instance.new("ManualWeld")
  249. obj15.Part0 = Part
  250. obj15.Part1 = nil
  251. obj15.Name = "Part-to-Part Strong Joint"
  252. obj15.Parent = obj13
  253.  
  254. -- 16 - Mesh
  255. obj16 = Instance.new("BlockMesh")
  256. obj16.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  257. obj16.Parent = obj13
  258.  
  259. -- 17 - Box
  260. obj17 = Instance.new("Part")
  261. obj17.CFrame = CFrame.new(Vector3.new(-37, 1.49000001, -49)) * CFrame.Angles(-0, 0, -0)
  262. obj17.FormFactor = Enum.FormFactor.Symmetric
  263. obj17.TopSurface = Enum.SurfaceType.Smooth
  264. obj17.BottomSurface = Enum.SurfaceType.Smooth
  265. obj17.Material = Enum.Material.SmoothPlastic
  266. obj17.Size = Vector3.new(8, 3, 4)
  267. obj17.BrickColor = BrickColor.new("Dark stone grey")
  268. obj17.Friction = 0.30000001192093
  269. obj17.Shape = Enum.PartType.Block
  270. obj17.Name = "Box"
  271. obj17.Parent = obj1
  272.  
  273. -- 18 - Part-to-Part Strong Joint
  274. obj18 = Instance.new("ManualWeld")
  275. obj18.Part0 = Box
  276. obj18.Part1 = Part
  277. obj18.Name = "Part-to-Part Strong Joint"
  278. obj18.Parent = obj17
  279.  
  280. -- 19 - Part-to-Part Strong Joint
  281. obj19 = Instance.new("ManualWeld")
  282. obj19.Part0 = Box
  283. obj19.Part1 = Disc
  284. obj19.Name = "Part-to-Part Strong Joint"
  285. obj19.Parent = obj17
  286.  
  287. -- 20 - Part-to-Part Strong Joint
  288. obj20 = Instance.new("ManualWeld")
  289. obj20.Part0 = Box
  290. obj20.Part1 = Disc2
  291. obj20.Name = "Part-to-Part Strong Joint"
  292. obj20.Parent = obj17
  293.  
  294. -- 21 - Part-to-Part Strong Joint
  295. obj21 = Instance.new("ManualWeld")
  296. obj21.Part0 = Box
  297. obj21.Part1 = DiscTop2
  298. obj21.Name = "Part-to-Part Strong Joint"
  299. obj21.Parent = obj17
  300.  
  301. -- 22 - Part-to-Part Strong Joint
  302. obj22 = Instance.new("ManualWeld")
  303. obj22.Part0 = Box
  304. obj22.Part1 = DiscTop
  305. obj22.Name = "Part-to-Part Strong Joint"
  306. obj22.Parent = obj17
  307.  
  308. -- 23 - Part-to-Part Strong Joint
  309. obj23 = Instance.new("ManualWeld")
  310. obj23.Part0 = Box
  311. obj23.Part1 = Part
  312. obj23.Name = "Part-to-Part Strong Joint"
  313. obj23.Parent = obj17
  314.  
  315. -- 24 - Part-to-Part Strong Joint
  316. obj24 = Instance.new("ManualWeld")
  317. obj24.Part0 = Box
  318. obj24.Part1 = Part
  319. obj24.Name = "Part-to-Part Strong Joint"
  320. obj24.Parent = obj17
  321.  
  322. -- 25 - Part-to-Part Strong Joint
  323. obj25 = Instance.new("ManualWeld")
  324. obj25.Part0 = Box
  325. obj25.Part1 = Part
  326. obj25.Name = "Part-to-Part Strong Joint"
  327. obj25.Parent = obj17
  328.  
  329. -- 26 - Box-to-Part Strong Joint
  330. obj26 = Instance.new("ManualWeld")
  331. obj26.Part0 = Box
  332. obj26.Part1 = Slider
  333. obj26.Name = "Box-to-Part Strong Joint"
  334. obj26.Parent = obj17
  335.  
  336. -- 27 - Box-to-Part Strong Joint
  337. obj27 = Instance.new("ManualWeld")
  338. obj27.Part0 = Box
  339. obj27.Part1 = Slider2
  340. obj27.Name = "Box-to-Part Strong Joint"
  341. obj27.Parent = obj17
  342.  
  343. -- 28 - Part
  344. obj28 = Instance.new("Part")
  345. obj28.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
  346. obj28.FormFactor = Enum.FormFactor.Custom
  347. obj28.TopSurface = Enum.SurfaceType.Smooth
  348. obj28.BottomSurface = Enum.SurfaceType.Smooth
  349. obj28.Material = Enum.Material.SmoothPlastic
  350. obj28.Size = Vector3.new(1, 0.200000003, 1)
  351. obj28.BrickColor = BrickColor.new("Bright red")
  352. obj28.Friction = 0.30000001192093
  353. obj28.Shape = Enum.PartType.Block
  354. obj28.Parent = obj1
  355.  
  356. -- 29 - Mesh
  357. obj29 = Instance.new("CylinderMesh")
  358. obj29.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  359. obj29.Parent = obj28
  360.  
  361. -- 30 - Part-to-Part Strong Joint
  362. obj30 = Instance.new("ManualWeld")
  363. obj30.Part0 = Part
  364. obj30.Part1 = Part
  365. obj30.Name = "Part-to-Part Strong Joint"
  366. obj30.Parent = obj28
  367.  
  368. -- 31 - Part-to-Part Strong Joint
  369. obj31 = Instance.new("ManualWeld")
  370. obj31.Part0 = Part
  371. obj31.Part1 = Part
  372. obj31.Name = "Part-to-Part Strong Joint"
  373. obj31.Parent = obj28
  374.  
  375. -- 32 - Part
  376. obj32 = Instance.new("Part")
  377. obj32.CFrame = CFrame.new(Vector3.new(-37, 3.09000087, -50.5)) * CFrame.Angles(-0, 0, -0)
  378. obj32.FormFactor = Enum.FormFactor.Custom
  379. obj32.TopSurface = Enum.SurfaceType.Smooth
  380. obj32.BottomSurface = Enum.SurfaceType.Smooth
  381. obj32.Material = Enum.Material.SmoothPlastic
  382. obj32.Size = Vector3.new(8, 0.200000003, 1)
  383. obj32.BrickColor = BrickColor.new("Dark stone grey")
  384. obj32.Friction = 0.30000001192093
  385. obj32.Shape = Enum.PartType.Block
  386. obj32.Parent = obj1
  387.  
  388. -- 33 - Part-to-Part Strong Joint
  389. obj33 = Instance.new("ManualWeld")
  390. obj33.Part0 = Part
  391. obj33.Part1 = Disc
  392. obj33.Name = "Part-to-Part Strong Joint"
  393. obj33.Parent = obj32
  394.  
  395. -- 34 - Part-to-Part Strong Joint
  396. obj34 = Instance.new("ManualWeld")
  397. obj34.Part0 = Part
  398. obj34.Part1 = Disc2
  399. obj34.Name = "Part-to-Part Strong Joint"
  400. obj34.Parent = obj32
  401.  
  402. -- 35 - Part-to-Part Strong Joint
  403. obj35 = Instance.new("ManualWeld")
  404. obj35.Part0 = Part
  405. obj35.Part1 = DiscTop2
  406. obj35.Name = "Part-to-Part Strong Joint"
  407. obj35.Parent = obj32
  408.  
  409. -- 36 - Part-to-Part Strong Joint
  410. obj36 = Instance.new("ManualWeld")
  411. obj36.Part0 = Part
  412. obj36.Part1 = DiscTop
  413. obj36.Name = "Part-to-Part Strong Joint"
  414. obj36.Parent = obj32
  415.  
  416. -- 37 - Part
  417. obj37 = Instance.new("Part")
  418. obj37.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
  419. obj37.FormFactor = Enum.FormFactor.Custom
  420. obj37.TopSurface = Enum.SurfaceType.Smooth
  421. obj37.BottomSurface = Enum.SurfaceType.Smooth
  422. obj37.Material = Enum.Material.SmoothPlastic
  423. obj37.Size = Vector3.new(1, 0.200000003, 1)
  424. obj37.BrickColor = BrickColor.new("Bright red")
  425. obj37.Friction = 0.30000001192093
  426. obj37.Shape = Enum.PartType.Block
  427. obj37.Parent = obj1
  428.  
  429. -- 38 - Mesh
  430. obj38 = Instance.new("CylinderMesh")
  431. obj38.Scale = Vector3.new(0.699999988, 1.04999995, 0.699999988)
  432. obj38.Parent = obj37
  433.  
  434. -- 39 - Part-to-Part Strong Joint
  435. obj39 = Instance.new("ManualWeld")
  436. obj39.Part0 = Part
  437. obj39.Part1 = Part
  438. obj39.Name = "Part-to-Part Strong Joint"
  439. obj39.Parent = obj37
  440.  
  441. -- 40 - Part-to-Part Strong Joint
  442. obj40 = Instance.new("ManualWeld")
  443. obj40.Part0 = Part
  444. obj40.Part1 = Part
  445. obj40.Name = "Part-to-Part Strong Joint"
  446. obj40.Parent = obj37
  447.  
  448. -- 41 - Part
  449. obj41 = Instance.new("Part")
  450. obj41.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
  451. obj41.FormFactor = Enum.FormFactor.Custom
  452. obj41.TopSurface = Enum.SurfaceType.Smooth
  453. obj41.BottomSurface = Enum.SurfaceType.Smooth
  454. obj41.Material = Enum.Material.SmoothPlastic
  455. obj41.Size = Vector3.new(1, 0.200000003, 1)
  456. obj41.BrickColor = BrickColor.new("Bright blue")
  457. obj41.Friction = 0.30000001192093
  458. obj41.Shape = Enum.PartType.Block
  459. obj41.Parent = obj1
  460.  
  461. -- 42 - Mesh
  462. obj42 = Instance.new("CylinderMesh")
  463. obj42.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  464. obj42.Parent = obj41
  465.  
  466. -- 43 - Part-to-Part Strong Joint
  467. obj43 = Instance.new("ManualWeld")
  468. obj43.Part0 = Part
  469. obj43.Part1 = Part
  470. obj43.Name = "Part-to-Part Strong Joint"
  471. obj43.Parent = obj41
  472.  
  473. -- 44 - Part
  474. obj44 = Instance.new("Part")
  475. obj44.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
  476. obj44.FormFactor = Enum.FormFactor.Custom
  477. obj44.TopSurface = Enum.SurfaceType.Smooth
  478. obj44.BottomSurface = Enum.SurfaceType.Smooth
  479. obj44.Material = Enum.Material.SmoothPlastic
  480. obj44.Size = Vector3.new(1, 0.200000003, 1)
  481. obj44.BrickColor = BrickColor.new("Bright blue")
  482. obj44.Friction = 0.30000001192093
  483. obj44.Shape = Enum.PartType.Block
  484. obj44.Parent = obj1
  485.  
  486. -- 45 - Mesh
  487. obj45 = Instance.new("CylinderMesh")
  488. obj45.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  489. obj45.Parent = obj44
  490.  
  491. -- 46 - Part-to-Part Strong Joint
  492. obj46 = Instance.new("ManualWeld")
  493. obj46.Part0 = Part
  494. obj46.Part1 = Part
  495. obj46.Name = "Part-to-Part Strong Joint"
  496. obj46.Parent = obj44
  497.  
  498. -- 47 - Part
  499. obj47 = Instance.new("Part")
  500. obj47.CFrame = CFrame.new(Vector3.new(-39.5000038, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
  501. obj47.FormFactor = Enum.FormFactor.Custom
  502. obj47.TopSurface = Enum.SurfaceType.Smooth
  503. obj47.BottomSurface = Enum.SurfaceType.Smooth
  504. obj47.Material = Enum.Material.SmoothPlastic
  505. obj47.Size = Vector3.new(3.00000048, 0.200000003, 1)
  506. obj47.BrickColor = BrickColor.new("Really black")
  507. obj47.Friction = 0.30000001192093
  508. obj47.Shape = Enum.PartType.Block
  509. obj47.Parent = obj1
  510.  
  511. -- 48 - Part-to-Part Strong Joint
  512. obj48 = Instance.new("ManualWeld")
  513. obj48.Part0 = Part
  514. obj48.Part1 = nil
  515. obj48.Name = "Part-to-Part Strong Joint"
  516. obj48.Parent = obj47
  517.  
  518. -- 49 - Part-to-Part Strong Joint
  519. obj49 = Instance.new("ManualWeld")
  520. obj49.Part0 = Part
  521. obj49.Part1 = nil
  522. obj49.Name = "Part-to-Part Strong Joint"
  523. obj49.Parent = obj47
  524.  
  525. -- 50 - Mesh
  526. obj50 = Instance.new("BlockMesh")
  527. obj50.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  528. obj50.Parent = obj47
  529.  
  530. -- 51 - Part
  531. obj51 = Instance.new("Part")
  532. obj51.CFrame = CFrame.new(Vector3.new(-34.5, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
  533. obj51.FormFactor = Enum.FormFactor.Custom
  534. obj51.TopSurface = Enum.SurfaceType.Smooth
  535. obj51.BottomSurface = Enum.SurfaceType.Smooth
  536. obj51.Material = Enum.Material.SmoothPlastic
  537. obj51.Size = Vector3.new(3.00000048, 0.200000003, 1)
  538. obj51.BrickColor = BrickColor.new("Really black")
  539. obj51.Friction = 0.30000001192093
  540. obj51.Shape = Enum.PartType.Block
  541. obj51.Parent = obj1
  542.  
  543. -- 52 - Part-to-Part Strong Joint
  544. obj52 = Instance.new("ManualWeld")
  545. obj52.Part0 = Part
  546. obj52.Part1 = nil
  547. obj52.Name = "Part-to-Part Strong Joint"
  548. obj52.Parent = obj51
  549.  
  550. -- 53 - Part-to-Part Strong Joint
  551. obj53 = Instance.new("ManualWeld")
  552. obj53.Part0 = Part
  553. obj53.Part1 = nil
  554. obj53.Name = "Part-to-Part Strong Joint"
  555. obj53.Parent = obj51
  556.  
  557. -- 54 - Mesh
  558. obj54 = Instance.new("BlockMesh")
  559. obj54.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  560. obj54.Parent = obj51
  561.  
  562. -- 55 - DiscTop2
  563. obj55 = Instance.new("Part")
  564. obj55.CFrame = CFrame.new(Vector3.new(-39.5, 3.09000063, -48.5)) * CFrame.Angles(-0, 0, -0)
  565. obj55.FormFactor = Enum.FormFactor.Custom
  566. obj55.TopSurface = Enum.SurfaceType.Smooth
  567. obj55.BottomSurface = Enum.SurfaceType.Smooth
  568. obj55.Material = Enum.Material.SmoothPlastic
  569. obj55.Size = Vector3.new(3, 0.200000003, 3)
  570. obj55.BrickColor = BrickColor.new("Dark stone grey")
  571. obj55.Friction = 0.30000001192093
  572. obj55.Shape = Enum.PartType.Block
  573. obj55.Name = "DiscTop2"
  574. obj55.Parent = obj1
  575.  
  576. -- 56 - Mesh
  577. obj56 = Instance.new("CylinderMesh")
  578. obj56.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  579. obj56.Parent = obj55
  580.  
  581. -- 57 - Part-to-Part Strong Joint
  582. obj57 = Instance.new("ManualWeld")
  583. obj57.Part0 = DiscTop2
  584. obj57.Part1 = Part
  585. obj57.Name = "Part-to-Part Strong Joint"
  586. obj57.Parent = obj55
  587.  
  588. -- 58 - Disc2
  589. obj58 = Instance.new("Part")
  590. obj58.CFrame = CFrame.new(Vector3.new(-39.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
  591. obj58.FormFactor = Enum.FormFactor.Custom
  592. obj58.TopSurface = Enum.SurfaceType.Smooth
  593. obj58.BottomSurface = Enum.SurfaceType.Smooth
  594. obj58.Material = Enum.Material.Sand
  595. obj58.Size = Vector3.new(3, 0.200000003, 3)
  596. obj58.BrickColor = BrickColor.new("Black")
  597. obj58.Friction = 0.30000001192093
  598. obj58.Shape = Enum.PartType.Block
  599. obj58.Name = "Disc2"
  600. obj58.Parent = obj1
  601.  
  602. -- 59 - Mesh
  603. obj59 = Instance.new("CylinderMesh")
  604. obj59.Scale = Vector3.new(0.899999976, 1, 0.899999976)
  605. obj59.Parent = obj58
  606.  
  607. -- 60 - Part-to-Part Strong Joint
  608. obj60 = Instance.new("ManualWeld")
  609. obj60.Part0 = Disc2
  610. obj60.Part1 = Part
  611. obj60.Name = "Part-to-Part Strong Joint"
  612. obj60.Parent = obj58
  613.  
  614. -- 61 - Part
  615. obj61 = Instance.new("Part")
  616. obj61.CFrame = CFrame.new(Vector3.new(-37, 2.69000006, -46.5)) * CFrame.Angles(-0, 0, -0)
  617. obj61.FormFactor = Enum.FormFactor.Custom
  618. obj61.TopSurface = Enum.SurfaceType.Smooth
  619. obj61.BottomSurface = Enum.SurfaceType.Smooth
  620. obj61.Material = Enum.Material.SmoothPlastic
  621. obj61.Size = Vector3.new(8, 0.600000024, 1)
  622. obj61.BrickColor = BrickColor.new("Dark stone grey")
  623. obj61.Friction = 0.30000001192093
  624. obj61.Shape = Enum.PartType.Block
  625. obj61.Parent = obj1
  626.  
  627. -- 62 - Slider2
  628. obj62 = Instance.new("Part")
  629. obj62.CFrame = CFrame.new(Vector3.new(-38.7000237, 2.89000058, -46.5)) * CFrame.Angles(-0, 0, -0)
  630. obj62.FormFactor = Enum.FormFactor.Custom
  631. obj62.TopSurface = Enum.SurfaceType.Smooth
  632. obj62.BottomSurface = Enum.SurfaceType.Smooth
  633. obj62.Material = Enum.Material.SmoothPlastic
  634. obj62.Size = Vector3.new(0.200000152, 0.200000003, 1)
  635. obj62.BrickColor = BrickColor.new("Dark stone grey")
  636. obj62.Friction = 0.30000001192093
  637. obj62.Shape = Enum.PartType.Block
  638. obj62.Name = "Slider2"
  639. obj62.Parent = obj1
  640.  
  641. -- 63 - Part-to-Part Strong Joint
  642. obj63 = Instance.new("ManualWeld")
  643. obj63.Part0 = Slider2
  644. obj63.Part1 = nil
  645. obj63.Name = "Part-to-Part Strong Joint"
  646. obj63.Parent = obj62
  647.  
  648. -- 64 - Part-to-Part Strong Joint
  649. obj64 = Instance.new("ManualWeld")
  650. obj64.Part0 = Slider2
  651. obj64.Part1 = nil
  652. obj64.Name = "Part-to-Part Strong Joint"
  653. obj64.Parent = obj62
  654.  
  655. -- 65 - Mesh
  656. obj65 = Instance.new("BlockMesh")
  657. obj65.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
  658. obj65.Parent = obj62
  659.  
  660. -- 66 - Slider
  661. obj66 = Instance.new("Part")
  662. obj66.CFrame = CFrame.new(Vector3.new(-34.6999969, 2.88999987, -46.5)) * CFrame.Angles(-0, 0, -0)
  663. obj66.FormFactor = Enum.FormFactor.Custom
  664. obj66.TopSurface = Enum.SurfaceType.Smooth
  665. obj66.BottomSurface = Enum.SurfaceType.Smooth
  666. obj66.Material = Enum.Material.SmoothPlastic
  667. obj66.Size = Vector3.new(0.200000152, 0.200000003, 1)
  668. obj66.BrickColor = BrickColor.new("Dark stone grey")
  669. obj66.Friction = 0.30000001192093
  670. obj66.Shape = Enum.PartType.Block
  671. obj66.Name = "Slider"
  672. obj66.Parent = obj1
  673.  
  674. -- 67 - Part-to-Part Strong Joint
  675. obj67 = Instance.new("ManualWeld")
  676. obj67.Part0 = Slider
  677. obj67.Part1 = nil
  678. obj67.Name = "Part-to-Part Strong Joint"
  679. obj67.Parent = obj66
  680.  
  681. -- 68 - Part-to-Part Strong Joint
  682. obj68 = Instance.new("ManualWeld")
  683. obj68.Part0 = Slider
  684. obj68.Part1 = nil
  685. obj68.Name = "Part-to-Part Strong Joint"
  686. obj68.Parent = obj66
  687.  
  688. -- 69 - Mesh
  689. obj69 = Instance.new("BlockMesh")
  690. obj69.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
  691. obj69.Parent = obj66
  692.  
  693. for i,v in pairs(obj1:children()) do
  694. v.Anchored = true
  695. v.Locked = true
  696. end
  697.  
  698. function Recursive(Model)
  699. local Stuff = {}
  700. local function Recur(Targ)
  701. for i,v in pairs(Targ:getChildren()) do
  702. table.insert(Stuff,v)
  703. Recur(v)
  704. end
  705. end
  706. Recur(Model)
  707. return Stuff
  708. end
  709.  
  710. function MoveModel(Model,CF)
  711. local Center = Model:getModelCFrame()
  712. local Offsets = {}
  713. for i,v in pairs (Recursive(Model)) do
  714. if v:IsA("BasePart") then
  715. Offsets[v] = CF*Center:toObjectSpace(v.CFrame)
  716. end
  717. end
  718.  
  719. for i,v in pairs(Offsets) do
  720. i.CFrame = v
  721. end
  722. end
  723.  
  724. MoveModel(obj1, torso.CFrame*CFrame.new(0,-1.5,-3))
  725.  
  726. local value = 0
  727. local Slider2CFrame = obj62.CFrame
  728. local SliderCFrame = obj66.CFrame
  729. local colur = 0
  730. local hue = 0
  731. local DiscoLight = Instance.new('PointLight', obj2)
  732. DiscoLight.Range = 0
  733. game:service'RunService'.RenderStepped:connect(function()
  734. if obj1.Parent ~= char then return end
  735. if sound.IsPlaying then
  736. hue = ((hue+5)%360)
  737. colur = HSV(hue,.8,.8)
  738. DiscoLight.Color = Color3.new(colur.r, colur.g, colur.b)
  739. DiscoLight.Range = 60
  740. value = (value % 360) + math.random()
  741. obj13.Color = Color3.new(colur.r, colur.g, colur.b)
  742. obj58.CFrame = obj58.CFrame * CFrame.Angles(0, .05, 0)
  743. obj5.CFrame = obj5.CFrame * CFrame.Angles(0, .05, 0)
  744. obj62.CFrame = Slider2CFrame * CFrame.new(math.sin(value)*.25, 0, 0)
  745. obj66.CFrame = SliderCFrame * CFrame.new(-math.sin(value)*.25, 0, 0)
  746. else
  747. DiscoLight.Range = 0
  748. obj13.Color = Color3.new()
  749. end
  750. end)
  751.  
  752. local function createText(parent, msg, line, size, func)
  753. local textLabel
  754. if func then
  755. textLabel = Instance.new("TextButton", parent)
  756. else
  757. textLabel = Instance.new("TextLabel", parent)
  758. end
  759. textLabel.Text = msg
  760. textLabel.Name = "List"
  761. if size ~= true then
  762. textLabel.TextScaled = false
  763. textLabel.FontSize = 'Size14'
  764. elseif size == true then
  765. textLabel.TextScaled = true
  766. end
  767. textLabel.BackgroundColor = BrickColor.new'Olive'
  768. textLabel.BackgroundTransparency = .9
  769. textLabel.TextColor = BrickColor.White()
  770. textLabel.TextStrokeTransparency = 0.65
  771. textLabel.Size = UDim2.new(1, 0, 0, 25)
  772. textLabel.TextXAlignment = 'Left'
  773. textLabel.Position = UDim2.new(0, 0, 0, (line-1)*25)
  774. if func then
  775. textLabel.MouseButton1Down:connect(function()
  776. local r,e = ypcall(function()
  777. func(plr)
  778. end)
  779. if e then print(e) end
  780. end)
  781. end
  782. end
  783.  
  784. gui = Instance.new('ScreenGui', plrgui)
  785. gui.Name = 'äMixer'
  786. wait()
  787. local dragframe = Instance.new('Frame', gui)
  788. dragframe.Size = UDim2.new(0, 598, 0, 18)
  789. dragframe.BackgroundColor = BrickColor.new'Dark stone grey'
  790. dragframe.Position = UDim2.new(0, gui.AbsoluteSize.X - gui.AbsoluteSize.X/2 - 300, 0, 10)
  791. dragframe.Active = true
  792. dragframe.Draggable = true
  793. dragframe.ZIndex = 3
  794. dragframe.BorderSizePixel = 0
  795. local mainframe = Instance.new('Frame', dragframe)
  796. mainframe.Size = UDim2.new(0, 600, 0, 415)
  797. mainframe.Position = UDim2.new(0, -1, 0, -1)
  798. mainframe.BackgroundColor = BrickColor.new'Olive'
  799. local CPframe = Instance.new('ScrollingFrame', mainframe)
  800. CPframe.Size = UDim2.new(0, 470, 0, 22)
  801. CPframe.Position = UDim2.new(0, 130, 0, 50)
  802. CPframe.BackgroundColor = BrickColor.new'Dark stone grey'
  803. CPframe.ScrollBarThickness = 0
  804. local CP = Instance.new('TextLabel', CPframe)
  805. CP.Size = UDim2.new(1,0,0,22)
  806. CP.BackgroundTransparency = 1
  807. CP.ZIndex = 7
  808. CP.FontSize = 'Size18'
  809. CP.TextColor3 = Color3.new(1,1,1)
  810. CP.TextStrokeTransparency = 0
  811. CP.TextXAlignment = 'Left'
  812. CP.Text = 'Playing /-/ None'
  813.  
  814. local oldCPframePos
  815.  
  816. local scrollframe = Instance.new('ScrollingFrame', mainframe)
  817. scrollframe.Size = UDim2.new(0, 590, 0, 330)
  818. scrollframe.Position = UDim2.new(0, 5, 0, 80)
  819. scrollframe.BackgroundColor = BrickColor.new'Olive'
  820. scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
  821. local playbutton = Instance.new('TextButton', mainframe)
  822. playbutton.Size = UDim2.new(0, 50, 0, 50)
  823. playbutton.Position = UDim2.new(0, 10, 0, 25)
  824. playbutton.BackgroundColor3 = Color3.new(0,1,0)
  825. playbutton.Text = ">"
  826. playbutton.TextScaled = true
  827. playbutton.TextColor3 = Color3.new(1,1,1)
  828. playbutton.TextStrokeTransparency = 0
  829. playbutton.MouseButton1Down:connect(function()
  830. game:service'ContentProvider':Preload(sound.SoundId)
  831. sound:play()
  832. local r,e = ypcall(function()
  833. CP.Text = 'Playing /-/ '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
  834. end)
  835. if e then CP.Text = 'Playing /-/ Unknown asset' end
  836. wait()
  837. CPframe.CanvasSize = UDim2.new(0, CP.TextBounds.X, 0, 0)
  838. end)
  839. local stopbutton = Instance.new('TextButton', mainframe)
  840. stopbutton.Size = UDim2.new(0, 50, 0, 50)
  841. stopbutton.Position = UDim2.new(0, 70, 0, 25)
  842. stopbutton.BackgroundColor3 = Color3.new(1,0,0)
  843. stopbutton.Text = "="
  844. stopbutton.TextScaled = true
  845. stopbutton.TextColor3 = Color3.new(1,1,1)
  846. stopbutton.TextStrokeTransparency = 0
  847. stopbutton.MouseButton1Down:connect(function()
  848. sound:stop()
  849. CP.Text = 'Playing /-/ None'
  850. CPframe.CanvasPosition = Vector2.new()
  851. end)
  852. local idbox = Instance.new('TextBox', mainframe)
  853. idbox.Size = UDim2.new(0, 100, 0, 22)
  854. idbox.Position = UDim2.new(0, 130, 0, 25)
  855. idbox.Text = 'Insert ID here'
  856. idbox.BackgroundTransparency = .5
  857. idbox.TextScaled = true
  858. idbox.TextXAlignment = 'Left'
  859. idbox.BackgroundColor3 = BrickColor.new'Olive'.Color
  860. idbox.TextColor3 = Color3.new()
  861. idbox.TextStrokeTransparency = 0
  862. local submit = Instance.new('TextButton', mainframe)
  863. submit.Size = UDim2.new(0, 50, 0, 22)
  864. submit.Position = UDim2.new(0, 240, 0, 25)
  865. submit.BackgroundColor3 = Color3.new(.2,.5,.4)
  866. submit.Text = "Submit ID"
  867. submit.TextScaled = false
  868. submit.TextColor3 = Color3.new(1,1,1)
  869. submit.TextStrokeTransparency = 0
  870. submit.MouseButton1Down:connect(function()
  871. if idbox.Text == 'Insert ID here' then return end
  872. sound:stop()
  873. sound.SoundId = "rbxassetid://"..tonumber(idbox.Text:match("%d+"))
  874. newSound(game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name..' /-ID-/ '..idbox.Text:match("%d+"), idbox.Text:match("%d+"))
  875. createText(scrollframe, game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name.." /-ID-/ "..idbox.Text:match("%d+"), #scrollframe:children()+1, false, function() sound.SoundId = "rbxassetid://"..idbox.Text:match("%d+") end)
  876. scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
  877. idbox.Text = 'Insert ID here'
  878. end)
  879.  
  880. local minimize = Instance.new('TextButton', dragframe)
  881. minimize.Size = UDim2.new(0, 16, 0, 16)
  882. minimize.Position = UDim2.new(0, 582, 0, 1)
  883. minimize.BackgroundColor = BrickColor.new'Dark stone grey'
  884. minimize.Text = '-'
  885. minimize.TextYAlignment = 'Bottom'
  886. minimize.ZIndex = 3
  887. minimize.TextColor3 = Color3.new(1,1,1)
  888.  
  889. local maximize = Instance.new('TextButton', gui)
  890. maximize.Size = UDim2.new(0, 30, 0, 30)
  891. maximize.Position = UDim2.new(0, gui.AbsoluteSize.X-30, 0, gui.AbsoluteSize.Y-30)
  892. maximize.BackgroundColor = BrickColor.new'Dark stone grey'
  893. maximize.Text = '='
  894. maximize.Visible = false
  895. maximize.TextColor3 = Color3.new(1,1,1)
  896.  
  897. minimize.MouseButton1Down:connect(function()
  898. dragframe.Visible = false
  899. maximize.Visible = true
  900. end)
  901. maximize.MouseButton1Down:connect(function()
  902. dragframe.Visible = true
  903. maximize.Visible = false
  904. end)
  905.  
  906. for i,v in pairs(SoundsList) do
  907. createText(scrollframe, v.Name.." /-ID-/ "..v["ID"], i, false, function() sound:stop() sound.SoundId = "rbxassetid://"..v["ID"] sound.Pitch = v["Pitch"] end)
  908. end
  909.  
  910. while wait(0) do
  911. if CP.TextBounds.X > 470 then
  912. if CPframe.CanvasPosition == oldCPframePos and not (CPframe.CanvasPosition.X >= CP.TextBounds.X-471) then
  913. CPframe.CanvasPosition = CPframe.CanvasPosition + Vector2.new(1, 0)
  914. elseif (CPframe.CanvasPosition.X >= CP.TextBounds.X-471)then
  915. wait(3)
  916. CPframe.CanvasPosition = Vector2.new()
  917. wait(1)
  918. end
  919. oldCPframePos = CPframe.CanvasPosition
  920. end
  921. end
  922. end
  923.  
  924.  
  925. mouse.KeyDown:connect(function(k)
  926. if k == 'q' then
  927. activated = not activated
  928. if activated then
  929. BeginPlacingDisco()
  930. else
  931. RemoveDisco()
  932. end
  933. end
  934. end)
Add Comment
Please, Sign In to add comment