Advertisement
iiHackerii

Untitled

Aug 7th, 2016
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.20 KB | None | 0 0
  1. function clerp(c1,c2,al)
  2. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  3. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  4. for i,v in pairs(com1) do
  5. com1[i] = v+(com2[i]-v)*al
  6. end
  7. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  8. end
  9.  
  10.  
  11. local plr = game:service'Players'.LocalPlayer
  12. plrgui = plr.PlayerGui
  13. char = plr.Character
  14. mouse = plr:GetMouse()
  15. humanoid = char:findFirstChild("Humanoid")
  16. torso = char:findFirstChild("Torso")
  17. head = char.Head
  18. ra = char:findFirstChild("Right Arm")
  19. la = char:findFirstChild("Left Arm")
  20. rl = char:findFirstChild("Right Leg")
  21. ll = char:findFirstChild("Left Leg")
  22. rs = torso:findFirstChild("Right Shoulder")
  23. ls = torso:findFirstChild("Left Shoulder")
  24. rh = torso:findFirstChild("Right Hip")
  25. lh = torso:findFirstChild("Left Hip")
  26. neck = torso:findFirstChild("Neck")
  27. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  28. rootpart = char:findFirstChild("HumanoidRootPart")
  29. camera = workspace.CurrentCamera
  30. anim = char:findFirstChild("Animate")
  31. local sound = Instance.new("Sound", char)
  32. sound.Volume = 1
  33. sound.Looped = true
  34. sound.Name = "Sound"
  35.  
  36. SoundsList = {}
  37.  
  38. function newSound(name, id, pitch, puush)
  39. if not puush == true then puush = false end
  40. if puush then
  41. table.insert(SoundsList, {["Name"]=name, ["ID"]="puush("..id..")", ["Pitch"]=pitch or 1})
  42. else
  43. table.insert(SoundsList, {["Name"]=name, ["ID"]=id, ["Pitch"]=pitch or 1})
  44. end
  45. end
  46.  
  47. newSound("None", "None")
  48. newSound("None", "None")
  49. newSound("Killer Keemstar R+ Notifier", "383817760")
  50. newSound("DJ Keemstar - Dollar in the woods (clean)", "442120987")
  51. newSound("Flower x Kiss / Anime", "343157801")
  52. newSound("TK - Unravel [Tokyo Ghoul]", "212100107")
  53. newSound("Crossing Fields - Part 1", "330114922")
  54. newSound("Full Careless Whispers (Hot Boy Remix) Pt. 1", "336875191")
  55. newSound("Japanse Song", "303308309")
  56. newSound("Russ - Pull The Trigger", "301999080")
  57. newSound("Very Wet Fart", "265373272")
  58. newSound("xxxtentacion - YuNg BrAtZ", "450492283")
  59. newSound("XXXTENTACION - I LUv My CLiQuE LiKe KaNyE WeSt", "445043466")
  60. newSound("XXXTENTACION & WifisFuneral - Dont Test Me", "446612862")
  61. newSound("XXXTENTACION - I Am!", "453349387")
  62. newSound("XXXTENTACION - WitDemDihs", "446597381")
  63. newSound("Desiigner - Timmy Turner (Official Audio)", "469009274")
  64. newSound("Jingle Bells - Frank Sinatra", "196100736")
  65. newSound("Frank Sinatra - My Way", "470059470")
  66. newSound("Simon and Garfunkel - The Sound of Silence", "146367264")
  67. newSound("Frank Sinatra - Chicago", "270310021")
  68. newSound("Frank Sinatra - Blue Moon", "169240756")
  69. newSound("Frank Sinatra - Please Be Kind", "395857239")
  70. newSound("Frank Sinatra - Let It Snow", "332036126")
  71. newSound("Simon & Garfunkel - Cecilia", "160505413")
  72. newSound("Frankie Valli & The Four Seasons - Sherry", "161801817")
  73. newSound("Denzel Curry - Ultimate (Clean) Bass Boost", "387879466")
  74. newSound("TAZ x CARBON", "460457731")
  75. newSound("XXXTENTACION x RIP ROACH", "439375432")
  76. newSound("XXXTENTACION x FKABCHFACE", "442978267")
  77. newSound("Montana Of 300 x Talley Of 300 | P.O.T.A.", "252611285")
  78. newSound("When the Internet Goes Off (Noob's Custom Muisc)", "425164239")
  79. newSound("XXXTENTACION x LOOK AT ME", "440394813")
  80. newSound("Rob $tone - Chill Bill", "396066454")
  81. newSound("XXXTENTACION - IGOTPLENTYDTOSHARE", "446605929")
  82. newSound('Gang,Gang Beat', '300106654')
  83. newSound('A$AP Rocky - Type Beat - 2', '165129479')
  84. newSound('Slow Rap Instrumental', "281622881")
  85. newSound('Travis Scott x Young Thug Type Beat', '440960345')
  86. newSound('Duru Tha King x Deniro Farrar - New Charlotte', '380186233')
  87. newSound('Ugly God - Water [Bass Boosted]', '427169875')
  88. newSound('xxxtentacion - gnarly', '400232489')
  89.  
  90. local function HSV(H,S,V)
  91. H = H % 360
  92. local C = V * S
  93. local H2 = H/60
  94. local X = C * (1 - math.abs((H2 %2) -1))
  95. local color = Color3.new(0,0,0)
  96. if H2 <= 0 then
  97. color = Color3.new(C,0,0)
  98. elseif 0 <= H2 and H2 <= 1 then
  99. color = Color3.new(C,X,0)
  100. elseif 1 <= H2 and H2 <= 2 then
  101. color = Color3.new(X,C,0)
  102. elseif 2 <= H2 and H2 <= 3 then
  103. color = Color3.new(0,C,X)
  104. elseif 3 <= H2 and H2 <= 4 then
  105. color = Color3.new(0,X,C)
  106. elseif 4 <= H2 and H2 <= 5 then
  107. color = Color3.new(X,0,C)
  108. elseif 5 <= H2 and H2 <= 6 then
  109. color = Color3.new(C,0,X)
  110. end
  111. local m = V - C
  112. return Color3.new(color.r + m, color.g + m, color.b + m)
  113. end
  114.  
  115. function RemoveDisco()
  116. char:findFirstChild'DiscoBox':remove()
  117. gui:remove()
  118. sound:stop()
  119. end
  120.  
  121. function BeginPlacingDisco()
  122. -- 1 - DiscoBox
  123. local obj1 = Instance.new("Model")
  124. obj1.Name = "DiscoBox"
  125. obj1.Parent = char
  126.  
  127. -- 2 - DiscTop
  128. obj2 = Instance.new("Part")
  129. obj2.CFrame = CFrame.new(Vector3.new(-34.5000038, 3.09000182, -48.5)) * CFrame.Angles(-0, 0, -0)
  130. obj2.FormFactor = Enum.FormFactor.Custom
  131. obj2.TopSurface = Enum.SurfaceType.Smooth
  132. obj2.BottomSurface = Enum.SurfaceType.Smooth
  133. obj2.Material = Enum.Material.SmoothPlastic
  134. obj2.Size = Vector3.new(3, 0.200000003, 3)
  135. obj2.BrickColor = BrickColor.new("Dark stone grey")
  136. obj2.Friction = 0.30000001192093
  137. obj2.Shape = Enum.PartType.Block
  138. obj2.Name = "DiscTop"
  139. obj2.Parent = obj1
  140.  
  141. -- 3 - Mesh
  142. obj3 = Instance.new("CylinderMesh")
  143. obj3.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  144. obj3.Parent = obj2
  145.  
  146. -- 4 - Part-to-Part Strong Joint
  147. obj4 = Instance.new("ManualWeld")
  148. obj4.Part0 = DiscTop
  149. obj4.Part1 = Part
  150. obj4.Name = "Part-to-Part Strong Joint"
  151. obj4.Parent = obj2
  152.  
  153. -- 5 - Disc
  154. obj5 = Instance.new("Part")
  155. obj5.CFrame = CFrame.new(Vector3.new(-34.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
  156. obj5.FormFactor = Enum.FormFactor.Custom
  157. obj5.TopSurface = Enum.SurfaceType.Smooth
  158. obj5.BottomSurface = Enum.SurfaceType.Smooth
  159. obj5.Material = Enum.Material.Sand
  160. obj5.Size = Vector3.new(3, 0.200000003, 3)
  161. obj5.BrickColor = BrickColor.new("Black")
  162. obj5.Friction = 0.30000001192093
  163. obj5.Shape = Enum.PartType.Block
  164. obj5.Name = "Disc"
  165. obj5.Parent = obj1
  166.  
  167. -- 6 - Mesh
  168. obj6 = Instance.new("CylinderMesh")
  169. obj6.Scale = Vector3.new(0.899999976, 1, 0.899999976)
  170. obj6.Parent = obj5
  171.  
  172. -- 7 - Part-to-Part Strong Joint
  173. obj7 = Instance.new("ManualWeld")
  174. obj7.Part0 = Disc
  175. obj7.Part1 = Part
  176. obj7.Name = "Part-to-Part Strong Joint"
  177. obj7.Parent = obj5
  178.  
  179. -- 8 - Part
  180. obj8 = Instance.new("Part")
  181. obj8.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
  182. obj8.FormFactor = Enum.FormFactor.Custom
  183. obj8.TopSurface = Enum.SurfaceType.Smooth
  184. obj8.BottomSurface = Enum.SurfaceType.Smooth
  185. obj8.Material = Enum.Material.SmoothPlastic
  186. obj8.Size = Vector3.new(1, 0.200000003, 1)
  187. obj8.BrickColor = BrickColor.new("Mid gray")
  188. obj8.Friction = 0.30000001192093
  189. obj8.Shape = Enum.PartType.Block
  190. obj8.Parent = obj1
  191.  
  192. -- 9 - Mesh
  193. obj9 = Instance.new("CylinderMesh")
  194. obj9.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  195. obj9.Parent = obj8
  196.  
  197. -- 10 - Part-to-Part Strong Joint
  198. obj10 = Instance.new("ManualWeld")
  199. obj10.Part0 = Part
  200. obj10.Part1 = Part
  201. obj10.Name = "Part-to-Part Strong Joint"
  202. obj10.Parent = obj8
  203.  
  204. -- 11 - Part
  205. obj11 = Instance.new("Part")
  206. obj11.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -49.5)) * CFrame.Angles(-0, 0, -0)
  207. obj11.FormFactor = Enum.FormFactor.Custom
  208. obj11.TopSurface = Enum.SurfaceType.Smooth
  209. obj11.BottomSurface = Enum.SurfaceType.Smooth
  210. obj11.Material = Enum.Material.SmoothPlastic
  211. obj11.Size = Vector3.new(1, 0.200000003, 1)
  212. obj11.BrickColor = BrickColor.new("Mid gray")
  213. obj11.Friction = 0.30000001192093
  214. obj11.Shape = Enum.PartType.Block
  215. obj11.Parent = obj1
  216.  
  217. -- 12 - Mesh
  218. obj12 = Instance.new("CylinderMesh")
  219. obj12.Scale = Vector3.new(0.400000006, 1.04999995, 0.400000006)
  220. obj12.Parent = obj11
  221.  
  222. -- 13 - Bar
  223. obj13 = Instance.new("Part")
  224. obj13.CFrame = CFrame.new(Vector3.new(-37.0000114, 3.09000063, -50.5)) * CFrame.Angles(-0, 0, -0)
  225. obj13.FormFactor = Enum.FormFactor.Custom
  226. obj13.TopSurface = Enum.SurfaceType.Smooth
  227. obj13.BottomSurface = Enum.SurfaceType.Smooth
  228. obj13.Material = Enum.Material.SmoothPlastic
  229. obj13.Size = Vector3.new(7.99999905, 0.200000003, 1)
  230. obj13.BrickColor = BrickColor.new("Really black")
  231. obj13.Friction = 0.30000001192093
  232. obj13.Shape = Enum.PartType.Block
  233. obj13.Parent = obj1
  234.  
  235. -- 14 - Part-to-Part Strong Joint
  236. obj14 = Instance.new("ManualWeld")
  237. obj14.Part0 = Part
  238. obj14.Part1 = nil
  239. obj14.Name = "Part-to-Part Strong Joint"
  240. obj14.Parent = obj13
  241.  
  242. -- 15 - Part-to-Part Strong Joint
  243. obj15 = Instance.new("ManualWeld")
  244. obj15.Part0 = Part
  245. obj15.Part1 = nil
  246. obj15.Name = "Part-to-Part Strong Joint"
  247. obj15.Parent = obj13
  248.  
  249. -- 16 - Mesh
  250. obj16 = Instance.new("BlockMesh")
  251. obj16.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  252. obj16.Parent = obj13
  253.  
  254. -- 17 - Box
  255. obj17 = Instance.new("Part")
  256. obj17.CFrame = CFrame.new(Vector3.new(-37, 1.49000001, -49)) * CFrame.Angles(-0, 0, -0)
  257. obj17.FormFactor = Enum.FormFactor.Symmetric
  258. obj17.TopSurface = Enum.SurfaceType.Smooth
  259. obj17.BottomSurface = Enum.SurfaceType.Smooth
  260. obj17.Material = Enum.Material.SmoothPlastic
  261. obj17.Size = Vector3.new(8, 3, 4)
  262. obj17.BrickColor = BrickColor.new("Dark stone grey")
  263. obj17.Friction = 0.30000001192093
  264. obj17.Shape = Enum.PartType.Block
  265. obj17.Name = "Box"
  266. obj17.Parent = obj1
  267.  
  268. -- 18 - Part-to-Part Strong Joint
  269. obj18 = Instance.new("ManualWeld")
  270. obj18.Part0 = Box
  271. obj18.Part1 = Part
  272. obj18.Name = "Part-to-Part Strong Joint"
  273. obj18.Parent = obj17
  274.  
  275. -- 19 - Part-to-Part Strong Joint
  276. obj19 = Instance.new("ManualWeld")
  277. obj19.Part0 = Box
  278. obj19.Part1 = Disc
  279. obj19.Name = "Part-to-Part Strong Joint"
  280. obj19.Parent = obj17
  281.  
  282. -- 20 - Part-to-Part Strong Joint
  283. obj20 = Instance.new("ManualWeld")
  284. obj20.Part0 = Box
  285. obj20.Part1 = Disc2
  286. obj20.Name = "Part-to-Part Strong Joint"
  287. obj20.Parent = obj17
  288.  
  289. -- 21 - Part-to-Part Strong Joint
  290. obj21 = Instance.new("ManualWeld")
  291. obj21.Part0 = Box
  292. obj21.Part1 = DiscTop2
  293. obj21.Name = "Part-to-Part Strong Joint"
  294. obj21.Parent = obj17
  295.  
  296. -- 22 - Part-to-Part Strong Joint
  297. obj22 = Instance.new("ManualWeld")
  298. obj22.Part0 = Box
  299. obj22.Part1 = DiscTop
  300. obj22.Name = "Part-to-Part Strong Joint"
  301. obj22.Parent = obj17
  302.  
  303. -- 23 - Part-to-Part Strong Joint
  304. obj23 = Instance.new("ManualWeld")
  305. obj23.Part0 = Box
  306. obj23.Part1 = Part
  307. obj23.Name = "Part-to-Part Strong Joint"
  308. obj23.Parent = obj17
  309.  
  310. -- 24 - Part-to-Part Strong Joint
  311. obj24 = Instance.new("ManualWeld")
  312. obj24.Part0 = Box
  313. obj24.Part1 = Part
  314. obj24.Name = "Part-to-Part Strong Joint"
  315. obj24.Parent = obj17
  316.  
  317. -- 25 - Part-to-Part Strong Joint
  318. obj25 = Instance.new("ManualWeld")
  319. obj25.Part0 = Box
  320. obj25.Part1 = Part
  321. obj25.Name = "Part-to-Part Strong Joint"
  322. obj25.Parent = obj17
  323.  
  324. -- 26 - Box-to-Part Strong Joint
  325. obj26 = Instance.new("ManualWeld")
  326. obj26.Part0 = Box
  327. obj26.Part1 = Slider
  328. obj26.Name = "Box-to-Part Strong Joint"
  329. obj26.Parent = obj17
  330.  
  331. -- 27 - Box-to-Part Strong Joint
  332. obj27 = Instance.new("ManualWeld")
  333. obj27.Part0 = Box
  334. obj27.Part1 = Slider2
  335. obj27.Name = "Box-to-Part Strong Joint"
  336. obj27.Parent = obj17
  337.  
  338. -- 28 - Part
  339. obj28 = Instance.new("Part")
  340. obj28.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
  341. obj28.FormFactor = Enum.FormFactor.Custom
  342. obj28.TopSurface = Enum.SurfaceType.Smooth
  343. obj28.BottomSurface = Enum.SurfaceType.Smooth
  344. obj28.Material = Enum.Material.SmoothPlastic
  345. obj28.Size = Vector3.new(1, 0.200000003, 1)
  346. obj28.BrickColor = BrickColor.new("Bright red")
  347. obj28.Friction = 0.30000001192093
  348. obj28.Shape = Enum.PartType.Block
  349. obj28.Parent = obj1
  350.  
  351. -- 29 - Mesh
  352. obj29 = Instance.new("CylinderMesh")
  353. obj29.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  354. obj29.Parent = obj28
  355.  
  356. -- 30 - Part-to-Part Strong Joint
  357. obj30 = Instance.new("ManualWeld")
  358. obj30.Part0 = Part
  359. obj30.Part1 = Part
  360. obj30.Name = "Part-to-Part Strong Joint"
  361. obj30.Parent = obj28
  362.  
  363. -- 31 - Part-to-Part Strong Joint
  364. obj31 = Instance.new("ManualWeld")
  365. obj31.Part0 = Part
  366. obj31.Part1 = Part
  367. obj31.Name = "Part-to-Part Strong Joint"
  368. obj31.Parent = obj28
  369.  
  370. -- 32 - Part
  371. obj32 = Instance.new("Part")
  372. obj32.CFrame = CFrame.new(Vector3.new(-37, 3.09000087, -50.5)) * CFrame.Angles(-0, 0, -0)
  373. obj32.FormFactor = Enum.FormFactor.Custom
  374. obj32.TopSurface = Enum.SurfaceType.Smooth
  375. obj32.BottomSurface = Enum.SurfaceType.Smooth
  376. obj32.Material = Enum.Material.SmoothPlastic
  377. obj32.Size = Vector3.new(8, 0.200000003, 1)
  378. obj32.BrickColor = BrickColor.new("Dark stone grey")
  379. obj32.Friction = 0.30000001192093
  380. obj32.Shape = Enum.PartType.Block
  381. obj32.Parent = obj1
  382.  
  383. -- 33 - Part-to-Part Strong Joint
  384. obj33 = Instance.new("ManualWeld")
  385. obj33.Part0 = Part
  386. obj33.Part1 = Disc
  387. obj33.Name = "Part-to-Part Strong Joint"
  388. obj33.Parent = obj32
  389.  
  390. -- 34 - Part-to-Part Strong Joint
  391. obj34 = Instance.new("ManualWeld")
  392. obj34.Part0 = Part
  393. obj34.Part1 = Disc2
  394. obj34.Name = "Part-to-Part Strong Joint"
  395. obj34.Parent = obj32
  396.  
  397. -- 35 - Part-to-Part Strong Joint
  398. obj35 = Instance.new("ManualWeld")
  399. obj35.Part0 = Part
  400. obj35.Part1 = DiscTop2
  401. obj35.Name = "Part-to-Part Strong Joint"
  402. obj35.Parent = obj32
  403.  
  404. -- 36 - Part-to-Part Strong Joint
  405. obj36 = Instance.new("ManualWeld")
  406. obj36.Part0 = Part
  407. obj36.Part1 = DiscTop
  408. obj36.Name = "Part-to-Part Strong Joint"
  409. obj36.Parent = obj32
  410.  
  411. -- 37 - Part
  412. obj37 = Instance.new("Part")
  413. obj37.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999987, -48.5)) * CFrame.Angles(-0, 0, -0)
  414. obj37.FormFactor = Enum.FormFactor.Custom
  415. obj37.TopSurface = Enum.SurfaceType.Smooth
  416. obj37.BottomSurface = Enum.SurfaceType.Smooth
  417. obj37.Material = Enum.Material.SmoothPlastic
  418. obj37.Size = Vector3.new(1, 0.200000003, 1)
  419. obj37.BrickColor = BrickColor.new("Bright red")
  420. obj37.Friction = 0.30000001192093
  421. obj37.Shape = Enum.PartType.Block
  422. obj37.Parent = obj1
  423.  
  424. -- 38 - Mesh
  425. obj38 = Instance.new("CylinderMesh")
  426. obj38.Scale = Vector3.new(0.699999988, 1.04999995, 0.699999988)
  427. obj38.Parent = obj37
  428.  
  429. -- 39 - Part-to-Part Strong Joint
  430. obj39 = Instance.new("ManualWeld")
  431. obj39.Part0 = Part
  432. obj39.Part1 = Part
  433. obj39.Name = "Part-to-Part Strong Joint"
  434. obj39.Parent = obj37
  435.  
  436. -- 40 - Part-to-Part Strong Joint
  437. obj40 = Instance.new("ManualWeld")
  438. obj40.Part0 = Part
  439. obj40.Part1 = Part
  440. obj40.Name = "Part-to-Part Strong Joint"
  441. obj40.Parent = obj37
  442.  
  443. -- 41 - Part
  444. obj41 = Instance.new("Part")
  445. obj41.CFrame = CFrame.new(Vector3.new(-37.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
  446. obj41.FormFactor = Enum.FormFactor.Custom
  447. obj41.TopSurface = Enum.SurfaceType.Smooth
  448. obj41.BottomSurface = Enum.SurfaceType.Smooth
  449. obj41.Material = Enum.Material.SmoothPlastic
  450. obj41.Size = Vector3.new(1, 0.200000003, 1)
  451. obj41.BrickColor = BrickColor.new("Bright blue")
  452. obj41.Friction = 0.30000001192093
  453. obj41.Shape = Enum.PartType.Block
  454. obj41.Parent = obj1
  455.  
  456. -- 42 - Mesh
  457. obj42 = Instance.new("CylinderMesh")
  458. obj42.Scale = Vector3.new(0.5, 1.04999995, 0.5)
  459. obj42.Parent = obj41
  460.  
  461. -- 43 - Part-to-Part Strong Joint
  462. obj43 = Instance.new("ManualWeld")
  463. obj43.Part0 = Part
  464. obj43.Part1 = Part
  465. obj43.Name = "Part-to-Part Strong Joint"
  466. obj43.Parent = obj41
  467.  
  468. -- 44 - Part
  469. obj44 = Instance.new("Part")
  470. obj44.CFrame = CFrame.new(Vector3.new(-36.5, 2.88999963, -47.5)) * CFrame.Angles(-0, 0, -0)
  471. obj44.FormFactor = Enum.FormFactor.Custom
  472. obj44.TopSurface = Enum.SurfaceType.Smooth
  473. obj44.BottomSurface = Enum.SurfaceType.Smooth
  474. obj44.Material = Enum.Material.SmoothPlastic
  475. obj44.Size = Vector3.new(1, 0.200000003, 1)
  476. obj44.BrickColor = BrickColor.new("Bright blue")
  477. obj44.Friction = 0.30000001192093
  478. obj44.Shape = Enum.PartType.Block
  479. obj44.Parent = obj1
  480.  
  481. -- 45 - Mesh
  482. obj45 = Instance.new("CylinderMesh")
  483. obj45.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  484. obj45.Parent = obj44
  485.  
  486. -- 46 - Part-to-Part Strong Joint
  487. obj46 = Instance.new("ManualWeld")
  488. obj46.Part0 = Part
  489. obj46.Part1 = Part
  490. obj46.Name = "Part-to-Part Strong Joint"
  491. obj46.Parent = obj44
  492.  
  493. -- 47 - Part
  494. obj47 = Instance.new("Part")
  495. obj47.CFrame = CFrame.new(Vector3.new(-39.5000038, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
  496. obj47.FormFactor = Enum.FormFactor.Custom
  497. obj47.TopSurface = Enum.SurfaceType.Smooth
  498. obj47.BottomSurface = Enum.SurfaceType.Smooth
  499. obj47.Material = Enum.Material.SmoothPlastic
  500. obj47.Size = Vector3.new(3.00000048, 0.200000003, 1)
  501. obj47.BrickColor = BrickColor.new("Really black")
  502. obj47.Friction = 0.30000001192093
  503. obj47.Shape = Enum.PartType.Block
  504. obj47.Parent = obj1
  505.  
  506. -- 48 - Part-to-Part Strong Joint
  507. obj48 = Instance.new("ManualWeld")
  508. obj48.Part0 = Part
  509. obj48.Part1 = nil
  510. obj48.Name = "Part-to-Part Strong Joint"
  511. obj48.Parent = obj47
  512.  
  513. -- 49 - Part-to-Part Strong Joint
  514. obj49 = Instance.new("ManualWeld")
  515. obj49.Part0 = Part
  516. obj49.Part1 = nil
  517. obj49.Name = "Part-to-Part Strong Joint"
  518. obj49.Parent = obj47
  519.  
  520. -- 50 - Mesh
  521. obj50 = Instance.new("BlockMesh")
  522. obj50.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  523. obj50.Parent = obj47
  524.  
  525. -- 51 - Part
  526. obj51 = Instance.new("Part")
  527. obj51.CFrame = CFrame.new(Vector3.new(-34.5, 2.88999963, -46.5)) * CFrame.Angles(-0, 0, -0)
  528. obj51.FormFactor = Enum.FormFactor.Custom
  529. obj51.TopSurface = Enum.SurfaceType.Smooth
  530. obj51.BottomSurface = Enum.SurfaceType.Smooth
  531. obj51.Material = Enum.Material.SmoothPlastic
  532. obj51.Size = Vector3.new(3.00000048, 0.200000003, 1)
  533. obj51.BrickColor = BrickColor.new("Really black")
  534. obj51.Friction = 0.30000001192093
  535. obj51.Shape = Enum.PartType.Block
  536. obj51.Parent = obj1
  537.  
  538. -- 52 - Part-to-Part Strong Joint
  539. obj52 = Instance.new("ManualWeld")
  540. obj52.Part0 = Part
  541. obj52.Part1 = nil
  542. obj52.Name = "Part-to-Part Strong Joint"
  543. obj52.Parent = obj51
  544.  
  545. -- 53 - Part-to-Part Strong Joint
  546. obj53 = Instance.new("ManualWeld")
  547. obj53.Part0 = Part
  548. obj53.Part1 = nil
  549. obj53.Name = "Part-to-Part Strong Joint"
  550. obj53.Parent = obj51
  551.  
  552. -- 54 - Mesh
  553. obj54 = Instance.new("BlockMesh")
  554. obj54.Scale = Vector3.new(0.899999976, 1.04999995, 0.200000003)
  555. obj54.Parent = obj51
  556.  
  557. -- 55 - DiscTop2
  558. obj55 = Instance.new("Part")
  559. obj55.CFrame = CFrame.new(Vector3.new(-39.5, 3.09000063, -48.5)) * CFrame.Angles(-0, 0, -0)
  560. obj55.FormFactor = Enum.FormFactor.Custom
  561. obj55.TopSurface = Enum.SurfaceType.Smooth
  562. obj55.BottomSurface = Enum.SurfaceType.Smooth
  563. obj55.Material = Enum.Material.SmoothPlastic
  564. obj55.Size = Vector3.new(3, 0.200000003, 3)
  565. obj55.BrickColor = BrickColor.new("Dark stone grey")
  566. obj55.Friction = 0.30000001192093
  567. obj55.Shape = Enum.PartType.Block
  568. obj55.Name = "DiscTop2"
  569. obj55.Parent = obj1
  570.  
  571. -- 56 - Mesh
  572. obj56 = Instance.new("CylinderMesh")
  573. obj56.Scale = Vector3.new(0.200000003, 1.04999995, 0.200000003)
  574. obj56.Parent = obj55
  575.  
  576. -- 57 - Part-to-Part Strong Joint
  577. obj57 = Instance.new("ManualWeld")
  578. obj57.Part0 = DiscTop2
  579. obj57.Part1 = Part
  580. obj57.Name = "Part-to-Part Strong Joint"
  581. obj57.Parent = obj55
  582.  
  583. -- 58 - Disc2
  584. obj58 = Instance.new("Part")
  585. obj58.CFrame = CFrame.new(Vector3.new(-39.5, 3.08999991, -48.5)) * CFrame.Angles(-0, 0, -0)
  586. obj58.FormFactor = Enum.FormFactor.Custom
  587. obj58.TopSurface = Enum.SurfaceType.Smooth
  588. obj58.BottomSurface = Enum.SurfaceType.Smooth
  589. obj58.Material = Enum.Material.Sand
  590. obj58.Size = Vector3.new(3, 0.200000003, 3)
  591. obj58.BrickColor = BrickColor.new("Black")
  592. obj58.Friction = 0.30000001192093
  593. obj58.Shape = Enum.PartType.Block
  594. obj58.Name = "Disc2"
  595. obj58.Parent = obj1
  596.  
  597. -- 59 - Mesh
  598. obj59 = Instance.new("CylinderMesh")
  599. obj59.Scale = Vector3.new(0.899999976, 1, 0.899999976)
  600. obj59.Parent = obj58
  601.  
  602. -- 60 - Part-to-Part Strong Joint
  603. obj60 = Instance.new("ManualWeld")
  604. obj60.Part0 = Disc2
  605. obj60.Part1 = Part
  606. obj60.Name = "Part-to-Part Strong Joint"
  607. obj60.Parent = obj58
  608.  
  609. -- 61 - Part
  610. obj61 = Instance.new("Part")
  611. obj61.CFrame = CFrame.new(Vector3.new(-37, 2.69000006, -46.5)) * CFrame.Angles(-0, 0, -0)
  612. obj61.FormFactor = Enum.FormFactor.Custom
  613. obj61.TopSurface = Enum.SurfaceType.Smooth
  614. obj61.BottomSurface = Enum.SurfaceType.Smooth
  615. obj61.Material = Enum.Material.SmoothPlastic
  616. obj61.Size = Vector3.new(8, 0.600000024, 1)
  617. obj61.BrickColor = BrickColor.new("Dark stone grey")
  618. obj61.Friction = 0.30000001192093
  619. obj61.Shape = Enum.PartType.Block
  620. obj61.Parent = obj1
  621.  
  622. -- 62 - Slider2
  623. obj62 = Instance.new("Part")
  624. obj62.CFrame = CFrame.new(Vector3.new(-38.7000237, 2.89000058, -46.5)) * CFrame.Angles(-0, 0, -0)
  625. obj62.FormFactor = Enum.FormFactor.Custom
  626. obj62.TopSurface = Enum.SurfaceType.Smooth
  627. obj62.BottomSurface = Enum.SurfaceType.Smooth
  628. obj62.Material = Enum.Material.SmoothPlastic
  629. obj62.Size = Vector3.new(0.200000152, 0.200000003, 1)
  630. obj62.BrickColor = BrickColor.new("Dark stone grey")
  631. obj62.Friction = 0.30000001192093
  632. obj62.Shape = Enum.PartType.Block
  633. obj62.Name = "Slider2"
  634. obj62.Parent = obj1
  635.  
  636. -- 63 - Part-to-Part Strong Joint
  637. obj63 = Instance.new("ManualWeld")
  638. obj63.Part0 = Slider2
  639. obj63.Part1 = nil
  640. obj63.Name = "Part-to-Part Strong Joint"
  641. obj63.Parent = obj62
  642.  
  643. -- 64 - Part-to-Part Strong Joint
  644. obj64 = Instance.new("ManualWeld")
  645. obj64.Part0 = Slider2
  646. obj64.Part1 = nil
  647. obj64.Name = "Part-to-Part Strong Joint"
  648. obj64.Parent = obj62
  649.  
  650. -- 65 - Mesh
  651. obj65 = Instance.new("BlockMesh")
  652. obj65.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
  653. obj65.Parent = obj62
  654.  
  655. -- 66 - Slider
  656. obj66 = Instance.new("Part")
  657. obj66.CFrame = CFrame.new(Vector3.new(-34.6999969, 2.88999987, -46.5)) * CFrame.Angles(-0, 0, -0)
  658. obj66.FormFactor = Enum.FormFactor.Custom
  659. obj66.TopSurface = Enum.SurfaceType.Smooth
  660. obj66.BottomSurface = Enum.SurfaceType.Smooth
  661. obj66.Material = Enum.Material.SmoothPlastic
  662. obj66.Size = Vector3.new(0.200000152, 0.200000003, 1)
  663. obj66.BrickColor = BrickColor.new("Dark stone grey")
  664. obj66.Friction = 0.30000001192093
  665. obj66.Shape = Enum.PartType.Block
  666. obj66.Name = "Slider"
  667. obj66.Parent = obj1
  668.  
  669. -- 67 - Part-to-Part Strong Joint
  670. obj67 = Instance.new("ManualWeld")
  671. obj67.Part0 = Slider
  672. obj67.Part1 = nil
  673. obj67.Name = "Part-to-Part Strong Joint"
  674. obj67.Parent = obj66
  675.  
  676. -- 68 - Part-to-Part Strong Joint
  677. obj68 = Instance.new("ManualWeld")
  678. obj68.Part0 = Slider
  679. obj68.Part1 = nil
  680. obj68.Name = "Part-to-Part Strong Joint"
  681. obj68.Parent = obj66
  682.  
  683. -- 69 - Mesh
  684. obj69 = Instance.new("BlockMesh")
  685. obj69.Scale = Vector3.new(0.899999976, 1.45000005, 0.5)
  686. obj69.Parent = obj66
  687.  
  688. for i,v in pairs(obj1:children()) do
  689. v.Anchored = true
  690. v.Locked = true
  691. end
  692.  
  693. function Recursive(Model)
  694. local Stuff = {}
  695. local function Recur(Targ)
  696. for i,v in pairs(Targ:getChildren()) do
  697. table.insert(Stuff,v)
  698. Recur(v)
  699. end
  700. end
  701. Recur(Model)
  702. return Stuff
  703. end
  704.  
  705. function MoveModel(Model,CF)
  706. local Center = Model:getModelCFrame()
  707. local Offsets = {}
  708. for i,v in pairs (Recursive(Model)) do
  709. if v:IsA("BasePart") then
  710. Offsets[v] = CF*Center:toObjectSpace(v.CFrame)
  711. end
  712. end
  713.  
  714. for i,v in pairs(Offsets) do
  715. i.CFrame = v
  716. end
  717. end
  718.  
  719. MoveModel(obj1, torso.CFrame*CFrame.new(0,-1.5,-3))
  720.  
  721. local value = 0
  722. local Slider2CFrame = obj62.CFrame
  723. local SliderCFrame = obj66.CFrame
  724. local colur = 0
  725. local hue = 0
  726. local DiscoLight = Instance.new('PointLight', obj2)
  727. DiscoLight.Range = 0
  728. game:service'RunService'.RenderStepped:connect(function()
  729. if obj1.Parent ~= char then return end
  730. if sound.IsPlaying then
  731. hue = ((hue+5)%360)
  732. colur = HSV(hue,.8,.8)
  733. DiscoLight.Color = Color3.new(colur.r, colur.g, colur.b)
  734. DiscoLight.Range = 60
  735. value = (value % 360) + math.random()
  736. obj13.Color = Color3.new(colur.r, colur.g, colur.b)
  737. obj58.CFrame = obj58.CFrame * CFrame.Angles(0, .05, 0)
  738. obj5.CFrame = obj5.CFrame * CFrame.Angles(0, .05, 0)
  739. obj62.CFrame = Slider2CFrame * CFrame.new(math.sin(value)*.25, 0, 0)
  740. obj66.CFrame = SliderCFrame * CFrame.new(-math.sin(value)*.25, 0, 0)
  741. else
  742. DiscoLight.Range = 0
  743. obj13.Color = Color3.new()
  744. end
  745. end)
  746.  
  747. local function createText(parent, msg, line, size, func)
  748. local textLabel
  749. if func then
  750. textLabel = Instance.new("TextButton", parent)
  751. else
  752. textLabel = Instance.new("TextLabel", parent)
  753. end
  754. textLabel.Text = msg
  755. textLabel.Name = "List"
  756. if size ~= true then
  757. textLabel.TextScaled = false
  758. textLabel.FontSize = 'Size14'
  759. elseif size == true then
  760. textLabel.TextScaled = true
  761. end
  762. textLabel.BackgroundColor = BrickColor.new'Olive'
  763. textLabel.BackgroundTransparency = .9
  764. textLabel.TextColor = BrickColor.White()
  765. textLabel.TextStrokeTransparency = 0.65
  766. textLabel.Size = UDim2.new(1, 0, 0, 25)
  767. textLabel.TextXAlignment = 'Left'
  768. textLabel.Position = UDim2.new(0, 0, 0, (line-1)*25)
  769. if func then
  770. textLabel.MouseButton1Down:connect(function()
  771. local r,e = ypcall(function()
  772. func(plr)
  773. end)
  774. if e then print(e) end
  775. end)
  776. end
  777. end
  778.  
  779. gui = Instance.new('ScreenGui', plrgui)
  780. gui.Name = 'äMixer'
  781. wait()
  782. local dragframe = Instance.new('Frame', gui)
  783. dragframe.Size = UDim2.new(0, 598, 0, 18)
  784. dragframe.BackgroundColor = BrickColor.new'Dark stone grey'
  785. dragframe.Position = UDim2.new(0, gui.AbsoluteSize.X - gui.AbsoluteSize.X/2 - 300, 0, 10)
  786. dragframe.Active = true
  787. dragframe.Draggable = true
  788. dragframe.ZIndex = 3
  789. dragframe.BorderSizePixel = 0
  790. local mainframe = Instance.new('Frame', dragframe)
  791. mainframe.Size = UDim2.new(0, 600, 0, 415)
  792. mainframe.Position = UDim2.new(0, -1, 0, -1)
  793. mainframe.BackgroundColor = BrickColor.new'Olive'
  794. local CPframe = Instance.new('ScrollingFrame', mainframe)
  795. CPframe.Size = UDim2.new(0, 470, 0, 22)
  796. CPframe.Position = UDim2.new(0, 130, 0, 50)
  797. CPframe.BackgroundColor = BrickColor.new'Dark stone grey'
  798. CPframe.ScrollBarThickness = 0
  799. local CP = Instance.new('TextLabel', CPframe)
  800. CP.Size = UDim2.new(1,0,0,22)
  801. CP.BackgroundTransparency = 1
  802. CP.ZIndex = 7
  803. CP.FontSize = 'Size18'
  804. CP.TextColor3 = Color3.new(1,1,1)
  805. CP.TextStrokeTransparency = 0
  806. CP.TextXAlignment = 'Left'
  807. CP.Text = 'Playing /-/ None'
  808.  
  809. local oldCPframePos
  810.  
  811. local scrollframe = Instance.new('ScrollingFrame', mainframe)
  812. scrollframe.Size = UDim2.new(0, 590, 0, 330)
  813. scrollframe.Position = UDim2.new(0, 5, 0, 80)
  814. scrollframe.BackgroundColor = BrickColor.new'Olive'
  815. scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
  816. local playbutton = Instance.new('TextButton', mainframe)
  817. playbutton.Size = UDim2.new(0, 50, 0, 50)
  818. playbutton.Position = UDim2.new(0, 10, 0, 25)
  819. playbutton.BackgroundColor3 = Color3.new(0,1,0)
  820. playbutton.Text = ">"
  821. playbutton.TextScaled = true
  822. playbutton.TextColor3 = Color3.new(1,1,1)
  823. playbutton.TextStrokeTransparency = 0
  824. playbutton.MouseButton1Down:connect(function()
  825. game:service'ContentProvider':Preload(sound.SoundId)
  826. sound:play()
  827. local r,e = ypcall(function()
  828. CP.Text = 'Playing /-/ '..game:service'MarketplaceService':GetProductInfo(sound.SoundId:match("%d+")).Name
  829. end)
  830. if e then CP.Text = 'Playing /-/ Unknown asset' end
  831. wait()
  832. CPframe.CanvasSize = UDim2.new(0, CP.TextBounds.X, 0, 0)
  833. end)
  834. local stopbutton = Instance.new('TextButton', mainframe)
  835. stopbutton.Size = UDim2.new(0, 50, 0, 50)
  836. stopbutton.Position = UDim2.new(0, 70, 0, 25)
  837. stopbutton.BackgroundColor3 = Color3.new(1,0,0)
  838. stopbutton.Text = "="
  839. stopbutton.TextScaled = true
  840. stopbutton.TextColor3 = Color3.new(1,1,1)
  841. stopbutton.TextStrokeTransparency = 0
  842. stopbutton.MouseButton1Down:connect(function()
  843. sound:stop()
  844. CP.Text = 'Playing /-/ None'
  845. CPframe.CanvasPosition = Vector2.new()
  846. end)
  847. local idbox = Instance.new('TextBox', mainframe)
  848. idbox.Size = UDim2.new(0, 100, 0, 22)
  849. idbox.Position = UDim2.new(0, 130, 0, 25)
  850. idbox.Text = 'Insert ID here'
  851. idbox.BackgroundTransparency = .5
  852. idbox.TextScaled = true
  853. idbox.TextXAlignment = 'Left'
  854. idbox.BackgroundColor3 = BrickColor.new'Olive'.Color
  855. idbox.TextColor3 = Color3.new()
  856. idbox.TextStrokeTransparency = 0
  857. local submit = Instance.new('TextButton', mainframe)
  858. submit.Size = UDim2.new(0, 50, 0, 22)
  859. submit.Position = UDim2.new(0, 240, 0, 25)
  860. submit.BackgroundColor3 = Color3.new(.2,.5,.4)
  861. submit.Text = "Submit ID"
  862. submit.TextScaled = false
  863. submit.TextColor3 = Color3.new(1,1,1)
  864. submit.TextStrokeTransparency = 0
  865. submit.MouseButton1Down:connect(function()
  866. if idbox.Text == 'Insert ID here' then return end
  867. sound:stop()
  868. sound.SoundId = "rbxassetid://"..tonumber(idbox.Text:match("%d+"))
  869. newSound(game:service'MarketplaceService':GetProductInfo(idbox.Text:match("%d+")).Name..' /-ID-/ '..idbox.Text:match("%d+"), idbox.Text:match("%d+"))
  870. 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)
  871. scrollframe.CanvasSize = UDim2.new(0, 590, 0, 25*#SoundsList)
  872. idbox.Text = 'Insert ID here'
  873. end)
  874.  
  875. local minimize = Instance.new('TextButton', dragframe)
  876. minimize.Size = UDim2.new(0, 16, 0, 16)
  877. minimize.Position = UDim2.new(0, 582, 0, 1)
  878. minimize.BackgroundColor = BrickColor.new'Dark stone grey'
  879. minimize.Text = '-'
  880. minimize.TextYAlignment = 'Bottom'
  881. minimize.ZIndex = 3
  882. minimize.TextColor3 = Color3.new(1,1,1)
  883.  
  884. local maximize = Instance.new('TextButton', gui)
  885. maximize.Size = UDim2.new(0, 30, 0, 30)
  886. maximize.Position = UDim2.new(0, gui.AbsoluteSize.X-30, 0, gui.AbsoluteSize.Y-30)
  887. maximize.BackgroundColor = BrickColor.new'Dark stone grey'
  888. maximize.Text = '='
  889. maximize.Visible = false
  890. maximize.TextColor3 = Color3.new(1,1,1)
  891.  
  892. minimize.MouseButton1Down:connect(function()
  893. dragframe.Visible = false
  894. maximize.Visible = true
  895. end)
  896. maximize.MouseButton1Down:connect(function()
  897. dragframe.Visible = true
  898. maximize.Visible = false
  899. end)
  900.  
  901. for i,v in pairs(SoundsList) do
  902. createText(scrollframe, v.Name.." /-ID-/ "..v["ID"], i, false, function() sound:stop() sound.SoundId = "rbxassetid://"..v["ID"] sound.Pitch = v["Pitch"] end)
  903. end
  904.  
  905. while wait(0) do
  906. if CP.TextBounds.X > 470 then
  907. if CPframe.CanvasPosition == oldCPframePos and not (CPframe.CanvasPosition.X >= CP.TextBounds.X-471) then
  908. CPframe.CanvasPosition = CPframe.CanvasPosition + Vector2.new(1, 0)
  909. elseif (CPframe.CanvasPosition.X >= CP.TextBounds.X-471)then
  910. wait(3)
  911. CPframe.CanvasPosition = Vector2.new()
  912. wait(1)
  913. end
  914. oldCPframePos = CPframe.CanvasPosition
  915. end
  916. end
  917. end
  918.  
  919.  
  920. mouse.KeyDown:connect(function(k)
  921. if k == 'q' then
  922. activated = not activated
  923. if activated then
  924. BeginPlacingDisco()
  925. else
  926. RemoveDisco()
  927. end
  928. end
  929. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement