I want to make a audio vizualizer circle that stays around my body Here is my music player script so far:
pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
local plr = game.Players.LocalPlayer
repeat wait() until plr.Character
plr = game.Players.LocalPlayer
char = plr.Character
torso = char.Torso
head = char.Head
neck = torso.Neck
sound = Instance.new("Sound", head)
sound.SoundId = "rbxassetid://"
sound.Volume = 100
sound:Play()
sound.Looped = true
plr.Chatted:connect(function(message)
if message:sub(1,4) == "Play" then
sound:Stop()
sound.SoundId = "http://www.roblox.com/asset/?id="..message:sub(6)
sound:Play()
end
end)
