Advertisement
StarzoZero

roblox fe dj test

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