Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How to make an audio visualizer? [closed]

Asked by
dyon0 -37
8 years ago

I want to make a audio vizualizer circle that stays around my body Here is my music player script so far:

01pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
02local plr = game.Players.LocalPlayer
03repeat wait() until plr.Character
04plr = game.Players.LocalPlayer   
05char = plr.Character
06torso = char.Torso
07head = char.Head
08neck = torso.Neck
09sound = Instance.new("Sound", head)
10sound.SoundId = "rbxassetid://"
11sound.Volume = 100
12sound:Play()
13sound.Looped = true
14plr.Chatted:connect(function(message)
15            if message:sub(1,4) == "Play" then
16            sound:Stop()
17                sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
18    sound:Play()
19    end
20end)

Closed as Not Constructive by RubenKan

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?