Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Audios = {};
- for i,v in pairs(game.Players:GetPlayers()) do
- local Characters = v.Character
- local BoxModel = Characters:FindFirstChild("BoxModel")
- local Tool = Characters:FindFirstChild("BoomBox")
- if BoxModel then
- print("Audio found, playing from "..v.Name..", currently playing: "..BoxModel.Handle.SoundX.SoundId)
- table.insert(Audios,string.sub(BoxModel.Handle.SoundX.SoundId,14,nil))
- elseif Tool then
- print("Audio found, playing from "..v.Name..", currently playing: "..Tool.Handle.SoundX.SoundId)
- table.insert(Audios,string.sub(Tool.Handle.SoundX.SoundId,14,nil))
- end
- end
- syn_clipboard_set(table.concat(Audios),", ")
Advertisement
Add Comment
Please, Sign In to add comment