wait(8)
local sound = game.Workspace.Audio
sound.Pitch=1
sound.Name="Audio"
sound.Looped=true
sound.PlayOnRemove=false
local player = game.Players.LocalPlayer.Character
local Format = "http://www.roblox.com/asset/?id=##ID##"
local frame = script.Parent:WaitForChild("Frame")

frame:WaitForChild("Play").MouseButton1Click:connect(function()
    local input = tonumber(frame:WaitForChild("Input").Text)
    if input then
        sound:Stop()
        sound.SoundId=Format:gsub("##ID##", tostring(input))
        sound:Play()
    end
end)
frame:WaitForChild("Stop").MouseButton1Click:connect(function()
    sound:Stop()
end)


Could someone help me to make this script work with FireAllClients?!?! ("I have enough time") (Its a localscript) idk what to put in replicated storage and what to do in serverscript

2 comments

2

How do I think for myself.

0

ok i will try myself that will be extremely hard