Line 2837 (number of arguments does not match definition)
Line 2845 (number of arguments does not match definition)
Line 2861 (invalid function)
Code:
public scoreboard(id,state)
Line 2865 (invalid expression)
I am unsure exactly what state is or what it stands for by looking at the code but I figured posting these lines may help someone else figure out the problem quicker.