Universal Script 📌
1.6k Views
1.1k Executions

Music player

Universal Script 📌
ZZCe
ZZCe100K executions
6 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Put your musics in "MusicPLVrar" to save your songs! Made by ai btw Idk put in here so as not to look like a bot

View Raw
-- CONFIG
local folderName = "MusicPLVrar"

-- SERVICES
local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local player = Players.LocalPlayer

-- FILES
if not isfolder(folderName) then
    makefolder(folderName)
end

local soundsList = {}
for _, file in ipairs(listfiles(folderName)) do
    if file:match(".mp3") or file:match(".ogg") or file:match(".wav") then
        table.insert(soundsList, file)
    end
end

-- UI
local gui = Instance.new("ScreenGui", game.CoreGui)
gui.Name = "MusicPlayerPLV"

local main = Instance.new("Frame", gui)
main.Size = UDim2.new(0, 270, 0, 400)
main.Position = UDim2.new(0.3, 0, 0.3, 0)
main.BackgroundColor3 = Color3.fromRGB(20,20,20)
main.BorderSizePixel = 0
Instance.new("UICorner", main).CornerRadius = UDim.new(0,12)

local title = Instance.new("TextLabel", main)
title.Size = UDim2.new(1, -40, 0, 40)
title.Position = UDim2.new(0,10,0,0)
title.Text = "Music Player"
title.BackgroundTransparency = 1
title.TextColor3 = Color3.fromRGB(230,230,230)
title.TextSize = 18
title.TextXAlignment = Enum.TextXAlignment.Left



Comments

1
Log in to join the conversation. Login
Vhhggg's profile picture
Vhhggg2 months ago

Good but you need to update like make player profile etc.

1