Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[CreateGuiFunction]]--
- CreateGui = function()
- local MusicGui = Instance.new("ScreenGui")
- local MusicFrame = Instance.new("Frame")
- local PlayButton = Instance.new("ImageButton")
- local CustomSong = Instance.new("TextBox")
- local _456388452 = Instance.new("TextButton")
- local _534429024 = Instance.new("TextButton")
- local _481946023 = Instance.new("TextButton")
- local _511168957 = Instance.new("TextButton")
- local _358172355 = Instance.new("TextButton")
- local _517663466 = Instance.new("TextButton")
- -- Properties
- MusicGui.Name = "MusicGui"
- MusicFrame.Name = "MusicFrame"
- MusicFrame.Parent = MusicGui
- MusicFrame.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- MusicFrame.BackgroundTransparency = 0.5
- MusicFrame.Position = UDim2.new(0, 0, 0.5, -250)
- MusicFrame.Size = UDim2.new(0, 200, 0, 500)
- PlayButton.Name = "PlayButton"
- PlayButton.Parent = MusicFrame
- PlayButton.BackgroundColor3 = Color3.new(1, 1, 1)
- PlayButton.BackgroundTransparency = 1
- PlayButton.Position = UDim2.new(0.5, -25, 1, -50)
- PlayButton.Size = UDim2.new(0, 50, 0, 50)
- PlayButton.Image = "rbxassetid://562286524"
- PlayButton.ImageColor3 = Color3.new(0, 0.666667, 1)
- CustomSong.Name = "CustomSong"
- CustomSong.Parent = MusicFrame
- CustomSong.BackgroundColor3 = Color3.new(1, 1, 1)
- CustomSong.BackgroundTransparency = 1
- CustomSong.Position = UDim2.new(0.5, -100, 1, -110)
- CustomSong.Size = UDim2.new(0, 200, 0, 50)
- CustomSong.Font = Enum.Font.SciFi
- CustomSong.FontSize = Enum.FontSize.Size24
- CustomSong.Text = "Custom Id"
- CustomSong.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _456388452.Name = "456388452"
- _456388452.Parent = MusicFrame
- _456388452.BackgroundColor3 = Color3.new(1, 1, 1)
- _456388452.BackgroundTransparency = 1
- _456388452.Position = UDim2.new(0, 0, 0, 120)
- _456388452.Size = UDim2.new(0, 200, 0, 50)
- _456388452.Font = Enum.Font.SciFi
- _456388452.FontSize = Enum.FontSize.Size12
- _456388452.Text = "Jauz & Marshmello - Magic "
- _456388452.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _534429024.Name = "534429024"
- _534429024.Parent = MusicFrame
- _534429024.BackgroundColor3 = Color3.new(1, 1, 1)
- _534429024.BackgroundTransparency = 1
- _534429024.Size = UDim2.new(0, 200, 0, 50)
- _534429024.Font = Enum.Font.SciFi
- _534429024.FontSize = Enum.FontSize.Size12
- _534429024.Text = "The Glitch Mob - Seven Nation Army"
- _534429024.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _481946023.Name = "481946023"
- _481946023.Parent = MusicFrame
- _481946023.BackgroundColor3 = Color3.new(1, 1, 1)
- _481946023.BackgroundTransparency = 1
- _481946023.Position = UDim2.new(0, 0, 0, 60)
- _481946023.Size = UDim2.new(0, 200, 0, 50)
- _481946023.Font = Enum.Font.SciFi
- _481946023.FontSize = Enum.FontSize.Size12
- _481946023.Text = "Uplink - To Myself (feat. NK)"
- _481946023.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _511168957.Name = "511168957"
- _511168957.Parent = MusicFrame
- _511168957.BackgroundColor3 = Color3.new(1, 1, 1)
- _511168957.BackgroundTransparency = 1
- _511168957.Position = UDim2.new(0, 0, 0, 240)
- _511168957.Size = UDim2.new(0, 200, 0, 50)
- _511168957.Font = Enum.Font.SciFi
- _511168957.FontSize = Enum.FontSize.Size12
- _511168957.Text = "Jauz x Ephwurd - Rock The Party "
- _511168957.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _358172355.Name = "358172355"
- _358172355.Parent = MusicFrame
- _358172355.BackgroundColor3 = Color3.new(1, 1, 1)
- _358172355.BackgroundTransparency = 1
- _358172355.Position = UDim2.new(0, 0, 0, 180)
- _358172355.Size = UDim2.new(0, 200, 0, 50)
- _358172355.Font = Enum.Font.SciFi
- _358172355.FontSize = Enum.FontSize.Size12
- _358172355.Text = "Duke Dumont - Need U"
- _358172355.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- _517663466.Name = "517663466"
- _517663466.Parent = MusicFrame
- _517663466.BackgroundColor3 = Color3.new(1, 1, 1)
- _517663466.BackgroundTransparency = 1
- _517663466.Position = UDim2.new(0, 0, 0, 300)
- _517663466.Size = UDim2.new(0, 200, 0, 50)
- _517663466.Font = Enum.Font.SciFi
- _517663466.FontSize = Enum.FontSize.Size12
- _517663466.Text = "PPAP Pen Pineapple Apple Pen "
- _517663466.TextColor3 = Color3.new(0.333333, 0.666667, 1)
- return MusicGui
- end
- MusicGui = CreateGui()
- MusicGui.Parent = game.Players.LocalPlayer.PlayerGui
- repeat wait()
- until game.Players.LocalPlayer.CharacterAdded
- local Part = Instance.new("Part", game.Workspace[""..game.Players.LocalPlayer.Name])
- Part.CanCollide = false
- Part.Shape = "Block"
- Part.Anchored = true
- Part.Locked = true
- Part.Name = "MusicItem"
- Part.Transparency = 0.5
- Part.Material = "Neon"
- Part.BrickColor = BrickColor.new("Toothpaste")
- local Sound = Instance.new("Sound", Part)
- Sound.SoundId = "https://www.roblox.com/asset/?id=534429024"
- Sound.Looped = true
- Sound.Pitch = 1
- Sound.Name = "Sound"
- Sound.Volume = 1
- Sound:Play()
- spawn(function()
- --[[Objects]]--
- local MusicGuiOpen = UDim2.new(0, 0,0.5, -250)
- local MusicGuiClosed = UDim2.new(-1, 0,0.5, -250)
- local MainFrame = MusicGui['MusicFrame']
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local CustomId = MainFrame['CustomSong']
- local PlayButton = MainFrame['PlayButton'];
- local GlitchMob = MainFrame['534429024']
- local Uplink = MainFrame['481946023']
- local Marshmello = MainFrame['456388452']
- local Dumont = MainFrame['358172355']
- local Rock = MainFrame['511168957']
- local Pineapple = MainFrame['517663466']
- --[[functions]]--
- GlitchMob.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..GlitchMob.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..GlitchMob.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- Uplink.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Uplink.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Uplink.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- Marshmello.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Marshmello.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Marshmello.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- Dumont.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Dumont.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Dumont.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- Rock.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Rock.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Rock.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- Pineapple.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Pineapple.Name
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..Pineapple.Name
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- PlayButton.MouseButton1Down:connect(function()
- if Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Sound.SoundId = "http://www.roblox.com/asset/?id="..CustomId.Text
- Sound:Stop()
- wait()
- Sound:Play()
- else
- Sound.SoundId = "http://www.roblox.com/asset/?id="..CustomId.Text
- Sound:Stop()
- wait()
- Sound:Play()
- end
- end)
- end)
- local speed = 0.2
- local function transition(c2,c1)
- for i = 0,1,speed do
- Part.BrickColor = BrickColor.new(Color3.new(((c1.r*(1-i))+(c2.r*i)),((c1.g*(1-i))+(c2.g*i)),((c1.b*(1-i))+(c2.b*i))))
- wait()
- end
- end
- game:GetService("RunService").RenderStepped:connect(function()
- Part.CFrame = CFrame.new(game.Workspace[""..game.Players.LocalPlayer.Name].HumanoidRootPart.Position) * CFrame.new(0,5,0)
- end)
- while true do wait()
- local newColor = Color3.new(math.random(),math.random(),math.random())
- transition(newColor,Part.BrickColor)
- local alg = math.floor(Sound.PlaybackLoudness)/120
- Part.Size = Vector3.new(.6+alg,.6+alg,.6+alg)
- end
Add Comment
Please, Sign In to add comment