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", head)
- sound.SoundId = "rbxassetid://"
- sound.Volume = 2
- sound:Play()
- sound.Looped = true
- ---- [[ Player ]] ----
- ---- [[ 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 ]] ----
- local lighting = Instance.new("ColorCorrectionEffect")
- lighting.Parent = game.Lighting
- game:service'RunService'.RenderStepped:connect(function()
- lighting.Contrast = sound.PlaybackLoudness/100
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement