turrtle

Popes Music Gui(Lua)

Apr 5th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.62 KB | None | 0 0
  1. wait()
  2.  
  3. local Player = game:GetService("Players").LocalPlayer
  4. local Character = Player.Character
  5. local Root = Character.HumanoidRootPart
  6. local Rad = 0
  7. local Debounce = false
  8. local mRad = math.random(0, 100)
  9. LastB = 0
  10. LastL = 0
  11. _G.BlurSize = 0
  12. local Color = Color3.fromHSV(mRad / 200, 1.7, 0.99 + LastB / 10000)
  13.  
  14. function Create(Type)
  15. return function(data)
  16. local object = Instance.new(Type)
  17. for data, value in next, data do
  18. if type(data) == 'number' then
  19. value.Parent = object
  20. else
  21. object[data] = value
  22. end
  23. end
  24. return object
  25. end
  26. end
  27.  
  28. ColorCorrection = Create("ColorCorrectionEffect"){Parent = workspace.CurrentCamera;TintColor = Color}
  29. Blur = Create("BlurEffect"){Parent = workspace.CurrentCamera;Size = _G.BlurSize}
  30. Parts = Create("Model"){Parent = Character}
  31. PopesMusicGui = Create("ScreenGui"){Name = "Pope's Music Gui";Parent = game.Players.LocalPlayer.PlayerGui}
  32. dragFrame = Create("Frame"){Name = "dragFrame";Parent = PopesMusicGui;Active = true;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Draggable = true;Position = UDim2.new(0.330000013, 0, 0.200000003, 0);Selectable = true;Size = UDim2.new(0, 270, 0, 40)}
  33. dragText = Create("TextLabel"){Name = "dragText";Parent = dragFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;BorderSizePixel = 0;Size = UDim2.new(1, 0, 0, 40);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size28;Text = "Pope's Music Gui";TextColor3 = Color3.new(1, 1, 1);TextSize = 25;TextTransparency = 0.1000000014901}
  34. backgroundFrame = Create("Frame"){Name = "backgroundFrame";Parent = dragFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BackgroundTransparency = 1;BorderSizePixel = 0;Position = UDim2.new(0, 0, 1, 0);Size = UDim2.new(0, 270, 0, 190)}
  35. musicFrame = Create("Frame"){Name = "musicFrame";Parent = backgroundFrame;BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.160784);BorderColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 0, 1, 0);Size = UDim2.new(1, 0, 0.0789473653, 130)}
  36. isPlaying = Create("TextLabel"){Name = "isPlaying";Parent = musicFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;BorderSizePixel = 0;Size = UDim2.new(1, 0, 0.0799999982, 20);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Now playing: N/A";TextColor3 = Color3.new(0.901961, 0.901961, 0.901961);TextSize = 20;TextWrapped = true}
  37. SoundId = Create("TextBox"){Name = "SoundId";Parent = musicFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BackgroundTransparency = 0.40000000596046;BorderSizePixel = 0;Position = UDim2.new(0.100000001, 0, 0.220053047, 0);Size = UDim2.new(0.800000012, 0, 0, 35);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size18;Text = "SOUND ID";TextColor3 = Color3.new(128, 128, 128);TextSize = 18;TextTransparency = 0.40000000596046}
  38. Stop = Create("TextButton"){Name = "Stop";Parent = musicFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0.101111114, 0, 0.472413778, 0);Size = UDim2.new(0.202000007, 0, 0, 35);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size18;Text = "STOP";TextColor3 = Color3.new(1, 1, 1);TextSize = 18}
  39. Play = Create("TextButton"){Name = "Play";Parent = musicFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0.694999993, 0, 0.477002621, 0);Size = UDim2.new(0.202000007, 0, 0, 35);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size18;Text = "PLAY";TextColor3 = Color3.new(1, 1, 1);TextSize = 18}
  40. Volume = Create("TextBox"){Name = "Volume";Parent = musicFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BackgroundTransparency = 0.40000000596046;BorderSizePixel = 0;Position = UDim2.new(0.308703721, 0, 0.472413778, 0);Size = UDim2.new(0.386999995, 0, 0, 35);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size18;Text = "VOLUME";TextColor3 = Color3.new(128, 128, 128);TextSize = 18;TextTransparency = 0.40000000596046}
  41. Pitch = Create("TextBox"){Name = "Pitch";Parent = musicFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BackgroundTransparency = 0.40000000596046;BorderSizePixel = 0;Position = UDim2.new(0.307999998, 0, 0.730000019, 0);Size = UDim2.new(0.386999995, 0, 0, 35);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size18;Text = "PITCH";TextColor3 = Color3.new(128, 128, 128);TextSize = 18;TextTransparency = 0.40000000596046}
  42. timeStamp = Create("TextLabel"){Name = "timeStamp";Parent = musicFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;BorderSizePixel = 0;Position = UDim2.new(0.692592561, 0, 0.731034458, 0);Size = UDim2.new(0.203703701, 0, 0.0827586204, 20);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size14;Text = "";TextColor3 = Color3.new(0.901961, 0.901961, 0.901961);TextSize = 14;TextWrapped = true}
  43. musicHolder = Create("ScrollingFrame"){Name = "musicHolder";Parent = backgroundFrame;BackgroundColor3 = Color3.new(0.160784, 0.160784, 0.160784);BorderSizePixel = 0;Size = UDim2.new(1, 0, 1, 0);BottomImage = "";CanvasSize = UDim2.new(0, 0, 4.94999981, 0);ScrollBarThickness = 5;TopImage = ""}
  44. MusicBTN_1 = Create("TextButton"){Name = "MusicBTN_1";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 5);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Hoodie Allen - Lady Killers";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  45. MusicBTN_2 = Create("TextButton"){Name = "MusicBTN_2";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 60);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Hoodie Allen - Dumb For You";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  46. MusicBTN_3 = Create("TextButton"){Name = "MusicBTN_3";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 115);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "G Eazy - Calm Down";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  47. MusicBTN_4 = Create("TextButton"){Name = "MusicBTN_4";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 170);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "G Eazy - Far Alone";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  48. MusicBTN_5 = Create("TextButton"){Name = "MusicBTN_5";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 225);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "KYLE - iSpy";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  49. MusicBTN_6 = Create("TextButton"){Name = "MusicBTN_6";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 280);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Night Lovell - Contraband";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  50. MusicBTN_7 = Create("TextButton"){Name = "MusicBTN_7";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 335);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "21 Pilots - Heathens";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  51. MusicBTN_8 = Create("TextButton"){Name = "MusicBTN_8";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 390);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Logic - Flexicution";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  52. MusicBTN_9 = Create("TextButton"){Name = "MusicBTN_9";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 445);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Coucheron - LOUD";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  53. MusicBTN_10 = Create("TextButton"){Name = "MusicBTN_10";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 500);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "The Chainsmokers - Roses";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  54. MusicBTN_11 = Create("TextButton"){Name = "MusicBTN_11";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 555);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Pumped Up Kicks";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  55. MusicBTN_12 = Create("TextButton"){Name = "MusicBTN_12";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 610);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Mobb Deep - Shook ones";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  56. MusicBTN_13 = Create("TextButton"){Name = "MusicBTN_13";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 665);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Biggie Smalls - Hypnotize";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  57. MusicBTN_14 = Create("TextButton"){Name = "MusicBTN_14";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 720);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Tupac - Hail Mary";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  58. MusicBTN_15 = Create("TextButton"){Name = "MusicBTN_15";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 775);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Kendrick Lamar - HUMBLE";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  59. MusicBTN_16 = Create("TextButton"){Name = "MusicBTN_16";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 830);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "J Cole - A Tale of Two Citiez";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  60. MusicBTN_17 = Create("TextButton"){Name = "MusicBTN_17";Parent = musicHolder;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BorderSizePixel = 0;Position = UDim2.new(0, 5, 0, 885);Size = UDim2.new(0, 260, 0, 50);Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Kendrick Lamar - Black Friday";TextColor3 = Color3.new(0.784314, 0.784314, 0.784314);TextSize = 19;TextWrapped = true}
  61. sBG = Create("Frame"){Name = "sBG";Parent = backgroundFrame;BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569);BackgroundTransparency = 1;ClipsDescendants = true;Size = UDim2.new(0, 270, 0, 335)}
  62. ringSettingsFrame = Create("Frame"){Name = "ringSettingsFrame";Parent = sBG;BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863);BorderSizePixel = 0;Position = UDim2.new(1, 0, 0, 0);Size = UDim2.new(0, 270, 0, 335)}
  63. blurLabel = Create("TextLabel"){Name = "blurLabel";Parent = ringSettingsFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;Position = UDim2.new(-.026, 0, 0.0298507456, 0);Size = UDim2.new(0, 98, 0, 17);ZIndex = 2;Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "Blur: On";TextColor3 = Color3.new(1, 1, 1);TextSize = 20}
  64. ColorCorrectionLabel = Create("TextLabel"){Name = "blurLabel";Parent = ringSettingsFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;Position = UDim2.new(0.13, 0, 0.1, 0);Size = UDim2.new(0, 98, 0, 17);ZIndex = 2;Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size24;Text = "ColorCorrection: On";TextColor3 = Color3.new(1, 1, 1);TextSize = 20}
  65. checkButton = Create("TextButton"){Name = "checkButton";Parent = blurLabel;BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(.86, 0, 0.238000005, 0);Size = UDim2.new(0, 13, 0, 13);ZIndex = 2;AutoButtonColor = false;Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size14;Text = "";TextSize = 14}
  66. checkButton2 = Create("TextButton"){Name = "checkButton";Parent = ColorCorrectionLabel;BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(1.3, 0,0.238000005, 0);Size = UDim2.new(0, 13, 0, 13);ZIndex = 2;AutoButtonColor = false;Font = Enum.Font.SourceSans;FontSize = Enum.FontSize.Size14;Text = "";TextSize = 14}
  67. tickImage = Create("ImageLabel"){Name = "tickImage";Parent = checkButton;AnchorPoint = Vector2.new(0.5, 0.5);BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;Position = UDim2.new(0.5, 0, 0.5, 0);Size = UDim2.new(0, 10, 0, 10);ZIndex = 2;Image = "rbxassetid://1071406661"}
  68. dragShadow = Create("ImageLabel"){Name = "dragShadow";Parent = dragFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;BorderSizePixel = 0;Position = UDim2.new(0, 0, 1, 0);Size = UDim2.new(1, 0, 0, 10);Image = "rbxasset://textures/ui/TopBar/dropshadow@2x.png"}
  69. Aero = Create("ImageLabel"){Name = "Aero";Parent = dragFrame;BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;Position = UDim2.new(0, -5, 0, -5);Size = UDim2.new(1, 10, 9.38000011, 10);Image = "rbxassetid://892210479";ScaleType = Enum.ScaleType.Slice;SliceCenter = Rect.new(6, 6, 25, 25)}
  70. tickImage2 = Create("ImageLabel"){Name = "tickImage";Parent = checkButton2;AnchorPoint = Vector2.new(0.5, 0.5);BackgroundColor3 = Color3.new(1, 1, 1);BackgroundTransparency = 1;Position = UDim2.new(0.5, 0, 0.5, 0);Size = UDim2.new(0, 10, 0, 10);ZIndex = 2;Image = "rbxassetid://1071406661"}
  71.  
  72. wait()
  73.  
  74. local Settings = {
  75. Body = 0,
  76. Angle = 25,
  77. Goal = .30,
  78. Split = 1,
  79. Parts = 2,
  80. Disposition = 3,
  81. Power = 400,
  82. Material = 'Neon',
  83. }
  84.  
  85. local function Sound(N, L, PS, V, ID, P)
  86. local S = Create("Sound"){Name = N;SoundId = 'rbxassetid://'..ID;Looped = L;PlaybackSpeed = PS;Volume = V;EmitterSize = 10;MaxDistance = 300;Parent = P}
  87. return S
  88. end;
  89.  
  90. local Music = Sound('Music', true, 1, 1, 1, Root)
  91.  
  92. function Part(Num)
  93. Settings.Parts = Num
  94. for obj, child in next, Parts:GetDescendants() do
  95. if child:IsA("BasePart") then
  96. child:Destroy()
  97. end;
  98. end;
  99. for i = 1, Num do
  100. _G.P = Create("Part"){Color = Color3.new(255, 255, 255);Transparency = 0;Anchored = true;CanCollide = false;Material = Settings.Material;Size = Vector3.new(.2,.2,.2);CFrame = CFrame.new(Root.CFrame.X, Root.CFrame.Y + Settings.Body, Root.CFrame.Z);Locked = true;Parent = Parts}
  101. _G.L = Create("PointLight"){Brightness = 1;Range = 5;Parent = _G.P}
  102. end;
  103. end;
  104.  
  105.  
  106. Part(31)
  107.  
  108. local ColorChange = function()
  109. game:GetService("RunService"):BindToRenderStep("music", 0, function()
  110. if Music then
  111. local Color = Color3.fromHSV(mRad / 200, 1.7, 0.99 + LastB / 10000)
  112. local beat = math.abs(Music.PlaybackLoudness - LastL)
  113. if beat > LastB then
  114. LastB = beat
  115. else
  116. LastB = LastB - 10
  117. if LastB < 0 then
  118. LastB = 0
  119. end
  120. end
  121. _G.BlurSize = LastL / 50
  122. mRad = (mRad + beat / 250) % 100
  123. LastL = Music.PlaybackLoudness
  124. for obj, child in next, Parts:GetChildren() do
  125. if child:IsA("BasePart") then
  126. child.Color = Color
  127. end
  128. end;
  129. Blur.Size = _G.BlurSize
  130. ColorCorrection.TintColor = Color
  131. LastL = Music.PlaybackLoudness
  132. end
  133. end)
  134. end;
  135.  
  136. local Rot = function()
  137. while game:GetService'RunService'.RenderStepped:wait() do
  138. Rad = Rad + 1
  139. if Rad >= 360 then
  140. Rad = 0
  141. end;
  142. for obj, child in next, Parts:GetDescendants() do
  143. if child:IsA("BasePart") then
  144. child.CFrame = child.CFrame:Lerp(CFrame.new(Root.CFrame.X,Root.CFrame.Y + Settings.Body,Root.CFrame.Z) * CFrame.Angles(0,math.rad((360/Settings.Parts) * ((obj + (obj * Settings.Angle))/Settings.Split) + Rad),0) * CFrame.new(0,0,Settings.Disposition + (child.Size.Z)),Settings.Goal)
  145. end
  146. end;
  147. end;
  148. end;
  149.  
  150. local Size = function()
  151. while game:GetService'RunService'.RenderStepped:wait() do
  152. for obj, child in next, Parts:GetDescendants() do
  153. if child:IsA("BasePart") then
  154. child.Size = child.Size:Lerp(Vector3.new(.8,.2,(Music.PlaybackLoudness/Settings.Power) * math.random(4,8)),Settings.Goal)
  155. end
  156. end;
  157. end;
  158. end;
  159.  
  160. checkButton.MouseButton1Down:connect(function()
  161. if workspace.CurrentCamera:WaitForChild("Blur").Enabled then
  162. blurLabel.Text = "Blur: Off"
  163. tickImage.Visible = false
  164. workspace.CurrentCamera:WaitForChild("Blur").Enabled = false
  165. else
  166. workspace.CurrentCamera:WaitForChild("Blur").Enabled = true
  167. blurLabel.Text = "Blur: On"
  168. tickImage.Visible = true
  169. end
  170. end)
  171.  
  172. checkButton2.MouseButton1Down:connect(function()
  173. if workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled then
  174. ColorCorrectionLabel.Text = "ColorCorrection: Off"
  175. tickImage2.Visible = false
  176. workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled = false
  177. else
  178. workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled = true
  179. ColorCorrectionLabel.Text = "ColorCorrection: On"
  180. tickImage2.Visible = true
  181. end
  182. end)
  183.  
  184. game:GetService('UserInputService').InputBegan:Connect(function(input, object)
  185. if not object then
  186. if input.KeyCode == Enum.KeyCode.Q and musicFrame.Visible == true and musicHolder.Visible == true then
  187. if not Debounce then
  188. Debounce = true
  189. end
  190. ringSettingsFrame:TweenPosition(UDim2.new(0,0,0,0),"In", "Quad", .1, false)
  191. wait(.2)
  192. musicFrame.Visible = false
  193. musicHolder.Visible = false
  194. Debounce = false
  195. else
  196. if input.KeyCode == Enum.KeyCode.E and musicFrame.Visible == false and musicHolder.Visible == false then
  197. if not Debounce then
  198. Debounce = true
  199. end
  200. musicFrame.Visible = true
  201. musicHolder.Visible = true
  202. ringSettingsFrame:TweenPosition(UDim2.new(1,0,0,0),"Out", "Quad", .1, false)
  203. Debounce = false
  204. end
  205. end
  206. wait(.5)
  207. end
  208. end)
  209.  
  210.  
  211. Play.MouseButton1Down:connect(function()
  212. local Asset = game:GetService("MarketplaceService"):GetProductInfo(SoundId.Text)
  213. Music.SoundId='https://www.roblox.com/asset/?id= '..SoundId.Text
  214. Music:Play()
  215. Music.Volume = 1
  216. Music.PlaybackSpeed = Pitch.Text
  217. isPlaying.Text = "Now playing: "..Asset.Name
  218. while wait() do
  219. Music.PlaybackSpeed = Pitch.Text
  220. Music.Volume = Volume.Text
  221. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  222. end
  223. end)
  224.  
  225. local function Play1()
  226. local Asset = game:GetService("MarketplaceService"):GetProductInfo(342067275)
  227. MusicBTN_1.MouseButton1Down:connect(function()
  228. Music.SoundId = 'rbxassetid://342067275'
  229. Music.PlaybackSpeed = 1
  230. Music:Play()
  231. Music.Volume = 1
  232. isPlaying.Text = "Now playing: "..Asset.Name
  233. while wait() do
  234. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  235. end
  236. end)
  237. end
  238.  
  239. local function Play2()
  240. local Asset = game:GetService("MarketplaceService"):GetProductInfo(197831678)
  241. MusicBTN_2.MouseButton1Down:connect(function()
  242. Music.SoundId = 'rbxassetid://197831678'
  243. Music.PlaybackSpeed = 1
  244. Music:Play()
  245. Music.Volume = 1
  246. isPlaying.Text = "Now playing: "..Asset.Name
  247. while wait() do
  248. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  249. end
  250. end)
  251. end
  252.  
  253. local function Play3()
  254. local Asset = game:GetService("MarketplaceService"):GetProductInfo(332825328)
  255. MusicBTN_3.MouseButton1Down:connect(function()
  256. Music.SoundId = 'rbxassetid://332825328'
  257. Music.PlaybackSpeed = 1
  258. Music:Play()
  259. Music.Volume = 1
  260. isPlaying.Text = "Now playing: "..Asset.Name
  261. while wait() do
  262. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  263. end
  264. end)
  265. end
  266.  
  267. local function Play4()
  268. local Asset = game:GetService("MarketplaceService"):GetProductInfo(271827870)
  269. MusicBTN_4.MouseButton1Down:connect(function()
  270. Music.SoundId = 'rbxassetid://271827870'
  271. Music.PlaybackSpeed = 1
  272. Music:Play()
  273. Music.Volume = 1
  274. isPlaying.Text = "Now playing: "..Asset.Name
  275. while wait() do
  276. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  277. end
  278. end)
  279. end
  280.  
  281. local function Play5()
  282. local Asset = game:GetService("MarketplaceService"):GetProductInfo(702655180)
  283. MusicBTN_5.MouseButton1Down:connect(function()
  284. Music.SoundId = 'rbxassetid://702655180'
  285. Music.PlaybackSpeed = 1
  286. Music:Play()
  287. Music.Volume = 1
  288. isPlaying.Text = "Now playing: "..Asset.Name
  289. while wait() do
  290. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  291. end
  292. end)
  293. end
  294.  
  295. local function Play6()
  296. local Asset = game:GetService("MarketplaceService"):GetProductInfo(538127682)
  297. MusicBTN_6.MouseButton1Down:connect(function()
  298. Music.SoundId = 'rbxassetid://538127682'
  299. Music.PlaybackSpeed = 1
  300. Music:Play()
  301. Music.Volume = 1
  302. isPlaying.Text = "Now playing: "..Asset.Name
  303. while wait() do
  304. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  305. end
  306. end)
  307. end
  308.  
  309. local function Play7()
  310. local Asset = game:GetService("MarketplaceService"):GetProductInfo(437141803)
  311. MusicBTN_7.MouseButton1Down:connect(function()
  312. Music.SoundId = 'rbxassetid://437141803'
  313. Music.PlaybackSpeed = 1
  314. Music:Play()
  315. Music.Volume = 1
  316. isPlaying.Text = "Now playing: "..Asset.Name
  317. while wait() do
  318. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  319. end
  320. end)
  321. end
  322.  
  323. local function Play8()
  324. local Asset = game:GetService("MarketplaceService"):GetProductInfo(437864653)
  325. MusicBTN_8.MouseButton1Down:connect(function()
  326. Music.SoundId = 'rbxassetid://437864653'
  327. Music.PlaybackSpeed = 1
  328. Music:Play()
  329. Music.Volume = 1
  330. isPlaying.Text = "Now playing: "..Asset.Name
  331. while wait() do
  332. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  333. end
  334. end)
  335. end
  336.  
  337. local function Play9()
  338. local Asset = game:GetService("MarketplaceService"):GetProductInfo(585319841)
  339. MusicBTN_9.MouseButton1Down:connect(function()
  340. Music.SoundId = 'rbxassetid://585319841'
  341. Music.PlaybackSpeed = 1
  342. Music:Play()
  343. Music.Volume = 1
  344. isPlaying.Text = "Now playing: "..Asset.Name
  345. while wait() do
  346. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  347. end
  348. end)
  349. end
  350.  
  351. local function Play10()
  352. local Asset = game:GetService("MarketplaceService"):GetProductInfo(270481110)
  353. MusicBTN_10.MouseButton1Down:connect(function()
  354. Music.SoundId = 'rbxassetid://270481110'
  355. Music.PlaybackSpeed = 1
  356. Music:Play()
  357. Music.Volume = 1
  358. isPlaying.Text = "Now playing: "..Asset.Name
  359. while wait() do
  360. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  361. end
  362. end)
  363. end
  364.  
  365. local function Play11()
  366. local Asset = game:GetService("MarketplaceService"):GetProductInfo(601852677)
  367. MusicBTN_11.MouseButton1Down:connect(function()
  368. Music.SoundId = 'rbxassetid://601852677'
  369. Music.PlaybackSpeed = 1
  370. Music:Play()
  371. Music.Volume = 1
  372. isPlaying.Text = "Now playing: "..Asset.Name
  373. while wait() do
  374. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  375. end
  376. end)
  377. end
  378.  
  379. local function Play12()
  380. local Asset = game:GetService("MarketplaceService"):GetProductInfo(159748703)
  381. MusicBTN_12.MouseButton1Down:connect(function()
  382. Music.SoundId = 'rbxassetid://159748703'
  383. Music.PlaybackSpeed = 1
  384. Music:Play()
  385. Music.Volume = 1
  386. isPlaying.Text = "Now playing: "..Asset.Name
  387. while wait() do
  388. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  389. end
  390. end)
  391. end
  392.  
  393. local function Play13()
  394. local Asset = game:GetService("MarketplaceService"):GetProductInfo(185128704)
  395. MusicBTN_13.MouseButton1Down:connect(function()
  396. Music.SoundId = 'rbxassetid://185128704'
  397. Music.PlaybackSpeed = 1
  398. Music:Play()
  399. Music.Volume = 1
  400. isPlaying.Text = "Now playing: "..Asset.Name
  401. while wait() do
  402. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  403. end
  404. end)
  405. end
  406.  
  407. local function Play14()
  408. local Asset = game:GetService("MarketplaceService"):GetProductInfo(188300328)
  409. MusicBTN_14.MouseButton1Down:connect(function()
  410. Music.SoundId = 'rbxassetid://188300328'
  411. Music.PlaybackSpeed = 1
  412. Music:Play()
  413. Music.Volume = 1
  414. isPlaying.Text = "Now playing: "..Asset.Name
  415. while wait() do
  416. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  417. end
  418. end)
  419. end
  420.  
  421. local function Play15()
  422. local Asset = game:GetService("MarketplaceService"):GetProductInfo(853588295)
  423. MusicBTN_15.MouseButton1Down:connect(function()
  424. Music.SoundId = 'rbxassetid://853588295'
  425. Music.PlaybackSpeed = 1
  426. Music:Play()
  427. Music.Volume = 1
  428. isPlaying.Text = "Now playing: "..Asset.Name
  429. while wait() do
  430. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  431. end
  432. end)
  433. end
  434.  
  435. local function Play16()
  436. local Asset = game:GetService("MarketplaceService"):GetProductInfo(223519694)
  437. MusicBTN_16.MouseButton1Down:connect(function()
  438. Music.SoundId = 'rbxassetid://223519694'
  439. Music.PlaybackSpeed = 1
  440. Music:Play()
  441. Music.Volume = 1
  442. isPlaying.Text = "Now playing: "..Asset.Name
  443. while wait() do
  444. timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
  445. end
  446. end)
  447. end
  448.  
  449. local function Play17()
  450. local Asset = game:GetService("MarketplaceService"):GetProductInfo(342851907)
  451. MusicBTN_17.MouseButton1Down:connect(function()
  452. Music.SoundId = 'rbxassetid://342851907'
  453. Music.PlaybackSpeed = 1
  454. Music:Play()
  455. Music.Volume = 1
  456. isPlaying.Text = "Now playing: "..Asset.Name
  457. while wait() do
  458. timeStamp.Text = string.format("%-0d", Music.TimePosition).."/"..string.format("%-0d", Music.TimeLength)
  459. end
  460. end)
  461. end
  462.  
  463.  
  464. Stop.MouseButton1Down:connect(function()
  465. Music.SoundId='https://www.roblox.com/asset/?id='..SoundId.Text
  466. Music:Stop()
  467. isPlaying.Text = "Now playing: N/A"
  468. end)
  469.  
  470. Play1()
  471. Play2()
  472. Play3()
  473. Play4()
  474. Play5()
  475. Play6()
  476. Play7()
  477. Play8()
  478. Play9()
  479. Play10()
  480. Play11()
  481. Play12()
  482. Play13()
  483. Play14()
  484. Play15()
  485. Play16()
  486. Play17()
  487. spawn(Rot)
  488. spawn(Size)
  489. spawn(ColorChange)
Add Comment
Please, Sign In to add comment