Advertisement
reset234567890

get 0ut

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