Universal Script 📌
2.0k Views
24.9k Executions

Audio player FE

10K executions
Universal Script 📌
2 months ago

Reviewed by ThunderModsScriptBlox staffon How review works

Get an executor
Please login to perform these actions:

Does it work?

Early reports

100% say it works · 1 report in the last 2 weeks

Also noticed:

Description

Audio player

View Raw
-- LightningHub Audio Player
-- prepared by halilibrahimseviml1

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- remove old GUI if exists
if playerGui:FindFirstChild("LightningHubPlayer") then
    playerGui.LightningHubPlayer:Destroy()
end

-- main GUI
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "LightningHubPlayer"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- main frame (size unchanged: 220x50)
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 220, 0, 50)
mainFrame.Position = UDim2.new(0.5, -110, 0.1, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = mainFrame

-- === Sound object ===
local sound = Instance.new("Sound")
sound.Name = "PlayerSound"
sound.Volume = 0.7
sound.Parent = workspace



Comments

3
Log in to join the conversation. Login
Geonikbi's profile picture
Geonikbi2 months ago

⚡️

1
Xicor's profile picture
Xicor2 months ago

its a nice script but others cant hear

1
halilibrahimseviml's profile picture
halilibrahimseviml#16 this weekUploader2 months ago

@Xicor Sorry buddy, I did a bit of clickbait.

2