how can i make a voting system so that players can vote who is the killer?
Have you made an effort to actually look for examples before coming here? I am pretty sure there are tons of examples and tutorials to make something like that.
(Not trying to be rude just asking)
I can’t write a whole system of code for you but a way you can do it is to make a remote event that fires the server when a client votes on a killer (Ex: Clicking on a gui). Then increase the vote by one for the specific killer.
local votes = {0,0,0}
part1.Touched:Connect(function() votes[1] = votes[1] + 1 end)
part2.Touched:Connect(function() votes[2] = votes[2] + 1 end)
part3.Touched:Connect(function() votes[3] = votes[3] + 1 end)
probably something like this xd, you would need a debounce it would have to reset to 0, reset the debounce, add more…
So do u mean the client sends the server the ammount of times players hit a button?
Same question I got. I tried using a MapVote GUI as a base and messing around with it to make it so you vote for Players but it doesn’t seem to work.