Universal Script πŸ“Œ
1.2k Views
118 Executions

Sound gui CS

Universal Script πŸ“Œ
abobspongeb
abobspongebPublished 5
1 year 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

Khinhlhihg

View Raw
-- Sound gui CS
Instance.new("Sound", game.Workspace)
local sound = game.Workspace.Sound
local player = game.Players.LocalPlayer.Name
local ppl = game.Players.LocalPlayer.PlayerGui
Instance.new("ScreenGui", ppl)
ppl.ScreenGui.Name = "SoundGui"
Instance.new("TextBox", ppl.SoundGui)
local tb = game.Players.LocalPlayer.PlayerGui.SoundGui.TextBox
tb.Text = "Only with rbxassetid://"
tb.Size = UDim2.new(0.3, 1, 0.1)
tb.TextScaled = true
tb.Draggable = true
Instance.new("TextButton", ppl.SoundGui)
local b = game.Players.LocalPlayer.PlayerGui.SoundGui.TextButton
b.TextScaled = true
b.Draggable = true
b.Text = "Execute"
b.Size = UDim2.new(0.3, 1, 0.1)
b.MouseButton1Click:Connect(function()
  local soundid = game.Players.LocalPlayer.PlayerGui.SoundGui.TextBox.Text
  sound.SoundId = soundid
  sound.Playing = true
  sound.Looped = true
  sound.Volume = 1.3
end)


Comments

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

Tags

More universal scripts

See all
Script hub
33.2k
298.5k
Bumped 3 hours ago
Script hub
23.7k
5.2k
Bumped 3 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
251
772
Bumped 3 hours ago
Universal Script πŸ“Œ
1.7k
31.0k
Bumped 3 hours ago
Script hub
4.1M
559.5k
Bumped 4 hours ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
29.2k
Bumped 5 hours ago
Key System