When removing the part that checks if they already voted they can still add a value to the gui ot click it but when i added the top part that checks when i try to vote it doesnt work.
VOte option 1:
if game.Players.Localplayer.PlayerGui.Modes.Classic.ImageButton.Script.Disabled == true then script.Disabled = true else if workspace.Timer.Value >= 0 then function leftClick() workspace.CatMaidMania.Value = workspace.Classic.Value + 1 script.Disabled = true end end end script.Parent.MouseButton1Click:Connect(leftClick)
Vote option 2:
if game.Players.Localplayer.PlayerGui.Modes.CatMaidMania.ImageButton.Script.Disabled == true then script.Disabled = true else if workspace.Timer.Value >= 0 then function leftClick() workspace.Classic.Value = workspace.Classic.Value + 1 script.Disabled = true end end end script.Parent.MouseButton1Click:Connect(leftClick)
Im fairly new to scripting; messy code :p