function onChatted(message, player)
    if message == "/vote"  then
	game.StarterGui.MapGui.Maps.Visible = true
	  end
end
 
game.Players.PlayerAdded:connect(function(player)
    player.Chatted:connect(function(message) onChatted(message, player) end)
end)

This is all I could think of to make a GUI to pop up then have people choose to not change map or choose a map but don't have any idea how, so if any one could help please do!

1 comment

0

You should CodeBlock your code, it's the Lua icon.