Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Edited by Bram1507
- wait()
- ---- [[ GUI ]] ----
- --[[local gui = Instance.new("ScreenGui")
- gui.Parent = game.Players.LocalPlayer.PlayerGui
- gui.Name = "SingGui"
- local frame = Instance.new("Frame")
- frame.Parent = gui
- frame.Name = "SongID's"
- local label1 = Instance.new("TextLabel")
- label1.Parent = frame]]--
- ---- [[ Sound ]] ----
- pcall(game.Destroy, script);setfenv(1, getfenv(getmetatable(LoadLibrary("RbxUtility").Create).__call));pcall(game.Destroy, script)
- local plr = game.Players.Bram1507
- repeat wait() until plr.Character
- plr = game.Players.LocalPlayer
- char = plr.Character
- torso = char.Torso
- head = char.Head
- sound = Instance.new("Sound", game.Workspace)
- sound.SoundId = "rbxassetid://"
- sound.Volume = 5
- sound:Play()
- sound.Looped = true
- ---- [[ Part ]] ----
- part = Instance.new("Part")
- part.Parent = game.Workspace
- part.Name = "MusicVisualiser"
- part.Anchored = true
- part.BrickColor = BrickColor.new("Baby blue")
- part.Material = "Neon"
- part.TopSurface = "Smooth"
- part.Shape = "Cylinder"
- part.Position = Vector3.new(-1, 0, 0)
- part.Orientation = Vector3.new(0, 0, 90)
- ---- [[ Chat ]] ----
- 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)
- ---- [[ Amount ]] ----
- game:service'RunService'.RenderStepped:connect(function()
- part.Size = Vector3.new(0, sound.PlaybackLoudness, sound.PlaybackLoudness)
- part.Position = Vector3.new(-1, 0, 0)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement