Universal Script 📌
70 Views
354 Executions

simple audio player

Universal Script 📌
What_Why_Who_When
What_Why_Who_WhenFirst script
4 days ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

Early reports

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

Why it doesn't work Errors or does nothing 1
Also noticed:

Description

this script is client sided

View Raw
--Hi there, thanks for using my script
--this is a simple script but im still going to label what everything does
--please dont change any values because that can break everything

--locals
local plr = game.Players.LocalPlayer
local plrgui = plr.PlayerGui
local debounce = false
local debounce2 = false
--Screengui and Freame
local sg = Instance.new("ScreenGui", plrgui)
local frame = Instance.new("Frame", sg)
-- Frame Settings
frame.Size = UDim2.new(0, 230, 0, 150)
frame.Position = UDim2.new(0, 0, 0, 0)
frame.Style = "RobloxRound"
--Drag and Textbox
local drag = Instance.new("UIDragDetector", frame)
local text = Instance.new("TextBox", frame)
-- TextBox Settings
text.Size = UDim2.new(0, 200, 0, 50)
text.Position = UDim2.new(0.036, 0, 0.058, 0)
text.BackgroundColor3 = Color3.new(0, 0, 0)
text.BackgroundTransparency = 0.7
text.Text = "Sound ID Here"
text.TextColor3 = Color3.new(255, 255, 255)
text.TextSize = 15
--sound, play and stop buttons
local sound = Instance.new("Sound", frame)
local play = Instance.new("ImageButton", frame)
local stop = Instance.new("ImageButton", frame)
--play settings
play.Size = UDim2.new(0, 50, 0, 50)
play.Position = UDim2.new(0.12, 0, 0.558, 0)
play.ImageColor3 = Color3.new(0, 255, 0)
play.ImageContent = Content.fromAssetId(8517323790)
play.BackgroundTransparency = 1
--stop settings
stop.Size = UDim2.new(0, 50, 0, 50)
stop.Position = UDim2.new(0.617, 0, 0.552, 0)


Comments

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

Tags

More universal scripts

See all
Universal Script 📌
1.4k
2.8k
Bumped 14 minutes ago
Script hub
3.5M
832.5k
Bumped 43 minutes ago
Key System

Script hub

Hall of Fame #7

Verified script badgeFlow Hub | 50 Games | Updated

Script hub
314
2.4k
Bumped 2 hours ago
Key System
Universal Script 📌
39.8k
1.3M
Bumped 2 hours ago
Script hub
22.5k
127.1k
Bumped 2 hours ago
Universal Script 📌
219
314
Bumped 2 hours ago
Universal Script 📌
472.8k
8.8M
Bumped 3 hours ago