edited math.random gave it a maximum of 3, and added Math.floor to make it a whole number, still error with it though.