Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make a map Voting system?

Asked by 9 years ago

I am a little new to scripting and stuff but i want to know how to make a map voting system,like for instance i have five maps on a game the players select which one they want and that map loads. how do i do this?

0
Have you tried anything? If not, give it your best shot, then show us what you did. We can help you from there. I would recommend making a GUI interface with different buttons for different maps. SanityMan 239 — 9y

1 answer

Log in to vote
2
Answered by
Perci1 4988 Trusted Moderation Voter Community Moderator
9 years ago

You do the coding yourself, and if you have problems, we'll help. I'll give you the basic logic that I used though.

-IntValues in ServerStorage for each map.

-Create a gui that adds 1 to the value in ServerStorage if you click the corresponding map button.

-Go through ServerStorage and find which value is highest.

-If two values are tied, use math.random.

-Now you have your map.

Ad

Answer this question