When a player presses a button an event will fire, then a script will read when that event fires and change a value (the vote count), then send an event back to a local script to change the display count on a text label. My count value is called value so that is why I use Value.Value (ik it's weird)
Local Script
Value = script.Parent.Value
script.Parent.Text = Value.Value
game.ReplicatedStorage.Vote1.OnClientEvent:Connect(function()
script.Parent.Text = Value.Value
end)
Server Script
game.ReplicatedStorage.Vote.OnServerEvent:Connect(function()
game.StarterGui.ScreenGui.Votes.Value.Value = game.StarterGui.ScreenGui.Votes.Value.Value + 1
game.ReplicatedStorage.Vote1:FireClient()
end)

1 comment
Could you add the structure of the gui in the information?