Universal Script 📌
1.1k Views
2.6k Executions

Admin Audio Player by me

Universal Script 📌
patjax774
patjax774Published 25
10 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

yes its mine

View Raw
-- Admin GUI with Audio Player
local ScreenGui = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local FireButton = Instance.new("TextButton")
local GrenadiersButton = Instance.new("TextButton")
local StopButton = Instance.new("TextButton")

-- Configure GUI
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false

MainFrame.Name = "AdminPanel"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
MainFrame.Position = UDim2.new(0.5, -100, 0.5, -100)
MainFrame.Size = UDim2.new(0, 200, 0, 250)
MainFrame.Active = true
MainFrame.Draggable = true

Title.Parent = MainFrame
Title.Text = "ADMIN AUDIO PLAYER"
Title.Size = UDim2.new(1, 0, 0, 50)
Title.TextColor3 = Color3.new(1, 1, 1)
Title.BackgroundTransparency = 1

-- Audio Setup
local Sound = Instance.new("Sound")
Sound.Parent = game.Workspace
Sound.Volume = 0.5

local function playAudio(id)
    Sound:Stop()
    Sound.SoundId = "rbxassetid://" .. tostring(id)
    Sound:Play()
end

-- Buttons Configuration
FireButton.Parent = MainFrame
FireButton.Text = "Fire - Arthur Brown"


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!