How would I make it so that when like a certain person ("namehere") says "skip song" it skips to the next song? here is my songboard script
print 'Loading Playlist'
song1 = "http://www.roblox.com/asset/?id=299075527" --ellie goulding on my minf
song2 = "http://www.roblox.com/asset/?id=292433682" -- death of a bachelor p!atd
song3 = "http://www.roblox.com/asset/?id=589851184" --- halleujah
song4 = "http://www.roblox.com/asset/?id=787636293" --- zed stay
song5 = "http://www.roblox.com/asset/?id=666248225" -- something just like this
song6 = "http://www.roblox.com/asset/?id=156850138" --nico and vinz
song7 = "http://www.roblox.com/asset/?id=561274893" --starboy
song8 = "http://www.roblox.com/asset/?id=188712851"--shut up and dance
song9 = "http://www.roblox.com/asset/?id=685388224"--magine dragons believer
song10 = "http://www.roblox.com/asset/?id=882915526"--mad hatter melanie martinez
song11 = "http://www.roblox.com/asset/?id=501405545"--lane boy
song12 = "http://www.roblox.com/asset/?id=610923182"--paris
song13 = "http://www.roblox.com/asset/?id=444240273"--mo final song
song14 = "http://www.roblox.com/asset/?id=181547615"--Centuries
song15 = "http://www.roblox.com/asset/?id=152357361"
song16 = "http://www.roblox.com/asset/?id=145579822"
song17 = "http://www.roblox.com/asset/?id=148492408"
song18 = "http://www.roblox.com/asset/?id=142720946"
song19 = "http://www.roblox.com/asset/?id=142372565"
song20 = "http://www.roblox.com/asset/?id=152779074"
song21 = "http://www.roblox.com/asset/?id=145915908"
song22 = "http://www.roblox.com/asset/?id=138855854"
song23 = "http://www.roblox.com/asset/?id=259802648"
song24 = "http://www.roblox.com/asset/?id=641912399"
print 'Creating a Source of Audio'
local music = Instance.new("Sound") -- This creates the sound. Since this is an Independent Variable, You should not change it at all.
music.Archivable = true -- This MUST be true or you may have some problems.
print 'Inspecting the Configurable Variables'
music.Parent = script.Parent -- This is where the sound will be placed. If you want the sound to be heard everywhere, don't change it or put it into Workspace.
-- If you want the sound to be heard in one spot, put it in a brick
--
music.Pitch = 1 -- Pitch manages the Pitch and Speed of the Sound. Pitch 1 is the normal sound, although some sounds have a problem that they are slow, increase this
-- value so you can hear the original. There is a list of official pitches for songs named "Official Pitches".
-- Adding multiple Pitches will require a bit of work, so if your a beginner, just stick with one pitch for now.
--
music.Volume = 3 -- This determines how loud the music will be. If this is being heard in one spot, this can configure how far you can hear the sound.
-- The maximum is 1. Volumes set above 1 will be unaffected.
-- For music heard across the game, if you have other sounds, put this to 0.9 or 1, otherwise you won't hear your music because of the other sounds
--
music.Looped = false -- This determines if the sound will repeat forever. If you have more than one sound, you MUST set this to false, otherwise you will be able to
-- have problems with pausing and playing
--
music.Name = "Player" -- This determines the name of the source of Audio. Name it whatever you want.
--
--
-------------------[[SONGS PLAYER]]---------------------------------------------------------------------------
--Only touch if you need to change the length of wait for a song.
print 'Loading RMP 1.0'
while (true) do
print 'Playing Sound 1'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Ellie Goulding - On My Mind")
music.SoundId = song1
music:play()
wait(150)
--2--
print 'Playing Sound 2'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Panic! at the Disco - Death of a Bachelor")
music.SoundId = song2
music:play()
wait(150)
--3--
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Pentatonix - Hallelujah")
print 'Playing Sound 3'
music.SoundId = song3
music:play()
wait(200)
--4--
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Zedd and Alessia Cara - Stay")
print 'Playing Sound 4'
music.SoundId = song4
music:play()
wait(200)
--5--
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Coldplay and Chainsmokers - Something Just like this")
print 'Playing Sound 5'
music.SoundId = song5
music:play()
wait(200)
--6--
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Nico and Vinz - Am I Wrong")
print 'Playing Sound 6'
music.SoundId = song6
music:play()
wait(200)
--7--
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Weekend - Starboy")
print 'Playing Sound 7'
music.SoundId = song7
music:play()
wait(200)
--8--
print 'Playing Sound 8'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Walk the moon - Shut up and Dance")
music.SoundId = song8
music:play()
wait(200)
--9--
print 'Playing Sound 8'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Imagine Dragons - Believer")
music.SoundId = song9
music:play()
wait(200)
--10--
print 'Playing Sound 8'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Melanie Martinez - Mad Hatter")
music.SoundId = song10
music:play()
wait(200)
--11--
print 'Playing Sound 11'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("TwentyonePilots - Lane Boy")
music.SoundId = song11
music:play()
wait(200)
--11--
print 'Playing Sound 11'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Chainsmokers - Paris")
music.SoundId = song12
music:play()
wait(200)
--11--
print 'Playing Sound 11'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("MØ - Final Song")
music.SoundId = song13
music:play()
wait(200)
--11--
print 'Playing Sound 11'
script.Parent.SurfaceGui.Frame.Visible = true
script.Parent.SurfaceGui.Frame.Song.Text = ("Fall out boy - Centuries")
music.SoundId = song14
music:play()
end

1 comment
Nice free model.