Universal Script 📌
2.2k Views
30.8k Executions

Audio player FE

10K executions
Universal Script 📌
LightningHub_
LightningHub_Chart topper
3 months ago

Reviewed by ThunderModsScriptBlox staffon How review works

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

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
Geonikbi3 months ago

⚡️

1
Xicor's profile picture
Xicor3 months ago

its a nice script but others cant hear

1
LightningHub_'s profile picture
LightningHub_Uploader3 months ago

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

2

Tags

More universal scripts

See all
Script hub
4.1M
558.4k
Bumped 5 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow #1 *OP*

Script hub
5.4k
28.8k
Bumped 1 hour ago
Key System
Script hub
14.0k
28.4k
Bumped 2 hours ago
Universal Script 📌
339.0k
74.9k
Bumped 2 hours ago
Universal Script 📌#14 this week

KeylessVerified script badgeProduct Faker

Script hub
462.0k
989.7k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!

Universal Script 📌
66
6
Approved 3 hours ago