Universal Script 📌
1.2k Views
99 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
Universal Script 📌
6.1k
54.3k
Bumped 13 minutes ago
Universal Script 📌
2.4k
2.1k
Bumped 58 minutes ago
Key System
Script hub
14.4k
75.0k
Bumped 4 hours ago
Universal Script 📌
81
95
Approved 5 hours ago
Key System
Universal Script 📌
81
117
Approved 5 hours ago
Script hub
87
206
Approved 5 hours ago
Key System