1 | function onChatted(message, player) |
2 | if message = = "/vote" then |
3 | game.StarterGui.MapGui.Maps.Visible = true |
4 | end |
5 | end |
6 |
7 | game.Players.PlayerAdded:connect( function (player) |
8 | player.Chatted:connect( function (message) onChatted(message, player) end ) |
9 | 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!