Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- local Player = game:GetService("Players").LocalPlayer
- local Character = Player.Character
- local Root = Character.HumanoidRootPart
- local Rad = 0
- local Debounce = false
- local mRad = math.random(0, 100)
- LastB = 0
- LastL = 0
- _G.BlurSize = 0
- local Color = Color3.fromHSV(mRad / 200, 1.7, 0.99 + LastB / 10000)
- function Create(Type)
- return function(data)
- local object = Instance.new(Type)
- for data, value in next, data do
- if type(data) == 'number' then
- value.Parent = object
- else
- object[data] = value
- end
- end
- return object
- end
- end
- ColorCorrection = Create("ColorCorrectionEffect"){Parent = workspace.CurrentCamera;TintColor = Color}
- Blur = Create("BlurEffect"){Parent = workspace.CurrentCamera;Size = _G.BlurSize}
- Parts = Create("Model"){Parent = Character}
- PopesMusicGui = Create("ScreenGui"){Name = "Pope's Music Gui";Parent = game.Players.LocalPlayer.PlayerGui}
- 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)}
- 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}
- 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)}
- 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)}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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 = ""}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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}
- 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)}
- 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)}
- 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}
- 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}
- 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}
- 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}
- 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"}
- 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"}
- 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)}
- 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"}
- wait()
- local Settings = {
- Body = 0,
- Angle = 25,
- Goal = .30,
- Split = 1,
- Parts = 2,
- Disposition = 3,
- Power = 400,
- Material = 'Neon',
- }
- local function Sound(N, L, PS, V, ID, P)
- local S = Create("Sound"){Name = N;SoundId = 'rbxassetid://'..ID;Looped = L;PlaybackSpeed = PS;Volume = V;EmitterSize = 10;MaxDistance = 300;Parent = P}
- return S
- end;
- local Music = Sound('Music', true, 1, 1, 1, Root)
- function Part(Num)
- Settings.Parts = Num
- for obj, child in next, Parts:GetDescendants() do
- if child:IsA("BasePart") then
- child:Destroy()
- end;
- end;
- for i = 1, Num do
- _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}
- _G.L = Create("PointLight"){Brightness = 1;Range = 5;Parent = _G.P}
- end;
- end;
- Part(31)
- local ColorChange = function()
- game:GetService("RunService"):BindToRenderStep("music", 0, function()
- if Music then
- local Color = Color3.fromHSV(mRad / 200, 1.7, 0.99 + LastB / 10000)
- local beat = math.abs(Music.PlaybackLoudness - LastL)
- if beat > LastB then
- LastB = beat
- else
- LastB = LastB - 10
- if LastB < 0 then
- LastB = 0
- end
- end
- _G.BlurSize = LastL / 50
- mRad = (mRad + beat / 250) % 100
- LastL = Music.PlaybackLoudness
- for obj, child in next, Parts:GetChildren() do
- if child:IsA("BasePart") then
- child.Color = Color
- end
- end;
- Blur.Size = _G.BlurSize
- ColorCorrection.TintColor = Color
- LastL = Music.PlaybackLoudness
- end
- end)
- end;
- local Rot = function()
- while game:GetService'RunService'.RenderStepped:wait() do
- Rad = Rad + 1
- if Rad >= 360 then
- Rad = 0
- end;
- for obj, child in next, Parts:GetDescendants() do
- if child:IsA("BasePart") then
- 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)
- end
- end;
- end;
- end;
- local Size = function()
- while game:GetService'RunService'.RenderStepped:wait() do
- for obj, child in next, Parts:GetDescendants() do
- if child:IsA("BasePart") then
- child.Size = child.Size:Lerp(Vector3.new(.8,.2,(Music.PlaybackLoudness/Settings.Power) * math.random(4,8)),Settings.Goal)
- end
- end;
- end;
- end;
- checkButton.MouseButton1Down:connect(function()
- if workspace.CurrentCamera:WaitForChild("Blur").Enabled then
- blurLabel.Text = "Blur: Off"
- tickImage.Visible = false
- workspace.CurrentCamera:WaitForChild("Blur").Enabled = false
- else
- workspace.CurrentCamera:WaitForChild("Blur").Enabled = true
- blurLabel.Text = "Blur: On"
- tickImage.Visible = true
- end
- end)
- checkButton2.MouseButton1Down:connect(function()
- if workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled then
- ColorCorrectionLabel.Text = "ColorCorrection: Off"
- tickImage2.Visible = false
- workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled = false
- else
- workspace.CurrentCamera:WaitForChild("ColorCorrection").Enabled = true
- ColorCorrectionLabel.Text = "ColorCorrection: On"
- tickImage2.Visible = true
- end
- end)
- game:GetService('UserInputService').InputBegan:Connect(function(input, object)
- if not object then
- if input.KeyCode == Enum.KeyCode.Q and musicFrame.Visible == true and musicHolder.Visible == true then
- if not Debounce then
- Debounce = true
- end
- ringSettingsFrame:TweenPosition(UDim2.new(0,0,0,0),"In", "Quad", .1, false)
- wait(.2)
- musicFrame.Visible = false
- musicHolder.Visible = false
- Debounce = false
- else
- if input.KeyCode == Enum.KeyCode.E and musicFrame.Visible == false and musicHolder.Visible == false then
- if not Debounce then
- Debounce = true
- end
- musicFrame.Visible = true
- musicHolder.Visible = true
- ringSettingsFrame:TweenPosition(UDim2.new(1,0,0,0),"Out", "Quad", .1, false)
- Debounce = false
- end
- end
- wait(.5)
- end
- end)
- Play.MouseButton1Down:connect(function()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(SoundId.Text)
- Music.SoundId='https://www.roblox.com/asset/?id= '..SoundId.Text
- Music:Play()
- Music.Volume = 1
- Music.PlaybackSpeed = Pitch.Text
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- Music.PlaybackSpeed = Pitch.Text
- Music.Volume = Volume.Text
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- local function Play1()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(342067275)
- MusicBTN_1.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://342067275'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play2()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(197831678)
- MusicBTN_2.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://197831678'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play3()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(332825328)
- MusicBTN_3.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://332825328'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play4()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(271827870)
- MusicBTN_4.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://271827870'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play5()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(702655180)
- MusicBTN_5.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://702655180'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play6()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(538127682)
- MusicBTN_6.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://538127682'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play7()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(437141803)
- MusicBTN_7.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://437141803'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play8()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(437864653)
- MusicBTN_8.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://437864653'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play9()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(585319841)
- MusicBTN_9.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://585319841'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play10()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(270481110)
- MusicBTN_10.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://270481110'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play11()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(601852677)
- MusicBTN_11.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://601852677'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play12()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(159748703)
- MusicBTN_12.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://159748703'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play13()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(185128704)
- MusicBTN_13.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://185128704'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play14()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(188300328)
- MusicBTN_14.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://188300328'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play15()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(853588295)
- MusicBTN_15.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://853588295'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play16()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(223519694)
- MusicBTN_16.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://223519694'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).." / "..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- local function Play17()
- local Asset = game:GetService("MarketplaceService"):GetProductInfo(342851907)
- MusicBTN_17.MouseButton1Down:connect(function()
- Music.SoundId = 'rbxassetid://342851907'
- Music.PlaybackSpeed = 1
- Music:Play()
- Music.Volume = 1
- isPlaying.Text = "Now playing: "..Asset.Name
- while wait() do
- timeStamp.Text = string.format("%-0d", Music.TimePosition).."/"..string.format("%-0d", Music.TimeLength)
- end
- end)
- end
- Stop.MouseButton1Down:connect(function()
- Music.SoundId='https://www.roblox.com/asset/?id='..SoundId.Text
- Music:Stop()
- isPlaying.Text = "Now playing: N/A"
- end)
- Play1()
- Play2()
- Play3()
- Play4()
- Play5()
- Play6()
- Play7()
- Play8()
- Play9()
- Play10()
- Play11()
- Play12()
- Play13()
- Play14()
- Play15()
- Play16()
- Play17()
- spawn(Rot)
- spawn(Size)
- spawn(ColorChange)
Add Comment
Please, Sign In to add comment