Script for reference:
game:FindService("ReplicatedStorage").Vote.OnServerEvent:Connect(function(plr,notvoted,which) print("ayoo") -- this is where it fails
local remote = game:FindService("ReplicatedStorage").Vote
if notvoted then
if which == 1 then
remote:FireClient(plr,1,0)
elseif which == 2 then
remote:FireClient(plr,0,1)
end
lastvote = which
else
if which == 1 then
if lastvote == 2 then
remote:FireClient(plr,1,-1)
end
elseif which == 2 then
if lastvote == 1 then
remote:FireClient(plr,-1,1)
end
end
end
end)```
** You are now Level 12! **