How would I make a voting system

I am looking to create a system where at the end of a round a gui opens with every player in the servers name and players can vote for one player. Then the player with the most votes get a prize and wins. I have been looking around and can’t really see any post with support on this topic

I would make a RemoteEvent that sends the player they voted for to the server.
and store it in a table. Then after voting check who has the most votes.