Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made 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]]--
- ---- [[ Variables ]] ----
- 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
- camera = game.Workspace.CurrentCamera
- ---- [[ Visualiser ]] ----
- 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 = "Ball"
- part.CanCollide = false
- light = Instance.new("PointLight")
- light.Parent = part
- light.Brightness = 20
- ---- [[ Sound ]] ----
- sound = Instance.new("Sound", head)
- sound.SoundId = "rbxassetid://"
- sound.Volume = 5
- sound:Play()
- sound.Looped = true
- ---- [[ 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(sound.PlaybackLoudness/100, sound.PlaybackLoudness/100, sound.PlaybackLoudness/100)
- part.Position = head.Position + Vector3.new(0, 5, 0)
- light.Range = sound.PlaybackLoudness/15
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement