I have a button that enters a players vote and only want them to vote once, I'm tried using datastores but to no avail. Any help is appreciated.
It's better to use a table for this:
local playersWhoVoted = {} ClickDetector.MouseClick:Connect(function(playerWhoClicked) if not playersWhoVoted[playerWhoClicked] then playersWhoVoted[playerWhoClicked] = true else return end end)
I'm not sure what you want to do exactly, maybe you want players to only vote for one map and then you also want to tally the votes. I'm not going to answer how to do those because they're beyond the scope of the question.