
114 Views
456 Executions
Audio player
Universal Script 📌
6 days ago · Updated
Reviewed by QueueSpeedDemonPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
A player audio, have en, es, pt.
local Players = game:GetService("Players")
local HttpService = game:GetService("HttpService")
local UIS = game:GetService("UserInputService")
local Player = Players.LocalPlayer or Players.PlayerAdded:Wait()
local parent = Player:FindFirstChildOfClass("PlayerGui") or game:GetService("CoreGui")
pcall(function()
local old = parent:FindFirstChild("NeonAudioPlayer")
if old then old:Destroy() end
end)
local gui = Instance.new("ScreenGui")
gui.Name = "NeonAudioPlayer"
gui.ResetOnSpawn = false
gui.DisplayOrder = 999999
pcall(function() gui.Parent = parent end)
if not gui.Parent then gui.Parent = Player:WaitForChild("PlayerGui") end
local sound = Instance.new("Sound")
sound.Volume = 1
sound.Parent = gui
local SAVE_FILE = "NeonAudioPlayer_SavedAudios.json"
local lang = "pt"
local txt = {
pt = {t="ÁUDIO PLAYER", cfg="Configuração(⚙️)↓", back="Voltando pra gui↓", id="ID do áudio", nm="Nome do áudio", play="▶ Tocar", pause="⏸ Pausar", save="💾 Salvar", list="Áudios Salvos", listen="▶ Ouvir", del="🗑 Apagar", lg="Língua:", empty="Sem áudios salvos.", bad="ID inválido!", ok="Salvo!", rem="Apagado!", noFile="Sem persistência de arquivo."},
en = {t="AUDIO PLAYER", cfg="Settings(⚙️)↓", back="Back to GUI↓", id="Audio ID", nm="Audio name", play="▶ Play", pause="⏸ Pause", save="💾 Save", list="Saved Audios", listen="▶ Listen", del="🗑 Delete", lg="Language:", empty="No saved audios.", bad="Invalid ID!", ok="Saved!", rem="Deleted!", noFile="No file persistence."},
es = {t="AUDIO PLAYER", cfg="Configuración(⚙️)↓", back="Volviendo a la GUI↓", id="ID de audio", nm="Nombre de audio", play="▶ Reproducir", pause="⏸ Pausar", save="💾 Guardar", list="Audios Guardados", listen="▶ Escuchar", del="🗑 Borrar", lg="Idioma:", empty="Sin audios guardados.", bad="¡ID inválido!", ok="¡Guardado!", rem="¡Borrado!", noFile="Sin persistencia de archivo."}
}
local bg, sec, neon, ink, dark = Color3.fromRGB(22,20,3), Color3.fromRGB(40,36,5), Color3.fromRGB(255,255,0), Color3.fromRGB(255,255,110), Color3.fromRGB(15,15,0)
local saved = {}
local function canUseFiles()
return type(writefile) == "function" and type(readfile) == "function"
end
local function loadSavedFromDisk()
if not canUseFiles() then return end
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







