Universal Script 📌
16.7k Views
6.8k Executions

KEYLESS Epik Song player

Universal Script 📌
MrCookie
MrCookieFirst script
1 year 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

Its a simple and good CLIENT music player that can play any ids, and has a somewhat good popular songs list that well… Just guesses the ids and stops after 153 requests… Well, enjoy!

View Raw
--[[
	WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
--[[
    WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- Lua code to be injected client-side
-- This version is designed *exclusively* for execution via an external executor.
-- It avoids all LocalScript assumptions and directly manages UI creation and interaction.
-- All UI elements are explicitly created and parented under PlayerGui.
-- Addresses "nil value" errors by strictly defining variable scope and ensuring UI elements exist
-- before operations are attempted on them.
-- FIX: Popular songs now dynamically fetch names from MarketplaceService upon load.
-- FIX: Explicitly filters for Enum.AssetType.Audio.Value to prevent non-audio assets (like Places) from appearing.
-- FIX: Corrected use of Enum.AssetType.Audio.Value instead of Enum.AssetType.NameFromValue.
-- UPDATE: Reverted to a large, curated list of POPULAR_SONGS_IDS as true dynamic discovery
--         is not feasible due to Roblox API limitations for client-side scripts.
-- ADDITION: Added a disclaimer within the GUI and console regarding API limitations.
-- MODIFIED: Max retries for service acquisition set to unlimited.
-- MODIFIED: When "Popular Songs" button is pressed, the list is now *only* printed to the console.
-- REMOVED: Separate Popular Songs GUI panel.
-- Declare global services, using locals for faster access within functions
local Players = nil
local UserInputService = nil
local SoundService = nil
local MarketplaceService = nil
local RunService = nil

-- Robust service acquisition (crucial for injected environments)
local function getServiceRobustly(serviceName)
    local service = nil
    local retryDelay = 0.2 -- Increased delay

    -- Special handling for LocalPlayer and PlayerGui: Ensure they are ready
    if serviceName == "Players" then
        while true do -- Unlimited retries
            local success, srv = pcall(game.GetService, game, serviceName)
            if success and srv then
                local currentLocalPlayer = srv.LocalPlayer
                if currentLocalPlayer and currentLocalPlayer:FindFirstChild("PlayerGui") then


Comments

7
Log in to join the conversation. Login
OnurXD_404's profile picture
OnurXD_40411 months ago

serversided?

1
travistiger14's profile picture
travistiger141 year ago

FE?

1
MrCookie's profile picture
MrCookieUploader1 year ago(edited)

Hello everyone, im currently finding a few more music ids, but most of them are sadly down. Stay tuned! Also, i‘ll try to fix following issues: You cant drag the UI on mobile, The UI disappears when using „reset character“ (profanity filter), leaving the song playing too. Happy listening everyone! Update: yeaahhh you apparently cant fix those easily, i‘ll focus on adding more songs. Sorry!

1
MrCookie's profile picture
MrCookieUploader1 year ago

@pinkblownephia sadly this doesnt seem to be possible, sorry!

1
MrCookie's profile picture
MrCookieUploader1 year ago

Hey @pinkblowbephia, i will try to! Thanks for the suggestion

1
pinkblownephia's profile picture
pinkblownephia1 year ago

Você poderia adicionar uma forma de poder pesquisar as músicas do catálogo direto pelo script?

1
fiikju88's profile picture
fiikju881 year ago

havent tried it but its probably good

1

Tags

More universal scripts

See all
Universal Script 📌
14
0
Approved 31 minutes ago
Universal Script 📌
29
6
Approved 47 minutes ago
Universal Script 📌
2.5k
13.6k
Bumped 1 hour ago
Script hub
3.9M
1.5M
Bumped 1 hour ago

Script hub

Hall of Fame #3

KeylessVerified script badge[KEYLESS] Moondiety Script | 20+ supported Games